Skip to content

RATIFIED (accept all A on 1022): add-target-release-deferred-allocation — the third target_release value (deferred bundle allocation), the successor question gate-realization-axis-vocabulary named - #1022

Merged
brettheap merged 9 commits into
mainfrom
change/add-target-release-deferred-allocation
Sep 13, 2026

Conversation

@brettheap

@brettheap brettheap commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Lane: hermes-wallet-exercise

RATIFIED — "accept all A on 1022"

Brett Heap, openxFactory repository owner, 2026-09-13T01:0xZ, in session,
verbatim: accept all A on 1022
— a MULTIPLE-CHOICE ruling over all ten
decisions this packet put (proposal.md § Open questions OQ-1 … OQ-10;
design.md D1 … D10). Every one at (a), the RECOMMENDED option, which is
what the delta already encoded:

ruled (a)
OQ-1 token spelled deferred-allocation, the register's own class word
OQ-2 the widening written into BOTH promoted requirements, ## MODIFIED, paying sequenced_after: [add-structured-scope-substrate]
OQ-3 a deferred change may NOT archive; the archiving act resolves the token first
OQ-4 canon-enforced at the archiving act; the validator REPORTS and refuses nothing there
OQ-5 the resolving edit MUST cite the cut it observed
OQ-6 declarable only by a non-empty code_surface: that cuts a bundle
OQ-7 the twelve standing register entries are NOT swept; only the class NOTE moves
OQ-8 this packet's own target_release: stays implemented
OQ-9 #1017 is not edited here — its lane's one-line act after this lands
OQ-10 the realization rides in THIS pull request

SO THE DELTA MOVED NOT ONE BYTE, PROVEN BY DIFF RATHER THAN ASSERTED:
git diff --stat -- openspec/changes/add-target-release-deferred-allocation/specs/
across the ratification commit 0dbbefa7 is empty (0 files). Each
recommendation was re-verified against the encoded delta before the commit.

