Repository navigation
Propose gate-realization-axis-vocabulary: keep the two-value target_release vocabulary and gate it (#956) - #963
Conversation
…d register `release-realization`'s *Realization axis declaration* admits two values for `target_release:` and nothing reads the field. Measured on origin/main 38c076d: of 38 active proposals only 12 declare a value inside the ratified vocabulary (9 `implemented`, 3 a release this estate defines); 26 are outside it, 12 of those because `docs/contract-versioning-policy.md` § Bundle Realization Order allocates bundle versions LATE. So the gate is a ratchet rather than a sweep: `scripts/validate-target-release.py` refuses every active declaration outside the vocabulary that `scripts/target-release-register.yaml` does not name, the register is closed to new entries, and a register entry that matches nothing REFUSES (exit 2) on the `contracts/openspec-cli-pin.yaml` asymmetry. Archived proposals are read and counted, never judged. The five active `none` carriers are corrected in the same commit — one value token each, every gloss preserved verbatim — because for those five the declaration's own prose says the packet cuts no bundle, which is what `implemented` means. Before (this tree, pre-sweep): exit 1, five refusals. After: exit 0 — 14 `implemented`, 3 a named release, 21 registered, 0 outside. 32 new tests in tests/target_release. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
The packet for openxFactory #956: ONE `## ADDED Requirements` block in `release-realization` — *Realization axis vocabulary is gated* — plus the house validator, register and tests that realize it (landed in the previous commit on this branch). No `## MODIFIED` block, deliberately: `add-structured-scope-substrate` is ACTIVE and already modifies *Realization axis declaration*, so a second MODIFIED block over that title would owe `sequenced_after:` and its archive-order hold. An ADDED requirement over a novel title owes neither and edits no promoted byte. `Status: draft` on every document, `.openspec.yaml` with NO approval pair. D1 (gate vs amend vs synonym), D2 (the sweep) and D3 (how the gate resolves "a named release") are put to Brett Heap as multiple-choice questions with the recommendation first and the alternatives' costs written out. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Reviewer's GuideThis draft OpenSpec packet adds a strict, corpus-wide house validator for active Sequence diagram for active proposal target_release validationsequenceDiagram
participant CLI as validate-target-release.py
participant Judge as target_release.py
participant Loader as frontmatter_strict.py
participant Register as target-release-register.yaml
participant Releases as contracts/releases
participant Corpus as Active proposals
CLI->>Judge: load_register()
Judge->>Register: Read and shape-check register
CLI->>Judge: scan(repo_root)
Judge->>Corpus: Iterate active proposal.md files
Judge->>Loader: read_front_matter(proposal)
Loader-->>Judge: Front matter or refusal
Judge->>Releases: Check named release inventory
Releases-->>Judge: Resolved or unresolved
Judge->>Register: Match unresolved declaration
Register-->>Judge: Grandfathered or stale
Judge-->>CLI: Report findings and exit status
Flow diagram for target_release vocabulary validationflowchart TD
A[Active proposal] --> B[frontmatter_strict.read_front_matter]
B --> C{target_release declared?}
C -- No --> D[Accept doc-only default]
C -- Yes --> E[Extract value_token]
E --> F{implemented?}
F -- Yes --> G[Accept]
F -- No --> H{Named release resolves?}
H -- Yes --> G
H -- No --> I{Closed register match?}
I -- Yes --> J[Report grandfathered exception]
I -- No --> K[Refuse with exit 1]
L[Archived proposal] --> M[Read and count]
M --> N[Never judge]
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
…t standing `validate-sequenced-after.py . --seed-ledger --moved-by '#963'` — one line, 200 rows, `--ledger-diff` now consistent. The README `## OpenSpec Records` entry records the DRAFT standing, the commissioning word, the measured 38/12/26 figures and the three declared veto points. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`tests/scope_globs/test_validate.py` already exists and the suite has no
`__init__.py` per directory, so a second `test_validate.py` collided at
collection ("import file mismatch") on the whole-suite run that the required
`pytest-suite` performs — green in isolation, red in the gate. Renamed to
`test_target_release_gate.py`; every reference in the packet and in the
validator docstring moved with it.
refs #956
Lane: openxfactory-1
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) @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.
🟡 Changes recommended
Unresolved critical and moderate findings block safe approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
This PR adds a gate for active target_release declarations while preserving the two-value vocabulary and grandfathering existing exceptions.
Changes:
- Adds a validator, CLI, closed exception register, and 32 tests.
- Corrects five active declarations from
nonetoimplemented. - Adds the OpenSpec packet, README record, sequencing ledger, and documentation.
File summaries
| File | Reviewed change |
|---|---|
tests/target_release/test_validate.py |
Adds comprehensive validator and corpus coverage. |
tests/sequenced_after/corpus-ledger.yaml |
Adds the packet’s sequencing ledger entry. |
scripts/validate-target-release.py |
Adds the target-release validation CLI. |
scripts/target-release-register.yaml |
Adds 21 grandfathered exceptions. |
scripts/target_release.py |
Implements parsing, release resolution, and register scanning. Critical (3 votes): validate release identifiers before path construction. Moderate (3 votes): require valid non-empty citation lists on register entries, including the secondary validation path. |
README.md |
Adds the active draft OpenSpec record. |
openspec/changes/register-gate-rules-council-seats/proposal.md |
Changes target_release: none to implemented. |
openspec/changes/gate-realization-axis-vocabulary/tasks.md |
Adds implementation and verification tasks. Moderate (1 vote): update inconsistent 38-versus-39 active-proposal measurements. Nit (1 vote): reconcile unchecked task 4.11 with the existing README row. |
openspec/changes/gate-realization-axis-vocabulary/specs/release-realization/spec.md |
Defines the vocabulary gate. Moderate (1 vote): align the registryless release fallback with the requirement, or reject releases without a registry. |
openspec/changes/gate-realization-axis-vocabulary/proposal.md |
Adds the change proposal and its gating rationale. |
openspec/changes/gate-realization-axis-vocabulary/design.md |
Documents measurements, decisions, exceptions, and deferred work. |
openspec/changes/gate-realization-axis-vocabulary/.openspec.yaml |
Adds packet metadata and drafting provenance. |
openspec/changes/add-substantive-review-lane/proposal.md |
Corrects the active target_release declaration to implemented. |
openspec/changes/add-lens-document-selection/proposal.md |
Corrects the active target_release declaration to implemented. |
openspec/changes/add-cpc-clearing-boundary/proposal.md |
Corrects the active target_release declaration to implemented. |
openspec/changes/add-composed-view-authoring/proposal.md |
Corrects the active target_release declaration to implemented. |
Review details
Suppressed comments (4)
openspec/changes/gate-realization-axis-vocabulary/specs/release-realization/spec.md:37
- When
contracts/releases/is absent, this accepts anycontract-vN.Ntoken on shape alone, even though the added requirement requires a release that the estate defines and Scenario 3 describes the registry carrying it. An invented version therefore passes in a registryless tree. Either reject without a registry or state this consuming-tree fallback explicitly in the requirement and scenario so the contract matches the implementation.
An ACTIVE change proposal's `target_release:` declaration SHALL carry a value
the ratified vocabulary admits — `implemented`, or a release identifier that
resolves to a release this estate defines — and a house validator SHALL REFUSE
openspec/changes/gate-realization-axis-vocabulary/tasks.md:204
- The README active row for this packet is already present at
README.md:533-559, but task 4.11 remains unchecked and the packet description still calls it outstanding. This leaves the packet's own completion ledger inconsistent; tick the task once that row is the intended final artifact, or state the additional missing work.
- [ ] 4.11 **README `## OpenSpec Records` ACTIVE ROW**, in house style, at the
DRAFT standing.
openspec/changes/gate-realization-axis-vocabulary/tasks.md:161
- The added scanner includes every top-level proposal, including this packet, so this branch has 39 active proposals (the 38 pre-existing changes plus
gate-realization-axis-vocabulary), all declaringtarget_release. The recorded 38-active/38-declaring before/after output here is therefore not the output of the gate; after the five corrections it should include 15implemented, 3 releases, 21 registered, and 0 findings. Please rerun and update the verification measurements consistently.
- [x] 4.1 **THE VALIDATOR, BEFORE AND AFTER, ON THE REAL CORPUS.** Before the
correction: **exit 1** — *"38 active proposals, 38 declaring — 9
`implemented`, 3 a named release, 21 named by the register, 5 outside the
vocabulary"*, the five named by path. After: **exit 0** — *"14
`implemented`, 3 a named release, 21 named by the register, 0 outside"*,
with *"archive (read, never judged): 161 proposals, 61 of them outside
scripts/target_release.py:243
- The
closedregister is not actually enforced:coveredis built from whatever entries the current YAML contains, so a pull request can add a new(change, token)entry and make a new off-vocabulary declaration pass as grandfathered. That lets the exception set grow contrary to the added requirement; enforce an immutable baseline/allowlist (and test addition refusal) rather than relying on the file comment.
covered = {(e["change"], e["token"]): e for e in register}
- Files reviewed: 16/16 changed files
- Comments generated: 2
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🟡 Changes recommended
One or more issues must be addressed before approval.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (8)
openspec/changes/gate-realization-axis-vocabulary/proposal.md:125
- The packet's own 'before and after' table has the same stale active-corpus total: this new packet adds one declaring active proposal, so the rows should be 39 active, with 15
implementedafter the five corrections. Leaving 38/14 makes the recorded validator evidence and the later 39-change sweep disagree.
| before (this tree, pre-correction) | **1** | 38 | 9 | 3 | 21 | **5** |
| after | **0** | 38 | 14 | 3 | 21 | **0** |
openspec/changes/gate-realization-axis-vocabulary/specs/release-realization/spec.md:96
- The implementation accepts any
contract-vN.Nshape whencontracts/releases/is absent (scripts/target_release.py:168-172), but this requirement says the identifier must resolve to a release this estate defines and this scenario only permits a release carried by the registry. In a tree without the registry, invented releases pass the code while violating the normative delta; either fail closed or specify and test the shape-only mode here.
#### Scenario: An active proposal names a release the estate defines
- **WHEN** an active change declares a release identifier and the estate's release registry carries that release
- **THEN** the validator passes
- **AND** a release-shaped name the registry does not carry MUST be refused, because a name that resolves to nothing is not a named release
openspec/changes/gate-realization-axis-vocabulary/tasks.md:160
- These recorded counts cannot be from this tree: the new gate packet is itself an active proposal, and the later check in §4.6 already reports 39 active changes. Including this packet, the validator's before/after rows should be 39 active/declaring and 15
implementedafter the five corrections, not 38 and 14; the current evidence is internally inconsistent with the code being reviewed.
correction: **exit 1** — *"38 active proposals, 38 declaring — 9
`implemented`, 3 a named release, 21 named by the register, 5 outside the
vocabulary"*, the five named by path. After: **exit 0** — *"14
`implemented`, 3 a named release, 21 named by the register, 0 outside"*,
openspec/changes/register-gate-rules-council-seats/proposal.md:3
- This changes a ratified packet despite its own ratification record saying to change nothing in
proposal.mdbeyondStatusandRatified, with the ratified text serving as the record (review/ratification-2026-09-06.md:164-167). The custody check in this packet covers archive gates, not that packet-specific ruling; keep this carrier registered or obtain and encode an amendment before changing the line.
target_release: implemented — no contract bundle is cut by openxFactory. Nothing under `contracts/openxwallet/` or `contracts/schemas/` is authored or edited here; the pin advance CONSUMES an openXwallet bundle (`wallet-v1.5` or later) rather than publishing one, and no `contracts/manifest.yaml` row or `contracts/CHANGELOG.md` line is owed on this side.
scripts/target_release.py:172
- When
contracts/releases/exists, this branch never appliesRELEASE_ID_RE; any token is used as a filename. A token such astypoor a path containing../can therefore be accepted when a matching file exists, even though it is not a release identifier and the path can escape the registry. Validate the token shape before joining it to the registry.
return (registry / f"{token}.digests.yaml").is_file(), True
scripts/target_release.py:208
- The register contract requires each standing exception to carry a citation, but
load_registervalidates only five fields and accepts an entry with nocited_to. That lets the--registerAPI grandfather an off-vocabulary declaration without the evidence required by the added requirement; the live-corpus test only protects this repository's current register. Validatecited_toas a non-empty list of non-empty strings here.
for key in _REQUIRED_ENTRY_KEYS:
value = entry.get(key)
if not isinstance(value, str) or not value.strip():
raise TargetReleaseError(
f"register entry {index} ({entry.get('change')!r}) is "
f"missing a non-empty `{key}:`")
scripts/target_release.py:171
- This fallback admits any
contract-vN.Ntoken whencontracts/releases/is absent, even though the added requirement says a release must resolve to one the estate defines. In a registry-less tree,contract-v999.999therefore passes without resolving anywhere; either fail closed or encode this shape-only exception explicitly in the normative requirement and its scenarios so the contract matches the implementation.
if not present:
return bool(RELEASE_ID_RE.match(token)), False
scripts/target_release.py:304
- An archived proposal with a present but empty
target_release:is skipped here becausetoken is None, so it is not included inarchived_off_vocabulary. The active path correctly treats that state as outside the vocabulary, and the requirement says the archive is read and counted; count this case as off-vocabulary without refusing it.
if not present or token == IMPLEMENTED or token is None:
continue
- Files reviewed: 16/16 changed files
- Comments generated: 4
- Review effort level: Lite
…e release token before any path, require and shape-check cited_to Both threads from the draft pull request's first automated review round are REAL defects in this packet's own new code, both are TAKEN IN FULL, and each was reproduced on a built tree before it was fixed. (a) `resolves_as_release` matched `RELEASE_ID_RE` on the NO-REGISTRY branch only, so where the registry exists the author-controlled value token went straight into `contracts/releases/<token>.digests.yaml`. Measured before the fix: with `contracts/elsewhere.digests.yaml` planted one level above the registry, `target_release: ../elsewhere` resolved `(True, True)` and the scan reported 0 findings, 1 a named release; a planted `contracts/releases/none.digests.yaml` did the same for the bare word `none`, the value this gate exists to refuse. The shape is now the FIRST test in EVERY branch, so a token that fails it never becomes a path component. (b) The ADDED requirement has every standing register entry carry "the value token as it stands, the class of divergence, the reason, a citation, and the event that retires the entry", but `_REQUIRED_ENTRY_KEYS` omitted `cited_to` and only a test over this repository's own register asked for it. Measured: `load_register` accepted an entry with no citation at all and `scan` used it to grandfather a declaration. `cited_to` is now a required key, shape-checked as a non-empty list of non-empty strings. SWEPT FOR THE SAME TWO CLASSES — author-controlled text that reaches a path, and a constraint the requirement states that only a corpus test enforces — and two more found and fixed: a register entry's `change:` is resolved under `openspec/changes/` by every consumer and is now shape-checked as one directory segment (`CHANGE_ID_RE`); the CLOSED class set lived as a literal inside one corpus test and is now `REGISTER_CLASSES` beside the loader, enforced for every tree, with the corpus test reading the module's set rather than a second copy. Measured and NOT taken: the register's own `schema_version:`/`kind:` are left unenforced by the loader, because the requirement does not name them and refusing a consuming tree's register for a field it never asks for would exceed it. Tests: 32 -> 46, fourteen added (six pinning the token-before-path guard in both branches including `../elsewhere` and `/etc/passwd`, five pinning the citation's shape, three pinning the swept classes), all fourteen failing against the code as it stood. No existing test is renamed, flipped or deleted; `_entry()` gains the citation the loader now requires and `test_an_entry_missing_a_required_key_refuses` keeps its subject. Draft records re-measured, never carried: `proposal.md` `code_surface:` and tasks.md 3.5 carry 46 counted from a collected run; tasks.md 4.1's after-run is re-taken on the tree as it now stands (39 active, 39 declaring, 15 `implemented`, 3 a named release, 21 registered, 0 outside; exit 0), against the same validator pointed at origin/main 38c076d (38 active, 9 `implemented`, 5 outside; exit 1). `design.md` gains D8. The packet stays a DRAFT with no approval pair; refs #956. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved validator correctness findings remain, along with a stale README test count.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (3)
scripts/target_release.py:375
- This accepts any entry present in the current register, but nothing enforces the register's declared CLOSED set. A future pull request can add a new
{change, token}entry with valid metadata and this branch will mark that otherwise-invalid declaration as grandfathered, allowing a new divergence without changing the specification. Please make register additions fail (for example by comparing against an immutable approved entry set) rather than relying on review discipline.
if key in covered:
matched.add(key)
grandfathered.append(key)
scripts/target_release.py:204
read_front_mattermerges repeated prose headers, so a proposal containingtarget_release: implementedfollowed by a secondtarget_release: noneis returned as one string andvalue_token()sees onlyimplemented; the invalid duplicate is therefore accepted. Reject duplicatetarget_release:declarations before judging (or make the shared loader reject them) so a later value cannot be hidden behind the first.
front = fm.read_front_matter(proposal)
scripts/target_release.py:235
- This fallback admits every
contract-vN.Ntoken whencontracts/releases/is absent, so a consuming tree would accept an invented value such ascontract-v999.999. That contradicts the added requirement/scenario, which requires a release carried by the estate registry and refuses a release-shaped name with no inventory; either fail closed here or explicitly encode the shape-only exception in the requirement.
if not present:
return True, False
- Files reviewed: 16/16 changed files
- Comments generated: 2
- Review effort level: Lite
…se a repeated declaration, and close the register against a recorded baseline Four threads, all four TAKEN. Two of them are one defect seen from both ends. (a) A REPEATED DECLARATION WAS HALF-READ. `target_release:` is a PROSE header, and the shared strict loader refuses a repeated STRUCTURED field as the duplicate key it is while JOINING a repeated prose header into one raw string — a deliberate, documented posture of that module. This reader then tokenized the join. Measured against the code as it stood: a block declaring `target_release: implemented (the main line)` and then `target_release: none` came back as `'implemented (the main line)\ntarget_release: none'` and tokenized as `implemented`, showing a reviewer two declarations and authorizing the first. `declaration` now refuses the repeat by name, on the value the loader returned, whose own leading header the loader has already stripped — so the shared loader is NOT edited and no second front-matter parser is written. (b) THE CLOSED REGISTER WAS NOT CLOSED (the requirement text and the loader, two threads, one defect). The requirement SHALLs a register that is removable and never addable and the register file's header says so, but every new `(change, token)` pair was accepted: a later pull request could have appended an exception and made any off-vocabulary declaration pass with the gate green and no change to the specification — the register reproducing the very defect it was built to close. `CLOSED_REGISTER` now records the 21 pairs the register carries at this gate's landing and `load_register` refuses an entry the baseline does not carry. A baseline may be a strict SUPERSET, because removal is the one lawful direction. It binds the HOUSE register only: `--register PATH` serves the tests and a consuming tree, whose closure is that repository's own record, and a caller may pass its own baseline. It is not tamper-proof and does not claim to be — what it buys is that an addition cannot be made by appending a line to a data file, and must be written where the refusal is written, beside the reason, in a diff that shows the act. (c) TWO COMPLETED TASKS WERE LEFT UNTICKED. The README active row and the sweep-ledger row both landed in `13ff6162` while tasks.md 4.11 and 4.9 still read as owed — a completion ledger disagreeing with the diff, in a packet whose method is that the task list is the record. Both are ticked, each on the output it was ticked for, each naming the commit that did the work. The requirement gains the two sentences and the two scenarios these refusals answer to, because a gate that refuses something canon does not name is a gate nobody can appeal. Tests 46 -> 54: three on the repeated declaration (the unit refusal, the end-to-end finding with no traceback, and a multi-line gloss that must still pass) and five on the baseline (an entry outside it, a token moved off it, a wider baseline being lawful, a command-line register carrying no house baseline, and the live register measured against its own). All eight fail against the code as it stood. Figures re-measured, never carried: proposal.md `code_surface:`, tasks.md 3.5 and the README active row all carry 54, counted from a collected run; the per-section breakdown is a count of `def test_` under each banner in the file. `python3 -m pytest tests/target_release -q` exit 0, 54 passed. The packet stays a DRAFT with no approval pair; refs #956. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…the release-id shape the estate's own, asserted against the inventory schema Two threads, both TAKEN, and the first is a regression the round-1 fix introduced. (a) THE RELEASE-ID SHAPE WAS NARROWER THAN THE ESTATE'S OWN. `RELEASE_ID_RE` admitted two components; `contracts/releases/release-digest-inventory.schema.yaml` `$defs.bundle_tag` — where this estate DEFINES the shape of a release tag — admits two or three. Before `b88ea425` the shape was consulted only on the no-registry branch, so a three-component release resolved by finding its inventory; making the shape the FIRST test in EVERY branch closed the traversal and in the same stroke imposed a narrower vocabulary than the estate's own on the branch that previously had none. Measured: 47 inventories under `contracts/releases/`, all two-component, so nothing in the corpus was refused and the defect was latent rather than standing — the next three-component cut would have met it at the gate. The pattern is now the schema's, RESTATED rather than imported (this module must judge a consuming tree that carries no `contracts/`), with the equality asserted by a test that READS the schema, so a drift is a test failure rather than a release refused. That is the device `frontmatter_strict` already uses for the lifecycle window it restates from `doc_health`. (b) THE README ROW'S TEST FIGURE WAS STALE — 32 where `proposal.md` and tasks.md 3.5 had been re-measured to 46. Already corrected in `989c7059` before the thread was read, and re-measured again here. Stated now as a rule rather than a habit: the figure moves in all three places in the same commit, every time. Tests 54 -> 59: the shape asserted equal to the schema's pattern, a three-component release resolving against a registry, its shape accepted with no registry, a FOUR-component name still refused, and a three-component declaration passing end to end. Figures re-measured, never carried: proposal.md `code_surface:`, tasks.md 3.5 and the README active row all carry 59, counted from a collected run. `python3 -m pytest tests/target_release -q` exit 0, 59 passed; `validate-target-release.py .` exit 0; `openspec validate gate-realization-axis-vocabulary --strict` exit 0; `proposal-support.py . verify`, `validate-sequenced-after.py .` (+ `--ledger-diff`) and `validate-scope-globs.py .` all exit 0. The packet stays a DRAFT with no approval pair; refs #956. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Critical release-resolution inconsistencies remain, along with parser, verification, and documentation issues.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (2)
openspec/changes/gate-realization-axis-vocabulary/proposal.md:2
- The PR body still reports this module as 32 tests, while the changed file contains 54
test_functions and the packet/README record 54. Update the body and gate evidence so the verification count is not contradictory.
code_surface: openxFactory — `scripts/target_release.py` (NEW, the reader and judge), `scripts/validate-target-release.py` (NEW, the house validator CLI), `scripts/target-release-register.yaml` (NEW, the closed grandfather register) and `tests/target_release/test_target_release_gate.py` (NEW, 59 tests) that pin them. NOTHING EXISTING IS EDITED IN THE CODE SURFACE: no arm of an existing validator moves, no existing test is edited, renamed, flipped or deleted, no workflow changes (the required `pytest-suite` already runs `tests/`), no contract member, no schema and no report field. The reader reaches the declaration through the SHIPPED strict loader `scripts/frontmatter_strict.py` and adds no second parser. Beside the code, the SAME pull request corrects FIVE active proposals' `target_release:` VALUE TOKEN (`none` → `implemented`, every prose gloss preserved verbatim, one line per file, five lines in all) — see `design.md` D2.
openspec/changes/gate-realization-axis-vocabulary/tasks.md:284
- The required full-suite verification is still unchecked, and this packet records only the focused
tests/target_releaserun. Because enforcement depends on collection by the fullpytest-suite, runpython3 -m pytest tests/ -q -m "not postgres"and record the before/after counts before treating verification as complete.
failures"*, the two being the PRE-EXISTING accepted exceptions
`add-chain-attestation` and `add-composed-view-authoring`, neither of
- Files reviewed: 16/16 changed files
- Comments generated: 5
- Review effort level: Lite
…de the shape-only fallback in canon, and anchor the repeat guard at column 0 Five threads, all five TAKEN. (a) THE SHAPE-ONLY FALLBACK CONTRADICTED THE REQUIREMENT'S OWN MUST (two threads, the scenario and the code). The scenario said a release-shaped name the registry does not carry MUST be refused; `resolves_as_release` accepts the SHAPE where the scanned tree carries no registry at all, so by the letter of the scenario `contract-v999.999` passed in a tree that defines no releases. The fallback is not an accident — the module has documented it from the first draft, and a gate that refused every release name in a tree that cannot define one would be unusable in every consuming repository, which tasks.md 6.5 already names as unswept by design. What was missing is that canon never said it, and a behaviour a reader can only discover by reading the implementation is the same defect as a vocabulary only prose asserts. So the fallback is ENCODED rather than removed: the requirement gains a paragraph (resolution is against the registry THE SCANNED TREE defines; where it defines none the shape is the whole test; the weaker judgment SHALL NOT be silent; the shape SHALL be the one the estate defines), the existing scenario's MUST is qualified to a tree that HAS a registry, and a new scenario states the fallback. The loudness is TESTED rather than intended: the run prints "accepted on its SHAPE alone" with no registry and must not print it with one. Fail-closed was the alternative and is recorded as refused with its reason. (b) THE REPEAT GUARD WAS OVER-BROAD AND CAUGHT THE PROSE IT WAS WRITTEN TO PROTECT. `_REPEATED_HEADER_RE` allowed leading whitespace, and an INDENTED line in a front-matter block is a CONTINUATION of the gloss — so a gloss reading ` target_release: the main line` was refused as a duplicate declaration. Measured: it was. That contradicts the requirement's own rule to judge the token and never the gloss. The pattern is now anchored at column 0, which is the shared loader's own notion of a header line (`frontmatter_strict._TOP_LEVEL`), so the guard and the loader agree on what a declaration IS rather than each having a private idea. A guard added in one round is new code and gets the next round's scrutiny like anything else. (c) THE INVENTORIES WERE STALE (two threads). `proposal.md` still reported seven scenarios and omitted the two the bench added; the pull-request description still said 32 tests and seven scenarios. The description had been rewritten before those threads were read. The proposal's inventory now names all TEN scenarios and marks which four the bench added. Same lesson as round 3, now paid for twice: a count or an inventory moves in ALL of its sites in the SAME commit. Tests 59 -> 62: the indented gloss that must pass, and the shape-only note printed with no registry and absent with one. Scenarios 9 -> 10. Figures re-measured, never carried: proposal.md `code_surface:`, tasks.md 3.5 and the README active row all carry 62. `pytest tests/target_release -q` exit 0, 62 passed; `validate-target-release.py .` exit 0; `openspec validate … --strict` exit 0; `--all --strict` exit 1 with the same two pre-existing `disposition-codexfactory-*` failures (99 passed, 2 failed, 101 items); `proposal-support.py . verify`, `validate-sequenced-after.py .` (+ `--ledger-diff`, 200 rows), `validate-scope-globs.py .` and `doc-health.py --single-repo .` all exit 0. The packet stays a DRAFT with no approval pair; refs #956. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved moderate implementation/specification mismatches and stale documentation remain.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Review details
Suppressed comments (6)
openspec/changes/gate-realization-axis-vocabulary/design.md:219
- This D3 text still documents the old two-component release shape, but the implemented gate and its tests now intentionally admit two or three components. Leaving the old regex here makes the design record contradict both the code and the later D8c correction.
`^contract-v\d+\.\d+$` is accepted on its own and the run SAYS SO in its output,
openspec/changes/gate-realization-axis-vocabulary/proposal.md:97
- This summary still says there are seven scenarios, but the delta now defines nine, including the repeated-declaration and closed-register-append scenarios at lines 118-130. The stale count makes the proposal summary inconsistent with the requirement it is asking the owner to ratify.
TEN scenarios: the refusal, `implemented`, a resolving release, **a tree
that defines no release registry at all**, an archived record, a registered
declaration, **a repeated declaration**, **an entry appended to the closed
openspec/changes/gate-realization-axis-vocabulary/specs/release-realization/spec.md:108
- The implementation's no-registry branch accepts any schema-shaped token as a release (
resolves_as_releaselines 325-335), even though this requirement says a named release must resolve to one the estate defines and only describes a registry-backed success. An inventedcontract-v9.9therefore passes in a consuming tree with no registry; either encode this shape-only exception as a normative scenario/qualification or reject it when no registry exists.
blanket, and refusing makes the correction, or the archive, the event that
forces the re-examination.
#### Scenario: An active proposal declares a value outside the vocabulary
scripts/target_release.py:159
- The leading
[ \t]*makes this duplicate detector match an indented continuation line inside a legitimate multi-line prose gloss, becauseread_front_matterpreserves those lines. A gloss such astarget_release: implemented\n target_release: explanatory textis one declaration but is rejected as a repeat; detect only an unindented top-leveltarget_release:line and add that negative case.
#:
scripts/target_release.py:335
- When
contracts/releases/is absent, this branch accepts every schema-shaped token without resolving an inventory, socontract-v999.999passes even though no release exists. That contradicts the added requirement/scenario, which requires a release to resolve; either refuse unresolved names or explicitly encode this no-registry exception in the requirement and its scenario.
because refusing every release name in a tree that cannot define one would
scripts/validate-target-release.py:71
report.findingsalso contains unreadable/strict-loader failures added inscanwith token<unreadable>, so this summary counts a malformed proposal as being outside the vocabulary even though no value was parsed. Track a separate outside-vocabulary count or change the wording so the CLI report remains accurate for read failures.
f"{len(report.grandfathered)} named by the register, "
f"{len(report.findings)} outside the vocabulary.")
- Files reviewed: 16/16 changed files
- Comments generated: 3
- Review effort level: Lite
… the inventories, label the before/after table by tree, and split the hidden task Three threads, all three TAKEN, all three bookkeeping defects in records this bench itself wrote. (a) "47 INVENTORIES" WAS A NUMBER NOBODY COUNTED. D8c's account of the release-id fix asserted 47 two-component inventories under `contracts/releases/`. There are 53, which is what D3 and tasks.md 2 had said from an actual count — so the bench's own evidence line contradicted the packet's own measurement, in the paragraph arguing that a restatement nobody checks is a defect. Counted, with the command on the record beside the figure: `ls contracts/releases/*.digests.yaml | wc -l` -> 53. The conclusion is unchanged (all 53 are two-component, so the narrow regex refused nothing standing), which is why the error survived a read: a number that does not change the conclusion is the easiest to get wrong and the least likely to be re-derived. (b) THE PROPOSAL'S BEFORE/AFTER TABLE WAS NOT REPRODUCIBLE FROM ITS OWN COMMAND. It read `before (this tree, pre-correction) 38 / 9` and `after 38 / 14` under `validate-target-release.py .`, but running that command here gives 39 / 15: this packet's own proposal.md is an active change declaring `target_release: implemented` and is judged by its own gate. tasks.md 4.1 and the pull-request description had both been re-taken; the proposal had not, so the packet disagreed with itself on the figure a reader checks first. The rows are now labelled by TREE, the +1/+1 is explained, and the table says the two rows are the same validator pointed at two trees. (c) A MISSING NEWLINE HID A TASK. `- [x] 3.10` ran on from the end of 3.9's paragraph, so the third bench round rendered as prose inside the second rather than as its own checklist item. In a packet whose method is that the task list IS the record, a task that does not render as a task is not in the record. Gates at this tree: `openspec validate … --strict` 0; `--all --strict` 1 with the same two pre-existing `disposition-codexfactory-*` failures (99 passed, 2 failed, 101 items); `proposal-support.py . verify` 0; `validate-sequenced-after.py .` 0 and `--ledger-diff` 0 (200 rows); `validate-scope-globs.py .` 0; `doc-health.py --single-repo .` 0; `validate-target-release.py .` 0 (39 active, 39 declaring, 15 `implemented`, 3 a named release, 21 registered, 0 outside); `pytest tests/target_release -q` 0, 62 passed. The packet stays a DRAFT with no approval pair; refs #956. Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…on-axis-vocabulary # Conflicts: # README.md
There was a problem hiding this comment.
🟡 Changes recommended
One or more issues must be addressed before approval.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (2)
README.md:653
- This current packet summary still says the new gate has 79 tests, but
tests/target_release/test_target_release_gate.pycontains 84 and the later task entry records the five-test increase. Please update this figure so the README does not report an obsolete test inventory.
entries, CLOSED against a baseline the validator carries — and 79 tests),
openspec/changes/gate-realization-axis-vocabulary/tasks.md:178
- This task's current test inventory is stale: the file now contains 84 test functions, while § 3.21 explicitly records the 79→84 addition. Leaving 79 here makes the task ledger internally contradictory; update the count to 84.
- [x] 3.5 `tests/target_release/test_target_release_gate.py` (NEW, **79 tests**,
- Files reviewed: 19/19 changed files
- Comments generated: 1
- Review effort level: Lite
A Copilot thread opened on proposal.md at 17:25Z, after the D8k push (343af52): the code_surface front-matter line still read "NEW, 79 tests" for tests/target_release/test_target_release_gate.py, while D8k's own leaf symlink-guard round had already grown the file from 79 to 84 (design.md D8k, tasks.md 3.21). Measured on this head before any edit: `grep -c '^def test_' tests/target_release/test_target_release_gate.py` = 84; `pytest --collect-only -q tests/target_release/test_target_release_gate.py` collects 84 tests. The summary was one round behind the code it describes. Two places stated the stale total as a current figure and are corrected to 84: proposal.md's `code_surface:` front-matter line (the line the thread anchors on), and README.md's `## OpenSpec Records` row for this change, which restates the same code-surface inventory ("... and 79 tests)"). Left unchanged, deliberately: tasks.md 3.5, 3.19, 3.20 and design.md's D8j/D8k narrative all state test counts as dated checkpoints of what a specific round measured at the time (74, 79, then 84 at D8k) — each is true of its own moment and is not a claim about the file's current total. review/ verification-2026-09-12.md is the dated capture of the tree one merge earlier; tasks.md 3.20 already records that it is deliberately not rewritten for later rounds and points there instead. Re-validated at this head: openspec validate gate-realization-axis-vocabulary --strict exit 0; pytest tests/target_release -q 84 passed (unchanged, this is a prose-only fix); validate-target-release.py . exit 0 (42 active, 18 implemented, 3 a named release, 21 registered, 0 outside, unchanged); doc-health.py --single-repo . exit 0. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Bookkeeping only. `origin/main` moved 5972c8f -> a72f0a7 (#978 decide-disposition-reading-per-family, #998 repoint-chain-anchoring-medxchain-citation, #1005 split-opendox tasks.md amendment). README `## OpenSpec Records` conflicted on the same one heading as before: main's new `decide-disposition-reading-per-family` row kept FIRST, verbatim, with this packet's row immediately after it; no other row touched and no reflow. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; `tests/doc-health/test_modified_block_currency_self_gate.py` and `split-opendox-two-layer-product/tasks.md` came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 44 active proposals, 44 declaring, 20 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary. Both changes main brought in declare a value inside the vocabulary, so D2's ruled sweep still has no further carrier to take at this head. `pytest tests/target_release -q` 84 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Bookkeeping only. `origin/main` moved a72f0a7 -> 177ba81 (#981 report-stale-grandfather-dispositions landed while this packet's own merge of a72f0a7 was in flight). README `## OpenSpec Records` conflicted on the same heading a third time: main's new `report-stale-grandfather-dispositions` row kept FIRST, verbatim, with this packet's row immediately after it; the earlier `decide-disposition-reading-per-family` row (already merged in db20851) is untouched, and no other row is reflowed. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; `scripts/doc_health/families.py`, `tests/doc-health/test_grandfather_dispositions.py` and the new `report-stale-grandfather-dispositions` change directory came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 45 active proposals, 45 declaring, 21 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary. `pytest tests/target_release -q` 84 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Critical and moderate validation findings remain, along with stale verification counts.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (4)
README.md:720
- The current PR description is stale relative to this committed row and the test file: its code section still says 70 tests and its gate table says 79 passed, while
test_target_release_gate.pycollects 84 and this row records 84. Rebuild the PR description so its verification claims match the current tree before approval.
membership and the lifecycle scan set* with one scenario appended, canon's
openspec/changes/gate-realization-axis-vocabulary/proposal.md:2
- The PR description still advertises stale suite counts: its code summary says 70 tests and its later gate table says 79 passed, while this changed proposal and
tests/target_release/test_target_release_gate.pynow contain 84 tests (tasks.md§ 3.21 records the 79→84 round). Please update the body’s test-count claims and dependent verification narrative to 84 so the review evidence matches this tree.
code_surface: openxFactory — `scripts/target_release.py` (NEW, the reader and judge), `scripts/validate-target-release.py` (NEW, the house validator CLI), `scripts/target-release-register.yaml` (NEW, the closed grandfather register) and `tests/target_release/test_target_release_gate.py` (NEW, 84 tests) that pin them. NOTHING EXISTING IS EDITED IN THE CODE SURFACE: no arm of an existing validator moves, no existing test is edited, renamed, flipped or deleted, no workflow changes (the required `pytest-suite` already runs `tests/`), no contract member, no schema and no report field. The reader reaches the declaration through the SHIPPED strict loader `scripts/frontmatter_strict.py` and adds no second parser. Beside the code, the SAME pull request corrects SIX active proposals' `target_release:` VALUE TOKEN (five `none` → `implemented`, and one declaration that carried no leading token at all — the running sentence whose first word is the article `a` → `implemented`; every prose gloss preserved verbatim, one line per file, six lines in all) — see `design.md` D2 and D2a.
scripts/target_release.py:168
- This pattern does not quite match the loader's
_TOP_LEVELgrammar:frontmatter_strictrecognizestarget_release:only when the colon is immediate, but this regex also treatstarget_release : ...as a repeat. The loader therefore keeps that line as continuation/gloss text, while this guard rejects an otherwise single declaration, contrary to the requirement to ignore the gloss. Match the loader's exact top-level form and add a regression for the whitespace-before-colon gloss.
_REPEATED_HEADER_RE = re.compile(rf"(?m)^{FIELD}[ \t]*:")
scripts/target_release.py:560
Path.resolve(strict=True)raisesRuntimeErrorfor a symlink loop, notOSError. A tracked loop in an activeproposal.mdpath can therefore escape this handler and crash the validator instead of returningNoneand skipping the escaped path, despite_unescaped's documented refusal behavior. Catch the symlink-loop exception and add a regression test.
except OSError:
- Files reviewed: 19/19 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
🟡 Changes recommended
A moderate custom-register symlink issue remains, alongside unresolved test-count, round-label, and completion-ledger inconsistencies.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (5)
openspec/changes/gate-realization-axis-vocabulary/design.md:1040
- This is labeled the “twelfth round,” but the packet records D8j as the tenth round and contains no eleventh-round record (the ratification snapshot also says there were ten). Please either renumber D8k to the eleventh round or add the missing round-11 record and reconcile the aggregate counts; the current label leaves a gap in the audit trail.
### D8k — the bench's twelfth round, on the FREEZE push (16:45Z): one thread, TAKEN
openspec/changes/gate-realization-axis-vocabulary/tasks.md:716
- This completion item remains unchecked even though §3.7–§3.21 record the bench rounds as taken and the PR description says all 29 threads were taken. Either tick §4.12 or state which bench work is still outstanding; leaving it open contradicts the packet's own completion record.
- [ ] 4.12 **THE BOT BENCH**, taken and dispositioned item by item on the
openspec/changes/gate-realization-axis-vocabulary/tasks.md:583
- This is labeled the “twelfth round,” but § 3.19/D8j is recorded as the tenth and no eleventh-round task appears in this packet. Please either renumber § 3.21 to the eleventh round or add the missing round-11 record and reconcile the aggregate counts; otherwise the completion ledger has an unexplained gap.
- [x] 3.21 **THE BENCH'S TWELFTH ROUND, ON THE FREEZE PUSH (16:45Z): ONE
scripts/target_release.py:448
- Checking only
path.is_symlink()protects the leaf, not a regular register reached through a symlinked parent: forlink/register.yaml, the leaf check is false whileis_file()andread_text()still followlinkand consume bytes outside the checkout. This leaves the--registerescape that_registry_presentand_unescapedwere added to close; resolve the full register path against its intended repository root (preserving the explicitly supported symlinked scan-root boundary) before reading, and add the ancestor case to the regression suite.
if path.is_symlink():
tests/target_release/test_target_release_gate.py:1
- The PR description still reports the target-release suite as 70 tests near the top and 79 in the later gate table, but this branch now contains 84 tests and the committed D8k/§3.21 evidence records 84 passing. Please update those current-state claims so the review description does not under-report the coverage added by this PR.
"""`gate-realization-axis-vocabulary` § 3: the `target_release:` vocabulary gate.
- Files reviewed: 19/19 changed files
- Comments generated: 1
- Review effort level: Lite
Copilot thread PRRT_kwDOTAvnrs6hyYeC: D8k's leaf-level `path.is_symlink()` guard covers only load_register's own name. `linkdir/register.yaml`, where `linkdir` is a symlink to an external directory, has an entirely ordinary leaf, so the guard passed it and `read_text()` still followed `linkdir`, consuming bytes from wherever it points. A new `_has_symlinked_ancestor(path)` helper generalizes the same test `_unescaped` uses for the proposal walk, without the `repo_root` anchor `_unescaped` has: it climbs `path`'s own ancestors one directory at a time, refusing on the first symlink, stopping at `/` for an absolute path or `.` for a relative one. There is no repo_root to check "outside of" here, because a register named on `--register` is deliberately allowed to live anywhere a test tree or a consuming repository puts it. `load_register` now refuses on `path.is_symlink() or _has_symlinked_ancestor(path)`, before `is_file()` or `read_text()` runs, unconditional on `path`. Two tests (84 -> 86), both measured failing with the fix stashed and passing restored: the direct call and the CLI (--register) surface end to end. On the real corpus the fix moves nothing. Also folds in Copilot thread PRRT_kwDOTAvnrs6hybFv (PR description stale a third time: 70/79 vs the committed 86 — rebuilt separately via `gh pr edit`), and retroactively records design.md D8l / tasks.md 3.22 for the prior round's code-surface stale-count fix (34bc8ca), which grew the proposal.md/README.md test-count figures from 79 to 84 without its own design/tasks narrative at the time. Both proposal.md's code_surface line and README.md's OpenSpec Records row are bumped 84 -> 86 to match this round's own addition. design.md D8l/D8m and tasks.md 3.22/3.23 record both rounds. Re-validated: openspec validate --strict exit 0; pytest tests/target_release -q 86 passed; validate-target-release.py . exit 0 (45 active, 45 declaring, 21 implemented, 3 a named release, 21 registered, 0 outside, unchanged); validate-sequenced-after.py --ledger-diff exit 0 (208 rows); validate-scope-globs.py exit 0; doc-health.py --single-repo exit 0; proposal-support.py verify exit 0; validate-openspec-cli-pin.py --change exit 0; --all --no-cache exit 0 (102/2/104, unchanged). refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Bookkeeping only. `origin/main` moved 177ba81 -> f663b37: PR #1007 archived `decide-disposition-reading-per-family` (its proposal directory moved to `openspec/changes/archive/2026-09-12-decide-disposition-reading-per-family`, promoting its `## MODIFIED` block into `openspec/specs/doc-health/spec.md`), and #1001 (a split-opendox carve-manifest change) landed after it. This merge auto-resolved with NO conflict: the archive REMOVED the active `decide-disposition-reading-per-family` row this packet's earlier merges (db20851, 32e57bd) had kept ahead of its own row, rather than inserting another row beside it, so there was nothing left to reconcile on the same heading this time. `tests/sequenced_after/corpus-ledger.yaml` auto-merged with both sides' rows intact; the carve-manifest, carve-arrival and carve-lines test/script changes from #1001 came in from main unmodified by this merge. The packet's own gate re-run on the merged tree: exit 0 — 44 active proposals, 44 declaring, 20 `implemented`, 3 a named release, 21 named by the register, 0 outside the vocabulary (down one active/`implemented` from the pre-merge head, and archive up to 164: the #1007 archive moves `decide-disposition-reading-per-family` out of the active population this gate judges and into the archive it only reads). `pytest tests/target_release -q` 86 passed, unchanged. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
There was a problem hiding this comment.
🟡 Changes recommended
Three moderate validator issues remain, and the proposal contains stale test-count verification evidence.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
scripts/target_release.py:663
- This branch puts strict-loader failures (including repeated
target_release:headers) intoReport.findings, the same collection used for off-vocabulary tokens._report()then labels every finding as “outside the vocabulary” and the CLI documentation defines exit 1 that way, so an unreadable proposal produces a false metric and misleading failure classification; distinguish these finding kinds or report a generic finding count.
except TargetReleaseError as exc:
findings.append(Finding(
change, rel, "<unreadable>",
f"its front matter cannot be read — {exc}"))
scripts/target_release.py:600
Path.resolve(strict=True)can raiseRuntimeErrorfor a symlink loop on the Python 3.12 runtime used by the test workflow, but this guard only catchesOSError. A loopedopenspec/changespath or ancestor would therefore abort the validator with a traceback instead of being treated as an escaped path, defeating the symlink-boundary contract; catch this exception as well and add a regression case.
resolved = candidate.resolve(strict=True)
resolved_root = repo_root.resolve(strict=True)
except OSError:
return None
scripts/target_release.py:706
- An archived
target_release:with no value is skipped here, even though the active path above treats that same present-but-empty declaration as outside the vocabulary. This makes the reported archive count undercount frozen malformed declarations and contradicts the requirement to count what the archive carries. Counttoken is Noneas archived off-vocabulary without adding an active finding or refusing the archive.
if not present or token == IMPLEMENTED or token is None:
continue
- Files reviewed: 19/19 changed files
- Comments generated: 1
- Review effort level: Lite
|
FREEZE — PR #963 (
Lane: openxfactory-1 |
|
Lane: openxfactory-1 (openXfactory-1) LANDING — lane openxfactory-1, session 48fc14@Eagle, 2026-09-12T19:03:37Z, PR #963 into openxFactory main (RATIFIED gate-realization-axis-vocabulary at 1d08089 — Brett Heap 2026-09-12T15:45Z verbatim 'do all as recomended' (PR #963 issuecomment-5646922493); CODE SURFACE — archives only on realization evidence; refs #956) Guard at 2026-09-12T19:03:37Z on head |
|
Lane: openxfactory-1 (openXfactory-1) LANDED — lane openxfactory-1, 2026-09-12T19:03:59Z, PR #963 → 68ff88b (openxFactory main; ratification of gate-realization-axis-vocabulary (#956) landed at head 1d08089; code surface: archive owed on realization evidence; #956 closes at the archive, not here; admin merge commit on 'land each when green'; Rule 6 window closed) |
… (seventh) origin/main moved to 68ff88b via PR #963 (gate-realization-axis-vocabulary, ratified and landed) -- an ADDED requirement in release-realization plus its own code surface (scripts/target_release.py, scripts/target-release- register.yaml, scripts/validate-target-release.py, tests/target_release/), and a mechanical front-matter sweep normalizing several active packets' proposal.md target_release: lines to the newly-gated vocabulary. Verified disjoint from this packet: touches neither this packet's own change directory, openspec/specs/doc-health/spec.md, nor scripts/doc_health/modified_block_currency.py; the self-gate test file (tests/doc-health/test_modified_block_currency_self_gate.py) is untouched by the f663b37..68ff88b range specifically (confirmed by range-diff), so it neither conflicted nor auto-merged. ONE conflict, README.md's ## OpenSpec Records block: resolved keeping BOTH rows, main's new gate-realization-axis-vocabulary row FIRST, this packet's own row SECOND immediately after (no reflow), matching every prior merge's resolution rule. tests/sequenced_after/corpus-ledger.yaml auto-merged clean (PR #963's own ledger row, +1 line). The other proposal.md files git staged as modified are #963's own mechanical target_release: normalization sweep, untouched by us. Zero stray conflict markers repo-wide after resolution (grepped). refs #955 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
… (eighth) origin/main moved to 468371d via PR #1009 (carve manifest: declare the S6 /source re-home lines on serve.py and serve_projection.py, Lane openxfactory-4-opendox-extraction) -- the same carve-manifest declared-edit pattern as the two prior merges (#1001, #963's own follow-on), touching docs/opendox-carve-*, three carve/verify scripts and their tests, and the same single README.md bullet (the cutover-runbook declared-edit total, 910 -> 1042). Verified disjoint from this packet via the commit's own --stat: touches neither this packet's own change directory, the self-gate test, tests/sequenced_after/corpus-ledger.yaml, nor openspec/specs/doc-health/spec.md or scripts/doc_health/ modified_block_currency.py. README.md auto-merged clean (git "Auto-merging", zero conflict markers) -- the same single-line edit as the prior two carve-manifest merges, nowhere near this packet's own OpenSpec Records row. refs #955 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
Lane: openxfactory-1 (openXfactory-1) ARCHIVE WORD for Brett Heap, 2026-09-12T22:25:43Z (given in the lane's window, first-hand, in answer to the orchestrator's statement that the two remaining code-surface packets —
Scope, as the words were put: this is the separate post-ratification ARCHIVE word for BOTH packets, and this comment records it for refs #956 (closes at the archive pull request, not here). |
…rpus ledger The prior commit's message described a README.md row move and a ratification-record addendum as part of that commit, but `git add`'s first pathspec that round (the already-fully-staged, no-longer-existing old change directory) made the whole invocation abort silently before it reached the later pathspecs — so neither file was actually staged, and the prior commit carried only the packet renames and the spec.md promotion. Caught by re-verifying `git show <sha> --stat` against the commit message rather than trusting the pre-commit `git diff --cached` output alone. This commit lands the two files that were meant to land last time, unchanged from what was verified then, plus the ledger seed that depends on this archive already being visible on the branch: - README.md: the OpenSpec Records row move, Active -> the top of Archived (newest-first). - review/ratification-2026-09-12.md: the "## 9. Addendum" section. - tests/sequenced_after/corpus-ledger.yaml, seeded with `python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#1014'`: exactly one row changed, gate-realization-axis-vocabulary from `state: active, moved_by: "#963"` to `state: archived, moved_by: "#1014"`. `--ledger-diff` before the seed reported 4 findings (1 stale row + 3 derived-total mismatches); after, "per-change sweep ledger consistent with the corpus (209 rows)", exit 0. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…h README rows and both ledger rows openxFactory PR #1014 archived `gate-realization-axis-vocabulary` and promoted its ADDED requirement *Realization axis vocabulary is gated* into `openspec/specs/release-realization/spec.md`, merging to `main` at 2026-09-12T20:49Z as `a1429885` — after this branch was cut. Merged in rather than rebased: this repository refuses non-fast-forward pushes, so history is final and a merge is the only lawful way to take it. ONE FILE CONFLICTED AND THE RESOLUTION IS THE UNION. `tests/sequenced_after/corpus-ledger.yaml`, one hunk, two rows against one: this branch carried `gate-code-surface-declarations` (active, `#1018`) beside `gate-realization-axis-vocabulary` (active, `#963`), and main carried the latter alone at `archived`, `#1014`. Resolved by keeping BOTH rows, ours ACTIVE and the sibling's at MAIN'S ARCHIVED STATE — never our stale `active` for it, and never main's row alone. **VERIFIED BY THE TOOL RATHER THAN ARGUED**: `python3 scripts/validate-sequenced-after.py . --ledger-diff` — exit 0, *"per-change sweep ledger consistent with the corpus (211 rows)"* — so no re-seed was needed, which is the better outcome: `--seed-ledger` would have restamped `moved_by` on rows this branch never moved. THE README BLOCK AUTO-MERGED AND BOTH EDITS SURVIVED, checked rather than assumed: our ratified `gate-code-surface-declarations` row stands under *Active changes*, and the sibling now appears at its ARCHIVED standing at `openspec/changes/archive/2026-09-12-gate-realization-axis-vocabulary/`. ONE CITATION REPOINTED, AND ONLY ONE. `.openspec.yaml`'s `related:` entry moved from the sibling's ACTIVE id to `openxFactory:change:archive/2026-09-12-gate-realization-axis-vocabulary`, the form this block already uses for archived entries. Every other reference in this packet names the change IN PROSE, which an archive does not invalidate; there is no path-shaped citation of the sibling anywhere under `openspec/changes/gate-code-surface-declarations/` (grepped). `design.md` D7 gains a paragraph recording that the predicted landing happened, what moved, and that its pasted sibling-search capture is a DATED reading of a tree that has since moved — left as the dated capture it is rather than rewritten. NOTHING IN THIS PACKET'S CANON MOVED, AND THAT IS CHECKED. All three ADDED titles are still novel against the promoted specification the archive produced (0 other files carry any of them), `sequenced_after: []` still holds because no active change modifies a title this delta writes, and the ADDED-only reasoning is unchanged — the `## MODIFIED` block over *Realization axis declaration* it turns on belongs to `add-structured-scope-substrate`, which is still ACTIVE. VERIFIED ON THE MERGED TREE: `openspec validate gate-code-surface-declarations --strict` exit 0; `--all --strict` exit 1, `Totals: 104 passed, 3 failed (107 items)` — the SAME three pre-existing `disposition-codexfactory-*` failures, and the item count down by one from this branch's pre-merge 108 because #1014's archive removes one `change/` item while its promotion adds no new `spec/` one; `proposal-support.py . verify` exit 0; `validate-target-release.py` exit 0 ("45 active proposals, 45 declaring … 0 outside the vocabulary"), `validate-scope-globs.py` exit 0, `validate-sequenced-after.py` exit 0 and `--ledger-diff` exit 0. Refs #1013. Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5 <[email protected]>



Lane: openxfactory-1 (openXfactory-1)
Status: RATIFIED — 2026-09-12
Ratified
Brett Heap (openxFactory operator authority) ruled on this packet on
2026-09-12 at 15:45Z, verbatim:
Three INDEPENDENT multiple-choice rulings over
design.md's three declaredveto points, each put with its recommendation first, answered in one utterance
and recorded item by item on this pull request at 2026-09-12T15:45:19Z
(comment 5646922493):
GATED. "Admit none" and "Rule none a synonym" NOT taken.
corpus are swept here. "Each owning lane sweeps" and "Register all 26"
NOT taken.
token against the registry as it stands. "Resolve literally" and "Accept
any release-shaped token" NOT taken.
ALL THREE ARE THE RECOMMENDED AND ALREADY-ENCODED OPTIONS, SO THE WORDING
STANDS UNCHANGED.
git diff --name-only fb55c9e9..HEAD -- <change>/specs/returns 0 files. D0 and D4–D7 were carried beside them and none was vetoed.
Encoded in
d002f85d:Status: draft→Status: ratifiedonproposal.md,design.mdandtasks.md, each with exactly ONE citation linenaming all three labels verbatim;
design.mdD1/D2/D3 become RULED sectionskeeping their alternatives as the record of what was put and declined;
.openspec.yamlgainsapproved_by/approved_onas a pure ADDITION beside abyte-unmoved
origin:block (git diff --numstatreads46 0; lines 1–94hash to sha256
70da6366…82193before and after);tasks.md§ 1.1–1.5 tickedand nothing else; the README
## OpenSpec Recordsrow moves to the ratifiedstanding.
Records:
review/ratification-2026-09-12.md(
Status: ratified, oneRatified:line naming all three labels) andreview/verification-2026-09-12.md(
Status: record, the gate set re-derived on the ratified tree).D2'S RULED OPTION SWEEPS THE CORPUS AS IT STANDS, AND AT THIS HEAD THAT IS
SIX CARRIERS, NOT FIVE. The branch was CONFLICTING against
mainat theruling; merging
origin/main1f068646(mergefb55c9e9) brought inamend-kill-switch-to-declared-test-companion, which landed with #959 on2026-09-11T17:19:09Z declaring no leading token at all — a running sentence,
so the value token is the article
a— and the gate refused it, reddening itsown live-corpus test. Swept in
3f7236f4by the same one-token correction;registering it instead was refused by D1's ruled closure of the register.
Re-measured after: 0 active declarations outside the vocabulary.
design.mdD2a,tasks.md§ 3.18.THE ARCHIVE IS A SEPARATE ACT AND IT IS NOT PERFORMED HERE.
code_surfaceis NON-EMPTY, so under
release-realizationthis packet archives onmerged-plus-green realization evidence at canon's grain, on its own later
pull request and on a separate word. No file under
openspec/specs/isedited, so nothing is promoted;
tasks.md§ 5 and § 6 stay ENTIRELY OPEN; andopenxFactory #956 closes at the ARCHIVE and at no earlier landing —
closingIssuesReferenceson this pull request is[]and stays so.D0 — the measurement, re-taken at authoring on
origin/main38c076d1Method, so it reproduces: a
^target_release:/^code_surface:line at thestart of a line in every
openspec/changes/**/proposal.md, archived packetsincluded; the VALUE TOKEN is the first whitespace-delimited word with trailing
.,;:stripped.1d20edd4)38c076d1)proposal.mdfilestarget_release:nonecode_surface: nonedeclarersimplemented10,none7,promotion-only3The two that moved are one fact:
state-header-window-budgetarchived atPR #953 between the filing and this authoring, taking one carrier out of the
ACTIVE set. The issue's "6 active" is stale by exactly that packet.
THE MEASUREMENT THE ISSUE DID NOT TAKE, AND THE ONE THAT SHAPED THE PACKET.
noneis one fifth of the divergence. Of the 38 ACTIVE proposals — everyone declares the field — only 12 declare a value the ratified vocabulary
admits:
implementedcontract-v1.45,contract-v3.0×2noneimplementation_pendingrepository-bootstraprelease-realizationit archives only on merged + green"TWELVE OF THE TWENTY-SIX ARE OUTSIDE THE VOCABULARY BECAUSE ANOTHER RATIFIED
RULE PUTS THEM THERE.
docs/contract-versioning-policy.md§ BundleRealization Order, first line: "Contract-bundle realization is serialized and
allocates versions late". Naming a number at proposal time reserves one the
policy allocates at the cut — and the promoted two-value sentence has no
spelling for a release, not yet numbered. That is a canon gap, not sloppiness.
NO GATE READS THE VALUE, confirmed by the issue's own command:
grep -rn target_release scripts/ tests/ .github/finds four lines inscripts/ideation_dashboard/generator.py(410/416/571/576) plusweb/views/wheel.js:767-768— display only — nothing in.github/, and fixturetext in
tests/in BOTH spellings. The snapshot schema types the field{type: [string, "null"]}, no enum.THE ARCHIVE: 161 archived
proposal.md, 61 outside the vocabulary,read and counted and judged never.
THE THREE DECISIONS AS THEY WERE PUT — ALL THREE RULED 2026-09-12, EACH TAKING ITS RECOMMENDATION
Kept verbatim below as the record of what was put and what was declined. The
ruled option of each is OPTION 1, the recommended one; the alternatives were
never encoded and are not work owed.
D1 — what canon does about a value outside its vocabulary
and GATE it. One
## ADDED Requirementsblock,Realization axis vocabulary is gated, plus a house validator and a CLOSED
grandfather register. No
## MODIFIEDblock, so no collision and nosequencing hold. The five
nonecarriers are corrected here (D2); the other21 are named in the register, reported and never refused, and the register
can never be added to.
Cost: the estate gains a 21-entry exception file, and each entry is
archive-coupled — when its packet archives or corrects itself the gate
refuses (exit 2) until the entry is deleted, which will occasionally red an
unrelated lane's archive pull request. That is
contracts/openspec-cli-pin.yaml's own accepted cost and is takendeliberately.
(the issue's option 2, widened by the measurement to the deferred allocation,
which is the larger and better-founded class).
Cost: a
## MODIFIEDblock over a title the ACTIVE ratifiedadd-structured-scope-substratealready modifies. It would owesequenced_after: [add-structured-scope-substrate], its pre-text taken fromthat change rather than from canon, and the archive-order hold Ordered
deltas and branch vocabulary imposes — the basis change archives first or
this one destroys review. It also decides the deferred-allocation question in
the same act that installs the gate: two decisions in one word.
implementedon an empty codesurface (the issue's option 3, "the cheapest").
Cost, and a MEASURED objection that is fatal as written: all five active
nonecarriers declare a NON-EMPTYcode_surface— fouropenxFactory,one
xFactory. A synonym rule conditioned on an empty code surface reachesnone of them and settles nothing; widened to reach them it becomes option 2,
with option 2's sequencing hold.
D2 — the sweep
nonecarriers and nothing else: one value token per file,
none→implemented, every prose gloss preserved verbatim; five files, five lines,no behaviour. For those five and only those, the declaration's own gloss says
the packet cuts no bundle — "no contract-bundle involvement" — and a packet
that cuts no bundle realizes on the affected repositories' main lines, which
is what
implementedMEANS. There is no judgment in it, which is why a lanethat does not own those packets can take it. The other 21 are not like that:
a deferred allocation rewritten to
implementedwould assert a realizationon a line that is not where the change lands.
the last is done. Cost: an advisory gate refuses nothing, which is the
state the issue filed about.
exceptions for a defect that is a one-token edit with no judgment in it.
D3 — how the gate resolves "a named release" (forced open by the measurement)
Canon says "a named release defined in the aggregation repository". Measured:
opensoft/xFactorydefines no releases and carries no tags at all; everyrelease the corpus names is defined HERE, in
contracts/releases/(53 digestinventories) and this repository's own tags.
contracts/releases/<token>.digests.yaml, matched against^contract-v[0-9]+(?:\.[0-9]+){1,2}$(TWO or THREE components — thisestate's own
release-digest-inventory.schema.yaml$defs.bundle_tagpattern, restated). Where a scanned tree carries no such registry — or the
registry directory itself is a symlink (D8g) — the release SHAPE is accepted
and the run says so.
Cost: the gate resolves a phrase against a place the promoted sentence does
not name; the wording divergence is recorded as a successor rather than
repaired, because repairing it is another MODIFIED block over the contested
title.
Cost: nothing resolves; three active packets are refused on day one.
Cost:
contract-v<next minor>and any invented version number pass.The added requirement
### Requirement: Realization axis vocabulary is gated, first line verbatim:TEN scenarios (three added by the bot bench — see The bench below):
An active proposal declares a value outside the vocabulary; An active
proposal declares the implemented target; An active proposal names a release
the estate defines; The scanned tree defines no release registry at all;
An archived proposal carries an off-vocabulary value; A standing declaration
is named by the register; A proposal declares the target release twice;
An entry is appended to the closed register; A register entry matches
nothing (part of the original seven, not bench-added); A proposal declares no
target release.
The bench also added three paragraphs to the requirement body, all quoted in
The bench below: a repeated declaration SHALL be refused rather than read
from its first token; closure SHALL be enforced rather than merely declared;
and a release identifier SHALL resolve against the registry the SCANNED TREE
defines, with the weaker shape-only judgment on a tree that defines none (or
whose registry directory is a symlink, D8g) required to be LOUD rather than
silent.
The code, and its before/after
scripts/target_release.py(reader/judge, reading through the SHIPPED strictloader
frontmatter_strict.py— no second parser),scripts/validate-target-release.py(CLI invalidate-scope-globs.py's shape),scripts/target-release-register.yaml(21 entries, 4 classes, CLOSED), andtests/target_release/test_target_release_gate.py(86 tests, no existingtest flipped or deleted (one renamed for a typo, round 9);
python3 -m pytest tests/target_release -q— exit 0, "86 passed").python3 scripts/validate-target-release.py .implementedorigin/mainac688c40, no gate presentfbe3ffac), afterBoth rows are the SAME validator pointed at two trees, so the only difference
between them is the tree, and the
afterrow is reproducible by running thecommand above here. The
+1active is this packet's ownproposal.md,which declares
target_release: implementedand is judged by its own gatelike every other file. The
+6implementedis that same+1plus+5: the five carriers this pull request corrects (D2) are stillnone— and so still counted
refused— onorigin/main, which has not receivedthis packet's sweep and will not until this packet lands. On both sides:
"archive (read, never judged): 161 proposals, 61 of them outside the
vocabulary".
Three exit codes, the third borrowed from
scripts/validate-openspec-cli-pin.py:0 clean; 1 an off-vocabulary declaration the register does not name (a
statement about the PROPOSAL); 2 an unusable register, or an entry that
matched nothing (a statement about the REGISTER — the exception outlived its
condition, so the archive is the event that forces re-examination).
The sweep, with the token before and after — SIX carriers, measured at the ratified head
add-composed-view-authoringnoneimplementedadd-cpc-clearing-boundarynone (no contract-bundle involvement — …implemented (no contract-bundle involvement — …add-lens-document-selectionnoneimplementedadd-substantive-review-lanenone (no contract-bundle involvement — …implemented (no contract-bundle involvement — …register-gate-rules-council-seatsnone — no contract bundle is cut by openxFactory. …implemented — no contract bundle is cut by openxFactory. …amend-kill-switch-to-declared-test-companiona code surface (in codexFactory), so per …implemented — a code surface (in codexFactory), so per …THE SIXTH ARRIVED WITH THE MERGE AND IS A DIFFERENT DEFECT. The other five
wrote a token canon does not admit; this one wrote NO token — the declaration
opens as a running sentence, so the value token is the article
a. Thecorrection supplies no judgment, because the author's own gloss already says
what
implementedmeans: "No contract bundle is cut, nothing undercontracts/moves, nocontract_bundle_versionis spent, no openxFactoryCONTRACT digest set moves and NO RELEASE TAG IS OWED."
design.mdD2a.THE LIVE-CORPUS RACE IS DISCLOSED, NOT CLOSED: a proposal landing on
mainbefore this packet merges can add a seventh, and the remedy is the same
one-token correction re-measured at that head. The gate is what makes the race
visible at all.
Custody check, taken rather than assumed: these are ACTIVE ratified packets,
not records.
record-immutabilitybindsStatus: recorddocuments only(
fam_record_immutabilityskips anything else by construction), and neitherOrigin retention at archive nor Scope retention at archive reaches
target_release:. No archive gate of the five is broken.Disclosure: none of the five names an openxFactory governing issue or pull
request in its
.openspec.yamlorigin:block — the two that name a tracker atall name codeXfactory ruling sites for the ruling that produced them, not a
governing tracker for the packet. The disclosure is therefore made HERE, in this
table, and re-stated in the packet's
design.mdD2.Gates re-run on head
c38c20a7, after the second merge frommainopenspec validate gate-realization-axis-vocabulary --strict(PATH 1.2.0)openspec validate --all --strict101 passed, 3 failed (104)— failure set IDENTICAL toorigin/main5972c8f3's own100 passed, 3 failed (103)(disposition-codexfactory-declared-renames,disposition-codexfactory-floor-relocation-retitle,disposition-codexfactory-regular-pr-council-clearance-archive— the third arrived with the merge of5972c8f3and fails onmaintoo). This change is in neither set and the item count moves by exactly onevalidate-openspec-cli-pin.py --change … --no-cache(pinned 1.12.0)1 passed, 0 failed (1 items)validate-openspec-cli-pin.py --all --no-cache102 passed, 2 failed (104), "0 UNDISPOSITIONED failures" — the two pre-existing accepted exceptions. The PINNED 1.12.0 passes one item the PATH 1.2.0 run fails: a CLI-VERSION difference, not a tree differenceproposal-support.py . verifyvalidate-sequenced-after.py .validate-sequenced-after.py . --ledger-diffvalidate-scope-globs.py .doc-health.py --single-repo .validate-target-release.py .implemented, 3 named release, 21 registered, 0 outside), exit 1 on anorigin/main5972c8f3worktree (41 active, 11implemented, 6 outside, the six named by path)pytest tests/target_release -qBoth
validate-target-release.pyrows are the SAME validator pointed at twolive trees, so the only difference between them is the tree. The
+1active isthis packet's own
proposal.md; the+7implementedis that+1plus the+6from the sweep, whichorigin/mainhas not received.mainMOVED TWICE UNDER THIS BRANCH AND BOTH MERGES ARE MEASURED, NOTASSUMED.
1f068646brought the sixth carrier, which was swept (tasks.md§ 3.18);
5972c8f3(#1004) brought a change that declaresimplemented, soD2's ruled sweep has no seventh carrier at this head (§ 3.20). The README
## OpenSpec Recordsconflict was resolved both times by keeping BOTH rows —at the second merge
main's row first and this packet's immediately after it —with no other row touched and no reflow.
ONE HONEST NEGATIVE.
pytest tests/doc-health -qfails 7 tests in thislane's clone — and fails the IDENTICAL seven, with identical counts (7 failed,
1717 passed, 1 skipped), on an unmodified
origin/main1f068646worktree inthe same shell. They are this environment's, not this branch's, and this packet
touches none of those modules. The authoritative full-suite figure is this pull
request's own required
pytest-suiterun, which is wheretasks.md§ 4.10 issettled; no local full-suite pass is claimed here.
What this pull request does NOT do
## MODIFIEDblock, so nomarker is owed.
"aggregation repository" wording, or gate
code_surface:— three successorsnamed in
tasks.md§ 6.code_surfaceis non-empty, so thearchive is a separate act on merged-plus-green realization evidence and a
separate word, and openxFactory 956 is closed THERE — by a closing keyword
written in the archive pull request and in no commit message on this branch.
The bench — TEN Copilot rounds since the draft opened, 29 threads, ALL 29 TAKEN, none refused
Every thread was a real defect, each was reproduced on a built tree before it
was fixed, and each fix is pinned by refusal tests that fail against the code
as it stood. Tests 32 → 79. Full reasoning in
design.mdD8 / D8b / D8c/ D8d / D8e / D8f / D8g / D8h / D8i / D8j and
tasks.md§ 3.7 / § 3.9 /§ 3.10 / § 3.11 / § 3.12 / § 3.13 / § 3.14 / § 3.15 / § 3.16 / § 3.17 /
§ 3.19.
ROUND 10 (
9bd30e63, four threads, all four TAKEN, none reopening D1/D2/D3)arrived one minute after the previous freeze and is answered on the ratified
head. Two were already answered by the ratification's own re-measurement and are
named rather than quietly ticked:
tasks.md§ 4.6's stale39 active / 9 declaringnow reads 41 / 11, and § 4.9's stale 200 ledger rows nowreads 204. The third is a REAL CODE ESCALATION and the third in its family:
_proposalsfound active declarations with a barePath.is_file(), whichFOLLOWS SYMLINKS, so a committed
proposal.mdsymlink — or an ordinaryproposal inside a symlinked CHANGE DIRECTORY, or under a symlinked
openspec/—was read, judged and counted as the scanned tree's own, with
declaration()opening bytes outside
repo_root, while a DANGLING link removed a proposal fromthe corpus instead. D8g closed this for the registry's leaf and D8i at every
ancestor; the discovery walk was the same surface, untested. A new
_unescapedhelper is D8i's test generalized — a path counts only when resolving every
symlink between
repo_rootand it lands where a symlink-free tree would haveput it,
repo_rootresolved on both sides — and_proposalstakes every path,active and archived, through it. Five tests (74 → 79), THREE measured
failing with the fix stashed and passing restored, TWO pinned as boundaries that
pass either way. On the real corpus the fix moves nothing (41 active, 163
archived, before and after), which is the point. The fourth is this description,
rebuilt here.
Round 1 —
b88ea425(two threads, both real code findings in this packet'sown new code):
resolves_as_releasematchedRELEASE_ID_REon the no-registry branchONLY, so with a registry present the author-controlled token went straight
into the lookup. Measured:
target_release: ../elsewhereresolved(True, True)against a plantedcontracts/elsewhere.digests.yamland thescan reported 0 findings, 1 a named release; a planted
contracts/releases/none.digests.yamldid the same for the bare wordnone— the value this gate exists to refuse. The shape is now the FIRSTtest in EVERY branch.
loader.
_REQUIRED_ENTRY_KEYSomittedcited_to. Measured:load_registeraccepted an entry with no citation at all. It is now arequired key, shape-checked as a non-empty list of non-empty strings.
Swept for both classes and two more found: a register entry's
change:is resolved under
openspec/changes/and is now shape-checked as onedirectory segment; the CLOSED class set lived inside one corpus test and is
now enforced by the loader for every tree.
Round 2 —
989c7059(four threads):3. A repeated declaration was half-read.
target_release:is a PROSEheader, and the shared loader JOINS a repeat rather than refusing it as the
duplicate key a STRUCTURED field's repeat would be. Measured:
implementedthennonecame back as one joined string and tokenized asimplemented— two declarations shown, the first authorized. Refused byname now, on the value the loader returned; the shared loader is not edited
and no second parser is written.
4. + 5. The CLOSED register was not closed (the requirement's text and the
loader's code, two threads, one defect). Every new
(change, token)pairwas accepted, so a later pull request could have appended an exception and
kept the gate green with no change to this specification — the register
reproducing the defect it was built to close.
CLOSED_REGISTERnow recordsthe 21 pairs at this gate's landing and the loader refuses an entry the
baseline does not carry.
6. Two completed tasks were left unticked (§ 4.9 and § 4.11). Both ticked,
each on the output it was ticked for, each naming the commit that did the
work.
Round 3 —
d980e04e(two threads):7. The release-id shape was narrower than the estate's own — and round 1 is
what made that matter.
contracts/releases/release-digest-inventory.schema.yaml$defs.bundle_tagadmits two OR three components;RELEASE_ID_REadmittedtwo. Measured: 47 inventories under
contracts/releases/at the time(recounted in round 5 as 53), all two-component, so the defect was
latent, not standing. The pattern is now the schema's, RESTATED rather
than imported, with the equality asserted by a test that READS the schema.
8. The README row's test figure was stale (32 where the packet said 46).
Corrected, and re-measured again since. Now a rule rather than a habit: a
count moves in ALL of its sites in the SAME commit.
Round 4 —
5a25669c(five threads):9. + 10. The shape-only fallback contradicted the requirement's own MUST.
ENCODED, not removed: the requirement gains a paragraph and a new
scenario, The scanned tree defines no release registry at all; loudness
is TESTED.
11. The repeat guard was over-broad and caught an INDENTED gloss line as a
duplicate. Pattern now anchored at column 0.
12. + 13. The inventories were stale (scenario count, test count) —
corrected.
Round 5 —
3a4ba5a2(three threads, one a figure the bench itselfinvented):
14. "47 inventories" was a number nobody counted. Recounted:
ls contracts/releases/*.digests.yaml | wc -l→ 53.15. The before/after table was not reproducible from its own command —
labelled by TREE instead of a static pair.
16. A missing newline hid a task — split into its own checklist item.
The merge, mid-bench:
origin/main34bb5c71(PR #945) merged ated34af9b. Only conflict was the README## OpenSpec Recordsblock; bothrows kept.
FIRST FREEZE,
ed34af9b: five rounds, 16 threads, all taken, 0 unresolved.Round 6 (post-freeze) —
e670cf30/378eb3c3/895f2569(three formalthreads, plus one suppressed-comment correction, plus one reopened symlink
finding — five items, all TAKEN):
17. The description was stale — reported 59 tests / 32→59 while the tree
said 62. Rebuilt (repeatedly since).
18.
design.mdrecorded a roundtasks.mdhad not caught up to — aledger entry added mirroring the grammar.
19. A suppressed Copilot pass caught a real miscount: the bench was said
to have added FOUR scenarios; only THREE are bolded. Corrected in
378eb3c3.20. The symlinked-FILE finding, disclosed and declined in
378eb3c3asoutside that commit's ledger-only scope, reopened as a formal thread on the
very next push (
PRRT_kwDOTAvnrs6hgEM5) — a real finding does not stopbeing real for having been named once already. TAKEN in
895f2569:resolves_as_releaserefuses a candidate inventory that is a symlink,restating
scripts/hermes_runtime_validation/release.py's own guard.THREE tests (62 → 65): a symlinked inventory does not resolve; one planted
outside the tree does not resolve either; a REGULAR inventory beside a
symlinked one for a different token still resolves.
SECOND FREEZE,
895f2569: 19 threads, 0 unresolved.Round 7 — merge +
08c4f5b9(two threads, both TAKEN):origin/mainmoved to
ac688c40(PR #960 landed); merged, keeping both README rows andboth corpus-ledger rows.
21. The DIRECTORY holding the release registry could itself be a symlink,
and only the candidate FILE was ever checked.
Path.is_dir()followssymlinks the same way
Path.is_file()does, so a committedcontracts/releasesDIRECTORY symlink pointing outside the tree resolvedas a PRESENT registry, and a REGULAR file reached only through it was never
itself a symlink — round 6's file-level guard never saw anything to
refuse. TAKEN as
design.mdD8g: a shared_registry_presenthelper nowchecks the directory too, treating a symlinked directory exactly as a
missing one (the existing, documented shape-only fallback). THREE tests
(65 → 68): a symlinked directory resolves on shape alone with
registry_presentFalse; an empty symlinked directory and one holding agenuine matching inventory resolve identically; the gate prints the same
shape-only note end to end. Measured with the fix stashed: all three fail;
restored, 68 passed.
22. This pull request's own description still told the ROUND 6 story as
"disclosed but left open," contradicting the ledger's own TAKEN record.
TAKEN: this description is that rebuild — every count re-measured, the
bench told as one continuous sequence through round 8.
Round 8 —
38cf0ec3, on round 7's own push (two threads, both TAKEN,neither a re-litigation of D1–D3):
23. D3 still quoted the PRE-round-3 release-id shape
(
^contract-v\d+\.\d+$, two components only), three rounds after round 3widened
RELEASE_ID_REto two-or-three. TAKEN asdesign.mdD8h (p): D3now quotes the current pattern and cites round 3.
24.
tasks.md§ 4.1 andproposal.md's own before/after table had stoppedmoving — pinned to
origin/main 38c076d1and a count several roundsstale, while
origin/mainitself had since moved twice more. TAKEN asdesign.mdD8h (q): re-recorded against a freshorigin/main ac688c40(40 active / 11
implemented/ 5 outside) versus this tree (41 active /17
implemented/ 0 outside), with the+1/+6delta explained in fullthis time — including catching and correcting an inaccuracy in round 6's
own explanatory prose (it named its own table's delta "+1/+1" while the
table read a
+6).Round 9 —
fbe3ffac, on round 8's own push (two threads, both TAKEN):25. THE LEAF-DIRECTORY GUARD ROUND 7 ADDED CLOSED THE ESCAPE AT ONE
COMPONENT AND LEFT EVERY ANCESTOR OPEN.
_registry_presentcheckedcontracts/releasesitself for symlink-ness, but a committedcontracts/symlink — one level further up — reaches the identical escape through a
contracts/releasesthat is a perfectly ordinary, unsymlinked path:ordinariness is a property of the ONE component checked and says nothing
about what carried a reader there. TAKEN as
design.mdD8i (r):_registry_presentno longer asks "is the leaf a symlink" but "doesresolving every symlink between
repo_rootand the registry land you backwhere a symlink-free tree would have put you"
(
registry.resolve(strict=True) == repo_root.resolve(strict=True) / RELEASE_REGISTRY_DIR), which SUBSUMES the leaf case rather than sittingbeside it and catches a symlink at any component in between.
repo_rootitself is resolved on both sides, so its own symlink-ness is NOT mistaken
for the escape — a test pins that boundary explicitly. Two tests (68 →
70): a symlinked
contracts/ancestor treated exactly as absent;repo_rootitself symlinked still resolves. Measured with the fixstashed: the ancestor test fails against the code as it stood (the same
over-trusting result one level down); restored, 70 passed.
26. A round-7 test name carried a typo (a dropped possessive
apostrophe). TAKEN: renamed
(
test_a_symlinked_registry_directorys_contents_grant_no_extra_trust→test_a_symlinked_registry_directory_contents_grant_no_extra_trust); noother file cited the old name.
Codex: requested once at 12:43Z; the reply at 12:43:36Z was a usage-limit
notice and therefore an ABSENCE, recorded as such. No second request was made,
on this round or any later one.
Sourcery: posted its guide/summary stub only.
Still owed on this pull request
tasks.md§ 4.10 — the fullpytest tests/ -qcount, before and after. Theauthoritative figure is this pull request's own required
pytest-suiterunat the merge ref. The box stays open rather than ticked on an estimate.
tasks.md§ 4.12 — the bot bench. Left open: ten rounds and 29 threads havebeen disposed as of
9bd30e63, but the box does not tick until a reviewround returns with nothing left to take or dispose.
and are Brett Heap's acts, not this lane's. § 1 IS NO LONGER OWED — it was
ruled on 2026-09-12 and is ticked.
§ 4.9 (the sweep-ledger row) and § 4.11 (the README active row) were DISCHARGED
in
13ff6162and are ticked with the output each was ticked on; § 4.11's rowmoved to the ratified standing in
d002f85dand § 4.9's figure was re-measuredto 204 rows at the ratified head.
refs #956, refs #931
🤖 Generated with Claude Code