Skip to content

Sync with cirrus-baseline@baseline-v19: lanes, the rebrand engine, a readable card, a tag that can be cut - #2

Merged
pullely merged 6 commits into
mainfrom
sync/cirrus-baseline-v19
Oct 14, 2026
Merged

pullely merged 6 commits into
mainfrom
sync/cirrus-baseline-v19

Conversation

@pullely

@pullely pullely commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Virga's baselining machinery was a copy of Cirrus's at baseline-v12. Cirrus retired at v13 and its successor, sourceplane/cirrus-baseline, moved the machinery on to v19. This re-takes what moved, one commit per concern, and records every row in ai/context/provenance.md — what cirrus-baseline changed, what Virga took, and what it deliberately did not.

What was wrong here, found by running things

  • The console could not read Virga's card. orun-cloud's manifest reader refuses it: input key "repoName" must be lowercase letters, digits and underscores. Every input also needs a pattern, and type/default are not card keys. The keys are now reponame, productname, productdomain, githuborg, subdomain, across the card, the build document, the values file, the render hook, the tests and the docs. Checked against the reader at orun-cloud main: it parses.
  • No tag could ever be cut. The tag gate asked for a rehearsal Virga never had, and the ruleset that made it binding refused the workflow's own token. cirrus-baseline removed its rehearsal and gate (#13); so does this. tag.yml cuts a tag that does not exist and refuses to move one.
  • The rebrand had three bugs cirrus-baseline fixed: a written value could be rewritten by a later rule or a later phase's pass; a secret:// workspace segment that is a ws_… id was never matched; and the baseline's own identity was hardcoded, so no promoted product could serve as a baseline. The engine is ported over Virga's rules, with .baseline/identity.json and a pinned-identity suite.

What is ported from cirrus-baseline

  • Lanes. ci.yml runs one job per lane on orun v2.78.0; intent.yaml declares execution.lanes; dev is advisory; lanes are skipped on orun/BASE-… pull requests because the merge runs them on main.
  • The build document. The promotion gate deferred by 01-scaffold and restored by 08-docs (promotion.mjs); every phase's lockfile seeded from the baseline's complete one; the workspace hook tolerant of an unchanged line.

Not taken, on purpose

The phase folding (five landings instead of eight), the console artifact, cycle-break, toPascal. Each has a row in the provenance saying why.

Verified

  • All eight gates pass locally with orun v2.78.0: coverage, phases, manifest, leak, retouch, tenancy, rebrand, placement. placement also passes under v2.76.0, the new floor.
  • A product placed from this branch and branded passes install, wire:fixture, typecheck, lint, test, build.
  • intent.yaml validates under orun v2.76.0 and v2.78.0.
  • blueprint.yaml parses with orun-cloud main's parseBlueprintManifest.

Nothing with hooks on has run. docs/GAPS.md says so.

🤖 Generated with Claude Code

varahul and others added 6 commits October 15, 2026 00:47
…alues, any workspace segment

Virga's rebrand was a copy of Cirrus's at baseline-v12 with Virga's rules.
cirrus-baseline rewrote the engine underneath those rules (#17, and the
promotion that made it cirrus-baseline), and three of the changes are bug
fixes this tree had too:

- A written value is held as an opaque token until the last rule has run. A
  product whose repo slug contains the baseline word (`virga-e2e`) was renamed
  twice, and a bootstrap re-runs the rebrand over the whole tree every phase,
  so even a value written correctly once was mangled by the next pass.
- The workspace segment of a `secret://` ref is any segment, not a lowercase
  slug: a baseline promoted from a product carries that product's ws_… id
  there, and `[a-z0-9-]+` never matched it (cirrus-baseline v15).
- The FROM side of every rule is declared in `.baseline/identity.json`,
  resolved against the script's own path, not hardcoded. A product promoted
  to be the next baseline declares its identity there and the engine renames
  away from it — which is how a baseline line advances. `--verify --values`
  allows the product's own identity, so a product named `virga-e2e` passes
  its every phase's verify.

Not taken: `toPascal` (Virga exports no brand-named class). Values keys are
lowercase now (`reponame`, …), with the card and the build document.

