Repository navigation
AA4: ai-artifacts becomes an Orun baseline - #5
Merged
Merged
Conversation
The baseline machinery, kv-redis-starter's at its current main (the turso v8 / orun v2.88.0 shape: one secrets hook, the task set-up in the background, landings checked in the build box, the manual-deploy contract), made this product's: - blueprint.yaml, the console card: inputs (the subdomain from the Cloudflare connection, no domain asked), the two brokered secrets (workers-deploy applies the namespace and deploys the Worker; the account id), the programme, 7 minutes (6 + 1, estimates), the verify URLs. - repo-blueprint.yaml, the build: 01-product lands the whole product as one pull request and one convergence applies the KV namespace, then deploys the Worker with its id; 02-docs records it. Its ignore list keeps .env.example and .dev.vars.example in the product (kv-redis-starter's `**/.dev.vars.*` would have dropped the latter). - .baseline/ (identity, the product's README and AGENTS.md, the task contracts), the context pack, the phase cards with their budgets, BOOTSTRAP.md, the deployment-record renderer (probing /api/health, naming the optional keys), the rename and bootstrap tooling, generated docs for every component (gen-component-docs.py --check), and the SITE_NAME seam in the double-quoted form the rename engine matches. - testing/: the contract tiers, the leak gate, placement (the eleven optional key refs, the smoke on /api/health, the keys handed to the product's own Worker and stripped from the bundle) and the e2e, which serves the built Worker with its AI binding on a Workers AI stand-in (testing/lib/fake-ai): the deploy's own smoke, a fragment streamed by the default model with its JSON schema, an unkeyed vendor model refused, the sandbox's notice, ten requests then 429, the short links, the assets — and an E2B key in the build's environment proven absent from the bundle; 1877 KiB gzipped. - baseline.yml and tag.yml. All tiers green locally: manifest, phases, coverage, rebrand, retouch, bootstrap-defer, wire, the component docs check, leak, placement, e2e; orun catalog validate (v2.89.0) reports no errors. 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.
This adds the baseline machinery: kv-redis-starter's at its current
main(the turso v8 / orun v2.88.0 shape), made this product's.workers-deploy, account id), the programme, 7 min (6 + 1, estimates), verify URLsblueprint.yaml01-productlands the whole product as one PR, and one convergence applies the KV namespace, then deploys the Worker with its id.02-docsrecords itrepo-blueprint.yamlAGENTS.md, task contracts.baseline/ai/context/,docs/phases/,BOOTSTRAP.md/api/healthand names the optional keyshooks/render-deployment-docs.shtooling/,*/docs/testing/,.github/workflows/baseline.yml.github/workflows/tag.ymlChanges from the kv-redis-starter machinery:
ignorenow keeps.dev.vars.examplein the product. kv's**/.dev.vars.*would have dropped it. The leak and placement gates check that it ships./api/health;<repo>-web-<env>and strips them from the bundle (env -u).wrangler dev, with itsAIbinding on a Workers AI stand-in (testing/lib/fake-ai, ai-chatbot's):SITE_NAMEseam is now in the double-quoted form the rename engine matches.Local results:
gen-component-docs.py --check,leak.test.sh,placement.test.shande2e.test.shpass;orun catalog validate(v2.89.0) reports 0 errors;orun new --status(v2.89.0) reads the build document.Generated by Claude Code