Repository navigation
AV4: agent-visibility becomes an Orun baseline - #5
Merged
Merged
Conversation
blueprint.yaml (the console card: requires github and cloudflare, the two brokered keys as a preview, the programme 01-product and 02-docs, six minutes) and repo-blueprint.yaml (every module placed by 01-product and landed as one pull request; 02-docs hook-only) take a new product from nothing to live on stage and prod in one landing: cloudflare-kv applies before web, enforced on main and advisory on a pull request. The rename engine renames the slug, the Worker, the namespace titles, the secret refs, the domain and subdomain, and the product's name in its two seams (SITE_NAME in the wrangler template and its render, the dashboard's title), and protects the two upstream names that begin with the slug: agent-visibility-template and the agent-visibility/0.1 index protocol. Adds the bootstrap tooling, the deployment-record hook, the product's README, AGENTS.md and context pack, generated component docs, baseline.yml and tag.yml, and the testing tiers: contract tests, the wiring path, the leak gate, the offline bootstrap with the product's own plan, and an end-to-end tier that builds the product in orun's staged job tree, dry deploys it and serves it under wrangler dev with a Workers AI stand-in: every surface, writes refused, then admitted with a token. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019PcpNVpFBcbeiX3EHdXfmn
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.
What (AV-5)
The repository becomes an Orun baseline on the Cirrus conventions. It builds a product in ONE landing.
blueprint.yaml(the console card):requires: [github, cloudflare]CLOUDFLARE_API_TOKEN(workers-deploy) andCLOUDFLARE_ACCOUNT_IDshown as a preview; the admin token is deliberately not among them01-productand02-docs,expectedMinutes6 (5 + 1)repo-blueprint.yaml(the build document):01-productplaces every module, brands it, checks it locally (checks: local) and lands it as one PR, then watches the convergence and probes both workers.dev URLs.02-docsis hook-only: it renders the deployment record from probed/api/healthand restores the promotion gate and dev's lanes.The order.
webdepends oncloudflare-kv: the edge is enforced on a push to main and advisory on a PR. The product's own plan is checked intesting/placement.test.sh.The rename engine (
tooling/rebrand/rebrand.mjs) renames:"SITE_NAME"in the wrangler template and its render (JSON-encoded), and the dashboard's<title>(HTML-escaped)UPSTREAMprotects the two upstream names that begin with the slug:agent-visibility-templateand theagent-visibility/0.1index protocol, which upstream's own test asserts.Product docs and tooling: the product's README,
AGENTS.mdandai/contextpack;BOOTSTRAP.md;docs/phases; generated component docs (gen-component-docs.py --check); the bootstrap helpers; the deployment-record hook.Testing tiers:
VISIBILITY_CACHE,AIandASSETSbound, then served underwrangler dev, with a Workers AI stand-in (testing/lib/fake-ai) in place of the model. That run checks every surface with its Content-Signal header and the product name, and that writes are refused. With the token in.dev.vars, a page is posted, a page the model fails on gets the fallback, and the cache is cleared.baseline.ymlandtag.yml.Verified locally
gen-component-docs --checkpasses.orun catalog validate(v2.89.0) reports 0 errors.orun new --statusparses the blueprint.No live bootstrap has run yet (risk AV-G).
Generated by Claude Code