`testing/rebrand.test.sh` drives the engine over one-file trees against two
pinned identities — Virga's and a promoted baseline's — including three-pass
idempotence. `testing/tenancy.test.sh` reads refs from component manifests
only, now that prose about refs exists in the tree.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
`ci.yml` runs one GitHub job per LANE (`orun run --lane`, orun v2.78.0) over
the plan `intent.yaml` packs with `execution.lanes` (auto, at most six, six
jobs in flight inside a lane); `dev` is `dependencyMode: advisory` because
nothing deploys to it, and every lane shares one pnpm store cache keyed on
the lockfile. Every job still gets its own check run, named as before.

On a bootstrap branch (`orun/BASE-…`) the lanes are skipped: the merge runs
every one of them on main a minute later and the convergence after it is
what the bootstrap watches, so the PR pass was the same work twice and a
third of the wall-clock (cirrus-baseline). Any other branch still verifies.
Virga's `ORUN_CI` gate on `plan` stays.

Stage and prod carry a `description` now. No `url`: Virga has never deployed,
so there is no front door to declare.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ile seeded, the workspace line

Three hooks cirrus-baseline grew since Virga's sync point, each a bug it met:

- `01-scaffold` defers `prod.promotion.dependsOn: [stage]` and `08-docs`
  restores it (`tooling/bootstrap/promotion.mjs`, verbatim). During a
  bootstrap both environments are empty and every phase is watched to
  green, so the gate protected nothing and doubled every convergence.
- Every phase after 01 seeds its lockfile from the baseline's complete one
  and lets pnpm prune it, instead of re-resolving what the phase added —
  which was OOM-killed on the platform's build box (cirrus-baseline#23).
- The `orun-workspace` hook looks for the `workspace:` line rather than for
  a change: a product built into the baseline's own workspace writes the
  value already there, and "unchanged" is not "missing" (cirrus-baseline#20).

`testing/placement.test.sh` runs the defer/restore round-trip over the placed
tree, asks orun for verbose progress (v2.78 prints the repo-scale gate's line
only there, with new wording) and keeps `.baseline/` out of the product.

Not taken: the phase folding (five landings instead of eight). Virga's eight
phases are each one landing already; folding is a design change for a
measured bootstrap to justify, and is recorded as such in the provenance.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ry input

orun-cloud's manifest reader refused this card outright:

  line 58: input key "repoName" must be lowercase letters, digits and underscores

so no console could have read it, and the registry's manifest preflight
would have reported it invalid. The reader also requires a `pattern` on
every input (`askedBy` is gone — there is no agent to ask) and knows no
`type` or `default`, so `repoPrivate` and `domain` leave the card: they are
build inputs with defaults, and `testing/manifest.test.sh` holds the card to
every REQUIRED build input, which they are not.

The keys are now the ones cirrus-baseline uses — `reponame`, `productname`,
`productdomain`, `githuborg`, `subdomain` — in the card, the build document,
`.rebrand/values.json`, the render hook and the docs. Checked against the
reader at orun-cloud main: the card parses.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
cirrus-baseline removed its rehearsal and the tag gate with it (#13):
whether a commit is fit to release is decided outside the repository,
against the tag the registry publishes. Virga never had a rehearsal, so its
gate had refused every commit since the split, and the ruleset that made the
refusal binding had no bypass actor and refused `tag.yml` too.

`tag.yml` now cuts a `baseline-vN` that does not already exist and refuses
to move one — a baseline tag is never moved, because products resolve it.
`testing/tag-gate.sh` and its suite are gone; Baseline CI runs the rebrand
suite in their place and pins `blueprint-runs` to v2.76.0, the lanes floor.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ed for a release

`ai/context/provenance.md` gets the 2026-10-15 sync as a row set — what
cirrus-baseline changed between cirrus@baseline-v12 and
cirrus-baseline@baseline-v19, what Virga took, and what it deliberately did
not (the phase folding, the console artifact, cycle-break) — and moves the
sync point. BOOTSTRAP.md names v2.76 as the floor. docs/phases/README.md
says what a landing's PR is checked by now, and what the promotion, lockfile
and lanes hooks do. docs/GAPS.md says plainly that `baseline-v1` is cut from
a commit no bootstrap has run and is registered unlisted for that reason.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pullely
pullely merged commit afce58a into main Oct 14, 2026
6 checks passed
@pullely
pullely deleted the sync/cirrus-baseline-v19 branch October 14, 2026 19:20
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