Encoded per the encode-wallet-authority-rulings-r6-r12 precedent (4630d689):
Status: ratified + a citation line on proposal.md / design.md / tasks.md;
a ten-row ## Rulings table; ten — RULED (a), 2026-09-13T01:0xZ D-header
markers; approved_by / approved_on ADDED BESIDE the untouched drafting
pair (add-drafted-proposal-origin's shape); a new
review/ratification-2026-09-13.md; tasks.md § 1.1–1.4 ticked; the README
OpenSpec Records row moved to the ratified form. The instant is recorded
01:0xZ — the precision the word was taken at, never invented finer, the same
house form this packet's filing provenance uses ("approximately 00:5xZ").

Nothing is promoted and nothing closes. No file under openspec/specs/ is
edited, CLOSED_REGISTER does not move and no register ENTRY is added, the
twelve carriers are not swept, nothing under contracts/ or governance/
moves, and #1017's tree is untouched. tasks.md § 5 (archive) stays open behind
merged-plus-green realization evidence and its own word. Merge is a separate
word
— given, merge 1022 when green — and Rule 6 applies at landing.

pytest-suite was RED at 4a993944, and why

Five failures in two modules, both of them the corpus bookkeeping every change
owes for the rows it moves, neither a defect in this packet's content. Fixed
in 7ce4bf3e after re-levelling onto origin/main 3cf8b0bb (19735d5b,
0 conflicts):

  • tests/sequenced_after/corpus-ledger.yaml — re-seeded with the designed
    remedy, validate-sequenced-after.py . --seed-ledger --moved-by '#1022', which
    moved exactly two rows: a new row for this change (active, co-modifier,
    declares: [add-structured-scope-substrate], depth 1) and
    gate-realization-axis-vocabulary sole → co-modifier, because this
    packet's two ## MODIFIED blocks write the two requirement keys that archived
    packet wrote. Four of the five failures were that one fact read four ways.
  • tests/doc-health/test_modified_block_currency_self_gate.py — two subjects
    added to _LEDGER_SUBJECTS, which is compared with == and reds for every
    lane until a new INFO subject is named. The family reports one uncarried
    body unit in each of this packet's two blocks, and in both it is the same
    two-value enumeration sentence this packet widens
    (1 of 6, and 1 of 51) —
    canon states the vocabulary twice and a packet admitting a third value cannot
    restate either verbatim without falsifying its own delta. The rows carry that
    reasoning and their retirement condition.

Validation on the ratified tree

check result
openspec validate add-target-release-deferred-allocation --strict valid
openspec validate --all --strict 103 passed / 3 failed (106) — the three pre-existing disposition-codexfactory-*, zero new
python3 scripts/validate-sequenced-after.py . passed (44 active, 12 declaring); --ledger-diff consistent
python3 scripts/validate-target-release.py . exit 0

The ruling this stands on

Brett Heap, multiple choice, 2026-09-13 at approximately 00:5xZ, verbatim:

(b) Author the 'deferred' vocabulary value first

Chosen over ruling implemented acceptable on #1017 despite its bundle
involvement, over a reviewed addition to the CLOSED register naming #1017, and
over holding #1017 until a real bundle cut. That word commissioned the
AUTHORING and ratifies no wording
— every document here carries
Status: draft and .openspec.yaml carries drafting provenance with no
approval pair.

The gap, quoted rather than characterized

scripts/target-release-register.yaml, the class note over its twelve
deferred-allocation entries:

The declaration names a release that EXISTS but is deliberately unnumbered,
because the bundle's version is allocated at the cut. Under the promoted
two-value sentence there is no spelling for "a release, not yet numbered", so
an author obeying the versioning policy cannot also satisfy the vocabulary.
Whether canon should admit a deferred allocation as a third value is the
successor question this packet names and does not take.

The rule those twelve authors are obeying — docs/contract-versioning-policy.md
§ Bundle Realization Order, first line:

Contract-bundle realization is serialized and allocates versions late:

  1. Fetch and rebase onto the final integration point, then immediately recheck
    bundle/tag availability and allocate the next available version.

Why it cannot be a validator edit — openspec/specs/release-realization/spec.md
§ Realization axis vocabulary is gated:

The register SHALL be CLOSED: … and admitting a NEW value to the vocabulary
SHALL be a change to this specification
rather than an addition to the
register.

This is that change to that specification. gate-realization-axis-vocabulary
tasks.md § 6.1 names the remedy in the same words and declines to author it:
"a ## MODIFIED block over Realization axis declaration, sequenced after
add-structured-scope-substrate, and it is not authored here."

What forced it now

The gate is a RATCHET — the register is the corpus as it stood on 2026-09-12 —
so a proposal authored AFTER it, obeying the versioning policy exactly as the
twelve do, has no entry and no lawful spelling. One exists: #1017
(encode-wallet-authority-rulings-r6-r12), RATIFIED (accept all A on 1017),
READY, merge word already given, and RED on:

tests/target_release/test_target_release_gate.py::test_corpus_target_release_validates
  …/encode-wallet-authority-rulings-r6-r12/proposal.md: `contract` is outside
  the ratified vocabulary — `implemented` or a release this estate defines

All three escapes are foreclosed by ratified rules: implemented would be false
(its own code surface moves digest_subject bytes), a literal contract-vX.Y
would reserve a minor the policy allocates at the cut, and the register is closed.

What this PR contains

OpenSpec packet — .openspec.yaml, proposal.md, design.md (D0–D10),
tasks.md, and a release-realization delta with two ## MODIFIED
requirements
: Realization axis declaration (pre-text from
add-structured-scope-substrate's OUTCOME, sequenced_after declared) and
Realization axis vocabulary is gated.

Realization, IN THIS SAME PR — because the precedent did exactly that
(gate-realization-axis-vocabulary: non-empty code_surface, validator +
register + tests in the ratification PR, archiving later on merged-plus-green).
scripts/target_release.py admits deferred-allocation before the register
lookup, counts it on the report, and counts archived records still carrying it
unresolved — reported, never refused. CLOSED_REGISTER does not move and
no entry is added. 10 new tests (86 → 96 passing).

Open questions — accept all A on <n> ratifies and moves not one byte

# decision (a) RECOMMENDED — already encoded
OQ-1 the token's spelling deferred-allocation — the register's OWN ratified class word, so value and class are one word and retirement is mechanical; follows the repository-bootstrap compound idiom; cannot be read as a work state the way a bare deferred can
OQ-2 where the widening is written BOTH promoted requirements. Both carry the enumeration; moving one leaves canon contradicting itself. Pays sequenced_after: [add-structured-scope-substrate]
OQ-3 may a deferred change archive? NO — the archiving act resolves the token to the literal the cut allocated, or to implemented where no bundle was cut
OQ-4 how that is enforced Canon at the archiving act; the validator REPORTS and refuses nothing in the archive — refusing would contradict the promoted "SHALL refuse nothing there"
OQ-5 must the resolving edit cite the cut? YES — names the bundle version and its release surface, so the number is OBSERVED
OQ-6 who may declare it Only a non-empty code_surface: that cuts a bundle — otherwise it becomes the second none
OQ-7 the twelve standing entries NOT swept here — each retires on its own packet's correction, the entry deleted in that same PR by the stale refusal that already exists. Only the class note moves
OQ-8 this packet's own target_release: implemented — its surface is a validator and tests, it cuts no bundle, so deferred-allocation would be false under its own new rule
OQ-9 #1017 Not edited here — its lane makes the one-line correction after this lands
OQ-10 where the realization lands This PR — a split would leave canon admitting a value no validator accepts, so #1017 would stay red after ratification

Options (b) and (c) with their costs are in proposal.md § Open questions and
design.md D1–D10.

What happens to #1017 after this lands

One line, by #1017's own lane: its target_release: value token becomes
deferred-allocation, prose gloss preserved verbatim — the correction method
gate-realization-axis-vocabulary D2 used for its own six. pytest-suite then
goes green and merge 1017 when green, already given, applies to that head
unchanged.

Validation, measured on this head

check result
openspec validate add-target-release-deferred-allocation --strict valid
openspec validate --all --strict 104 passed / 3 failed (107) — the same three pre-existing disposition-codexfactory-* failures as main, zero new
python3 scripts/validate-sequenced-after.py . passed (45 active, 13 declaring); all three arms
python3 scripts/validate-target-release.py . exit 0 — 45 active, 21 implemented, 3 a named release, 0 deferred-allocation, 21 registered, 0 refused
python3 -m pytest tests/target_release -q 96 passed (was 86)

origin/main a1429885 for comparison: exit 0, 44 active, 20 implemented, 3 a
named release, 21 registered, 0 refused. The +1/+1 is this packet's own
proposal, judged by the gate it amends. The deferred-allocation column is 0
on purpose
— this change admits the value and declares no packet into it.

#1017's finding is NOT cleared by this PR and remains until that packet's own
one-line correction; this PR does not touch its proposal.md.

Rule 6

This PR touches openspec/changes/ and the README OpenSpec Records block, so at
landing the lane posts LANDING — lane hermes-wallet-exercise, … on this PR and
in LANES.md, and holds for any earlier LANDING into openxFactory main. It is
DRAFT and held, so no LANDING is owed or posted yet.

DRAFT HELD for Brett Heap's ratification.

🤖 Generated with Claude Code

Summary by Sourcery

Admit deferred contract-bundle allocation as a governed target-release value and add matching validation, reporting, documentation, and test coverage without altering the closed register or existing consumers.

New Features:

  • Add deferred-allocation as a supported third target_release vocabulary value for contract bundles whose versions are allocated at cut time.
  • Report unresolved deferred-allocation declarations in archived records without treating them as validation failures.

Bug Fixes:

  • Allow ratified changes that require deferred bundle version allocation to pass target-release validation, unblocking their downstream consumers.

Enhancements:

  • Update release-realization requirements to define the deferred value, restrict it to bundle-producing code changes, and require resolution with evidence before archiving.
  • Preserve the closed grandfather register and document retirement of existing deferred-allocation entries through their owning changes.
  • Improve modified-block reporting for requirements authored over active sibling changes.
  • Update sequencing and documentation ledgers for the new co-modifying change.

Documentation:

  • Add the OpenSpec proposal, design, tasks, ratification record, and README record for the new target-release vocabulary.

Tests:

  • Add coverage for deferred-allocation validation, reporting, archive handling, register behavior, and closed-baseline preservation.

brettheap and others added 4 commits September 12, 2026 20:59
…lease value)

Scaffold only. The successor question gate-realization-axis-vocabulary named
and did not take: a third vocabulary value for a change whose realization
lands in a contract bundle whose number is not yet allocatable.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…, origin

The third `target_release:` value. Two `## MODIFIED` blocks over
release-realization — *Realization axis declaration* (pre-text from
add-structured-scope-substrate's outcome, sequenced_after declared) and
*Realization axis vocabulary is gated* — admitting `deferred-allocation`
for a change whose realization lands in a contract bundle whose number
the versioning policy allocates at the cut.

Ten open questions, recommendation first in each; the delta already
encodes every recommendation.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…the third value

scripts/target_release.py gains DEFERRED_ALLOCATION beside IMPLEMENTED,
admitted in scan() BEFORE the register lookup so the value is vocabulary
and never a grandfathered exception; a deferred count on the report; and
a separate count of archived records still carrying it unresolved,
REPORTED and never refused (the promoted requirement says the gate
"SHALL refuse nothing there").

CLOSED_REGISTER does not move: this admits a VALUE, not an ENTRY, which
is the distinction the promoted sentence draws. The register's
deferred-allocation class note records that the admission retires none
of the twelve standing entries by itself.

10 new tests (86 -> 96 passing).

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
…tion

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 13, 2026 01:13
@sourcery-ai

sourcery-ai Bot commented Sep 13, 2026

Copy link
Copy Markdown

Reviewer's Guide

This draft OpenSpec change introduces deferred-allocation as a specification-level third target_release value, implements matching validator/reporting behavior in the same PR while leaving the closed register and existing consumers untouched, and adds tests and documentation for ratification and later resolution before archiving.

Sequence diagram for deferred target release resolution

sequenceDiagram
    participant Author
    participant Validator
    participant BundleCut
    participant Archive

    Author->>Validator: scan()
    Validator-->>Author: Accept deferred-allocation
    Author->>BundleCut: Cut contract bundle
    BundleCut-->>Author: Allocate bundle version
    Author->>Archive: Resolve target_release to named release
    Archive-->>Validator: Report archived records
    Validator-->>Archive: Never refuse archived record
Loading

Flow diagram for deferred-allocation validation

flowchart TD
    A[Read target_release] --> B{Token is implemented?}
    B -->|Yes| C[Count implemented]
    B -->|No| D{Token is deferred-allocation?}
    D -->|Yes| E[Count deferred-allocation]
    D -->|No| F{Resolves to named release?}
    F -->|Yes| G[Count named release]
    F -->|No| H[Report vocabulary finding]
    E --> I[Continue without register lookup]
    C --> J[Validation report]
    G --> J
    I --> J
    H --> J
Loading

File-Level Changes

Change Details Files
Adds deferred-allocation as a third target_release vocabulary value for contract bundles whose version is allocated at cut time, while preserving the closed exception register.
  • Updates both promoted release-realization requirements with the new value and its lifecycle constraints.
  • Adds sequencing metadata and drafting provenance for the OpenSpec change packet.
  • Documents the ten design decisions, non-goals, ratification steps, and follow-up ownership for existing consumers.
openspec/changes/add-target-release-deferred-allocation/.openspec.yaml
openspec/changes/add-target-release-deferred-allocation/proposal.md
openspec/changes/add-target-release-deferred-allocation/design.md
openspec/changes/add-target-release-deferred-allocation/tasks.md
openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md
Extends target-release validation to recognize, report, and test the deferred allocation value without treating it as a grandfathered register exception.
  • Admits deferred-allocation before register lookup and tracks active declarations separately.
  • Reports unresolved archived deferred declarations without refusing archived records.
  • Keeps the closed register baseline and its twelve standing entries unchanged.
  • Adds coverage for token admission, gloss handling, reporting, archive behavior, and register invariants.
scripts/target_release.py
scripts/validate-target-release.py
scripts/target-release-register.yaml
tests/target_release/test_target_release_gate.py
Registers the draft proposal in the repository's OpenSpec records index with its rationale, scope, and ratification status.
  • Adds a detailed active-change entry identifying the packet as draft and held.
  • Records that no other packet, contract artifact, release number, or register entry is changed by this PR.
README.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved specification, archive-gate, code-surface, register, and test issues require changes before approval.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds a draft OpenSpec change defining deferred-allocation as a third target_release value, with validator, reporting, documentation, and test updates.

Changes:

  • Extends release-realization specifications and draft metadata.
  • Adds deferred-allocation handling and reporting.
  • Updates register documentation, README records, and tests.
File summaries
File Summary
tests/target_release/test_target_release_gate.py Adds deferred-allocation validation and reporting tests; fixture coverage requires updates.
scripts/validate-target-release.py Reports deferred-allocation metrics.
scripts/target-release-register.yaml Documents deferred entries; retirement and historical wording need reconciliation.
scripts/target_release.py Adds deferred-token handling; code-surface validation and historical documentation need updates.
README.md Adds the active OpenSpec record; stale historical wording needs correction.
openspec/changes/add-target-release-deferred-allocation/tasks.md Records ratification and implementation tasks.
openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md Defines the new value and archive rules; conflicting requirements need resolution.
openspec/changes/add-target-release-deferred-allocation/proposal.md Documents scope, rationale, and open questions.
openspec/changes/add-target-release-deferred-allocation/design.md Records design decisions and alternatives.
openspec/changes/add-target-release-deferred-allocation/.openspec.yaml Records draft provenance and related changes.
Review details

Suppressed comments (4)

README.md:545

  • This active-record text repeats the old "successor ... did not take" wording and its stale quote, then immediately says the packet admits the third value. That makes the repository's OpenSpec index contradict the packet's current state; change this historical reference to say the gap was named and is now taken.
  no wording. **THIS IS THE SUCCESSOR `gate-realization-axis-vocabulary` NAMED
  AND DID NOT TAKE** (that packet's `tasks.md` § 6.1, and the
  `deferred-allocation` class note in its own register: *"Whether canon should
  admit a deferred allocation as a third value is the successor question this
  packet names and does not take."*). It admits **`deferred-allocation`** as the

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:170

  • Because deferred-allocation is neither implemented nor a resolving release, it satisfies this WHEN, after which the next line requires the validator to fail. That contradicts the admitted-token scenario at lines 214–217; include the third token in this outside-vocabulary condition.
- **WHEN** an active change's `proposal.md` declares a `target_release:` whose value token is neither `implemented` nor a release identifier that resolves, and the register does not name it

scripts/target-release-register.yaml:66

  • The old sentence immediately above still says this packet "does not take" the successor question, while these new lines say the successor was taken. The canonical register is therefore self-contradictory (and the README repeats the stale wording); rewrite the historical sentence before adding the current-state note.
  # THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
  # `deferred-allocation` as the third value of the vocabulary, and the entries
  # below each carry `retires_when: canon admits a deferred allocation, …`.

scripts/target_release.py:13

  • The module docstring still says that no script, test, or workflow gates the value, but this same change adds the scan() branch and corpus test that gate it. After this change lands, that sentence gives readers the opposite of the module's behavior; update the paragraph to describe the pre-admission state as historical.
`add-target-release-deferred-allocation`: this module's first version judged the
two-value sentence, and the register below names the twelve active packets that
could not satisfy it without breaking `docs/contract-versioning-policy.md`
§ Bundle Realization Order. Measured
  • Files reviewed: 10/10 changed files
  • Comments generated: 4
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +219 to +222
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards
Comment on lines +64 to +68
# THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
# `deferred-allocation` as the third value of the vocabulary, and the entries
# below each carry `retires_when: canon admits a deferred allocation, …`.
# THE ADMISSION DOES NOT BY ITSELF RETIRE ONE OF THEM, and the distinction is
# the register's own: an entry names the VALUE TOKEN ITS AUTHOR ACTUALLY
Comment thread scripts/target_release.py
Comment on lines +702 to +706
if token == DEFERRED_ALLOCATION:
# VOCABULARY, judged BEFORE the register lookup so the value can
# never be mistaken for a grandfathered exception on the report.
inside_deferred += 1
continue
Comment on lines +998 to +1002
def test_the_deferred_allocation_token_is_admitted(tmp_path):
"""The whole point: an active proposal may declare it and pass."""
_proposal(tmp_path, "a-bundle-change",
"target_release: deferred-allocation")
result = _run(tmp_path, _register(tmp_path))
Re-level onto main before the pytest-suite ledger repair, so the corpus
measurements are taken on the tree the merge will carry.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 01:38
The gate read RED on `4a993944` for five tests in two modules, both of them
the bookkeeping every change owes for the rows IT moves, and neither a defect
in the packet's content.

`tests/sequenced_after/corpus-ledger.yaml` — re-seeded with
`validate-sequenced-after.py . --seed-ledger --moved-by '#1022'`, which moved
EXACTLY TWO ROWS and left every other row's provenance untouched:
  * `add-target-release-deferred-allocation`, a new row — active,
    `co-modifier`, `declares: [add-structured-scope-substrate]`, depth 1;
  * `gate-realization-axis-vocabulary`, `sole` -> `co-modifier`, because this
    packet's two `## MODIFIED` blocks write the two requirement keys that
    archived packet wrote, which is a two-party flip by definition.
The four `tests/sequenced_after/test_sweep.py` failures were all one fact read
four ways (missing row, stale row, derived totals, `--ledger-diff` exit code).
`--ledger-diff` now reports the ledger consistent with the corpus.

`tests/doc-health/test_modified_block_currency_self_gate.py` — two subjects
ADDED to `_LEDGER_SUBJECTS`, which is compared with `==` and so reds for every
lane until a new INFO subject is named. The family reports one uncarried body
unit in each of this packet's two blocks, and in both it is THE SAME TWO-VALUE
ENUMERATION SENTENCE the packet widens: canon states the `target_release:`
vocabulary twice (the author's declaration rule, and the gate's refusal rule)
and a packet admitting a third value cannot restate either verbatim without
falsifying its own delta. The rows carry that reasoning, the unit counts
(1 of 6, 1 of 51), and their retirement condition; the test docstring's count
narrative moves 14 -> 16 with them.

Measured on this tree, post re-level onto `origin/main` `3cf8b0bb`:
`pytest tests/doc-health/test_modified_block_currency_self_gate.py
tests/sequenced_after/ -q -m "not postgres"` -> 305 passed.

No normative byte moves: no proposal, design, spec delta or validator source
is touched by this commit.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Critical specification and ledger issues, plus unresolved archive, eligibility, register, and test inconsistencies remain.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (4)

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:222

  • The new requirement says an unresolved deferred-allocation proposal MUST NOT be archived, but the actual archive wrapper does not enforce that rule: scripts/proposal-support.py:3101-3133 checks origin/tasks and only invokes the pinned OpenSpec validator, never this target-release gate or a deferred-resolution check. An active packet can therefore be moved into the frozen archive with the unresolved token, contrary to the rule this change adds. Add a pre-archive refusal/resolution check and tests for the archive path.
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards

scripts/target-release-register.yaml:73

  • The new note says admitting the vocabulary value does not retire these entries, but all twelve retires_when fields still begin with canon admits a deferred allocation (for example at lines 87-89). That leaves required register metadata claiming the entries retire on this PR while the note says they remain live. Update the standing entries to retire only on their own correction/archive event, keeping the admission as historical context if needed.
  # THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
  # `deferred-allocation` as the third value of the vocabulary, and the entries
  # below each carry `retires_when: canon admits a deferred allocation, …`.
  # THE ADMISSION DOES NOT BY ITSELF RETIRE ONE OF THEM, and the distinction is
  # the register's own: an entry names the VALUE TOKEN ITS AUTHOR ACTUALLY
  # WROTE — `THE`, `next`, `the`, `contract-v<next` — and not one of those is
  # `deferred-allocation`. So each entry stays LIVE and MATCHING until its own
  # packet corrects its declaration to the admitted token; on that correction
  # the entry stops matching, the run refuses with the stale status, and the
  # entry is deleted in the SAME pull request that made it stale. That is the

scripts/target_release.py:706

  • This branch admits deferred-allocation solely from the token and never inspects code_surface:. A doc-only proposal (including one with code_surface: none, or with the field omitted and the promoted default) therefore passes, although the new requirement restricts this value to non-empty bundle changes. Reject the invalid surface here or add the missing machine-readable bundle-eligibility check before counting the token.
        if token == DEFERRED_ALLOCATION:
            # VOCABULARY, judged BEFORE the register lookup so the value can
            # never be mistaken for a grandfathered exception on the report.
            inside_deferred += 1
            continue

tests/target_release/test_target_release_gate.py:1001

  • This fixture omits code_surface:, so the promoted default makes it a doc-only proposal, yet it asserts that deferred-allocation passes. That codifies the forbidden case from the new requirement; make the positive fixture declare a non-empty surface and add a refusal case for a missing or none surface.
    _proposal(tmp_path, "a-bundle-change",
              "target_release: deferred-allocation")
  • Files reviewed: 12/12 changed files
  • Comments generated: 3
  • Review effort level: Lite

---
code_surface: openxFactory — `scripts/target_release.py` (the reader and judge: a third admitted token beside `implemented`, a `deferred_allocation` counter on the report, and an archived-unresolved count), `scripts/target-release-register.yaml` (its `deferred-allocation` class note, amended to record that canon now admits the value and that each standing entry retires on its own packet's correction) and `tests/target_release/test_target_release_gate.py` (new unit tests for the third value, the corpus gate re-run). NOTHING UNDER `contracts/` IS TOUCHED, no digest set moves, no schema member is added, no workflow changes (the required `pytest-suite` already runs `tests/`), and the `CLOSED_REGISTER` baseline does not move — this change admits a VALUE, and admits no ENTRY. No other packet's `proposal.md` is edited: the twelve standing `deferred-allocation` carriers are left to their owning lanes (OQ-7), and openxFactory #1017 — the first consumer, blocked today — is left to its own lane (OQ-9).
target_release: implemented (the openxFactory main line). THIS CHANGE CANNOT DECLARE THE VALUE IT ADMITS, and the reason is the admission's own rule rather than a timing accident: its code surface is a validator, a register note and a test, it cuts no contract bundle, nothing under `contracts/` moves, no `contract_bundle_version` is spent and no release tag is owed — so `deferred-allocation` would be a false declaration under the very sentence this packet writes. `gate-realization-axis-vocabulary` declared `implemented` for exactly this reason and wrote the reason into the register's own header: an exception file that could not be edited without cutting a contract release would be edited late or not at all. Under `release-realization` a non-empty code surface archives on MERGED-PLUS-GREEN REALIZATION EVIDENCE rather than on landing, so this packet realizes through its own task list in this pull request and its realization evidence is that pull request's green `pytest-suite` run at the tree the merge carries.
sequenced_after: [add-structured-scope-substrate]
forces the re-examination.

#### Scenario: An active proposal declares a value outside the vocabulary
- **WHEN** an active change's `proposal.md` declares a `target_release:` whose value token is neither `implemented` nor a release identifier that resolves, and the register does not name it
Comment on lines 61 to +66
# vocabulary. Whether canon should admit a deferred allocation as a third
# value is the successor question this packet names and does not take.
#
# THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
# `deferred-allocation` as the third value of the vocabulary, and the entries
# below each carry `retires_when: canon admits a deferred allocation, …`.
Copilot AI review requested due to automatic review settings September 13, 2026 01:44
… Heap "accept all A on 1022"

RATIFIED 2026-09-13T01:0xZ by Brett Heap (openxFactory repository owner), given
in session directly to lane `hermes-wallet-exercise` (window
`hermes-wallet-exercise`, session `codeXfactory-2`, workstation Eagle),
verbatim:

  "accept all A on 1022"

A MULTIPLE-CHOICE ruling over all ten decisions proposal.md § Open questions and
design.md D1 through D10 put, taking the RECOMMENDED option on every one:

  OQ-1  = (a) -- token spelled `deferred-allocation`, the register's own
          ratified class word, so vocabulary and register name one thing
  OQ-2  = (a) -- the widening written into BOTH promoted requirements as
          `## MODIFIED`, paying `sequenced_after: [add-structured-scope-substrate]`
  OQ-3  = (a) -- a deferred change may NOT archive; the archiving act resolves
          the token to the literal the cut allocated, or to `implemented`
  OQ-4  = (a) -- canon-enforced AT THE ARCHIVING ACT; the validator REPORTS an
          archived-unresolved count and refuses nothing there
  OQ-5  = (a) -- the resolving edit MUST cite the cut it observed
  OQ-6  = (a) -- declarable only by a non-empty `code_surface:` that cuts a
          contract bundle
  OQ-7  = (a) -- the twelve standing register entries are NOT swept; only the
          class NOTE moves
  OQ-8  = (a) -- this packet's own `target_release:` stays `implemented` (it
          cuts no bundle, so the new value would be false of it)
  OQ-9  = (a) -- openxFactory #1017 is NOT edited here; its lane's one-line act
  OQ-10 = (a) -- the realization rides in THIS pull request, the precedent's
          shape

EVERY RULING IS THE RECOMMENDED OPTION, SO THE DELTA MOVES NO BYTE. Proven by
diff rather than asserted: `git diff --stat --
openspec/changes/add-target-release-deferred-allocation/specs/` across this
commit is EMPTY (0 files). Each recommendation was re-verified against the
encoded delta before this commit -- the token (17 occurrences), the two
`## MODIFIED` headers over the promoted titles, the front-matter
`sequenced_after:`, the SHALL-NOT-archive-while-declared sentence, the
REPORT-never-judge sentence, the name-the-cut sentence, the non-empty-surface
restriction, this packet's own `target_release: implemented`, zero files touched
under `encode-wallet-authority-rulings-r6-r12/`, and the realization commit
(0e81c55) carrying scripts + tests in this same pull request.

WHAT MOVES. proposal.md, design.md and tasks.md carry Status: ratified with a
citation line each (Ratified: in proposal.md, Ratified by: in the other two);
proposal.md's HELD paragraph moves to past tense and its § Rulings gains a
ten-row table (OQ | design.md | RESOLVED (a) with ruler, instant and verbatim
word | considered-not-adopted); design.md's ten D1..D10 headers each gain an
inline "RULED (a), 2026-09-13T01:0xZ" marker, no other byte in that file moves.
.openspec.yaml gains approved_by + approved_on ADDED BESIDE the untouched
proposed_by/proposed_on drafting pair -- the addition-not-rewrite shape
add-drafted-proposal-origin (issue #318) defined. One new record:
review/ratification-2026-09-13.md (Status: ratified). tasks.md § 1 is ticked
(1.1-1.4) and names the word; §§ 2-6 stay untouched and open. The README
OpenSpec Records active row moves to the ratified form.

THE INSTANT IS RECORDED TO THE PRECISION IT WAS TAKEN AT: `01:0xZ`, never
invented finer. That is this packet's own house form -- its filing provenance
records the commissioning word of the same night as "approximately 00:5xZ" --
and tasks.md § 1.2 required the instant "as GIVEN (never invented)".

NOTHING IS PROMOTED AND NOTHING CLOSES. No file under openspec/specs/ is edited,
`CLOSED_REGISTER` does not move and no register ENTRY is added (this act admits
a VALUE, the distinction the promoted requirement draws), the twelve standing
carriers are not swept, nothing under contracts/ or governance/ moves, and
openxFactory #1017's tree is not touched. tasks.md § 5 (archive) stays entirely
open, held behind merged-plus-green realization evidence, its own word, and the
§ 5.2 ordering re-read against add-structured-scope-substrate. § 2.5 also stays
open and the record says why: the § The measurement / D0 figures were taken off
origin/main a142988 and this branch has since been re-levelled onto 3cf8b0b,
so they are the honest record of the measurement AS TAKEN and the re-measure is
§ 2.5's act. Rule 6 is owed at landing, not here; merge is a separate word.

Validated on this tree before the commit:
  openspec validate add-target-release-deferred-allocation --strict -> valid
  openspec validate --all --strict -> 103 passed / 3 failed (106 items), the
    three pre-existing disposition-codexfactory-* and ZERO new
  validate-sequenced-after.py . -> passed (44 active, 12 declaring)
  validate-target-release.py . -> passed, exit 0

Refs #1022 (DRAFT at 7ce4bf3, marked READY by this same seat after validation).

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved findings affect archive enforcement, evidence checks, register consistency, and eligibility validation.

Review details

Suppressed comments (4)

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:222

  • The new requirement says a deferred declaration MUST be resolved before archiving, but the actual archive path in scripts/proposal-support.py:3101-3176 does not inspect target_release; it checks origin/tasks/pin state and then invokes the OpenSpec archive command. A packet can therefore be archived with deferred-allocation, after which this validator only reports the frozen record. Add the resolution/refusal to the pre-archive gate (and test it), or do not state this as an enforced archive requirement.
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:126

  • This adds a MUST-level requirement for the resolving pull request to name the observed bundle version and release surface, but no changed or existing gate checks that evidence. target_release.declaration() deliberately reduces the field to its first token, so a bare swap to a valid contract-vX.Y passes, and the archive wrapper does not inspect the gloss either. Add a machine-readable/archive-time evidence check or do not promote this as an enforced requirement.
THE RESOLVING EDIT SHALL NAME THE CUT IT OBSERVED, never merely swap a token. The
pull request that replaces `deferred-allocation` with a literal SHALL name the
bundle version and the release surface that carries it, so the number is OBSERVED
rather than predicted — the same direction § Bundle Realization Order takes at
steps 4 and 5, where the tag follows the landing and never precedes it. A bare
token swap cites nothing and is indistinguishable from the reservation the policy
forbids.

scripts/target-release-register.yaml:76

  • This amended note says admitting the value does not retire the standing entries, but all 12 retires_when fields below still begin canon admits a deferred allocation. The register therefore records contradictory retirement events: the loader requires these fields and the class note now says the admission is not one. Update the deferred-allocation entries to retire on their packet's correction or archive, and cover that invariant in the register tests.
  # THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
  # `deferred-allocation` as the third value of the vocabulary, and the entries
  # below each carry `retires_when: canon admits a deferred allocation, …`.
  # THE ADMISSION DOES NOT BY ITSELF RETIRE ONE OF THEM, and the distinction is
  # the register's own: an entry names the VALUE TOKEN ITS AUTHOR ACTUALLY
  # WROTE — `THE`, `next`, `the`, `contract-v<next` — and not one of those is
  # `deferred-allocation`. So each entry stays LIVE and MATCHING until its own
  # packet corrects its declaration to the admitted token; on that correction
  # the entry stops matching, the run refuses with the stale status, and the
  # entry is deleted in the SAME pull request that made it stale. That is the
  # asymmetry this file already documents, doing the work — no sweep of twelve
  # other packets' front matter was performed by the admitting change, each
  # correction being its owning lane's act.

scripts/target_release.py:706

  • This branch admits deferred-allocation solely from the token, but the new requirement limits it to a non-empty code_surface whose realization lands in a contract bundle. A doc-only proposal therefore passes here; the added test at tests/target_release/test_target_release_gate.py:998-1001 actually omits code_surface and asserts that outcome, contrary to the new doc-only scenario. Please add an enforceable eligibility check (including a defined signal for bundle realization) and a negative test.
        if token == DEFERRED_ALLOCATION:
            # VOCABULARY, judged BEFORE the register lookup so the value can
            # never be mistaken for a grandfathered exception on the report.
            inside_deferred += 1
            continue
  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 13, 2026 01:49
@brettheap
brettheap marked this pull request as ready for review September 13, 2026 01:50
@brettheap brettheap changed the title OpenSpec: add-target-release-deferred-allocation — the third target_release value (deferred bundle allocation), the successor question gate-realization-axis-vocabulary named RATIFIED (accept all A on 1022): add-target-release-deferred-allocation — the third target_release value (deferred bundle allocation), the successor question gate-realization-axis-vocabulary named Sep 13, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 5 days by commenting @sourcery-ai review. Upgrade to get a review now.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved moderate issues remain in archive enforcement, eligibility validation, task state, register consistency, and test coverage.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (6)

openspec/changes/add-target-release-deferred-allocation/review/ratification-2026-09-13.md:136

  • This committed record embeds a workstation-specific worktree path and then claims every path in the file is repo-relative. That is not reproducible across checkouts and violates the artifact-discipline convention in .specify/memory/constitution.md:72-73; use a repo-relative reference or omit the local worktree.
`~/projects/xFactory/openxFactory-worktrees/target-release-deferred`, by lane

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:223

  • This new SHALL NOT archive rule is not enforced by the archive path: scripts/proposal-support.py:3101-3176 has no target_release check and simply invokes the pinned openspec archive, which cannot apply this repository-specific token rule. An active packet can therefore still be moved into openspec/changes/archive/ with deferred-allocation; the later scan only reports the frozen record. Wire resolution/refusal into the archive command and test it, or do not promote this archive requirement yet.
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards

scripts/target-release-register.yaml:68

  • These additions say the twelve entries remain live until each packet corrects itself, but the existing rows' retires_when values still begin with canon admits a deferred allocation, a condition that is now true. The preceding class note also still says the successor was not taken, so the register exposes contradictory historical and current retirement rules. Update the retirement data/prose together so the register has one current meaning.
  # THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
  # `deferred-allocation` as the third value of the vocabulary, and the entries
  # below each carry `retires_when: canon admits a deferred allocation, …`.
  # THE ADMISSION DOES NOT BY ITSELF RETIRE ONE OF THEM, and the distinction is
  # the register's own: an entry names the VALUE TOKEN ITS AUTHOR ACTUALLY

scripts/target_release.py:705

  • deferred-allocation is accepted unconditionally here, but the modified requirement restricts it to changes with a non-empty code_surface whose realization cuts a contract bundle and explicitly rejects doc-only declarations. scan() never reads code_surface, so a proposal with no or none surface passes; validate that eligibility before incrementing this counter instead of treating the token as sufficient by itself.
        if token == DEFERRED_ALLOCATION:
            # VOCABULARY, judged BEFORE the register lookup so the value can
            # never be mistaken for a grandfathered exception on the report.
            inside_deferred += 1

scripts/target_release.py:751

  • This loop only reports the unresolved token after it is already under archive/; the sanctioned proposal-support.archive_change() path does not invoke this check before running the archive command. A deferred proposal can therefore still be archived contrary to the new MUST-NOT-archive rule. Add a pre-archive resolution gate and keep this post-archive branch report-only.
        if token == DEFERRED_ALLOCATION:
            # Inside the vocabulary, so NOT off-vocabulary — but unresolved,
            # which the archiving act was supposed to prevent. Counted on its
            # own line and refused never.
            archived_deferred += 1

tests/target_release/test_target_release_gate.py:1003

  • This positive fixture omits code_surface and still expects success, so it codifies the invalid doc-only case rather than an eligible bundle change. Add a failing case for absent/none code_surface and make the passing fixture declare a non-empty bundle surface; otherwise the missing eligibility check remains green.
def test_the_deferred_allocation_token_is_admitted(tmp_path):
    """The whole point: an active proposal may declare it and pass."""
    _proposal(tmp_path, "a-bundle-change",
              "target_release: deferred-allocation")
    result = _run(tmp_path, _register(tmp_path))
    assert result.returncode == 0, result.stdout + result.stderr
  • Files reviewed: 13/13 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment on lines +43 to +47
- [ ] 2.1 `scripts/target_release.py`: `DEFERRED_ALLOCATION` beside
`IMPLEMENTED`, admitted in `scan()` before the register lookup so the
value is VOCABULARY and never an exception; `deferred_allocation` counted
on `Report`; archived records carrying it counted separately and REPORTED,
never judged (OQ-4).
Comment thread README.md
word; PR [#1022](https://github.com/opensoft/openxFactory/pull/1022) is
**RATIFIED and marked READY**, merge needs its own word, and Rule 6 applies at
landing.
**DRAFT and HELD for Brett Heap's ratification.**
…ly never promised

`tests/doc-health/test_modified_block_currency_reporting.py::
test_the_drift_grain_is_one_finding_per_arm_template` died with a bare
`AttributeError: 'NoneType' object has no attribute 'group'` — `re.search(
r"(openspec/specs/[\w./-]+)", f.rule)` found nothing in one of the sixteen
unplaced findings it collects off the real tree.

THE TEST'S ASSUMPTION, NOT THE FAMILY'S RULE. `TEMPLATE_LEDGER` interpolates
`{spec_rel}` — THE THING THE ARM COMPARED THE BLOCK AGAINST — and the arm
compares against AN ACTIVE SIBLING'S `## MODIFIED` BLOCK when one already writes
the same requirement title, falling back to promoted canon only when none does.
So `{spec_rel}` is an `openspec/changes/<id>/specs/...` path in the two-writer
case, and the `openspec/specs/` prefix was a guess about the CORPUS rather than
a fact about the family. The `-two-writers` fixture tree has exercised that
resolution all along; THE REAL TREE SIMPLY NEVER HAD TWO ACTIVE WRITERS OVER ONE
TITLE UNTIL NOW. `add-target-release-deferred-allocation` is the second writer of
`release-realization`'s *Realization axis declaration*, behind
`add-structured-scope-substrate` — which is the ordering this packet declares in
`sequenced_after:` and pays for by design (OQ-2) — so in the aggregation context
its finding reads

  1 of 10 ... openspec/changes/add-structured-scope-substrate/specs/release-realization/spec.md

and the guess returned None.

THE FIX READS THE SLOT INSTEAD OF GUESSING AT IT: the capture is anchored on the
prose BOTH arm templates share (`TEMPLATE_LEDGER` and `TEMPLATE_TITLES` both end
`{spec_rel} currently states for it`), so it is the slot by construction and
cannot drift onto a path that happens to appear inside a quoted unit excerpt
further along the rule. WHAT THE TEST MEASURES IS UNCHANGED: the unplaced
findings must still name AT LEAST TWO DIFFERENT comparison subjects, so the
one-shape collapse below stays a real collapse rather than one that would hold
under the pre-amendment rule too. Only the assertion message widens, from
"the same promoted spec" to "the same comparison subject".

`_LEDGER_SUBJECTS`' new row gains the same fact as a note, because the two
contexts read the DECLARATION row differently and the next editor who
re-measures from the other side would otherwise read a contradiction: this
file's own `--single-repo` context has no aggregation root, so the sibling does
not resolve and the finding reads `1 of 6` against canon, while the aggregation
context reads `1 of 10` against the sibling's block. THE SUBJECT TRIPLE IS THE
SAME EITHER WAY, which is why one row covers both readings, and the uncarried
unit is the same two-value sentence in both.

Measured on this tree:
  pytest tests/doc-health/test_modified_block_currency_reporting.py -q
    -> 47 passed
  pytest tests/doc-health tests/sequenced_after tests/target_release -q
    -> 2116 passed, 7 failed — every failure a `CarveReachUnavailable` from the
    unmaterialized `openDox`/`openXdox` gitlinks in a linked worktree, PROVEN
    PRE-EXISTING AND ENVIRONMENTAL by running the same node ids in the untouched
    `wcra-r6-r12` worktree at `4630d689`, where the identical five fail the same
    way. CI materializes the submodules and reported exactly ONE failure on
    `0dbbefa7` — the one this commit fixes.

No normative byte moves: no proposal, design, spec delta, validator source or
register byte is touched by this commit.

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Copilot AI review requested due to automatic review settings September 13, 2026 02:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved moderate findings remain in eligibility validation, archive enforcement, task status, and lifecycle documentation.

Review details

Suppressed comments (6)

Previously missed (1) — in code that hasn't changed since the last review.

openspec/changes/add-target-release-deferred-allocation/review/ratification-2026-09-13.md:136

  • The record says every path in the file is repo-relative, but this newly committed provenance embeds the machine-specific ~/projects/... worktree path. That makes the record environment-dependent and violates the repository's artifact-path convention; use a neutral repository-relative description instead.

README.md:585

  • This newly added line contradicts the preceding Status: ratified and RATIFIED and marked READY claims, so the active-change index reports the same packet as both ratified and draft/held. Replace it with the remaining archive-open state or remove it.
  **DRAFT and HELD for Brett Heap's ratification.**

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:222

  • This archive rule is only documented in the delta. The actual archive path in scripts/proposal-support.py:3101-3176 runs its existing gates and then invokes openspec archive without calling this validator or checking target_release, so an unresolved deferred proposal can still be moved into openspec/changes/archive/ and is only reported afterward. Wire the archiving-act guard into the sanctioned archive command and cover it with a regression test.
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:24

  • The ratified process document docs/release-realization-flow.md still defines the axis as only implemented | <release-id> and its flowchart has no deferred branch. After this delta lands, authors following that document will still be told that the newly admitted value is invalid; update the live process documentation (including the archive behavior) with the third value.
**`deferred-allocation` IS A THIRD VALUE AND NEVER A THIRD DEFAULT.** It SHALL be
declared only by a change whose `code_surface:` is non-empty AND whose realization
lands in a contract bundle; a change that cuts no bundle has `implemented`
available and the default sentence above already says so. It is a TEMPORARY
declaration by construction — the number it stands in for comes into existence at

openspec/changes/add-target-release-deferred-allocation/tasks.md:47

  • These realization and verification tasks remain unchecked even though this PR contains the validator, register, and tests and the ratification record says §2 is already carried here. The repository’s task convention marks landed implementation/measurements as done while leaving only post-merge/archive work open (for example, add-structured-scope-substrate/tasks.md:41-107); leaving 2.1–3.5 open misstates the packet’s completion and keeps the task list from representing the reported validation evidence. Tick only the tasks backed by this head, or document why this realization is intentionally deferred.
- [ ] 2.1 `scripts/target_release.py`: `DEFERRED_ALLOCATION` beside
      `IMPLEMENTED`, admitted in `scan()` before the register lookup so the
      value is VOCABULARY and never an exception; `deferred_allocation` counted
      on `Report`; archived records carrying it counted separately and REPORTED,
      never judged (OQ-4).

scripts/target_release.py:706

  • deferred-allocation is accepted solely by its token here. The new requirement restricts it to a proposal with non-empty code_surface: whose realization cuts a contract bundle, but this scan never reads or validates code_surface:; the added fixtures even omit it, so a doc-only target_release: deferred-allocation passes. Reject ineligible declarations before incrementing this counter and add a negative test.
        if token == DEFERRED_ALLOCATION:
            # VOCABULARY, judged BEFORE the register lookup so the value can
            # never be mistaken for a grandfathered exception on the report.
            inside_deferred += 1
            continue
  • Files reviewed: 14/14 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

…ease-deferred-allocation

Lane: hermes-wallet-exercise
Co-Authored-By: Claude Fable 5.1 <[email protected]>

# Conflicts:
#	README.md
#	tests/sequenced_after/corpus-ledger.yaml
Copilot AI review requested due to automatic review settings September 13, 2026 02:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved findings affect archive gating, eligibility validation, register retirement, lifecycle metadata, and test durability.

Review details

Suppressed comments (6)

README.md:585

  • This active-record row is already marked Status: ratified and RATIFIED and marked READY above, but the next line still says DRAFT and HELD for Brett Heap's ratification. That contradictory lifecycle claim makes the OpenSpec index misleading; replace the stale draft wording.
  **DRAFT and HELD for Brett Heap's ratification.**

openspec/changes/add-target-release-deferred-allocation/review/ratification-2026-09-13.md:136

  • Every path in this file is repo-relative is contradicted by the preceding ~/projects/... worktree path. This commits an environment-specific location into the ratification record and makes the provenance non-portable; keep the provenance repo-relative or describe the worktree without a host path.
Written in the ratification commit itself, in the worktree
`~/projects/xFactory/openxFactory-worktrees/target-release-deferred`, by lane

openspec/changes/add-target-release-deferred-allocation/specs/release-realization/spec.md:222

  • This scenario requires the archive gate to refuse an unresolved declaration, but the implementation only reports the record after it is already archived: target_release.py deliberately never judges archived proposals, and scripts/proposal-support.py:3101-3176 has no target-release preflight before invoking the pinned archive command. The sanctioned archive path can therefore create exactly the forbidden record. Wire this rule into the pre-archive gate and test it, or remove the MUST NOT archive/record prohibition from the delta.
#### Scenario: A change tries to archive while its target release is deferred
- **WHEN** a change declaring `target_release: deferred-allocation` reaches its archive gate with the declaration unresolved
- **THEN** it MUST NOT archive, the archiving act first resolving the declaration to the literal release the cut allocated, or to `implemented` where no bundle was cut
- **AND** a record carrying an unresolved deferred allocation MUST NOT be created, the archive being frozen and the number never becoming knowable afterwards

scripts/target-release-register.yaml:73

  • The new class note says admission does not retire any entry and that each entry remains live until its owning packet corrects its token, but all 12 deferred-allocation entries still declare retires_when: canon admits a deferred allocation, or ... (for example lines 87-89). The register therefore still documents this admission as a retirement event, contradicting the note and the packet's D7 rule. Update the standing entries' retirement conditions or revise the note before treating this as a class-note-only change.
  # THAT SUCCESSOR WAS TAKEN: `add-target-release-deferred-allocation` admits
  # `deferred-allocation` as the third value of the vocabulary, and the entries
  # below each carry `retires_when: canon admits a deferred allocation, …`.
  # THE ADMISSION DOES NOT BY ITSELF RETIRE ONE OF THEM, and the distinction is
  # the register's own: an entry names the VALUE TOKEN ITS AUTHOR ACTUALLY
  # WROTE — `THE`, `next`, `the`, `contract-v<next` — and not one of those is
  # `deferred-allocation`. So each entry stays LIVE and MATCHING until its own
  # packet corrects its declaration to the admitted token; on that correction
  # the entry stops matching, the run refuses with the stale status, and the
  # entry is deleted in the SAME pull request that made it stale. That is the

scripts/target_release.py:706

  • This branch admits deferred-allocation solely from the token; the scan never reads code_surface: or any bundle evidence. The new fixtures at tests/target_release/test_target_release_gate.py:1000-1003 therefore allow a doc-only proposal with no code_surface to pass, contrary to the modified requirement that this value is only for a non-empty code surface realizing into a contract bundle. Add the pre-admission/archival eligibility check and a negative test; otherwise this implements only vocabulary admission, not the specified restriction.
        if token == DEFERRED_ALLOCATION:
            # VOCABULARY, judged BEFORE the register lookup so the value can
            # never be mistaken for a grandfathered exception on the report.
            inside_deferred += 1
            continue

tests/target_release/test_target_release_gate.py:1097

  • This assertion makes the live register contain exactly 12 deferred-allocation entries forever, but the note above says each entry is deleted when its owning packet corrects its token. The first legitimate retirement will therefore fail this permanent test and block the required cleanup; assert only that no remaining entry uses the admitted token, or move the 12-entry count to a fixed fixture.
    entries = [e for e in tr.load_register(REGISTER)
               if e["class"] == "deferred-allocation"]
    assert len(entries) == 12
    assert not [e for e in entries if e["token"] == tr.DEFERRED_ALLOCATION]
  • Files reviewed: 14/14 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@sonarqubecloud

Copy link
Copy Markdown

@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

LANDING — lane hermes-wallet-exercise, session 1c00f6, 2026-09-13T02:58:24Z, PR #1022 into opensoft/openxFactory main

@brettheap
brettheap merged commit 9378eca into main Sep 13, 2026
13 checks passed
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: hermes-wallet-exercise

LANDED — lane hermes-wallet-exercise, 2026-09-13T02:58:53Z, PR #1022 → 9378eca

brettheap added a commit that referenced this pull request Sep 13, 2026
Keeps this branch current with #1022's landing and the #1020 pin lockstep. No
carve-floor file moves in either direction.

Lane: openxfactory-4-opendox-extraction

Co-Authored-By: Claude Opus 5 <[email protected]>
brettheap added a commit that referenced this pull request Sep 13, 2026
#1022 admitted (9378eca); tasks § 5.3 owes its resolution at the cut

The pytest-suite red was exactly this: the proposal declared 'contract bundle — …', a value outside the ratified vocabulary, because no admitted value fit a bundle whose number is allocated at the cut. add-target-release-deferred-allocation (openxFactory #1022 → 9378eca) admitted that value; this is the one-token correction its README entry named as this lane's act. The gloss keeps the original account of who cuts the bundle and adds the resolution rule the MODIFIED requirement imposes; tasks 5.3 makes the archive hold measurable (the token must read a literal release or 'implemented' before 5.1).

Validated: scripts/validate-target-release.py . → 0 outside the vocabulary; pytest tests/target_release tests/sequenced_after tests/proposal-support → 511 passed; openspec validate encode-wallet-authority-rulings-r6-r12 --strict → valid.

Lane: hermes-wallet-exercise (codeXfactory-2)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 13, 2026
…0003

Register act H2 (T2): CSC seat key registered, grant-grc-0002 revoked, grant-grc-0003 issued, row-grc-0001 repointed. Merged on Brett Heap's word "merge 1006" (2026-09-13T22:29Z, in session); --admin on the review-policy-only refusal (all six required status checks green), per precedent #1022.

Lane: hermes-wallet-exercise (codeXfactory-2)
brettheap added a commit that referenced this pull request Sep 13, 2026
…-rulings-r6-r12

OpenSpec: encode-wallet-authority-rulings-r6-r12 — RATIFIED ("accept all A on 1017", 2026-09-12T23:58Z); merged on the standing word "merge 1017 when green" (2026-09-13T00:23:33Z). target_release token = deferred-allocation (#1022); code_surface real → the change stays ACTIVE until realization (tasks § 3), archive held (§ 5).

Lane: hermes-wallet-exercise (codeXfactory-2)
brettheap pushed a commit that referenced this pull request Sep 13, 2026
…zation

Brings the realization branch current with main, which moved 10+ commits
past the branch point 5488529 — the head the register was re-measured at.
No conflicts: the merge is clean in every path.

What main added that this gate reads: TWO new active proposals,
add-target-release-deferred-allocation (#1022) and
encode-wallet-authority-rulings-r6-r12 (#1017). NO registered proposal
archived and NO registered declaration was edited — `git diff --name-status
5488529..origin/main -- 'openspec/changes/*/proposal.md'` is two ADDs and
nothing else — so the closed register's seven entries all still match a live
declaration byte for byte and none is stale.

The re-measurement on the merged tree is the next commit's business.

Refs #1013

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap pushed a commit that referenced this pull request Sep 13, 2026
…stered

*The corpus moves between drafting and landing* — the register requirement's
own scenario — HAS FIRED, and this commit is that scenario obeyed rather than
quoted.

WHAT MOVED. `main` advanced ten-plus commits past `54885296`, the head the
register was re-measured at, while this realization sat in review. TWO active
proposals landed and NONE archived: `git diff --name-status
5488529..origin/main -- 'openspec/changes/*/proposal.md'` is exactly two `A`
lines, no `M`, no `D`, no `R`. So not one of the seven moved — no registered
packet archived, no registered declaration was edited, every entry still
matches its live declaration byte for byte, and NO ENTRY IS STALE.

THE RE-MEASUREMENT, IN FULL, at `origin/main` `bfa90db6`:
  BEFORE (recorded at `54885296`): 44 active, 44 declaring — 4 `none`, 33 a
  repository list, 7 registered, 0 outside; archive 167 read, 121 declaring,
  3 outside.
  ON THE MERGED TREE: 46 active, 46 declaring — 4 `none`, 34 a repository
  list, 7 registered, 1 OUTSIDE THE GRAMMAR; exit 1. Archive UNMOVED at
  167/121/3. The sibling gate reads the same 46, so the active count is a fact
  about the tree and not about either reader.
  AFTER THIS DISPOSITION: 46 active, 46 declaring — 4 `none`, 34 a repository
  list, 8 registered, 0 outside; exit 0. Archive unmoved.

THE ONE. `add-target-release-deferred-allocation` (#1022) conforms and needs
nothing. `encode-wallet-authority-rulings-r6-r12` (#1017, ratified 2026-09-12)
does not: its declaration names FOUR FILE PATHS where the grammar wants
repository identifiers, so the reader takes `contracts/signed-execution-chain`
as an `<owner>/<name>` address and then runs into
`/digest-construction.schema.yaml` with no gloss opener.

REGISTERED, NOT SWEPT — § 1.3's RULED option (D3), and D3's reason holds with
MORE force here than for the seven: correcting this head is not a
re-punctuation but a judgment about which repository four artifacts belong to,
in another lane's ratified, active, mid-flight packet. The remedy stays where
the grammar puts it, with the declaring packet, and the entry names it. STILL
NOT ONE BYTE of another lane's ratified prose is re-punctuated here.

THE CLOSURE IS KEPT BY THE ONE ROUTE IT ADMITS. The entry's
`(change, sha256-of-declaration)` pair is added to `code_surface.CLOSED_REGISTER`
in the SAME pull request as the register entry — the "second, deliberate,
reviewable edit HERE, in the module, beside the reason" the baseline's own
comment demands, and verbatim the remedy the refusal itself names ("If the
exception is genuinely owed, add the pair to `CLOSED_REGISTER` in the same pull
request, where the diff shows the act for what it is"). NO NEW CLASS is
admitted: `list-runs-into-prose` is one of the four `REGISTER_CLASSES` already
carries, a fifth being "a change to the specification, not a register edit".

THE RECORDED NUMBERS ARE CORRECTED HONESTLY, NOT QUIETLY. tasks.md § 3's
preamble keeps the FIRST re-measurement as the record it is and adds the
SECOND beside it; § 3.3 records seven at `54885296` and EIGHT at the landing
head; § 3.4's "NO CARRIER ARRIVED AFTER THE DRAFTING" was true when written
and is FALSE at this head, so the box now says so and records the carrier and
its disposition; § 3.5's permissive-extractor figures are re-measured with the
same script (3,321 -> 3,408 distinct tokens over 44 -> 46 declarations, 767
from `split-opendox-two-layer-product` still, all four `none` heads still
yielding a non-empty set, 34 of 34 readable non-`none` heads still yielding a
token their head does not name) and the latency is re-measured at 0 of 46.

PROVEN ON THE MERGED TREE: `validate-code-surface.py .` exit 0,
`validate-scope-globs.py .` exit 0, `pytest tests/code_surface` 115 passed,
`pytest tests/scope_globs` 88 passed, and the touched areas together
(code_surface, scope_globs, target_release, sequenced_after, openspec_cli_pin,
doc-health) 2481 passed / 0 failed. `validate-openspec-cli-pin.py --all`
Totals: 106 passed, 2 failed (108 items) — both PRE-EXISTING DISPOSITIONED
exceptions accepted by Brett Heap 2026-09-05, 0 UNDISPOSITIONED.

Refs #1013

Lane: openxfactory-5 (openXfactory-5)
Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap added a commit that referenced this pull request Sep 14, 2026
…-and-read

Q-GRC-4 Part C: § 13.1 window check EMPTY (task 6.19), § 13.2 step 5b performed — source-revision 9689525 ahead of T2 765d8c6 (task 6.20), § 13.3 hold LIFTED (task 6.21). Record-only appends to walk-2026-09-12-register-act.md + task ticks; commissioned by Brett Heap's words "do the 5b read" and "mount it". --admin on the review-policy-only refusal, all required contexts green (precedent #1006/#1017/#1022).

Lane: codexfactory-2 (codeXfactory-2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants