Skip to content

SS8: the build reads true in the panel, and every product ships AGENTS.md - #10

Merged
ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb
Oct 23, 2026
Merged

ruehowl merged 1 commit into
mainfrom
claude/funny-cerf-9totyb

Conversation

@ruehowl

@ruehowl ruehowl commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

This is supabase-starter's part of milestone BV4 in the orun-cloud epic saas-build-panel (specs/epics/saas-build-panel/implementation-plan.md, BV4).

The console's build panel was redesigned in BV1. It now shows:

At the end, the panel gives the owner a prompt that ends "Then clone and start building on it." So every line has to be true and short, and a new product has to be ready for a coding agent to start in.

What changes

repo-blueprint.yaml

  • Repository line. Built from the hook's own outputs: <fullName> is ready, plus "— created for this build" when this build created it. Before, it was built from the inputs.
  • Landing lines. PR #<n> is merged into main., or Nothing new to land; main already has it. Before, "merged" was printed even on a re-run that had nothing to land. Both landings now have a label: label: Product and label: Docs.
  • New lines. link, each of the four brokered keys (static text naming the key and its connection, true whether the key was minted now or kept), the 02-docs render, and the run-level epic (Epic <key> is open.).
  • Phase lines. Each start, done and failed is now one clause and claims only what the phase actually established. The old 01-product done said "sign-up open", which no probe checks. Shortened: the converge and wiring lines.
  • No phase writes a narrate.await line, per the coordinator's change to the brief. When none is written, the engine prints <title>: <reason> itself, including while the provider probe waits for a connection. An older engine prints <phase> is waiting. with no "narration unavailable" note. The reasons are full clauses, so the Waiting on {{ .meta.waitingOn }}. line from the review came out as "Waiting on waiting for github to be connected…".
  • The 02-docs re-probe is quiet: true, so it doesn't report the same addresses a second time.
  • ignore. Now also covers:
    • .env.[^e]* and .dev.vars.[^e]*: per-mode and per-environment files such as .env.production and .dev.vars.stage. Only .example still ships.
    • .dev.vars.*.local.
    • *.tfstate.*: timestamped state backups and the local lock file.
    • __pycache__ and *.pyc.
  • No new with: parameters. The probe keeps its flat urls.

What a product gets

  • AGENTS.md at the repository root. It is copied by a new root-agents module from .baseline/product/AGENTS.md. It covers:

    • what the product is;
    • what to read first: README.md → ai/context/operations.md → ai/context/deployment.md → apps/web/lib/supabase, infra/terraform/supabase;
    • how a change lands: one task per pull request, the local checks, merging is deploying;
    • what not to touch.

    The product README now points to it. The README already linked Orun to github.com/sourceplane/orun; there was no opencode.ai link.

  • No mention of Lumen in intent.yaml's description, operations.md's migrations row, or two comments in the supabase root.

  • .gitignore gains __pycache__/ and *.pyc.

Factory side

  • testing/lib/__pycache__/…pyc is no longer tracked.
  • testing/phases.test.sh checks the panel rules:
    • no phase writes an await line (the old rule that every phase must have one now skips that slot, with a comment saying the engine supplies it);
    • repo, link, secret, land and render hooks have a narrate;
    • every landing has a label;
    • a hook-only phase's re-probe is quiet;
    • label, pin and quiet have the right types;
    • run-level hook lines follow the same rules.
  • testing/leak.test.sh: AGENTS.md must ship and is checked for factory paths and wording about where the product came from. Any .env or .dev.vars other than .example, any Terraform state file and any bytecode count as local files.
  • testing/placement.test.sh: the placed AGENTS.md carries the product's name and points to both context pages, and the README points to it.
  • testing/manifest.test.sh: two comments named a domain input that no longer exists.
  • Records: milestone SS8 / task SS-10 added to the epic, plan, status, current.md and decisions.md. docs/phases/ gains a "What a phase says" section.

expectedMinutes already agrees and is unchanged: card 15 = phases 13 + 2 = registry 15.

Verified locally

check result
testing/{manifest,phases,coverage,rebrand,retouch,bootstrap-defer}.test.sh all exit 0
mutation checks on the new phases.test.sh rules (await line written, label dropped, re-probe not quiet, secret narrate dropped, bad ref or state word in the epic line, quiet: "yes") each fails on its own, naming the hook; with the mutation reverted, it passes
gen-component-docs.py --check exit 0, 3 components
orun new --status (the CI command and inputs) at v2.58.11 (the CI pin), orun main (dev build) and the BV3 engine exit 0; 01-product pending, 113 files
testing/leak.test.sh at v2.58.11, main and BV3 ok; 113 files derived, 105 text files read
testing/placement.test.sh at v2.58.11, main and BV3 ok; 113 tracked files; supabase → web enforced on stage and prod; --resume places nothing again
testing/e2e.test.sh at v2.78.4 ok. Its Terraform step was skipped because terraform is not installed here; the root's change is two comments
ignore check: local env, state and bytecode files placed in a scratch copy excluded at v2.58.11, main and BV3, except .env.e2e (a suffix starting with e), which the leak gate then fails on as intended
every narration line rendered through the BV3 engine's own narration functions, with the outputs each action really returns none fall back. A wait reads "The product, built in one landing: waiting for github to be connected in workspace …"
AGENTS.md and README renamed with the fixture's values, then rebrand --verify # acme-supabase — notes for coding agents; no leftovers
orun task check SS-10 --base origin/main complete; affects ok

For main and BV3, the dev binaries report orun version dev, which placement.test.sh can't parse. They were run behind a small wrapper that reports a version number; every other command went straight to the binary.

Out of scope

  • The shared epicSlug default.
  • orun-cloud's registry.
  • Cutting a tag (baseline-v5 is left for after merge).
  • Labelled http/probe targets.
  • Renaming the docs phase.

label and quiet only take effect with orun v2.86; earlier releases ignore them.


Generated by Claude Code

…S.md

orun-cloud saas-build-panel BV4, this baseline's share. The console's build
panel shows each hook's narrate: verbatim as progress and a phase's waiting
line as what it waits on, and ends by handing the owner a prompt to clone
the repository with a coding agent.

- repo-blueprint.yaml: the repo line reads the hook's own outputs and says
  when this build created the repository; each landing names its PR or says
  there was nothing to land, with label: Product / Docs; link, the four
  brokered keys, the deployment record and the run-level epic each leave a
  line; start/done/failed are one clause and claim only what the phase
  established; the 02-docs re-probe is quiet: true. No phase authors an
  await line: the engine says "<title>: <reason>" itself, also while the
  connection probe waits.
- AGENTS.md in every product (module root-agents, from .baseline/product/),
  and the product README points at it.
- No product file says it is built on Lumen (intent.yaml description,
  operations.md, two supabase root comments).
- testing/lib/__pycache__ untracked; __pycache__/ and *.pyc ignored. The
  blueprint's ignore also keeps per-mode/per-environment .env and .dev.vars
  files (all but .example), every Terraform state file and bytecode out.
- Tests: phases.test.sh pins the panel rules (mutation-checked); the leak
  gate and placement hold AGENTS.md; manifest.test.sh's stale `domain`.
- Records: milestone SS8, task SS-10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CJuLwDKfEaQGAEuBpJvN5Q
@ruehowl
ruehowl marked this pull request as ready for review October 23, 2026 08:38
@ruehowl
ruehowl merged commit e4351a0 into main Oct 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants