Repository navigation
Ratify retire-doxbench-chat-turn-v1: entry 3 of #522, its own slice, at contract-v3.0 (ratified 2026-09-01; proposal only, no realization) - #552
Conversation
… at contract-v3.0 PROPOSAL ONLY. No schema byte moves, no fixture is deleted, no manifest digest changes and no CHANGELOG row moves here; this is the OpenSpec-before- implementation stage and the packet is Status: draft. This is the only one of issue #522's three deprecations whose warning actually fires. A default validate-ideation-dashboard-contracts.py run over a clean checkout reports `0 error(s), 4 warning(s)`, every one naming `removal target contract-v2.0` -- a target the bundle passed one major and five minors ago. The deprecation itself was done properly at contract-v1.34: co-resident -v2 family, v1 bytes kept byte-identical with a committed baseline test to prove it, and the deprecation declared MACHINE-READABLY in a top-level deprecated_envelopes block. Only the removal it named was never performed. THE DESIGN QUESTION IS ANSWERED, NOT ROUTED. The serve.py fallback -- today an unrecognized `kind` is coerced into the v1 family, on a reason that dies with v1 -- is REDESIGNED: refusal in the SURVIVING family's failure envelope with an explicit unknown-kind code where a wire-valid client_turn_id exists, and the existing pre-identity shape where it does not. That is legal on the contract as it stands and it is a measurement, not a hope: failure_v2 constrains `error` by the pattern ^[a-z][a-z0-9_]{2,63}$ and by no enum, and the delegated validator that judges a v2 failure is the same function that judges a v1 failure and applies no code vocabulary either. The only closed list is serve.py's own DOXBENCH_ERROR_CATALOG, so the code costs one catalog entry -- which is not optional, because an unregistered code raises instead of refusing. The envelope-less alternative is recorded with its three costs. TWO MEMO CORRECTIONS, from re-verification: - the packaged corpus is TWELVE fixtures, not four. Eight are NEGATIVE and carry SEVEN refusal classes -- escaping path, hash mismatch, identity subject, over budget, unknown model, untyped proposal, duplicate turn pair -- with no -v2 equivalent. Each must be re-expressed or its loss stated; silence is not an option the packet permits. - there are TWO fallback layers. The second, _refuse_turn's drop to the pre-identity shape, is correct, is NOT redesigned, and is what lets the new posture require a client_turn_id without inventing one. Carries ONE scenario-complete `## MODIFIED` block over promoted ideation-dashboard canon ("The chat-turn contract release carries the bound buffer and the model"): the body paragraph and all four scenarios with every bullet, dropping nothing, so no `Removed from canon` marker is owed and the carriage-ledger arm has nothing to report -- verified by running the modified-block-currency self-gate on this branch, which shows no new named subject. #538's `Modified over` convention does not apply: the requirement is in promoted canon, not an active sibling's ADDED. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Adds a new OpenSpec change packet (retire-doxbench-chat-turn-v1) and indexes it in the repo README, documenting the planned contract-v3.0 retirement of doxBench chat-turn v1 and the redesigned unknown/absent-kind fallback posture.
Changes:
- Append
retire-doxbench-chat-turn-v1to README’s “Active changes” index. - Add a new change packet with proposal/design/tasks and an
ideation-dashboarddelta spec capturing removal + fallback redesign requirements. - Define realization tasks covering schema/runtime/validator/fixtures/tests and archive-gate evidence for a contract-v3.0 cut.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds the change entry to the “Active changes” index. |
| openspec/changes/retire-doxbench-chat-turn-v1/tasks.md | Introduces the proposal vs realization task plan and archive gate criteria. |
| openspec/changes/retire-doxbench-chat-turn-v1/specs/ideation-dashboard/spec.md | Adds requirements for v1 removal and unknown-kind refusal posture; includes a MODIFIED block over promoted canon. |
| openspec/changes/retire-doxbench-chat-turn-v1/proposal.md | Captures scope, rationale, decisions, and open questions for the retirement packet. |
| openspec/changes/retire-doxbench-chat-turn-v1/design.md | Details fallback redesign and the “seven refusal classes” fixture coverage concern. |
| openspec/changes/retire-doxbench-chat-turn-v1/.openspec.yaml | Declares packet origin/metadata and related-change links. |
Suppressed comments (2)
openspec/changes/retire-doxbench-chat-turn-v1/proposal.md:45
- This memo citation includes a host-absolute path (~/projects/...). Per repo constitution, committed files must not contain host-absolute paths; cite the memo without embedding a machine-local path.
Cited in full: openxFactory issue **#522** and Brett Heap's ruling comment on it
of **2026-09-01**; the measurement memo
**`~/projects/xFactory/deprecations-522-memo-2026-08-31.md`**.
openspec/changes/retire-doxbench-chat-turn-v1/.openspec.yaml:10
- This origin reason embeds a host-absolute path (~/projects/...). Per repo constitution, committed files must not contain host-absolute paths; reference the memo without the machine-local path.
with the memo durable on the operator host at
`~/projects/xFactory/deprecations-522-memo-2026-08-31.md`. There is no
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| — authored 2026-09-01, `Status: draft`. **Entry 3 of openxFactory issue | ||
| #522**, on Brett Heap's 2026-09-01 ruling comment there and the measurement | ||
| memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md`, sliced | ||
| SEPARATELY from entries 1 and 2 on the memo's own recommendation and the |
| Status: draft | ||
| Proposed: 2026-09-01 | ||
| Origin: openxFactory issue #522, entry 3 of three; measured 2026-08-31 in a decision memo durable on the operator host at `~/projects/xFactory/deprecations-522-memo-2026-08-31.md`; RULED by Brett Heap 2026-09-01 in session and recorded as a comment on #522 — "execute all three retirements at contract-v3.0, as the memo recommends", entry 3 "EXECUTE, its own slice", with the `serve.py` v1-fallback posture "redesigned, not deleted". The ruling authorizes the proposal; it does not ratify this text. |
| openxFactory issue #522 — "three contract-v2.0-targeted deprecations | ||
| outlived their target" — measured 2026-08-31 against main tip `4290cad2`, | ||
| with the memo durable on the operator host at |
…erator-local Two review findings from the automated round on PR #552, both accepted, one of them accepted by DISAMBIGUATING rather than by aligning. 1. THE TWO SHAs ARE NOT A CONFLICT, AND THE PACKET NOW SAYS SO. `.openspec.yaml` recorded `4290cad2` (what the memo measured, and what the ruling adopted) and proposal.md recorded `1a69b7cb` (what this packet re-verified against, the tip this branch is cut from). The review read that as one baseline stated twice and asked for alignment. They are TWO ACTS. Collapsing them to one SHA would hide which findings are the memo's and which are this packet's -- and this packet's two pricing corrections are exactly the ones that need the distinction. Both are now named explicitly, in both files, with the rule that where they disagree the tree governs. 2. THE MEMO PATH. `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` is OPERATOR-LOCAL and deliberately not committed here. The citation stays -- it is the measurement the ruling adopted -- and now says so on its face, naming issue #522 and its 2026-09-01 ruling comment as the durable in-repo referents. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]>
|
Review round 1 handled — pushed as 1. The two SHAs are not a conflict, and the packet now says so. 2. The memo path is operator-local, and the citation now says so.
|
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Suppressed comments (3)
README.md:1502
- This introduces a host-absolute/operator-local path (
~/projects/...) into a committed file. Repo constitution forbids committing host-absolute paths; keep only durable in-repo references (issue/PR) or a repo-relative identifier (e.g. just the memo filename).
#522**, on Brett Heap's 2026-09-01 ruling comment there and the measurement
memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (operator-local, not committed here; the durable referents are issue #522 and its ruling comment), sliced
openspec/changes/retire-doxbench-chat-turn-v1/proposal.md:6
- Frontmatter includes an operator-local home-directory path (
~/projects/...). Committed files must not contain host-absolute paths (repo constitution); prefer referencing the memo by filename only and keep the durable references (issue #522 / ruling comment).
Origin: openxFactory issue #522, entry 3 of three; measured 2026-08-31 in a decision memo durable on the operator host at `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL, deliberately NOT committed here; the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment); RULED by Brett Heap 2026-09-01 in session and recorded as a comment on #522 — "execute all three retirements at contract-v3.0, as the memo recommends", entry 3 "EXECUTE, its own slice", with the `serve.py` v1-fallback posture "redesigned, not deleted". The ruling authorizes the proposal; it does not ratify this text.
openspec/changes/retire-doxbench-chat-turn-v1/proposal.md:47
- The body also embeds an operator-local
~/...path. To comply with the repo rule against host-absolute paths in committed artifacts, reference the memo by filename (or omit it) and rely on the durable issue/comment pointers already present.
of **2026-09-01**; the measurement memo
**`~/projects/xFactory/deprecations-522-memo-2026-08-31.md`**, measured against
main tip `4290cad2`. **That path is OPERATOR-LOCAL and the memo is deliberately
NOT committed to this repository**; it is cited because it is the measurement the
| The memo itself is durable on the operator host at | ||
| `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` — OPERATOR-LOCAL | ||
| and deliberately NOT committed here; the durable in-repo referents are issue | ||
| #522 and its 2026-09-01 ruling comment. There is no |
…s out Review round 2 was RIGHT and my round-1 answer was WRONG, so this corrects both the tree and the record. I replied on round 1 that the repository's host-absolute-path rule was about release metadata and that a prose citation in a proposal fell outside it. That is not what the rule says. `.specify/memory/constitution.md` Principle IV is unqualified: "Committed files MUST NOT contain host-absolute paths; use repo-relative paths or runtime resolution." No scope clause, and no precedent for one -- a grep of the corpus finds no other `~/projects/` path in any committed document. The memo is now NAMED rather than LOCATED, in all three places it is cited: `deprecations-522-memo-2026-08-31.md`, held on the operator's own machine and deliberately not committed anywhere here, with issue #522 and its 2026-09-01 ruling comment as the durable in-repo referents. Naming it keeps the citation the ruling asked for; locating it was the part the constitution forbids. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]>
|
Review round 2 handled — and on the host-path finding, the review was RIGHT and my round-1 answer was WRONG. Correcting both the tree and the record. I replied on round 1 that the repository's host-absolute-path rule was about release metadata (
No scope clause — and no precedent for reading one in: a grep of the whole corpus finds no other Fixed. The memo is now NAMED rather than LOCATED, everywhere it is cited: On the count-drift findings: those were raised against the intermediate commit Noted and deliberately NOT fixed, being neither this packet's subject nor its doing:
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Suppressed comments (2)
README.md:1518
$defis not a JSON Schema keyword; the correct term is$defs(as used elsewhere in this README entry and in the schema).
`$def` the surviving family reaches (measured from its reference closure, not
openspec/changes/retire-doxbench-chat-turn-v1/tasks.md:79
- The shipped client path is missing its
scripts/ideation_dashboard/prefix (the file isscripts/ideation_dashboard/web/views/doxbench-chat.js). Keeping the full repo path makes it easier to locate and keeps the citation consistent with other path references in this packet.
- [ ] 3.6 Confirm the shipped client needs no change —
`web/views/doxbench-chat.js:37-39` is `-v2`-only — and that its failure
handling routes the new code sensibly rather than rendering a raw token.
| comment), sliced | ||
| SEPARATELY from entries 1 and 2 on the memo's own recommendation and the | ||
| ruling's adoption of it. **THE ONLY ONE OF THE THREE WHOSE WARNING ACTUALLY | ||
| FIRES**: a default `validate-ideation-dashboard-contracts.py` run reports |
| row moves in the pull request that carries it. Sections 2-6 are the realization, | ||
| and § 8 is the archive gate the realization must clear before this change may | ||
| archive at all. |
|
Inherited-failure evidence, measured on this PR's own merge ref so it does not have to be inferred from the CI log.
Reproduced locally on Exactly one failure, and it is #510's subject, not this packet's. That is the point of the delta discipline here: the family reports a subject only when a MODIFIED block DROPS a canon body unit or scenario bullet, so a packet that carries every unit adds no subject. It is not fixed here — the fix belongs to whoever moved the set. A full doc-health run on this branch reports "New regressions vs previous report: 0". The other three required checks — |
RATIFIED by Brett Heap, repository owner, in session on 2026-09-01 ("ratify
#551 and #552"), at this pull request's tip c516947. The record is
review/ratification-2026-09-01.md.
THREE ACTS, RECORDED AS THREE. The filing of issue #522 on his word of
2026-08-30 authorized the subject and no disposition. The ruling of 2026-09-01,
recorded as a comment on #522, adopted the memo's recommendations, sliced entry
3 out on its own, and set the fallback's DIRECTION -- "redesigned, not
deleted". This ratification is the third and smallest: it authorizes the
requirement text at that tip, and it is what ratifies the fallback posture AS
ENCODED, since the ruling named a direction and not a shape. Collapsing the
acts would misstate what each one authorized, so approved_by is kept exactly as
written and the ratification is recorded separately beside it.
WHAT THE ACT STOOD ON, DISCLOSED RATHER THAN GLOSSED. He ratified on an
orchestrator's report of both packets read together, carrying the four
authoring findings where the memo did not survive the tree -- this packet's
being that the packaged corpus is TWELVE fixtures and not four, eight of them
negative and carrying seven refusal classes with no -v2 equivalent -- the
serve.py fallback decision as encoded, the Codex provider-refusal, and the
inherited main red.
NO CODEX REVIEW HAS HAPPENED AND NOTHING HERE CLAIMS ONE DID. Three requests on
this pull request, three provider usage-limit refusals, zero verdicts. A pass
is owed and blocked by nothing in the packet.
FOUR LOW-SEVERITY COPILOT COMMENTS STAND UNCORRECTED on the ratified head and
are enumerated in the record rather than passed over: two posted (a README
script path missing its scripts/ prefix; the tasks header's "Sections 2-6"
range, which does not fit a file whose section 6 is the cut and whose section 7
is post-cut verification) and two suppressed. None is corrected here, because
correcting them would produce a head other than the one he ruled on. They route
to the amendment lane. Task 1.7 is therefore SPLIT, with the ratification
ticked and adversarial review left open at 1.8.
main IS RED on pytest-suite from PR #510's carriage-ledger subject, at 1a69b7c
and still at 1c1dcbb. This branch's run shows exactly that one failure and no
other -- load-bearing here, because this packet DOES carry a MODIFIED block and
the absence of a second subject is the evidence that it drops nothing.
Status flips at every site that self-describes: proposal.md front matter,
design.md, tasks.md's header and its 1.7 box, .openspec.yaml's origin reason,
and the README record row. No requirement text moves.
OPENSPEC_TELEMETRY=0 openspec validate retire-doxbench-chat-turn-v1 --strict -> valid
OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 80 passed, 0 failed
Co-Authored-By: Claude Fable 5 <[email protected]>
RATIFIED by Brett Heap, repository owner, in session on 2026-09-01 ("ratify
#551 and #552"), at this pull request's tip 6490760. The record is
review/ratification-2026-09-01.md.
THREE ACTS, RECORDED AS THREE. The filing of issue #522 on his word of
2026-08-30 authorized the subject and no disposition. The ruling of 2026-09-01,
recorded as a comment on #522, adopted the memo's recommendations and
authorized the proposals. This ratification is the third and smallest: it
authorizes the requirement text at that tip and nothing else -- no realization,
no bundle cut, no number spent, no CHANGELOG row moved. Collapsing them would
misstate what each one authorized, so approved_by is kept exactly as written
and the ratification is recorded separately beside it.
WHAT THE ACT STOOD ON, DISCLOSED RATHER THAN GLOSSED. He ratified on an
orchestrator's report of both packets read together, carrying the four
authoring findings where the memo did not survive the tree (three of them this
packet's: the retirement is a REPLACEMENT and not a deletion; the openworkflow
prefix is under-declared by one character and the refusal list must be written
BY PATH so the live omnigent.domain_overlay is not caught; the D4 canon/code
severity divergence recorded and not fixed), the Codex provider-refusal, and
the inherited main red.
NO CODEX REVIEW HAS HAPPENED AND NOTHING HERE CLAIMS ONE DID. Four requests,
four provider usage-limit refusals, zero verdicts. A pass is owed and is
blocked by nothing in this packet; task 1.5 is therefore SPLIT, with the
ratification ticked and adversarial review left open at 1.6, because the order
the box stated was inverted by events rather than met.
main IS RED on pytest-suite from PR #510's carriage-ledger subject, at 1a69b7c
and still at 1c1dcbb. This branch's run shows exactly that one failure and no
other, which is structural: the family reports a subject only when a MODIFIED
block drops a canon unit, and this packet carries no MODIFIED block at all.
Status flips at every site that self-describes: proposal.md front matter,
design.md, tasks.md's header and its 1.5 box, .openspec.yaml's origin reason,
and the README record row. No requirement text moves.
OPENSPEC_TELEMETRY=0 openspec validate retire-hermes-flat-keys-and-openworkflow-tokens --strict -> valid
OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 80 passed, 0 failed
Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Suppressed comments (3)
Previously missed (2) — in code that hasn't changed since the last review.
README.md:1530
- This sentence uses
$def, but the JSON Schema keyword is$defs(plural). As written, it reads like a typo in a schema-specific statement.
`$def` the surviving family reaches (measured from its reference closure, not
openspec/changes/retire-doxbench-chat-turn-v1/tasks.md:99
- This shipped-client citation drops the
scripts/ideation_dashboard/prefix, but the client file is actuallyscripts/ideation_dashboard/web/views/doxbench-chat.js. Keeping paths consistent avoids sending readers to a non-existent location.
`web/views/doxbench-chat.js:37-39` is `-v2`-only — and that its failure
README.md:1520
- The README entry references
validate-ideation-dashboard-contracts.pywithout itsscripts/path, but the file lives atscripts/validate-ideation-dashboard-contracts.py. Using the correct path makes the citation resolvable in-repo.
FIRES**: a default `validate-ideation-dashboard-contracts.py` run reports
| requirement text and performs none of the work below.** Sections 2-6 are the realization, | ||
| and § 8 is the archive gate the realization must clear before this change may | ||
| archive at all. |
| — authored 2026-09-01, **`Status: ratified` — RATIFIED 2026-09-01 by Brett | ||
| Heap, in session, at PR #552 tip `c5169476`** (record: | ||
| `openspec/changes/retire-doxbench-chat-turn-v1/review/ratification-2026-09-01.md`); | ||
| ratification authorizes the requirement text and performs no realization, | ||
| moves no schema byte and cuts no bundle, so the change stays ACTIVE until |
… 2 of #522, at contract-v3.0 (ratified 2026-09-01; proposal only, no realization) (#551) * Propose retire-hermes-flat-keys-and-openworkflow-tokens: entries 1 and 2 of #522, at contract-v3.0 PROPOSAL ONLY. No retirement code, no policy row and no changelog entry lands here; this is the OpenSpec-before-implementation stage and the packet is Status: draft. contract-v2.0 shipped on 2026-08-27, executed a different deprecation through itself, and did not look at the three entries that named it as their removal target. Five minors later they still name it. Brett Heap ruled on 2026-09-01 (comment on #522) that all three execute at contract-v3.0 as the measurement memo recommends, with entry 1 SPLIT. Entry 1, phased half: EXECUTE. The hermes flat-key FALLBACK READ leaves check_hermes, LEGACY_HERMES_KEYS goes with it, and apply-domain-starter.py stops emitting the deprecated keys. It refuses nobody -- all five supported consumers declare hermes.layers, re-verified read-only on 2026-09-01. Entry 1, refusing half: RECORD-WHY, in the mechanism's own section. The warning fires only in the else arm taken when layers is ABSENT, so it has been dead code for the entire supported population; refusing the co-resident keys would be an unphased narrowing owing its own deprecating minor first. design.md defines the third spelling the section lacks -- restated target plus measured reason, with the parseable `removal target contract-vX.Y` tail preserved. Entry 2: EXECUTE. Three lines, zero live usage across ten repositories, phased since contract-v1.1. Adds ONE capability, contract-deprecation-execution, and NO MODIFIED block -- grepped: no promoted requirement names either shape, so there is no canon to restate and #538's base-declaration convention does not reach this packet. Three facts the memo did not carry, found on re-verification and recorded: the openworkflow branch SHADOWS the general rule and therefore WIDENS one case as well as narrowing another; promoted canon says an unresolvable owner_layer is a WARNING while the shipped validator has ERRORED since 493fb33 (2026-07-03), six days before that requirement was promoted (recorded and deliberately not fixed -- D4, with an issue owed); and domain_overlay is ALSO a live key under omnigent:, so the refusal list must be written by PATH and not by name. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * The fallback retirement is a REPLACEMENT, not a deletion, or it widens at a major Self-review catch, and the single easiest way to realize entry 1 wrongly. check_hermes's `hermes.layers missing required role` errors at :186-188 sit INSIDE the `if isinstance(declared, list)` branch. Delete the else arm and nothing else -- which is what "delete the fallback read" reads as -- and a layers-less stack falls straight through to `for role, layer in layers.items()` with an EMPTY map and produces no finding at all. That is a SILENT WIDENING at a major, the exact opposite of the retirement, and neither the memo nor issue #522 names it. The removal therefore owes a stated replacement behaviour: one explicit error naming the missing or non-list hermes.layers. Recorded in proposal § "What the measurement found" as the fourth re-verification finding, in tasks § 2.1 as a DO-NOT with its reason, and in the spec delta as a scenario refusing the naive deletion by name. openspec validate --strict green per-change and --all. Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * Entry 2's entry under-declares its own prefix by one character, and the memo path is marked operator-local Two review findings from the automated round on PR #551, both accepted. 1. THE PREFIX. The policy entry and the validator docstring both write `openworkflow_`, with a trailing underscore. The code writes `token.startswith("openworkflow")`, with none. So `openworkflow`, `openworkflowx` and `openworkflow-legacy` all take the compatibility branch today and are all refused by this removal, and not one of them is the shape the entry declares. This is the SAME defect as entry 1's seven undeclared keys, one character wide -- which means the refusal-list rule this packet promotes applies to BOTH of its entries and not only to the flat keys. Recorded as a fifth re-verification finding, as a new scenario in the delta, as a correction obligation on the Executed row in tasks 3.1, and in the requirement heading, which now names the prefix the code matches. 2. THE MEMO PATH. `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` is OPERATOR-LOCAL and deliberately not committed here. The citation stays -- it is the measurement the ruling adopted -- and now says so on its face, naming issue #522 and its 2026-09-01 ruling comment as the durable in-repo referents a later reader can actually resolve. Also corrected in the same pass: the front-matter code_surface still described the fallback arm as DELETED, which `2becc22e` had just established is the wrong act; it now says REPLACED, with the reason. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * Name the prefix consistently: two scenario titles still said openworkflow_ The requirement heading and body were corrected to the prefix the code actually matches; two of its scenario titles were not, and a delta that names the shape differently in the heading and in the scenarios is the same under-declaration the requirement is about, one level down. openspec validate --strict green. Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * Constitution IV: the memo is NAMED, not located -- the host path comes out Review round 2 was RIGHT and my round-1 answer was WRONG, so this corrects both the tree and the record. I replied on round 1 that the repository's host-absolute-path rule was about release metadata (source_compatibility_ref.local_source_path) and that a prose citation in a proposal was outside it. That is not what the rule says. `.specify/memory/constitution.md` Principle IV, Schema and Artifact Discipline, is unqualified: "Committed files MUST NOT contain host-absolute paths; use repo-relative paths or runtime resolution." There is no scope clause and no precedent for one -- a grep of the corpus finds no other `~/projects/` path in any committed document. So the memo is now NAMED rather than LOCATED, in all three places it is cited: `deprecations-522-memo-2026-08-31.md`, held on the operator's own machine and deliberately not committed anywhere here, with issue #522 and its 2026-09-01 ruling comment as the durable in-repo referents a later reader can actually resolve. Naming it keeps the citation the ruling asked for; locating it was the part the constitution forbids. The count-drift findings in the same round were raised against the intermediate commit 2becc22 and are already discharged by bcd0c56: proposal, tasks, README and the PR body all read FIVE. Noted and NOT fixed, being neither this packet's subject nor this packet's doing: README.md:3252 carries a pre-existing `~/doxbench-operator/...` path on main, which is the same violation one document away. openspec validate --strict green per-change and --all (80 passed, 0 failed). Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * Name the omnigent read by its line, not by a function that does not exist The proposal cited `check_omnigent` for the `omnigent.domain_overlay` read. There is no such function -- the read is at validate-domain-factory.py:539-541, which errors when the directory it names is missing. tasks.md already cited it correctly; the proposal did not. Also: entry 2 now carries TWO properties the memo did not name, not one -- the shadowing and the one-character prefix under-declaration -- and its subheading says so. openspec validate --strict green. Refs #522 Co-Authored-By: Claude Fable 5 <[email protected]> * Record Brett's ratification of 2026-09-01, and keep the three acts apart RATIFIED by Brett Heap, repository owner, in session on 2026-09-01 ("ratify #551 and #552"), at this pull request's tip 6490760. The record is review/ratification-2026-09-01.md. THREE ACTS, RECORDED AS THREE. The filing of issue #522 on his word of 2026-08-30 authorized the subject and no disposition. The ruling of 2026-09-01, recorded as a comment on #522, adopted the memo's recommendations and authorized the proposals. This ratification is the third and smallest: it authorizes the requirement text at that tip and nothing else -- no realization, no bundle cut, no number spent, no CHANGELOG row moved. Collapsing them would misstate what each one authorized, so approved_by is kept exactly as written and the ratification is recorded separately beside it. WHAT THE ACT STOOD ON, DISCLOSED RATHER THAN GLOSSED. He ratified on an orchestrator's report of both packets read together, carrying the four authoring findings where the memo did not survive the tree (three of them this packet's: the retirement is a REPLACEMENT and not a deletion; the openworkflow prefix is under-declared by one character and the refusal list must be written BY PATH so the live omnigent.domain_overlay is not caught; the D4 canon/code severity divergence recorded and not fixed), the Codex provider-refusal, and the inherited main red. NO CODEX REVIEW HAS HAPPENED AND NOTHING HERE CLAIMS ONE DID. Four requests, four provider usage-limit refusals, zero verdicts. A pass is owed and is blocked by nothing in this packet; task 1.5 is therefore SPLIT, with the ratification ticked and adversarial review left open at 1.6, because the order the box stated was inverted by events rather than met. main IS RED on pytest-suite from PR #510's carriage-ledger subject, at 1a69b7c and still at 1c1dcbb. This branch's run shows exactly that one failure and no other, which is structural: the family reports a subject only when a MODIFIED block drops a canon unit, and this packet carries no MODIFIED block at all. Status flips at every site that self-describes: proposal.md front matter, design.md, tasks.md's header and its 1.5 box, .openspec.yaml's origin reason, and the README record row. No requirement text moves. OPENSPEC_TELEMETRY=0 openspec validate retire-hermes-flat-keys-and-openworkflow-tokens --strict -> valid OPENSPEC_TELEMETRY=0 openspec validate --all --strict -> 80 passed, 0 failed Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
|
Merging on Brett Heap's explicit word, 2026-09-01 in-session ("ratify #551 and #552" followed by "merge #551 and #552 when the records land"), admin squash per the provenance pattern, sequenced after #551 (squash 59eb913) with the README OpenSpec Records overlap merging cleanly. The ratification record is review/ratification-2026-09-01.md at head 86e0541. Pre-merge state: merge-master-approval, wallet-validation and signed-execution-chain-gate GREEN; pytest-suite RED on exactly one test — INHERITED from PR #510's carriage-ledger subject (standing on main; reproduced locally at this head, 1 failed/1346 passed, the load-bearing check since this packet carries a MODIFIED block and demonstrably added no subject). Codex: provider-refused three times — no review occurred; the pass is owed and recorded so in the ratification record, alongside Copilot's four round-three findings deliberately left to the amendment lane so the merged head is the one Brett ruled on. |
…claim moved Merge `origin/main` (`5383e72c`) into the packet branch so PR #542 stops conflicting and the ratified packet is read against the tree as it now stands. `gh pr update-branch` refused; this is that merge taken by hand. ONE CONFLICTED FILE, resolved on the same principles as this branch's earlier catch-up (`edab9bdd`): | file | conflict | resolution | | --- | --- | --- | | `README.md` | both sides inserted a new bullet at the HEAD of "Active changes:" — this branch's `add-requirement-ref-resolution-integrity` entry (80 lines) vs `main`'s `retire-hermes-flat-keys-and-openworkflow-tokens` entry (51 lines) | UNION, this packet's entry FIRST and `main`'s after it, **both texts byte-unchanged** (verified by diffing each block against `0f2aa71b:README.md` and `origin/main:README.md` respectively). The merged file is `origin/main`'s README plus exactly this packet's 80-line bullet and nothing else — 80 added lines, 0 removed, measured. | Everything else merged clean: `main`'s two new change directories and its `tests/doc-health/test_modified_block_currency_self_gate.py` edit applied untouched, and `retire-doxbench-chat-turn-v1`'s README bullet — appended near the tail of the list rather than at its head — never conflicted. WHAT LANDED ON `main` SINCE `1c1dcbbe`, one line each: - `59eb913e` (#551) ratify `retire-hermes-flat-keys-and-openworkflow-tokens` — entries 1 and 2 of issue #522 at `contract-v3.0`, proposal only. - `b7dc5909` (#552) ratify `retire-doxbench-chat-turn-v1` — entry 3 of #522 at `contract-v3.0`, proposal only. - `5383e72c` (#557) the carriage-ledger fix: the MODIFIED-block-currency self-gate names its eighth subject, `main`'s inherited `pytest-suite` red from #510 now green. **NO PACKET FILE MOVES IN THIS COMMIT.** `proposal.md`, `tasks.md`, `.openspec.yaml`, `specs/credential-contracts/spec.md` and `review/ratification-2026-09-01.md` are byte-identical to `0f2aa71b`, the ratified-plus-amended tip (`git diff 0f2aa71 -- <packet dir>` is empty), so the record and the consented per-document amendment stand exactly as ruled. **NO MEASURED CLAIM MOVED, MEASURED RATHER THAN ASSUMED.** The three landings touch `README.md`, two new `openspec/changes/` directories and one test file — `git diff --name-only 1c1dcbb origin/main` matches nothing under `docs/`, `contracts/` or `openspec/specs/`. So: `openspec/specs/credential-contracts/spec.md` is byte-unchanged and still holds TWELVE requirement titles (tasks § 1.2's re-measurement stands); `contracts/manifest.yaml:3` still declares `contract-v2.5` (tasks § 6.1 stands); the `add-binding-consumer-identity` deprecation entry naming "all seven acts" at `contract-v3.0` is untouched, so § 5 and AD-2's shared-window claim stand. The two landings that DO target `contract-v3.0` are proposals that execute nothing and move no deprecation row. This packet carries no `## MODIFIED Requirements` block, so #557's ledger population is none of its business. Gates, all run on this merged tree before pushing: - `openspec validate add-requirement-ref-resolution-integrity --strict` — valid. - `openspec validate --all --strict` — 82 passed, 0 failed (82 items), the two newly-landed changes included. - `python3 -m pytest tests/doc-health -q` — **1347 passed**, fully green, #557's fix carried in by this merge. - Same-clock doc-health (`--as-of 2026-09-01`) against a baseline checkout of `origin/main` `5383e72c`, both directories named `openxFactory`: the two reports are BYTE-IDENTICAL — 5 critical, 4 error, 39 warning, 14 info on each side — and `--new-findings-out` wrote `[]`. Zero new findings. The full suite is left to CI. Refs #523, #542, #553 Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MhD4QNabbheEZrQ72qEAtc
…eaves, the fallback is redesigned rather than deleted, and all seven v1-only refusals are re-expressed (DO NOT MERGE) (#564) * Realize retire-doxbench-chat-turn-v1 §§2-4: the v1 family leaves, and the fallback is redesigned rather than deleted The deprecation that was declared properly at contract-v1.34 and then never finished. Three v1 chat-turn envelopes -- `workbench-chat-turn`, `-success`, `-failure` -- leave the schema with the `deprecated_envelopes` block that declared them removable, the runtime and validator dispatch that served them, and the packaged instances that exercised them. The recorded removal target was contract-v2.0; that major shipped 2026-08-27 without looking, and the only thing that noticed was a validator warning nobody read (openxFactory issue #522, entry 3). THE FALLBACK IS REDESIGNED, NOT DELETED, which is the one genuinely non-mechanical decision here. An unrecognized or absent `kind` was COERCED into the deprecated family, on a stated reason that dies with it. It is now REFUSED in the surviving family with the explicit `unrecognized_turn_kind` code (400) registered in the closed error catalog -- an unregistered code would fault the refusal path rather than refuse. `_refuse_turn`'s SECOND layer, its drop into the pre-identity shape when no wire-valid `client_turn_id` exists, is untouched: `failure_v2` requires that field and no server may invent one. ALL SEVEN v1-ONLY REFUSAL CLASSES ARE RE-EXPRESSED, none lost. The packaged corpus was TWELVE fixtures, not the four the measurement memo priced, and eight were negatives carrying refusals the surviving family did not test: escaping path, hash mismatch, identity subject, over budget, unknown model, untyped proposal, duplicate turn pair. Each now has a `-v2` negative that refuses for its intended reason, verified individually. The removal's own new refusal gets a packaged fixture too, and its kind is deliberately a retired one -- after this release a retired kind and a kind that never existed are the same fact about the wire. The validator reports `0 error(s), 0 warning(s)` where it reported four, and `--strict` passes over `examples/ideation-dashboard/` where it exited 1. `examples/ideation-dashboard/README.md`'s `--strict` note, false since contract-v2.0, is repaired and its falsehood named. TWO FINDINGS ON THE RATIFIED TEXT, both recorded in tasks.md rather than absorbed. The measured reference closure puts `typed_proposal` OUTSIDE the surviving family -- `keyed_typed_proposal` restates the shape rather than `$ref`-ing it -- while the requirement names it as retained-because-reachable; task 2.1's own rule is that a surprise is "a finding, not a licence", so it is RETAINED on the text and the measurement is recorded for the cut. And the schema byte move is coupled to the per-file `sha256` in `contracts/manifest.yaml`, which tasks.md 6.1 files with the cut while 8.1 demands §§2-5 merge green; the one checksum moved, and nothing else of §6 did. No bundle number is spent, no CHANGELOG row moves, no tag is published. Realizes the ratified packet landed by PR #552 (squash b7dc590), ratified 2026-09-01 by Brett Heap; record openspec/changes/retire-doxbench-chat-turn-v1/review/ratification-2026-09-01.md. Co-Authored-By: Claude Fable 5 <[email protected]> * Realize retire-doxbench-chat-turn-v1 §5: the test surface, and the byte guard retired by naming what it was for §5.2 across BOTH directory spellings. Every v1 kind literal leaves the suite. Tests exercising behaviour the surviving family also has are RE-EXPRESSED against `-v2` rather than deleted; tests whose only subject was the v1 family's survival or its deprecation RECORD are deleted and replaced by the negative that now carries the claim -- `DEPRECATED_CHAT_TURN_KINDS` is gone rather than emptied, and a test asserts that, because an empty tuple would be a claim that nothing in the family is deprecated. Task 5.2 enumerated eight files; the literals also lived in `test_doxchat_model_intake.py`, which is handled here and recorded as an authoring finding. §5.3 covers the redesigned fallback in BOTH directions: an unrecognized kind WITH a wire-valid turn id gets the surviving failure envelope carrying `unrecognized_turn_kind`, self-validated; WITHOUT one it gets the pre-identity shape, unchanged. Plus the probe the packet asked for -- a RETIRED v1 kind takes exactly that path, spelled as a literal rather than through a `doxbench_contracts` constant, because the constant is removed with the kind. §5.1 RETIRES THE BYTE-IDENTITY BASELINE BY NAMING WHAT IT WAS FOR, which is the whole point of the box. `test_the_v1_envelope_bytes_are_unchanged_by_the_release`, its closure helpers and `fixtures/chat-turn-v1-envelopes.baseline.yaml` asserted that the v1 `$defs` and every shared definition they reached were byte-identical to their contract-v1.31 bytes -- the promise contract-v1.34's CHANGELOG made to consumers pinned to the older shape, hardened by F1 from the three envelope blocks to their whole `$ref` closure after a narrower guard went green while two shared enums were mutated. It ends because the shape it protects LEAVES THE PUBLISHED SURFACE, not because it became inconvenient: there are no v1 `$defs` left to compare, and the closure computation would raise on its own seed rather than fail. A consumer pinned below contract-v3.0 keeps the promise by the immutability of the bytes its pin names, not by their presence here. The retirement is stated at the site it vacated and is named again in the CHANGELOG entry the cut writes (6.3). `_defs_blocks` survives, feeding the test that now fails if an incomplete removal leaves a v1 envelope behind. Co-Authored-By: Claude Fable 5 <[email protected]> * Tick §5's boxes with their evidence: the test surface and the named byte-guard retirement §§2-5 are now all ticked with evidence inline. Two things stated rather than absorbed: task 5.2 enumerated eight test files and the literals lived in a NINTH (test_doxchat_model_intake.py), and 5.1's changelog half is task 6.3 — the CUT's — and is explicitly still owed. Co-Authored-By: Claude Fable 5 <[email protected]> * Copilot round 1 on the realization: the fixture header's envelope count moves with the removal THREE findings, all CONFIRMED, and they split by whose slice they are. TAKEN HERE. The hermetic fixture world's header said the chat-turn file holds "SIX envelopes under `$defs`" while the fake schema in the same block now carries three. Stale by exactly the mechanism this retirement exists to correct, and it would have invited the next fixture edit to be written against a structure the release cannot produce. RECORDED AGAINST THE CUT, not taken. `contracts/manifest.yaml`'s `consumption_rule` prose still describes "SIX closed envelopes". The finding is right and the sentence is false. It is not fixed here because tasks.md 6.1 files the row prose with the cut and NOTHING FAILS while it is stale -- unlike the per-file `sha256` one line above it, which had to move or §§2-5 could not be green at all. Crossing that line once under demonstrated duress is defensible; crossing it twice for tidiness is not. Written into 6.2 so the cut does not have to rediscover it. NOT ACTED ON, AND DELIBERATELY. The third finding is that `SCHEMA_DIGESTS` now treats new bytes as the released `contract-v2.2` bytes while `CONTRACT_TAG`/ `CONTRACT_REF` still name that release, and it recommends deferring the digest to the cut. That is INDEPENDENT CORROBORATION of the one boundary question the pull request opened with, and both of its options need a ruling rather than an edit: deferring the digest makes the branch red by construction, and moving the tag spends the bundle identity the cut owns. The reviewer reached the same tension from the opposite direction, which is worth more on the record than a unilateral resolution of it. Co-Authored-By: Claude Fable 5 <[email protected]> * The closed error catalog gains the removal's code WITH its grounding, which is what the guard asks for `test_doxbench_error_catalog_has_exactly_the_grounded_code_set` failed on the new `unrecognized_turn_kind` entry with "Extra items in the left set". THE GUARD WAS WORKING: it pins `DOXBENCH_ERROR_CATALOG`'s key set EXACTLY against a set assembled from per-era groupings, each of which carries the grounding of its own members, precisely so a code cannot enter the catalog without somebody writing down where it came from. The packet's OQ-3 left this token and its status to the realization, so the guard had nothing to check it against. Answered the way the guard asks rather than by widening the assertion: a new `_REMOVAL_CODES` grouping with the provenance beside it -- that the redesigned fallback REQUIRES a code (the removal took the family the old arm coerced into, and the #522 ruling said redesigned, not deleted), why 400, and why `invalid_turn_request` is not reused (its fixed message says the request is malformed, which is a true sentence about a different failure). A TENTH TEST FILE, and no kind-literal sweep could have found it: its coupling is to task 3.2's catalog entry, not to a v1 kind. tasks.md 5.2 records it beside the ninth, and notes that ticking 3.2 without it would have left the estate's closed-catalog invariant red -- so the two boxes are one act. Co-Authored-By: Claude Fable 5 <[email protected]> * Follow the merged refusal-asserter to its cross-file caller `test_doxbench_blank_reason.py` failed with `ImportError: cannot import name '_assert_v2_refusal'`. With one family served, `test_doxbench_routes.py`'s `_assert_refusal`/`_assert_v2_refusal` twins collapse into the unqualified name -- they differed in exactly one clause, the `kind`, and a refusal is answered in the family its request arrived in, so the distinction they drew no longer exists. The merge is right; its cross-file consumer was not followed. Followed, with the rename's reason recorded at the import so the next reader does not have to reconstruct why a v2-qualified helper became unqualified. ELEVENTH FILE, and the second one no kind-literal grep could have found. A v1 retirement's blast radius is not only the v1 spellings: it reaches the closed error catalog (via the code the redesign requires) and cross-file test helper NAMES (via twins that existed only because two families did). Both were caught by RUNNING the suites the packet named as this family's gates, not by grepping. tasks.md 5.2 records the lesson because it generalizes to the sibling packet. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…said by the chain itself) (#565) * Realize add-chain-attestation: cut contract-v2.6 (what actually ran, said by the chain itself) Task 5.9's cut half — the registration half rode in the realization (#556, squash 518c670) because the family's required manifest-row digest test refuses a moved schema whose row did not move in the same commit; the NUMBER stayed out of every contract byte until this cut. THE NUMBER, FRESH-COUNTED AT THE CUT: manifest.yaml:3 declared contract-v2.5, contracts/releases/ held inventories through v2.5, git ls-remote published tags through contract-v2.5, the CHANGELOG headed at v2.5, and grep of the v2.5 inventory returns zero tranche-two rows. The contract-v3.0 of the #551/#552 ratifications is proposal-only retirement targeting a future major and reserves nothing. Next additive number: contract-v2.6. ADDITIVE (minor), MEASURED: git diff --name-status contract-v2.5 518c670 -- contracts/ reports 88 additions and 9 modifications — four editorial registration surfaces, one packaged example moved by the already-landed #550, and the four additive schema extensions. No published member removed, renamed or narrowed; the shipped tranche-one corpus validates green under the extended schemas in the same required check, and the shipped nine-entry declaration stays valid (minItems 9, maxItems 18). The release-boundary enum takes its hand-advance (FEATURE_SUCCESSOR_3 = contract-v2.6, membership unchanged — stated by hand because the library cannot tell unchanged from unnoticed), and the contract-v2.6 digest inventory (283 entries) is built through the bundle realization order. Annotated tag + verify-commit/verify-tag from an independent clone follow the merge immediately, so no new untagged-bundle instance opens (#528's failure mode). Co-Authored-By: Claude Fable 5 <[email protected]> * Answer both Copilot findings in prose, and re-baseline the one digest that moved Lane takeover on Brett Heap's ruling of 2026-09-01: the session that authored this cut has ended, so this lane adopts the PR for its two open review findings and the post-merge acts the body promises. THE CUT'S CONTENT IS UNTOUCHED — no number, digest, schema, measurement or record of the realization is restated here; the only digest that moves is the mechanical consequence of a prose edit to an inventory member, rebuilt by the tool and not by hand. FINDING 1 (README.md:568) — the OpenSpec Records entry said the change "stays ACTIVE until merged code, green evidence and the contract cut exist" and then, in the next sentence, said the code surface IS realized and the bundle IS cut. The entry now states the archive CONDITION rather than denying its parts: the change archives only on merged code, green evidence and the contract cut with its published tag, and stays listed as ACTIVE until all of that is on `main`. Entry kept listed, meaning kept. FINDING 2 (contracts/CHANGELOG.md:31) — "Next additive number: contract-v2.6" read, inside the contract-v2.6 entry, as though it named the version AFTER this one. It now says plainly that contract-v2.6 IS the number this cut takes, freshly counted at that tip. The author's measurement facts in the preceding sentence (manifest read v2.5, inventories through v2.5, tags through v2.5, zero tranche-two rows in the v2.5 inventory) are unchanged. RELEASE RITUAL. `contracts/CHANGELOG.md` IS a release-inventory member (`artifact_id: contracts-changelog.md`), so finding 2's prose moved a pinned per-file digest; the root `README.md` is NOT a member, so finding 1 moved none. The inventory was therefore rebuilt with the canonical tool per `docs/contract-versioning-policy.md` — `scripts/validate-contract-release.py build --tag contract-v2.6 --output contracts/releases/contract-v2.6.digests.yaml` — which reproduced 283 entries and changed EXACTLY ONE LINE, the changelog digest (96682104… -> 4548a7de…). No digest was hand-edited. `validate-contract-release.py verify-commit` passes at this commit. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
RATIFIED 2026-09-01 by Brett Heap, in session ("ratify #551 and #552"), at tip
c5169476. Record:openspec/changes/retire-doxbench-chat-turn-v1/review/ratification-2026-09-01.md. It ratifies the fallback posture as encoded — the #522 ruling set only its direction ("redesigned, not deleted").STILL PROPOSAL ONLY. Ratification authorizes the requirement text and performs none of the work: no schema byte moves, no fixture is deleted, no manifest digest changes and no CHANGELOG row moves in this PR. NO CODEX REVIEW HAS HAPPENED — three requests, three provider usage-limit refusals, zero verdicts; a pass is owed and blocked by nothing in the packet. FOUR low-severity Copilot comments stand uncorrected on the ratified head (enumerated in the record § 3) — correcting them would have produced a head other than the one he ruled on, so they route to the amendment lane.
mainis RED onpytest-suitefrom PR #510's carriage-ledger subject; this branch reproduces exactly that one failure and no other, and does not fix it. DO NOT MERGE on this comment's account — merging is a separate act.What this executes Brett's ruling on
openxFactory issue #522, ruled by Brett Heap 2026-09-01 in a comment on that issue: "execute all three retirements at contract-v3.0, as the memo recommends" — entry 3 "EXECUTE, its own slice", with the
serve.pyv1-fallback posture "redesigned, not deleted". Measurement:~/projects/xFactory/deprecations-522-memo-2026-08-31.md(durable on the operator host). Entries 1 and 2 are the sibling PR #551.Why entry 3 is the sharpest of the three
It is the only one whose warning actually fires. Run today over a clean checkout:
all four reading "removal target contract-v2.0" — a target the bundle passed on 2026-08-27, one major and five minors ago. Nothing checks that sentence, so nothing noticed.
The deprecation was done properly and then not finished.
contract-v1.34introduced the widened-v2family as a co-resident one rather than by mutating a closed envelope, kept the v1 bytes byte-identical to theircontract-v1.31bytes with a committed baseline test to prove it, and declared the deprecation machine-readably — a top-leveldeprecated_envelopesblock withsuperseded_by,deprecated_inandremoval_targetper kind. Every obligation of the Deprecating (minor) class was met. Only the removal it named was not performed.The design question, ANSWERED
Today
serve.py:3554-3557coerces an unrecognized or absentkindinto the v1 family, on the stated reason that "a request that never named a family it could be answered in gets the posture it would have got before this release". That reason dies with v1, and a realization that merely deleted the arm would leave the default selecting a parser and an envelope builder that no longer exist.Chosen:
kindis the surviving request kindclient_turn_idworkbench-chat-turn-v2-failurewith an explicit unknown-kind code, self-validated against the released schema before sendingclient_turn_iddoxbench_error_bodyshape, unchangedIt is legal on the contract as it stands, and that is a measurement rather than a hope.
$defs/failure_v2requiresschema_version,kind,client_turn_id,error,messageand constrainserrorby the pattern^[a-z][a-z0-9_]{2,63}$— no enum at the schema layer. The delegated validator that judges a v2 failure is the same function that judges a v1 failure (on the released reason that a v2 failure discloses exactly what a v1 failure does) and applies no code vocabulary either. The only closed list isserve.py's ownDOXBENCH_ERROR_CATALOG, which raises on an unregistered code — so the new code costs one catalog entry, and that entry is not optional.Alternative recorded, not taken: refuse every unrecognized kind outside any contract envelope. Simpler and asserts less; rejected on three costs paid to avoid registering one code — it discards an identity the request DID supply, it hands the client a body with no
kindon a rail whose client dispatches onkind, and it puts the refusal outside the contract where no packaged fixture can cover it.Two places the memo's pricing did not survive re-verification
1. The packaged corpus is TWELVE fixtures, not four. The memo counted the four positive
.example.yamlfiles — the four the default run warns on. It missed the eight negative fixtures, which carry seven refusal classes with no-v2equivalent:The two sets are almost disjoint. Retiring the family without re-expressing them silently deletes seven refusals from the packaged corpus. D2 makes each one either a re-expressed
-v2negative or a stated coverage loss with a reason — silence is not a third option.2. There are TWO fallback layers, not one. Under the kind-discrimination fallback,
_refuse_turn(:3277-3317) drops out of the contract envelope entirely into the pre-identity shape when there is no wire-valid turn id or the built envelope fails self-validation. That layer is correct and untouched — it is what lets the new posture require aclient_turn_idwithout violating the route's standing rule that it never invents one.Deltas
ideation-dashboard: the removal (with scenarios for the surviving family, the removed family, the pinned consumer, the packaged corpus including its negatives, thedeprecated_envelopesblock, the post-removal warning count, and the stale prose), and the unrecognized-kind posture.## MODIFIED Requirementsblock over promoted canonopenspec/specs/ideation-dashboard/spec.md:2178, "The chat-turn contract release carries the bound buffer and the model" — the only promoted requirement that governs the deprecated family's survival.The MODIFIED block is scenario-complete and drops nothing. All four canon scenarios are restated with every bullet, and the body paragraph is carried verbatim; the amendment is by addition of three body paragraphs and three scenarios that bound the survival obligation to the removal target the same release recorded. Because nothing is dropped, no
Removed from canonmarker is owed and none is declared — verified by runningtests/doc-health/test_modified_block_currency_self_gate.pyon this branch, which reports no new carriage-ledger subject. #538'sModified overconvention does not apply: the requirement lives in promoted canon, not in an active sibling'sADDED, so the pairing class is never reached.Validation
Codex round
@codex reviewwas requested three times on this PR and every one returned a provider refusal, not a verdict: "You have reached your Codex usage limits for code reviews" (04:00:28, 04:00:43, 04:07:27 UTC). Three refusals here, four on the sibling, zero verdicts, zero Codex reviews naming any head of this branch. The refusal is the provider's usage ceiling — it is not a finding, not a silence basis, and not evidence of anything about the packet.A Codex pass remains OWED and is blocked by nothing in the packet. Whatever it returns routes to the amendment lane, not to doubt about the ratification.
What review did run: three Copilot rounds. Findings through round two were taken — the two measurement SHAs disambiguated rather than aligned (
5219332e), and the committed host-absolute memo path removed, where the review was right and the first answer to it was wrong (c5169476). Round three, against the ratified head, left FOUR low-severity comments standing: the README namingvalidate-ideation-dashboard-contracts.pywithout itsscripts/prefix; thetasks.mdheader's "Sections 2-6 are the realization" range, which does not fit a file whose § 6 is the cut and whose § 7 is post-cut verification; plus two suppressed ($deffor$defs, and a client citation missing itsscripts/ideation_dashboard/prefix). None is corrected, because correcting them would produce a head other than the one Brett ruled on. They are enumerated in the ratification record § 3 and route to the amendment lane.Two baselines, both named on purpose
The memo measured main tip
4290cad2; this packet re-measured1a69b7cb, the tip this branch is cut from. Both are named in.openspec.yamland in the proposal, with the standing rule that where they disagree the tree governs — because this packet's two pricing corrections are its own, found at1a69b7cb, and a reader has to be able to tell them from the memo's measurements.Inherited CI state
mainis RED onpytest-suiteat tip1a69b7cbfrom PR #510's carriage-ledger subject —tests/doc-health/test_modified_block_currency_self_gate.py::test_every_carriage_ledger_finding_over_the_real_tree_is_named, whose exact-set assertion #510 moved without updating. That failure is not this PR's and is not fixed here. Run locally on this branch: 1 failed, 14 passed — the same single inherited failure, and no new one, which is the point of the scenario-complete restatement above.Archive gate, stated honestly
This change has a code surface and moves schema bytes, so under
release-realizationit archives only on merged plus green realization evidence — never on landing. Its evidence includes the moved manifest digest (offsha256: 2ff5f222…), the rebuilt release inventory, and the published annotatedcontract-v3.0tag verified from an independently refreshed checkout.Measurement boundary, inherited and restated
No doxBench client outside the ten measured repositories is visible from here. The in-repo client is
-v2-only and the risk is assessed low, but this is an absence of evidence and is named as one. If a pinned external v1 client exists, this becomes record-why-it-stays until it migrates — and such a client stays valid at its pin regardless, under § Compatibility Direction.README overlap
Both this PR and the sibling touch README § OpenSpec Records. This one appends at the bottom of the Active changes list and #551 inserts at the top, so the two edits sit in different hunks and should not conflict.
Refs #522