Skip to content

PS3: ready to instantiate - #4

Merged
pullely merged 1 commit into
mainfrom
orun/PS-4-ready-to-instantiate
Oct 14, 2026
Merged

pullely merged 1 commit into
mainfrom
orun/PS-4-ready-to-instantiate

Conversation

@pullely

@pullely pullely commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

PS3 — ready to instantiate. The as-built status names the PRs, the departures from upstream (lib/redis.ts is Workers KV behind the Upstash client's surface; /admin declares dynamic = 'force-dynamic', which upstream got for free from Upstash's no-store fetches; the Cloudflare Web Analytics beacon stands in for Speed Insights; extractSubdomain is exported for the tests; NEXT_PUBLIC_ROOT_DOMAIN is inlined at build from the environment's BASE_DOMAIN rather than carried as a wrangler var; the monorepo wrapper; the KV root's wiring keys app_kv_id / app_kv_title), the pinned versions with their reasons, what was verified (wire/typecheck/lint/test/build locally, wrangler dev with a local KV through the create and delete flows, terraform validate on the root, Checks on #2 and #3) and what was not (the KV apply, a live deploy and tenant hostnames on a real zone, which need the product linked to a workspace with a Cloudflare connection). epic.yaml moves to completed; the epic README and the epics index read Shipped.

🤖 Generated with Claude Code

The as-built status names the PRs, the departures from upstream (Workers KV
behind the Upstash surface in lib/redis.ts, /admin force-dynamic, the
Cloudflare Web Analytics beacon for Speed Insights, extractSubdomain
exported, the root domain inlined at build from BASE_DOMAIN, the monorepo
wrapper, the KV root's wiring keys), the pinned versions with their reasons,
what was verified (wire/typecheck/lint/test/build locally, wrangler dev with
a local KV through the create and delete flows, terraform validate, Checks
on #2 and #3) and what was not (the KV apply, a live deploy and tenant
hostnames on a real zone, which need the product linked to a workspace with
a Cloudflare connection). The epic is completed; the README status reads
Shipped.

Orun-Task: PS-4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pullely
pullely merged commit 175d55a into main Oct 14, 2026
@pullely
pullely deleted the orun/PS-4-ready-to-instantiate branch October 14, 2026 20:18
ruehowl added a commit that referenced this pull request Oct 21, 2026
…text pack (#6)

* PS5: the cirrus standard — no kiox, generated component docs, the context pack

- Remove kiox.yaml/kiox.lock and their two blueprint modules: nothing ran
  the kiox pin (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for every component
  (web, cloudflare-kv, web-tests) from what it declares
  (tooling/catalog/gen-component-docs.py), and fail Baseline CI when they
  drift (--check).
- Add ai/context/{current,decisions,open-risks}.md (this repository's own;
  nothing places them).
- Close out PS4 (shipped, tagged baseline-v1; the epic README's
  "Shipped as" was still at #4) and record PS5 (PS-6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS5: the kiox exit criterion names what it can mean

This milestone's own record (the status file, the plan, epic.yaml, the
task contract, ai/context) says that kiox was removed, so "no file names
kiox" could never hold literally. The criterion is now that nothing
outside this milestone's own record names kiox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Regenerate component docs: prettier-padded tables, accurate wording

The generator now lays tables out the way prettier does (an app whose lint
is `prettier --check` accepts the pages as written), lists the WIRING_*
failure only for Workers that take wiring, and no longer claims a package
holds no credentials.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Component docs: list optional and per-environment secrets

The generator now reads `optionalSecretEnv` (listed as "(optional)") and
secrets declared per environment under `subscribe.environments[]`, so a
page no longer leaves out a secret its component declares. Its tables are
laid out as prettier lays them out, the WIRING_* failure is listed only
for Workers that take wiring, and a package is no longer said to hold no
credentials. Every starter now carries the identical generator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

---------

Co-authored-by: Claude <noreply@anthropic.com>
ruehowl added a commit that referenced this pull request Oct 21, 2026
* PS5: the cirrus standard — no kiox, generated component docs, the context pack

- Remove kiox.yaml/kiox.lock and their two blueprint modules: nothing ran
  the kiox pin (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for every component
  (web, cloudflare-kv, web-tests) from what it declares
  (tooling/catalog/gen-component-docs.py), and fail Baseline CI when they
  drift (--check).
- Add ai/context/{current,decisions,open-risks}.md (this repository's own;
  nothing places them).
- Close out PS4 (shipped, tagged baseline-v1; the epic README's
  "Shipped as" was still at #4) and record PS5 (PS-6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS5: the kiox exit criterion names what it can mean

This milestone's own record (the status file, the plan, epic.yaml, the
task contract, ai/context) says that kiox was removed, so "no file names
kiox" could never hold literally. The criterion is now that nothing
outside this milestone's own record names kiox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Regenerate component docs: prettier-padded tables, accurate wording

The generator now lays tables out the way prettier does (an app whose lint
is `prettier --check` accepts the pages as written), lists the WIRING_*
failure only for Workers that take wiring, and no longer claims a package
holds no credentials.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Component docs: list optional and per-environment secrets

The generator now reads `optionalSecretEnv` (listed as "(optional)") and
secrets declared per environment under `subscribe.environments[]`, so a
page no longer leaves out a secret its component declares. Its tables are
laid out as prettier lays them out, the WIRING_* failure is listed only
for Workers that take wiring, and a package is no longer said to hold no
credentials. Every starter now carries the identical generator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS5: read the workers.dev subdomain from the Cloudflare connection

- blueprint.yaml: the subdomain input is `from:
  connection.cloudflare.workersSubdomain`, as cirrus-baseline since
  baseline-v23 (#30); the console renders no field for it
- testing/manifest.test.sh: cirrus's rule verbatim, accepting the source
  only when spec.requires.integrations lists its provider (mutation-checked)
- repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/README.md: only a hand-run
  build passes --set subdomain
- records: PS-7 under PS5, status, plan, epic index, ai/context

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

---------

Co-authored-by: Claude <noreply@anthropic.com>
ruehowl added a commit that referenced this pull request Oct 22, 2026
* PS5: the cirrus standard — no kiox, generated component docs, the context pack

- Remove kiox.yaml/kiox.lock and their two blueprint modules: nothing ran
  the kiox pin (v2.15.0); every workflow pins orun through orun-action.
- Generate docs/{overview,architecture,runbook}.md for every component
  (web, cloudflare-kv, web-tests) from what it declares
  (tooling/catalog/gen-component-docs.py), and fail Baseline CI when they
  drift (--check).
- Add ai/context/{current,decisions,open-risks}.md (this repository's own;
  nothing places them).
- Close out PS4 (shipped, tagged baseline-v1; the epic README's
  "Shipped as" was still at #4) and record PS5 (PS-6).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS5: the kiox exit criterion names what it can mean

This milestone's own record (the status file, the plan, epic.yaml, the
task contract, ai/context) says that kiox was removed, so "no file names
kiox" could never hold literally. The criterion is now that nothing
outside this milestone's own record names kiox.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Regenerate component docs: prettier-padded tables, accurate wording

The generator now lays tables out the way prettier does (an app whose lint
is `prettier --check` accepts the pages as written), lists the WIRING_*
failure only for Workers that take wiring, and no longer claims a package
holds no credentials.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* Component docs: list optional and per-environment secrets

The generator now reads `optionalSecretEnv` (listed as "(optional)") and
secrets declared per environment under `subscribe.environments[]`, so a
page no longer leaves out a secret its component declares. Its tables are
laid out as prettier lays them out, the WIRING_* failure is listed only
for Workers that take wiring, and a package is no longer said to hold no
credentials. Every starter now carries the identical generator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS5: read the workers.dev subdomain from the Cloudflare connection

- blueprint.yaml: the subdomain input is `from:
  connection.cloudflare.workersSubdomain`, as cirrus-baseline since
  baseline-v23 (#30); the console renders no field for it
- testing/manifest.test.sh: cirrus's rule verbatim, accepting the source
  only when spec.requires.integrations lists its provider (mutation-checked)
- repo-blueprint.yaml, BOOTSTRAP.md, docs/phases/README.md: only a hand-run
  build passes --set subdomain
- records: PS-7 under PS5, status, plan, epic index, ai/context

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

* PS6: the console asks for no domain — the domain is set later

The site goes live on workers.dev from its first deploy, tenants at
/s/<tenant>, and a root domain for tenant subdomains is the owner's step
after the bootstrap, so the console no longer asks for one. The logic that
uses the root domain stays where it is, carrying a placeholder.

- blueprint.yaml: no productdomain input
- repo-blueprint.yaml: productdomain is optional, default empty
- rebrand.mjs: productdomain no longer required; empty brands the reserved
  placeholder <reponame>.example.com (RFC 2606) where the root domain goes
  (BASE_DOMAIN in intent.yaml; stage.<reponame>.example.com on stage),
  inlined as NEXT_PUBLIC_ROOT_DOMAIN, so setting it later is replacing one
  string
- the product README ("Tenant subdomains": replacing the placeholder is now
  a step, not an option) and ai/context/operations.md say how to set it
- testing/fixtures/acme.json carries no domain; placement.test.sh and
  e2e.test.sh read the fixture's domain and raised KeyError without one —
  both now expect the placeholder; rebrand.test.sh pins it (absent, stage,
  empty); baseline.yml's blueprint read sets no domain
- records: PS6 / PS-8, tagged baseline-v3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8AmgTwmnp4M8mgmnS9aha

---------

Co-authored-by: Claude <noreply@anthropic.com>
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