Repository navigation
Virga stands alone: the build document runs, its own workspace, and the gaps - #1
Merged
Merged
Conversation
…e worst Split out of sourceplane/cirrus, this tree ran its own workflows and its own bootstrap tooling as a repository root for the first time. Three things were wrong that could not be seen from inside Cirrus. 1. A product's secret refs named the baseline's workspace. rebrand.mjs kept `lumen` as the workspace segment of every `secret://<workspace>/<project>/…` ref whenever `orunWorkspace` was a ws_… id — and the blueprint's input (`from: workspace`) is always a ws_… id. So every product built from Virga carried `secret://lumen/<repo>/…`, which the platform refuses: `Ref workspace "lumen" does not name this run's workspace`. Cirrus fixed this rule; the port did not carry the fix. Now: explicit slug, else the workspace as given, else the repo name. `testing/tenancy.test.sh` rebrands a copy three ways and reads the refs back; it fails on the old rule and runs in Baseline CI. 2. Baseline CI's `migration-checksums` lane was red on the first push. setup-node@v5 reads `packageManager` from the root package.json and turns pnpm caching on, then fails looking for a pnpm the job never installs. A nested `.github/` is inert, so this lane had never run. `package-manager-cache: false`; the script needs node and nothing else. 3. `testing/retouch.test.sh` failed on macOS on its own plumbing. `head -n -1` is GNU-only. `sed '$d'` says the same thing everywhere. Not in this change: `intent.yaml` still says `ws_REPLACE_ME`, and the component.yaml refs still say `secret://lumen/virga/…`. Both wait on the workspace this repository is attached to. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
As pushed, `repo-blueprint.yaml` was refused by every released orun at the
first phase:
✕ phases[0] (01-scaffold) hooks[9] (land): action orun.pr/land@v1 has no
parameter "repo"
✕ input "domain" has unknown type "bool"
All eight `orun.pr/land@v1` hooks passed a `repo` the action has never taken
(checked at v2.58.15, v2.60.0, v2.65.0 and v2.71.0; Cirrus's hooks do not pass
it), and `repoPrivate` / `domain` were typed `bool` where orun's word is
`boolean`. A bootstrap would have failed before placing a file — with every
gate green, because every gate read the document with PyYAML and none asked
orun.
`testing/placement.test.sh` asks. It places the whole blueprint with hooks
off, which parses the document, validates every hook against the action
registry and runs orun's own validate + plan --dry-run on the placed tree;
then brands the tree as 01-scaffold's hooks do (the `orun-workspace` hook is
extracted from the document and run, not re-typed) and checks the product
carries no factory path and that intent.yaml and every secret ref name the
build's workspace. Baseline CI runs it in a new `blueprint-runs` job pinned to
the bootstrap floor, v2.60.0.
Verified locally with orun v2.60.0 and v2.71.0; fails against the document as
first pushed.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
`intent.yaml` said `ws_REPLACE_ME`, which failed loudly on purpose, and the eighteen `secret://` refs named `lumen` — the workspace Cirrus declares. This repository now has a workspace of its own, `virga`, under the openproduct account, and both point at it. The refs use the workspace SLUG (`secret://virga/virga/…`), not the ws_… id: rebrand.mjs's scoped rule matches `[a-z0-9-]+` in that segment, so an id there would not be rewritten and a product would keep this tenant. The workspace and the repo now share a word, which is the case the rule's ordering exists for; `testing/tenancy.test.sh` and `testing/placement.test.sh` both rebrand this tree and read the refs back, and both pass. Attached and checked from a clone: `orun workspace` resolves ws_F6PEAMKD from intent.yaml, `orun cloud check` reports sourceplane/virga allow-listed, and `orun plan` resolves 16 components into 33 jobs. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
`docs/GAPS.md` records the state at the split: what was run and passed, and what has never been run, each with the thing that would prove it. Written so it can be shortened: an entry is deleted when it stops being true. The short version. Placement, the static contract, the attachment to workspace `virga` (ws_F6PEAMKD) and a credential-free CI run reaching the platform are proven. Not proven: any phase with its hooks on; a rehearsal, and so a tag and a registry row (left out deliberately for now); a bypass actor for the tag ruleset; and a workspace that can actually bootstrap — it is public while this repository is private, has no Cloudflare connection, and its GitHub connection is to the wrong account. `ORUN_CI` was set to prove the CI path and is unset again: with no secrets minted, every run lane fails at secret resolution, which is the pre-bootstrap red the variable exists to prevent. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Two entries stopped being true and are removed, as the file asks. The repository was made public to satisfy the openproduct covenant, and the `virga` workspace now inherits a Cloudflare connection: `orun baseline check cirrus` answers `ready to build` there. What that does not prove stays written down: the token's D1 Write permission group (only a mint shows it), a GitHub connection on the account that owns the repository, an admin API key, and any secret at all. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Split out of
sourceplane/cirrus, this tree ran its own workflows and its own bootstrap tooling as a repository root for the first time. Four things were wrong that could not be seen from inside Cirrus. The first means no bootstrap from this repository could have started. This change also attaches the repository to its own workspace and records what is still unproven.1. No released orun would run the build document
As first pushed,
repo-blueprint.yamlwas refused at phase one:All eight
orun.pr/land@v1hooks passed arepothe action has never taken (checked at v2.58.15, v2.60.0, v2.65.0 and v2.71.0; Cirrus does not pass it).repoPrivateanddomainwere typedbool, where orun's word isboolean. Every gate was green, because every gate read the document with PyYAML and none asked orun.testing/placement.test.shasks. It places the whole blueprint with hooks off, brands the tree as01-scaffold's hooks do, and checks what the product carries. Baseline CI runs it in a newblueprint-runsjob pinned to the bootstrap floor, v2.60.0.2. A product's secret refs named the baseline's workspace
rebrand.mjskeptlumenas the workspace segment of everysecret://<workspace>/<project>/…ref wheneverorunWorkspacewas aws_…id. The blueprint's input isfrom: workspace, so it is always aws_…id. Every product built from Virga therefore carriedsecret://lumen/<repo>/…, which the platform refuses:Cirrus already fixed this rule. The port did not carry the fix.
testing/tenancy.test.shrebrands a copy three ways and reads the refs back.3. Baseline CI's
migration-checksumslane was red on the first pushsetup-node@v5readspackageManagerfrom the rootpackage.json, turns pnpm caching on by itself, and fails looking for a pnpm the job never installs. A nested.github/is inert, so this lane had never run. Fixed withpackage-manager-cache: false.4.
testing/retouch.test.shfailed on macOS on its own plumbinghead -n -1is GNU-only.sed '$d'says the same thing everywhere. Cirrus main carries the same line.5. Virga claims its own workspace
intent.yamlnow declaresws_F6PEAMKD(virga, under the openproduct account) instead ofws_REPLACE_ME, and the 18 secret refs saysecret://virga/virga/…instead ofsecret://lumen/virga/…. The refs use the slug on purpose: the rebrand's scoped rule would not match aws_…id there.The repository is allow-listed in that workspace, and one CI run with
ORUN_CI=truereached the platform: run 36834192908 planned 12 jobs and each was answeredSecret not found.ORUN_CIis unset again, because no secret has been minted yet.The repository was made public on 2026-10-01, because an openproduct workspace is public and requires its repositories to be. Cloudflare is now connected in the workspace.
6. The gaps are written down
docs/GAPS.mdlists what is proven and what is not. The ones that block a first bootstrap:tag.ymlcannot create a tag even for a proven commit.pullely, notsourceplane, and the Cloudflare token's D1 Write permission is unchecked.Verified
coverage,phases,manifest,leak,retouch,tag-gate,tenancy,placement.placementpasses with orun v2.60.0 and v2.71.0, and fails against the document as first pushed.install,wire:fixture,typecheck,lint,testandbuild.🤖 Generated with Claude Code