Repository navigation
Ratify retire-hermes-flat-keys-and-openworkflow-tokens: entries 1 and 2 of #522, at contract-v3.0 (ratified 2026-09-01; proposal only, no realization) - #551
Conversation
…d 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]>
|
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.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Adds a new draft OpenSpec change packet proposing execution/restatement rules for contract deprecations and documenting the planned contract-v3.0 retirements for Hermes flat-key fallback reads and openworkflow* token handling (entries 1–2 of issue #522), plus indexing the packet in the repository README.
Changes:
- Adds the
retire-hermes-flat-keys-and-openworkflow-tokensdraft packet (proposal/design/tasks + newcontract-deprecation-executiondelta spec). - Updates
README.mdOpenSpec Records index to include the new active change. - Introduces packet metadata via
.openspec.yamlfor origin/related context.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Adds an Active changes index entry for the new draft packet. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/tasks.md | Defines proposal vs realization/archival tasks for the packet. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/specs/contract-deprecation-execution/spec.md | Adds the delta spec formalizing “execute-or-restate” and the two retirements’ behavioral requirements. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md | Provides full proposal narrative, scope, decisions, and sequencing notes. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/design.md | Defines the intended policy-text “restated” spelling and rationale. |
| openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml | Declares packet origin/approval metadata and related changes. |
Suppressed comments (1)
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:43
- Repository constitution prohibits committing host-absolute paths (including home-relative
~/...). This citation includes an operator-local memo path; rewrite it to avoid embedding a machine-specific path in the repository.
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`** (durable on the
operator host, measured against main tip `4290cad2`).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| issue #522**, on Brett Heap's 2026-09-01 ruling comment there ("execute all | ||
| three retirements at contract-v3.0, as the memo recommends") and the | ||
| measurement memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md`. | ||
| `contract-v2.0` shipped on 2026-08-27, executed a DIFFERENT deprecation |
| target_release: contract-v3.0 — a MAJOR, and naming it is not the reservation the policy forbids. `docs/contract-versioning-policy.md` § Version Identity forbids reserving a MINOR number before merge order is known; a major is deterministic from the declared bundle (`contract-v2.5`) and is already named as a forward target by the In Force entry `add-binding-consumer-identity` landed on 2026-08-31 ("The block is DECLARED at contract-v2.4 and CONSTRAINED at contract-v3.0"). THIS CHANGE HAS A CODE SURFACE, so under `release-realization` it archives ONLY on merged plus green realization evidence — never on landing — and its evidence includes the published annotated `contract-v3.0` tag verified from an independently refreshed checkout, because `docs/contract-versioning-policy.md` holds that a bundle is not published until its tag exists. The cut is a SEPARATE act from this proposal and from its realization; this packet neither performs it nor claims a place in its ordering beyond the class its retirements carry. | ||
| Status: draft | ||
| Proposed: 2026-09-01 | ||
| Origin: openxFactory issue #522, filed against the three `contract-v2.0`-targeted deprecations that outlived their target; 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 1 SPLIT, entry 2 EXECUTED, entry 3 executed as its own slice. The ruling authorizes the proposals; it does not ratify this text. |
| `4290cad2` and every reachable consumer, and the measurement memo is | ||
| durable on the operator host at | ||
| `~/projects/xFactory/deprecations-522-memo-2026-08-31.md`. There is no |
| - **WHEN** a change proposes refusing the co-resident flat keys at a major without a preceding minor in which the warning fired on the co-resident shape | ||
| - **THEN** it MUST be refused, and the restated entry's recorded reason is what makes the refusal citable | ||
|
|
||
| ### Requirement: The `openworkflow_` layer/owner token compatibility surface is removed at contract-v3.0 |
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…s 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]>
|
Self-review catch, pushed as
The removal therefore owes a stated replacement behaviour: one explicit error naming the missing or non-list
|
…he 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]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Suppressed comments (4)
README.md:412
- The README entry embeds an operator-host path (
~/...). Repo constitution forbids committing host-absolute paths; use a repo-relative reference (e.g., just the memo filename) or describe it without an on-disk path.
— authored 2026-09-01, `Status: draft`. **Entries 1 and 2 of openxFactory
issue #522**, on Brett Heap's 2026-09-01 ruling comment there ("execute all
three retirements at contract-v3.0, as the memo recommends") and the
measurement memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes).
`contract-v2.0` shipped on 2026-08-27, executed a DIFFERENT deprecation
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:6
- The proposal front-matter includes a host-specific path (
~/...). Committed files should not contain host-absolute paths; refer to the memo without embedding an operator filesystem location.
Origin: openxFactory issue #522, filed against the three `contract-v2.0`-targeted deprecations that outlived their target; 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 and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes); 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 1 SPLIT, entry 2 EXECUTED, entry 3 executed as its own slice. The ruling authorizes the proposals; it does not ratify this text.
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:43
- This paragraph embeds a host-specific path (
~/...). Repo constitution prohibits committed files from containing host-absolute paths; reference the memo without including the operator filesystem 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`**, measured against
main tip `4290cad2`. **That path is OPERATOR-LOCAL and the memo is deliberately
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml:12
- The OpenSpec origin reason includes an operator-host path (
~/...). Committed files should not contain host-absolute paths; keep the memo reference but omit the filesystem location.
`4290cad2` and every reachable consumer, and the measurement memo is
durable on the operator host at
`~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes). There is no
staged topic: the subject arrived as a filed issue and was dispositioned
| — the three-line `openworkflow` branch, zero live usage across ten | ||
| repositories, phased since `contract-v1.1`. Adds ONE capability, | ||
| `contract-deprecation-execution`, and NO `## MODIFIED` block, because no | ||
| promoted requirement names either shape. FOUR facts the memo did not carry |
| Re-measured on this branch against main tip `1a69b7cb`. **The memo's facts for | ||
| these two entries hold, with two corrections and one addition.** |
| - [x] 1.2 Re-verify the memo's facts against the tree rather than carrying them. | ||
| Recorded in `proposal.md` § "What the measurement found": three corrections | ||
| and additions — the `openworkflow` branch's SHADOWING (it widens one case | ||
| as well as narrowing another), the `Owner layer constraint` canon/code | ||
| severity divergence, and the `hermes.domain_overlay` vs | ||
| `omnigent.domain_overlay` path collision. |
|
Review round 1 handled — pushed as 1. Entry 2's entry under-declares its own shape, by exactly one character. The policy entry reads "Layer/owner tokens beginning 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 rather than only to the flat keys. It is now recorded in four places: as a fifth re-verification finding in § "What the measurement found"; as a new scenario in the delta ("A token carries the prefix WITHOUT the underscore the entry declares"); as a correction obligation on the Executed row in 2. The memo path is operator-local, and the citation now says so. Also corrected in the same pass, self-caught: the front-matter
Note on the Codex round: |
|
@codex review |
|
You have reached your Codex usage limits. You can see your limits in the Codex usage dashboard. |
|
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 4 comments.
Suppressed comments (1)
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:43
- This section repeats an operator-home path (
~/...). Repo policy forbids host-absolute paths in committed files; reference the memo without embedding a home-directory path.
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
| — authored 2026-09-01, `Status: draft`. **Entries 1 and 2 of openxFactory | ||
| issue #522**, on Brett Heap's 2026-09-01 ruling comment there ("execute all | ||
| three retirements at contract-v3.0, as the memo recommends") and the | ||
| measurement memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes). |
| repositories, phased since `contract-v1.1`. Adds ONE capability, | ||
| `contract-deprecation-execution`, and NO `## MODIFIED` block, because no | ||
| promoted requirement names either shape. FIVE facts the memo did not carry | ||
| are recorded here: the fallback retirement is a REPLACEMENT and not a |
| `4290cad2` and every reachable consumer, and the measurement memo is | ||
| durable on the operator host at | ||
| `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes). There is no | ||
| staged topic: the subject arrived as a filed issue and was dispositioned |
| target_release: contract-v3.0 — a MAJOR, and naming it is not the reservation the policy forbids. `docs/contract-versioning-policy.md` § Version Identity forbids reserving a MINOR number before merge order is known; a major is deterministic from the declared bundle (`contract-v2.5`) and is already named as a forward target by the In Force entry `add-binding-consumer-identity` landed on 2026-08-31 ("The block is DECLARED at contract-v2.4 and CONSTRAINED at contract-v3.0"). THIS CHANGE HAS A CODE SURFACE, so under `release-realization` it archives ONLY on merged plus green realization evidence — never on landing — and its evidence includes the published annotated `contract-v3.0` tag verified from an independently refreshed checkout, because `docs/contract-versioning-policy.md` holds that a bundle is not published until its tag exists. The cut is a SEPARATE act from this proposal and from its realization; this packet neither performs it nor claims a place in its ordering beyond the class its retirements carry. | ||
| Status: draft | ||
| Proposed: 2026-09-01 | ||
| Origin: openxFactory issue #522, filed against the three `contract-v2.0`-targeted deprecations that outlived their target; 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 and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes); 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 1 SPLIT, entry 2 EXECUTED, entry 3 executed as its own slice. The ruling authorizes the proposals; it does not ratify this text. |
…flow_ 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]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Suppressed comments (4)
README.md:411
- This adds a host-absolute operator path ("~/projects/…") to a committed file, which violates the repository constitution (“Committed files MUST NOT contain host-absolute paths”). Prefer a host-independent reference (e.g., memo filename only) and rely on the durable in-repo referents (issue/comment) for traceability.
measurement memo `~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes).
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:6
- Front-matter includes a host-absolute operator path ("~/projects/…") in a committed document, which violates the repository constitution (“Committed files MUST NOT contain host-absolute paths”). Use a host-independent reference (e.g., memo filename only) and keep the issue/comment as the durable citation.
Origin: openxFactory issue #522, filed against the three `contract-v2.0`-targeted deprecations that outlived their target; 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 and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes); 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 1 SPLIT, entry 2 EXECUTED, entry 3 executed as its own slice. The ruling authorizes the proposals; it does not ratify this text.
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/proposal.md:44
- This paragraph cites the memo using a host-absolute path ("~/projects/…") in a committed file, which violates the repository constitution (“Committed files MUST NOT contain host-absolute paths”). Keep only a host-independent identifier (filename) and rely on the linked issue/comment for the durable reference.
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
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml:11
- The OpenSpec origin reason embeds a host-absolute operator path ("~/projects/…") in a committed YAML artifact, which violates the repository constitution (“Committed files MUST NOT contain host-absolute paths”). Replace it with a host-independent reference (e.g., memo filename only).
durable on the operator host at
`~/projects/xFactory/deprecations-522-memo-2026-08-31.md` (OPERATOR-LOCAL and deliberately NOT committed to this repository -- the durable in-repo referents are issue #522 and its 2026-09-01 ruling comment, which carry the ruling this packet executes). 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 (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]>
|
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 no new comments.
Suppressed comments (1)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/.openspec.yaml:49
related:listsopenxFactory:change:retire-doxbench-chat-turn-v1andopenxFactory:change:add-release-tag-publication-check, but neither change id is present anywhere in this repository tree (noopenspec/changes/**entry). That makes the relationship list non-resolvable for readers and tooling that expectsopenxFactory:change:*to map to an in-repo OpenSpec packet. Consider removing these until the corresponding packets land (or replace them with an in-repo referent if one exists).
related:
- openxFactory:change:retire-doxbench-chat-turn-v1 # SIBLING, authored the same day from the same ruling. Entry 3 of issue #522. Lands at the SAME contract-v3.0 major and is deliberately a separate packet; neither is a precondition of the other, and the cut that carries them may carry one, the other, or both
- openxFactory:change:add-binding-consumer-identity # ARCHIVED 2026-08-31. The fourth entry in the In Force list, target contract-v3.0 and not yet due. Its entry is the model this packet follows for writing a deprecation entry FROM THE REFUSAL LIST, and its acts share the major these two retirements land at
- openxFactory:change:add-release-tag-publication-check # ACTIVE (PR #544). The sibling guard family. The memo's proposed `deprecation-target-currency` family — which would have caught all three of these entries — is sequenced BEHIND both #544 and these retirements and is NOT proposed here
|
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 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]>
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]>
| FALLBACK READ leaves `check_hermes`, `LEGACY_HERMES_KEYS` goes with it, and | ||
| `apply-domain-starter.py` stops emitting the deprecated keys — and it refuses | ||
| nobody, because all five supported consumers declare `hermes.layers`. The | ||
| refusing half is RECORDED-WHY and stays In Force: the warning fires only in | ||
| the `else` arm taken when `layers` is ABSENT, so it has been dead code for the |
| SHADOWS the general rule and so WIDENS one case as well as narrowing another; | ||
| entry 2's own entry UNDER-DECLARES ITS PREFIX BY ONE CHARACTER — the policy | ||
| and the docstring write `openworkflow_`, the code writes | ||
| `startswith("openworkflow")`, so three shapes are refused that the entry never |
| - [ ] 2.1 `scripts/validate-domain-factory.py`: delete `LEGACY_HERMES_KEYS` | ||
| (`:60-70`) and REPLACE the `else` arm of `check_hermes` (`:189-200`) — | ||
| the warn line, the flat-key resolution loop, and the per-role |
| - [ ] 2.4 `scripts/apply-domain-starter.py`: delete the comment at `:241` and | ||
| the nine emitted flat keys at `:242-250` from the `stack.yaml` template. | ||
| **Do not touch `omnigent.domain_overlay` at `:253`** — same key name, |
| @@ -0,0 +1,288 @@ | |||
| --- | |||
| code_surface: openxFactory. (1) `scripts/validate-domain-factory.py` — the `LEGACY_HERMES_KEYS` nine-key map at `:60-70` and the `else` fallback branch of `check_hermes` at `:189-200` (the warn line, the flat-key resolution loop, and the per-role resolvability check that follows it) are REPLACED BY ONE EXPLICIT ERROR naming the missing or non-list `hermes.layers` -- **replaced, not merely deleted**, because the `hermes.layers missing required role` errors sit INSIDE the `layers`-declared branch and a bare deletion would let a `layers`-less stack pass with no finding at all; the `if token.startswith("openworkflow")` branch at `:309-311` is DELETED, so the `elif token not in allowed` arm at `:312-314` it shadows becomes the only arm; the docstring line at `:26` (`"openworkflow_*" tokens are flagged as deprecated naming.`) goes with it. (2) `scripts/apply-domain-starter.py` — the comment at `:241` naming a spent removal target and the nine emitted flat keys at `:242-250` leave the `stack.yaml` template, so a newly instantiated domain repository carries `hermes.layers` alone. (3) `docs/contract-versioning-policy.md` (RELEASE-SURFACE INVENTORY MEMBER) — the `openworkflow`-prefixed token entry moves to § Deprecations Executed, its declared shape CORRECTED to the prefix the code matches; the `hermes` flat-key entry SPLITS, an Executed row for the fallback read and a rewritten In Force entry for the keys themselves carrying the full refusal list, a restated removal target and the recorded reason it stays. (4) `contracts/CHANGELOG.md` (member) — the `contract-v3.0` BREAKING entry with its migration note and its discharge of all three Breaking-clause preconditions. (5) `contracts/manifest.yaml` (member) — `contract_bundle_version` and `contract_schema_version`. (6) A new `contracts/releases/contract-v3.0.digests.yaml`. NO consumer `stack.yaml` is edited by this change, in any of the five supported domain repositories: the half that would have required it is the half that is not executed. NO schema under `contracts/schemas/` changes, and no digested schema artifact moves. The sibling `retire-doxbench-chat-turn-v1` carries the schema-moving half of the same major and is a separate packet. | |||
| two move only validator code and the policy rows that describe it. | ||
|
|
||
| ENTRY 1 IS SPLIT BY THE RULING AND THIS PACKET CARRIES BOTH HALVES. The | ||
| phased half — the fallback read in `check_hermes`, and the starter |
|
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. The ratification record is review/ratification-2026-09-01.md at head aa0d051. Pre-merge state: merge-master-approval, wallet-validation and signed-execution-chain-gate GREEN; pytest-suite RED on exactly one test, test_every_carriage_ledger_finding_over_the_real_tree_is_named — INHERITED from PR #510's carriage-ledger subject, standing on main across consecutive tips, reproduced locally at this head (1 failed, 1346 passed), nothing of this packet's. Codex: provider-refused four times (usage limits) — no review occurred; the pass is owed and recorded so in the ratification record. |
…at contract-v3.0 (ratified 2026-09-01; proposal only, no realization) (#552) * Propose retire-doxbench-chat-turn-v1: entry 3 of #522, its own slice, 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]> * Name both measurement baselines on purpose, and mark the memo path operator-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]> * 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 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]> * 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 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]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
…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
…verdicts Round one on the realization pull request #562 returned two findings from Copilot and both are taken. 1. The domain-starter subprocess ran with no deterministic environment and no timeout, inheriting the ambient one while the rest of this package uses `deterministic_environment()`. It now uses it, with an explicit timeout. 2. `assert list(hermes) == ["layers"]` was order-dependent and stricter than the box it serves: it would fail the day the starter grew a new, NON-deprecated hermes key, which is not a retirement regression. It now asserts what the box is about -- `layers` present, every deprecated key absent -- and the reason is written beside it. Codex refused again, three more times: the automatic request on open plus two explicit `@codex review` comments, each returning "You have reached your Codex usage limits for code reviews" and no review. That is SEVEN refusals across #551 and #562 and still ZERO verdicts. The refusal is the provider's ceiling, not a finding and not a silence basis, so tasks.md 1.6 stays OPEN with the three new timestamps recorded beside the four from ratification. Co-Authored-By: Claude Fable 5 <[email protected]>
…s gone Copilot's second round, against the fixed head f259ca0, generated no new comments -- converged on the same shape #551's sixth round ended in. Recorded against tasks.md 1.6 beside the two findings it took and the seven Codex refusals it did not get a verdict from. Also recorded there: the inherited `main` pytest red that the ratification record's section 4 discloses -- PR #510's carriage-ledger subject -- is FIXED on main by #557, merged 2026-09-01T06:59Z, which is after that record was written. The full local suite on this branch passes that test and does not list it, so this realization inherits no red and attributes none. Without the note, section 4 of the record reads as a current state rather than as the state at ratification. Co-Authored-By: Claude Fable 5 <[email protected]>
…e file over
The generated validator resolved overlay directories from
`stack.get("hermes", {}).get("layers") or []`. Correct for a list, and SILENT
for a non-list: `{}`, a string or an int iterates nothing, skips every
overlay-path check, and reports OK on a scaffold the CANONICAL validator
refuses. That is exactly the silent widening this packet's section 2.1 spends
four paragraphs forbidding, reproduced by the fix for it, in a file section
2.1 does not name.
The generated validator now ERRORS on the type before iterating, and
`test_the_generated_validator_REFUSES_a_non_list_hermes_layers` drives all
four non-list shapes -- absent, `{}`, a string, an int -- through BOTH
validators and asserts each refuses, so the generated one can never again
pass what the canonical one fails.
Copilot on PR #562, round 3 of 3. Three rounds, three findings, three taken,
none refuted. Codex still owes a pass and has now returned seven usage-limit
refusals across #551 and #562 with zero verdicts.
Co-Authored-By: Claude Fable 5 <[email protected]>
Correcting an understatement in this packet's own review record, which is the last place an understatement belongs. Codex refused TWICE MORE after the previous note was written -- 13:49:59 and 13:51:15 UTC, on head 5b026e4 -- so #562 has FIVE refusals and the arc has NINE across #551 and #562, still with zero verdicts and no Codex review naming any head of either branch. tasks.md 1.6 now tables all five of #562's with the head each was requested against. Copilot's fourth round, against 5b026e4, generated no new comments. Four rounds, three findings, three taken, none refuted, converged. Co-Authored-By: Claude Fable 5 <[email protected]>
… the fallback read is REPLACED, the openworkflow branch is gone, and the keys stay In Force with the reason recorded — DO NOT MERGE, and NOT the cut (#562) * Realize retire-hermes-flat-keys-and-openworkflow-tokens: the fallback read is REPLACED, the openworkflow branch is gone, and the keys stay In Force with the reason recorded Realization of the RATIFIED packet (#551, squash 59eb913; ratified 2026-09-01 by Brett Heap, record at review/ratification-2026-09-01.md), carrying entries 1 and 2 of openxFactory issue #522. tasks.md §§ 2, 3 and 6 only. § 4 (the contract-v3.0 cut), § 5 and § 7 are untouched and remain open: no tag, no manifest bump, no digest inventory, and no contract-v3.0 CHANGELOG entry. THE FALLBACK RETIREMENT IS A REPLACEMENT AND NOT A DELETION. The `hermes.layers missing required role` errors sit INSIDE the layers-declared branch, so deleting the else arm alone would let a layers-less stack fall through to an empty layer map and produce no finding at all -- a silent widening at a major. In its place, one explicit error naming the missing or non-list hermes.layers. Measured on the same probe against both validators: PASS with a warning became FAIL with an error, not silence. THE openworkflow REMOVAL MOVES TWO CASES IN OPPOSITE DIRECTIONS, and both were measured rather than assumed. The branch was an `if` preceding the general rule and shadowed it: a resolvable prefixed token was warned and now validates silently (the widening), while an unresolvable one was warned and is now an error (the narrowing). The Executed row carries both. The declared shape is corrected to the prefix the code matched -- `openworkflow`, one character short of the `openworkflow_` the entry and the docstring wrote. The generator stops emitting the deprecated keys. It named them in THREE places, not the one the task's line range covers: the stack.yaml template, the generated schemas/stack.schema.yaml required_paths, and the generated local validator's overlay reads. Moving only the template would have shipped a generated repository that requires paths its own stack.yaml no longer carries. omnigent.domain_overlay is untouched throughout -- same key name, different block, not deprecated, and read by the validator. The KEYS are not refused. All five supported consumers carry them alongside hermes.layers, and that co-resident shape has never produced a warning against any of them, so refusing it would be an unphased narrowing. The In Force entry is rewritten from the refusal list -- twelve keys BY PATH, five of which it previously named -- with the measurement, the deprecating minor it owes, and the target RESTATED to contract-v4.0. Verified: the validator run against all five supported consumers moves no line (codexFactory 8152686, MedxFactory fcafcc0, AdxFactory 79f85b7, LedgerxFactory 38743cf, OpsxFactory ef60375), and not one of them emitted a legacy-flat-key warning on either side. New coverage where there was none: 20 tests in tests/hermes_runtime_contracts/test_domain_factory_deprecation_retirements.py. The D4 canon/code severity divergence is filed as issue #561 (§ 6.1). Co-Authored-By: Claude Fable 5 <[email protected]> * Take both Copilot findings, and record seven Codex refusals and zero verdicts Round one on the realization pull request #562 returned two findings from Copilot and both are taken. 1. The domain-starter subprocess ran with no deterministic environment and no timeout, inheriting the ambient one while the rest of this package uses `deterministic_environment()`. It now uses it, with an explicit timeout. 2. `assert list(hermes) == ["layers"]` was order-dependent and stricter than the box it serves: it would fail the day the starter grew a new, NON-deprecated hermes key, which is not a retirement regression. It now asserts what the box is about -- `layers` present, every deprecated key absent -- and the reason is written beside it. Codex refused again, three more times: the automatic request on open plus two explicit `@codex review` comments, each returning "You have reached your Codex usage limits for code reviews" and no review. That is SEVEN refusals across #551 and #562 and still ZERO verdicts. The refusal is the provider's ceiling, not a finding and not a silence basis, so tasks.md 1.6 stays OPEN with the three new timestamps recorded beside the four from ratification. Co-Authored-By: Claude Fable 5 <[email protected]> * Record the review convergence, and that the disclosed inherited red is gone Copilot's second round, against the fixed head f259ca0, generated no new comments -- converged on the same shape #551's sixth round ended in. Recorded against tasks.md 1.6 beside the two findings it took and the seven Codex refusals it did not get a verdict from. Also recorded there: the inherited `main` pytest red that the ratification record's section 4 discloses -- PR #510's carriage-ledger subject -- is FIXED on main by #557, merged 2026-09-01T06:59Z, which is after that record was written. The full local suite on this branch passes that test and does not list it, so this realization inherits no red and attributes none. Without the note, section 4 of the record reads as a current state rather than as the state at ratification. Co-Authored-By: Claude Fable 5 <[email protected]> * Take Copilot round 3: `layers or []` was section 2.1's own hazard, one file over The generated validator resolved overlay directories from `stack.get("hermes", {}).get("layers") or []`. Correct for a list, and SILENT for a non-list: `{}`, a string or an int iterates nothing, skips every overlay-path check, and reports OK on a scaffold the CANONICAL validator refuses. That is exactly the silent widening this packet's section 2.1 spends four paragraphs forbidding, reproduced by the fix for it, in a file section 2.1 does not name. The generated validator now ERRORS on the type before iterating, and `test_the_generated_validator_REFUSES_a_non_list_hermes_layers` drives all four non-list shapes -- absent, `{}`, a string, an int -- through BOTH validators and asserts each refuses, so the generated one can never again pass what the canonical one fails. Copilot on PR #562, round 3 of 3. Three rounds, three findings, three taken, none refuted. Codex still owes a pass and has now returned seven usage-limit refusals across #551 and #562 with zero verdicts. Co-Authored-By: Claude Fable 5 <[email protected]> * Nine Codex refusals, not seven, and four Copilot rounds converged Correcting an understatement in this packet's own review record, which is the last place an understatement belongs. Codex refused TWICE MORE after the previous note was written -- 13:49:59 and 13:51:15 UTC, on head 5b026e4 -- so #562 has FIVE refusals and the arc has NINE across #551 and #562, still with zero verdicts and no Codex review naming any head of either branch. tasks.md 1.6 now tables all five of #562's with the head each was requested against. Copilot's fourth round, against 5b026e4, generated no new comments. Four rounds, three findings, three taken, none refuted, converged. Co-Authored-By: Claude Fable 5 <[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
64907604. Record:openspec/changes/retire-hermes-flat-keys-and-openworkflow-tokens/review/ratification-2026-09-01.md.STILL PROPOSAL ONLY. Ratification authorizes the requirement text and performs none of the work: no retirement code, no policy row and no changelog entry lands in this PR, no bundle is cut and no number is spent. NO CODEX REVIEW HAS HAPPENED — four requests, four provider usage-limit refusals, zero verdicts; a pass is owed and blocked by nothing in the packet, and anything it returns routes 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". The measurement is
~/projects/xFactory/deprecations-522-memo-2026-08-31.md(durable on the operator host). This packet carries entries 1 and 2. Entry 3 is the sibling PR,retire-doxbench-chat-turn-v1, separated on the memo's own recommendation.contract-v2.0shipped on 2026-08-27 and executed a different deprecation through itself — the eight openxWallet contracts — writing the estate's one workedDeprecations Executedrow. The three entries that namedcontract-v2.0as their removal target were not looked at. The declared bundle is nowcontract-v2.5and all three still name a version one major and five minors in the past.The split, as ruled
Entry 1 —
hermesflat keys.contract-v3.0: the flat-key FALLBACK READ leavescheck_hermes,LEGACY_HERMES_KEYSgoes with it, andapply-domain-starter.pystops emitting the deprecated keys. It refuses nobody — all five supported consumers declarehermes.layers, re-verified read-only on 2026-09-01.check_hermesreaches its warning only in theelsearm taken whenlayersis absent, so the warning 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.The record-why lands in the mechanism's own section,
docs/contract-versioning-policy.md§ Deprecations Currently In Force — nothealth/dispositions.yaml, which lives at the aggregation root, suppresses doc-health findings by path, does not exist in this repository, and is unreachable by a consumer reading a pinned policy document.design.mddefines the third spelling the section lacks (it has only "in force" and "executed"), preserving the parseableremoval target contract-vX.Ytail every bullet in the section carries.Entry 2 —
openworkflow_tokens: EXECUTES. Three lines plus a docstring line. Zero live usage across ten repositories; phased sincecontract-v1.1; the refused shape is exactly the warned shape.Both are Breaking class ("a shape is removed"), so both land at the
contract-v3.0major. No bundle is bumped and no CHANGELOG row moves in this PR.Deltas
ONE new capability,
contract-deprecation-execution— four requirements, each with scenarios in BOTH directions (the shape now refused or absent, and the previously-warned path):contract-v3.0and the co-resident flat KEYS are not.openworkflow_compatibility surface is removed atcontract-v3.0.NO
## MODIFIED Requirementsblock, and the absence is measured. Grepped acrossopenspec/specs/:Deprecations Currently In ForceandDeprecations Executedappear in zero promoted requirements, and nothing in promoted canon namesLEGACY_HERMES_KEYS,hermes.layers, the flat keys, or theopenworkflowtoken. So there is no canon this change falsifies. It follows that #538's base-declaration convention (govern-sibling-added-modified-deltas) does not reach this packet — that convention governs a MODIFIED block whose requirement exists only as an active sibling's ADDED, and there is no MODIFIED block here. The sibling PR does carry one, over promoted canon, and says so.Five facts the memo did not carry, found on re-verification
check_hermes'shermes.layers missing required roleerrors at:186-188sit inside theif isinstance(declared, list)branch. Delete theelsearm and nothing else — which is what "delete the fallback read" reads as — and alayers-less stack falls straight through tofor role, layer in layers.items()with an empty map and produces no finding at all. The removal owes a stated replacement behaviour: one explicit error naming the missing or non-listhermes.layers. Neither the memo nor All three contract-v2.0 deprecations remain In Force at v2.3 with no Deprecations Executed row #522 names this, and it is the single easiest way to realize entry 1 wrongly.0b. Entry 2's entry under-declares its own shape by exactly one character (raised in the automated review round). The policy entry and the validator docstring both write
openworkflow_; the code writestoken.startswith("openworkflow"). Soopenworkflow,openworkflowxandopenworkflow-legacyare all refused by this removal and none is the shape the entry declares — the same defect as entry 1's seven undeclared keys, which is what makes the refusal-list rule this packet promotes apply to both of its entries.openworkflowbranch SHADOWS. It is anifpreceding the generalelif token not in allowed, so any token beginningopenworkflowtakes it — including one that resolves to a declared layer. Removing it therefore narrows the unresolvable case and widens the resolvable one. The memo priced only the narrowing. The Executed row must record both.openspec/specs/workflow-gate-contract/spec.md:48says anowner_layerresolving to nothing "SHALL be reported as a validator warning";scripts/validate-domain-factory.py:312-314has reported it as an error since493fb33d(2026-07-03) — six days before that requirement was promoted ata1a2802b(2026-07-09). Fixing it moves every unresolvable token, not the retired prefix, so it is a different change's subject (D4), with an issue owed at § 6.1. The retirement's Breaking class does not depend on it.domain_overlayis also a live key underomnigent:. All five consumers declareomnigent.domain_overlay, and the validator reads it at:539-541. A refusal list written by key NAME rather than key PATH would refuse, at a major with no warning ever served, a shape the whole supported population legitimately carries.Validation
Codex round
@codex reviewwas requested four times across this PR's arc — the automatic request on open plus three explicit ones — and every one returned a provider refusal, not a verdict: "You have reached your Codex usage limits for code reviews" (03:52:18, 04:00:44, 04:07:22, 04:07:25 UTC). Four refusals, 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. The ratification record says exactly this, and the ratification was given against that disclosed state.
What review did run: six Copilot rounds, one against each head. Every finding was taken, and two corrected the packet's subject rather than its prose — entry 2's one-character prefix under-declaration (
bcd0c568) and the committed host-absolute memo path, where the review was right and the first answer to it was wrong (f5c4b70f). The final round, against64907604, generated no new comments.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 (('add-chain-attestation', 'signed-execution-chain', 'A gate validates the short chain as a hash-linked chain')). 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 expected because this packet carries no MODIFIED block and so can add no carriage-ledger subject.Archive gate, stated honestly
This change has a code surface, so under
release-realizationit archives only on merged plus green realization evidence — never on landing — and its evidence includes the published annotatedcontract-v3.0tag verified from an independently refreshed checkout, because a bundle is not published until its tag exists.README overlap
Both this PR and the sibling touch README § OpenSpec Records. This one inserts at the top of the Active changes list and the sibling appends at the bottom, so the two edits sit in different hunks and should not conflict.
Refs #522