Repository navigation
docs: point Archetype A at ADR-0047 instead of "no P6 equivalent" (#690 step 1) - #697
Conversation
ADR-0047 and its spec landed in rossoctl#696, so the docs' standing claim that async fan-out has "no P6 equivalent yet" and is tracked only by ADR-0034 is no longer true: the capability has a decision record, a design, and an epic. It is still unimplemented, which the wording now says explicitly rather than by omission. This is step 1 of rossoctl#690 — the pointers. Step 2 (migration steps, the consumer's configuration-mapping rows, dropping "removed") lands with or after the last implementation child of rossoctl#686. rossoctl#690 names three targets; four more files carried the same stale claim, so they are corrected here rather than left to contradict the ones that are not: - docs/concepts/dispatch-archetypes.md: the Archetype A row, and the A-and-C section, which now states the two things an orchestrator planning against the replacement needs — that submission moves to the authenticated POST /v1/sessions/{id}/turns, and that scale-to-zero and depth-driven capacity are dropped deliberately. The preview date moves to 2026-11-06. - docs/adrs/0041-...: the accepted-cost bullet gains a dated update, and a new revision records what ADR-0047 settles that bears on this ADR — the consumer running inside the --role=turn worker rather than reviving a per-pod scaling model, and the unauthenticated route staying removed (rossoctl#687). - docs/reference/http-api.md and docs/api/harness-openapi.yaml: the async_removed entry names its replacement, so the refusal stops being a dead end for a reader. The code's own message still reads "run leaves synchronously" and is M1's to change, so the docs say that too. - README.md, docs/get-started/index.md, docs/reference/maturity-and-lifecycle.md: "no P6 equivalent" → does not run on P6 yet, with A designed and C not. Archetype C is unchanged in substance: rossoctl#536 owns it and it has no design. Refs rossoctl#690, rossoctl#686, rossoctl#386, rossoctl#687 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: cwiklik <[email protected]>
ingpaolodettori-dev
left a comment
There was a problem hiding this comment.
Docs-only, accurate against main: ADR-0047 and the design spec exist at the linked paths, #687 is closed, and the async_removed message in knative-server/src/server.ts:1322 still says "run leaves synchronously", as the PR notes. CI is green. A few precision fixes, nothing blocking.
Author: cwiklik (MEMBER, maintainer)
Areas reviewed: Docs (Markdown), OpenAPI YAML
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit, all signed-off: yes
CI status: passing (all 16 checks)
Outside the diff:
- suggestion:
docs/reference/leaf-and-envelope.md:120still says "Neither has a P6 equivalent yet." The PR says it corrects every file that carried the stale claim, but this one is still on main and isn't touched here. Suggested wording, matching the rest: "Neither runs on P6 yet; async fan-out is designed (ADR-0047, #686), and the schedule on-ramp has no design (#536)." - FYI: #690's step 1 names
docs/migrating-from-knative.md, which no longer exists on main. Worth a comment on #690 so step 2 has a target file.
| budget with interactive turns — not a `--role=leaf` worker and not a separate process. So the | ||
| capability returns without reviving the per-workload-pod scaling model this ADR deprecated. | ||
| - **Scale-to-zero stays gone**, as does queue-depth-driven capacity. This ADR accepted the first | ||
| cost explicitly; ADR-0047 §10 records the second, with a kept-or-dropped verdict for every other |
There was a problem hiding this comment.
suggestion: ADR-0047 has no §10. The kept/dropped table is the ADR's "The KEDA-era parity audit (#689)" section, and §10 is the design spec's numbering ("10. The queue: revive, with the parity audit on the record"). Suggest "ADR-0047's parity audit (design §10)". dispatch-archetypes.md correctly says "The design's §10".
| the scheduled on-ramp (archetype C), flagged in ADR-0034; the `knative-server` rename decision; | ||
| the `sandbox-transport` extraction (RA1 §9.1). | ||
|
|
||
| ### 2026-11-06 — archetype A's replacement decided (design only) |
There was a problem hiding this comment.
suggestion: ADR-0047's status is still Proposed, but this heading says "replacement decided", and the README, get-started and dispatch-archetypes call it a "decision record" that "settles" things. If 0047 can still change in review, "proposed (design only)" is more accurate. Otherwise, flip 0047 to Accepted, ideally in the same PR or just before it.
| that consumed the queue went with the Knative/KEDA path (ADR-0041). This route is not coming back | ||
| — it is unauthenticated when `SH_REQUIRE_AUTH` is off, which would be a second trust model for one | ||
| queue. Its replacement is the authenticated, owner-scoped | ||
| `POST /v1/sessions/{id}/turns` with `async: true` → `202 {turnId}`, designed in |
There was a problem hiding this comment.
nit: the design spec §4.1 gives the response as 202 { sessionId, turnId }. 202 {turnId} here (and in dispatch-archetypes.md:56) follows the ADR's shorthand, but this is the API reference, so the full shape is safer.
Step 1 of #690 — the docs pointers now that ADR-0047 and its design spec have landed (#696).
Why
The docs still said async fan-out has "no P6 equivalent yet" and that the debt is tracked only by ADR-0034. Both halves are now false: the capability has a decision record (ADR-0047), a design spec, and an epic (#686). It is still unimplemented — this PR makes the wording say that explicitly rather than leaving a reader to infer status from an absence.
This is docs-only. No behaviour changes, and the
async_removedrefusal inserver.tsstill reads "run leaves synchronously" — rewording it to name the replacement is M1's change, per the design's §4.2, so the docs say that too rather than describing a message the code does not send.What changed
#690 names three targets. Four more files carried the same stale claim, so they are corrected here rather than left to contradict the ones that aren't:
docs/concepts/dispatch-archetypes.mddocs/adrs/0041-...md2026-11-06revision recording what ADR-0047 settles that bears on this ADRdocs/reference/http-api.mdasync_removedentry names its replacement instead of ending at "no P6 equivalent exists yet"docs/api/harness-openapi.yaml/runsdescription and theasyncpropertyREADME.md,docs/get-started/index.md,docs/reference/maturity-and-lifecycle.mdTwo points are stated for readers rather than just cross-referenced, because they change how someone would plan a migration:
POST /runs {async:true}is not coming back (P6 async fan-out: decide the fate of data-plane /runs {async:true} (unauthenticated Archetype A controllers) #687, closed as "replaced"); its replacement is the authenticated, owner-scopedPOST /v1/sessions/{id}/turns. Anyone waiting for the old route to return should stop waiting.Archetype C is unchanged in substance: #536 owns it, it has no design, and it is expected to build on A's consumer rather than a second one.
What is deliberately not here
#690's step 2 — migration steps for Archetype A, the consumer's rows in the configuration mapping table (including what replaces
LEAF_RESULT_TTL_SECONDS), and dropping "removed" from the archetype row — lands with or after the last implementation child of #686. Writing it now would document a path that does not run. #690 stays open for it.Verification
make check-links→ checked 196 files, 0 broken link(s)prettier --checkclean on all seven filesharness-openapi.yamlre-parsed after editing; 5 paths,asyncdescription intactThe
openapi-contracttest could not run in this worktree (pi-forkis unbuilt —Failed to load url @earendil-works/pi-coding-agent), which is pre-existing and unrelated to a docs edit. It asserts route coverage, not descriptions, and no route changed.Refs #690, #686, #386, #687
Assisted-By: Claude Code