Repository navigation
Conversation
…ap's word Brett Heap, openxFactory repository owner, gave the ratifying word first-hand, in session to lane openxfactory-2, on 2026-09-12 at approximately 23:20Z, as FOUR SELECTIONS by interactive multi-choice — one question per tasks.md § 1 task: "Ratify 1.1 as filed (Recommended) / Ratify 1.2 as filed / Ratify 1.3 as filed (Recommended) / Confirm 1.4 as filed (Recommended)". The word is over the packet AS FILED at the head PR #994 landed on main, dafe887 (2026-09-12T23:16:13Z), and is recorded on openxFactory #992, comment #992 (comment) (recorded a second time, verbatim, for the lane's status thread on #745, comment #745 (comment)). This commit applies the ratification and nothing else: Status: ratified on proposal.md, design.md and tasks.md each with exactly one citation line, the new review/ratification-2026-09-12.md record, the approved_by/approved_on pair ADDED beside the untouched drafting pair in .openspec.yaml, boxes 1.1-1.4 ticked with RULED annotations, and the README "Active changes" bullet's status phrase. NO REALIZATION and NO ARCHIVE: no byte of scripts/doc_health/ or scripts/validate-pin-registrations.py moves, no marker is retargeted, docs/document-lifecycle.md and ideation/staging/INDEX.md are untouched, no pin record gains a capabilities member, no box in § 2, § 3 or § 4 moves, and item (7) of the split-openxwallet-repo archived-ledger entry stays UNTICKED — it discharges on archive. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's GuideThis ratification-only change records Brett Heap’s approval of the existing proposal as filed, including D-1, D-2, D-3, and D-5, while deliberately making no realization, marker-retargeting, schema/pin-record, archive, or merge changes. Flow diagram for proposal ratification without realizationflowchart LR
Filed[Existing proposal filed] --> Word[Brett Heap selects 1.1 1.2 1.3 and 1.4]
Word --> Ratified[Packet marked ratified as filed]
Ratified --> Recorded[Ratification record and approval metadata added]
Ratified --> Deferred[Realization remains a later pull request]
Ratified --> Unchanged[Archive merge markers pins schemas and findings unchanged]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
Four documentation consistency issues remain in the final review comments.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
This pull request ratifies the OpenSpec proposal while leaving realization and archival for future acts.
Changes:
- Updates packet statuses and approval provenance.
- Records the ratification decision and task outcomes.
- Updates the README and adds a ratification report.
File summaries
| File | Summary |
|---|---|
README.md |
Updates the active change to ratified; clarify the archived-ledger item reference. |
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md |
Records ratification tasks; distinguish newly ticked tasks from existing § 2 items and extend the disclaimer. |
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/review/ratification-2026-09-12.md |
Adds the ratification report; clearly state that no § 1 boxes remain open. |
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md |
Marks the proposal ratified and records its scope. |
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md |
Records the ratified design decisions. |
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml |
Adds approval provenance metadata. |
Review details
Suppressed comments (2)
README.md:576
- This claim conflicts with the same bullet's later statement that the ratifying commit ticks tasks 1.1–1.4 (lines 602–603). The surrounding sentence is about archived-ledger item (7), so name that item explicitly instead of saying that no box is ticked at all.
ARCHIVE, not on filing — no box is ticked here.** The four `error`-band
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:14
- The new disclaimer says only the paragraph immediately below is historical, but § 2.1 and § 2.2 still state that the lifecycle documents are draft and that no approval pair exists, even though this ratification changes both facts. Extend the disclaimer to the § 2 filing checklist (or restate those entries) so the current packet is not described as unapproved.
discharges on ARCHIVE. The paragraph immediately below records the AT-FILING
state and is kept verbatim as history.
- Files reviewed: 6/6 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.
…filing's Two review threads on the ratifying commit's own prose, both factual: - `review/ratification-2026-09-12.md` read "Boxes none in `tasks.md` § 1 stay OPEN", which is ungrammatical and reads as though boxes were left open. All four § 1 boxes are ticked by this ratification, so the sentence now says so: "NO box in `tasks.md` § 1 stays open — the word answers all four". - `tasks.md`'s ratification header said "NO box in § 2, § 3 or § 4 is ticked", which is false as written: § 2.1-2.7 have been `[x]` since the filing pull request, as the paragraph below it says. It now says what is true of THIS commit — it ticks 1.1-1.4 and no others, § 2's boxes stand exactly as the filing left them, and § 3 and § 4 stay open. No decision, no citation, no box state and no other surface moves. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The remaining documentation feedback is a non-blocking nit.
Review details
Suppressed comments (1)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:28
- The new ratification header says the text below is ratified exactly as landed, but the unchanged
Proposed:block at lines 32–43 still says that no ratification is claimed and that the lifecycle documents carryStatus: draft. Unliketasks.mdand the established ratification pattern inamend-kill-switch-to-declared-test-companion/proposal.md:79-85, this file never labels that block as historical, leaving contradictory current-state claims in the packet. Add an explicit at-filing/history qualifier beforeProposed:.
AS FILED, WITH NO AMENDMENT AND NO VETO. The word carries no condition on
any later act and reopens no decision. REALIZATION AND ARCHIVE ARE NOT
AUTHORIZED BY THIS WORD and remain separate later acts on Brett Heap's word:
no byte of `scripts/doc_health/families.py` moves, no module is added under
`scripts/doc_health/`, no byte of `scripts/validate-pin-registrations.py` or
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…tion stands Copilot (suppressed comment, proposal.md:28) found the unchanged `Proposed:` block still saying no ratification is claimed and that the lifecycle documents carry `Status: draft`, contradicting the new ratification header above it. Add the at-filing/history qualifier paragraph before `Proposed:`, mirroring the form `amend-kill-switch-to-declared-test-companion/proposal.md` already established for this exact situation. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
The only finding is a non-blocking README wording nit.
Review details
Suppressed comments (1)
README.md:576
- After this ratifying commit,
tasks.md§ 1.1–§ 1.4 are ticked, and the same bullet immediately records those ticks at lines 602–605. The unqualified “no box is ticked here” at this line therefore makes the active-change index internally inconsistent; limit the statement to the archived-ledger item and realization/archive boxes, which remain open.
ARCHIVE, not on filing — no box is ticked here.** The four `error`-band
- Files reviewed: 6/6 changed files
- Comments generated: 0 new
- Review effort level: Lite
…alization/archive Copilot's new pass on the round-1 commit found a suppressed wording nit on README.md:576 (no visible PR thread): the packet's at-filing sentence "no box is ticked here" reads as a blanket claim, but the same bullet's later ratification paragraph correctly reports boxes 1.1-1.4 ticked by the ratifying commit, making the unqualified sentence read as inconsistent. Reworded to scope the claim to what it always meant: item (7) of the split-openxwallet-repo archived ledger and the realization/archive boxes, which do stay untouched here. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
D-2 permits undeclared capabilities, conflicting with the required fail-closed constitutional behavior.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 1
- Review effort level: Lite
…deltas Brett Heap re-ruled task 1.2 on 2026-09-13T01:25:07Z over Copilot thread PRRT_kwDOTAvnrs6h1H-H on this pull request, selecting "Tighten to fail-closed after all" and superseding his 23:20Z "Ratify 1.2 as filed" on that box alone. D-2 now FAILS CLOSED: a pinned target resolves only where the pin id resolves to a valid, complete pinned_contract_manifest record (unchanged), AND that record carries a well-formed capabilities: enumeration, AND the named capability is a member of it. An absent enumeration is an unresolved pinned target naming the record and the publisher's remedy, exactly as a malformed one already was. There is no longer a dormant arm and nothing self-arms. design.md: the D-2 decision becomes three prerequisites; the constitutional objection is KEPT as the record of the tension and closed with a dated RULED paragraph naming both acts; Principle VII is satisfied by construction, so no Complexity-Tracking justification and no constitution amendment is owed. D-4, D-5's test list and D-5's archive gate follow: realization CHANGES THE FORM of the four target=openxwallet findings rather than taking them to zero. Both MODIFIED blocks restate canon and move only the deliberate delta: document-lifecycle gains the prerequisite wording, the absent-versus- malformed rule and one new scenario for a record carrying no enumeration; doc-health gains the enumeration remedy, the changed-form reporting rule and one new scenario. capabilities: stays RESERVED and is added to no pin record and no schema. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
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 (3)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/review/ratification-2026-09-12.md:80
- The ratification report is the packet's cited decision record, but this D-2 text still says capability resolution is conditional and leaves the constitutional question open. That contradicts the fail-closed D-2 now asserted in
design.mdand the spec deltas, so the record no longer describes the effective contract. Update it to the consolidated ruling (including its 2026-09-13 date/citation), or revert the tightening.
capability segment is checked for shape and resolved further ONLY where
the pin record enumerates capabilities, through the ONE reserved member
`capabilities:` — reserved by this change and ADDED TO NO RECORD AND NO
SCHEMA BY IT. This is the packet's one live constitutional question
(Principle VII) and `design.md` states the tension in full.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:27
- This adds the fail-closed reporting contract for absent, malformed, and unlisted capabilities, which depends on the unrecorded D-2 re-ruling. The current PR description and ratification artifacts still document D-2 as filed, so this spec would make the published doc-health contract disagree with the approved packet. Synchronize the ruling and all affected artifacts, or revert this tightening.
AND A PINNED TARGET THAT FAILS ON THE RECORD'S CAPABILITY ENUMERATION SHALL BE
REMEDIED WHERE THAT DEFECT LIVES. The finding SHALL name the pin record, SHALL
say which of the three defects it is — the `capabilities:` enumeration is
ABSENT, it is MALFORMED, or it is well formed and does not carry the named
capability — and, where it is ABSENT, SHALL name the PUBLISHER's act as the
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:286
- This normative delta changes an absent
capabilities:member from an allowed pin-only resolution to an unresolved target, but the packet's approved decision is still recorded elsewhere as D-2 ratified as filed with no tightening. Until the later ruling is consistently recorded, this is an unauthorized contract change under the PR's stated scope.
exception that takes the run down with it. THE `<capability>` SEGMENT MUST BE WELL FORMED AND MUST APPEAR IN THE PIN
RECORD'S OWN CAPABILITY ENUMERATION, THE ENUMERATION BEING A PREREQUISITE OF
RESOLUTION RATHER THAN A CONDITION ON IT. A pinned target resolves only where
the record carries a well-formed enumeration AND `<capability>` is a member of
it. Where the record carries NO such enumeration the target MUST NOT resolve,
- Files reviewed: 8/8 changed files
- Comments generated: 5
- Review effort level: Lite
…d and the README The five acts, their two timestamps and the one citation now read the same way in every surface of the packet. tasks.md: 1.2 stays [x] and its RULED annotation becomes RATIFIED WITH TIGHTENING (fail-closed) — both acts, both timestamps, the re-ruling's option text verbatim, the three options not taken, and the sentence that act 5 supersedes the 23:20Z as-filed selection on that box and on no other. 1.1, 1.3 and 1.4 keep their 23:20Z rulings and now cite the consolidated record. Section 3 follows the rule it realizes: 3.2 gains one finding text per enumeration defect, 3.3(a) flips from "emits nothing" to refused with the named finding, (c) and (d) are relabelled present-and-names and present-and-does-not-name, (g) asserts both texts, shape (b)'s positive case requires the enumeration, 3.5 states the post-realization form of the four findings and 3.7 forbids an evidence claim of zero. One unticked line, 3.8, records the closure prerequisite: the publisher's enumeration through a neutral-product-pin change. It is not filed, not claimed, opens no issue and gates no archive. No other box moves. proposal.md: the header records five acts; What Changes item 2 states the three prerequisites and the changed form of the four findings; Impact says they reach zero only on the publisher's act. The at-filing qualifier stays. .openspec.yaml: approved_by carries all five acts, the verbatim option text, the effect and the consequence; approved_on moves to 2026-09-13. review/ratification-2026-09-12.md: the ruling is now "1.1, 1.3, 1.4 as filed; 1.2 with tightening (fail closed)", act 5's trigger thread is named, the D-2 bullet is rewritten, Principle VII is recorded as satisfied by construction, and the record keeps exactly one citation line, now the consolidated comment. README bullet: status phrase, D-2 sentence, the four-findings consequence and the boxes clause. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
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 (1)
README.md:541
- This packet now records a fifth 2026-09-13 selection and an explicit D-2 amendment (fail-closed), but the PR description still opens with “RATIFIED AS FILED, with no amendment, no tightening” and cites only the four 2026-09-12 selections. That contradicts both this changed README entry and the consolidated #992 record (comment 5649935136); please update the PR description and its citation before landing so the review/landing record has one authoritative ruling.
**`Status: ratified`** — **1.1, 1.3 and 1.4 AS FILED; 1.2 WITH TIGHTENING
(D-2 FAILS CLOSED)** — by Brett Heap, openxFactory repository owner,
first-hand, in session, FIVE SELECTIONS across two sittings: FOUR on
2026-09-12 at approximately 23:20Z (***"Ratify 1.1 as filed (Recommended) /
Ratify 1.2 as filed / Ratify 1.3 as filed (Recommended) / Confirm 1.4 as
filed (Recommended)"***), then a FIFTH on 2026-09-13T01:25:07Z RE-RULING
- Files reviewed: 8/8 changed files
- Comments generated: 1
- Review effort level: Lite
….2 ask's at-filing qualifier to the whole ask Two wording defects found by the second independent verification of b18e08b, both ruled ACCEPT. Neither changes a rule; both stop a sentence from reading against the rule it belongs to. V1, specs/document-lifecycle/spec.md. The MODIFIED block's resolution paragraph still opened "A PINNED target resolves when its `<pin-id>` resolves to a NEUTRAL-PRODUCT pin record ...", which read alone states pin-record resolution as SUFFICIENT — the reading act 5 refused — and this sentence promotes verbatim at archive. It now opens "A PINNED target resolves ONLY WHERE ALL THREE of the following hold. FIRST, its `<pin-id>` resolves to a NEUTRAL-PRODUCT pin record ...", names the enumeration and membership prerequisites as SECOND and THIRD, says the first is not sufficient alone, and points at the capability-segment rule that states them in full. The requirement title is unchanged and every canon scenario stands as it was. V2, tasks.md. The 1.2 ask's bold at-filing qualifier sat two-thirds of the way down, so by its own wording ("the rest of this ask") it governed only what followed it, leaving the two as-filed sentences above it unscoped. The qualifier moves to the head of the ask, immediately after the bold lead-in, and reads "everything below in this ask"; the sentence it displaced returns to the ask's own word, "THIS IS THE PACKET'S ONE LIVE CONSTITUTIONAL QUESTION." No other word of the ask changes; the only other character is the capital on "The pin id must", which now begins a sentence. `.openspec.yaml`'s `proposed_by` is deliberately left as filed. It is the DRAFTING provenance, frozen at filing beside an `approved_by` that carries all five acts, and the sibling precedents leave it unqualified — the same disposition this pull request's fix round 1 already recorded for it. No box moves. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
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 4 days and 3 hours by commenting @sourcery-ai review. Upgrade to get a review now.
There was a problem hiding this comment.
🟡 Changes recommended
The approval pair in .openspec.yaml was rewritten after ratification, so archive validation will reject the packet until the provenance is corrected or explicitly accepted.
Get a fresh assessment by requesting another Copilot review.
Review details
- Files reviewed: 8/8 changed files
- Comments generated: 1
- Review effort level: Lite
Copilot's ready-event pass on 3d20959 (thread PRRT_kwDOTAvnrs6h8a62, .openspec.yaml:145) found that the archive gate's origin-retention arm compares the origin declaration against the FIRST ratified commit (9c829d4, acts 1-4) and that b18e08b rewrote `approved_by` / `approved_on` for act 5, so the packet would be refused at archive. Reproduced with `origin_retention_errors`: changed keys approved_by, approved_on. RULED ACCEPT. The mutation is the ratifier's own later word — act 5's option text said "a fix round re-encodes and the record changes" — so the sanctioned remedy is the `accept` disposition `release-realization` § "Origin retention at archive" names, not a history rewrite. This commit writes the first entry of openspec/origin-dispositions.yaml (ratified_at 9c829d4…, mutation_at b18e08b…, changed_keys [approved_by, approved_on], disposed_by Brett Heap, word verbatim, cited to #992 5649935136 / #745 5649935244 / this thread) and records the disposition in review/ratification-2026-09-12.md. The gate now prints ORIGIN DISPOSITION ACCEPTED and returns no error; verify ok; strict valid; tests/proposal-support 129 passed, 72 subtests. No rule changed, no box moved, no requirement title moved. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
A moderate scenario-precondition issue and a checklist wording nit remain unresolved.
Review details
Suppressed comments (2)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:364
- This scenario does not require the pin to resolve to a valid, complete
kind: pinned_contract_manifestrecord. Apinned_workflowor shape-incomplete record that happens to carry a well-formedcapabilities:list would therefore also match this WHEN clause and be reported as a missing capability, even though D-2 assigns those records to the kind/shape findings (and the preceding scenario explicitly excludes them). Add the same valid-record precondition here so an enumeration finding cannot mask the primary pin defect.
- **WHEN** a marker names `target=pinned:<pin-id>/<capability>`, the record for `<pin-id>` carries a well-formed non-empty `capabilities:` member, and `<capability>` does not appear in it
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:309
- The new enumeration test matrix is described as having only three states, but the same matrix separately requires the malformed-enumeration case
(g)and says absent and malformed are distinct findings. Calling(a),(c), and(d)the exhaustive states can mislead the realization checklist into treating malformed input as optional; qualify this as the three non-malformed states and explicitly include(g)as the fourth required state.
member to any schema — (a), (c) and (d) are the three states of the
prerequisite (ABSENT, PRESENT-AND-NAMES, PRESENT-AND-DOES-NOT-NAME) and
without all three a branch can be absent with this list still satisfied; **(e)** an `xspec:supersedes` marker
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…and count malformed enumeration as the fourth matrix state Copilot review 5192522199 on ab40f93 raised two SUPPRESSED comments (no visible PR thread, so there is nothing to reply to), both RULED ACCEPT by the lane: 1. specs/document-lifecycle/spec.md's scenario "A pinned capability is absent from the pin record's enumeration" judged the enumeration without first requiring the pin record resolve, through the code-fixed route, to a valid, complete `kind: pinned_contract_manifest` record for its record shape — the same precondition its two sibling scenarios above it already carry. Without it, a `pinned_workflow` or a record incomplete for its shape could be reported here instead of by the kind/shape findings. Added the precondition to the WHEN and one trailing AND bullet routing kind/shape defects away from this scenario, matching the siblings' pattern. 2. tasks.md's task 3.3 called (a)/(c)/(d) "the three states of the prerequisite" while (g) MALFORMED is a distinct required state of the same prerequisite — reworded to "the three NON-MALFORMED states" and named (g) as the fourth required state, since absent and malformed are two findings with one outcome and a matrix that treats (g) as optional leaves a branch untested. Swept the packet for the same "three states" phrasing; this was the only hit. No rule changed, no requirement title moved, no box ticked. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Add the valid/complete pin-record precondition to the malformed-enumeration scenario and align task 3.3(g).
Review details
Suppressed comments (1)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:360
- The new absent-enumeration scenario explicitly requires a valid, complete
pinned_contract_manifestand says incomplete records never reach this class. The sibling malformed-enumeration scenario at lines 379-384 has no equivalent precondition, so a record that is shape-incomplete and also has malformedcapabilities:can match both the invalid-pin and enumeration scenarios, contradicting the doc-health delta's same routing rule. Add the valid/complete precondition to the malformed scenario and align task 3.3(g) so enumeration findings are evaluated only after kind/shape validation.
- **WHEN** a live marker names a lexically well-formed `target=pinned:<pin-id>/<capability>`, the record for `<pin-id>` resolves, through the code-fixed route, to a valid, complete `kind: pinned_contract_manifest` record for its record shape, and it carries NO top-level `capabilities:` member
- **THEN** the target MUST NOT resolve, the enumeration being a prerequisite of resolution rather than a condition on it
- **AND** the deterministic health pass MUST report an unresolved pinned target naming that pin record and the root it resolved against
- **AND** the remedy MUST name the PUBLISHER's act — the pinned product's publisher adds `capabilities:` through a `neutral-product-pin` change — rather than `openspec/specs/`, an active change, or an invented list written into this repository's own copy of the pin
- **AND** the pass MUST NOT read the absent member as a licence to take the capability name as declared
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…ts reason CI pytest-suite at ab40f93 (run 34786705599) failed tests/doc-health/test_pin_reachability.py:: test_every_committed_commit_shaped_value_that_resolves_is_covered: openspec/origin-dispositions.yaml, new in round 4, carries the full commit names 9c829d4... (ratified_at) and b18e08b... (mutation_at) and no declared member of the derivation-pin class covered the file. RULED: a NON-MEMBER with a reason, not a member. The two values are citations of packet history whose subject is an origin declaration, and the archive gate re-reads both on every run (rev-parse, is-ancestor, REFUSE when either fails); neither is the record's own derivation claim and nothing re-derives the file from a revision. Same reasoning and same route as the pin-loss supersession records already declared beside it; the trade is stated in the row. tests/doc-health/test_pin_reachability.py: 71 passed (was 1 failed, 70 passed). No rule changed, no box moved. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Two moderate specification/task-matrix findings remain unresolved, along with a proposal-header nit.
Review details
Suppressed comments (3)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:2
- The front-matter still says “This pull request carries the PACKET ONLY,” but this ratification PR also changes
scripts/doc_health/pin_class.pyand addsopenspec/origin-dispositions.yaml(the disposition record is described in the ratification report). Because this header is not marked as filing-time history, it misstates the contents of the PR under review; qualify it as referring to the filing PR or list these ratification bookkeeping files.
code_surface: openxFactory — `scripts/doc_health/families.py`, whose `_resolve_capability` (line 1317) and `fam_tag_hygiene` (line 1331) gain a second resolution arm for a pinned target, plus that arm's tests under `tests/doc-health/` (hyphen: the tests directory is `tests/doc-health/`, while the package under test is `scripts/doc_health/`), plus AT MOST THREE FURTHER FILES THE ARM'S OWN RULES REQUIRE and which are named here rather than discovered at realization: (i) ONE module under `scripts/doc_health/` holding the shared, PURE, NON-EXECUTING `pinned_contract_manifest` SHAPE ADAPTER — design D-2's single code-fixed route, which holds the per-shape table and reads the record and nothing else — and this file exists ONLY where the realization gives that adapter a module of its own; where the adapter lives inside `scripts/doc_health/families.py`, already named above, (i) ADDS NO FILE. Under EITHER placement the adapter NEITHER EDITS NOR CALLS any of the five per-product pin verifiers, which are product-specific, shell out, and in one case reach the network, so they are not a shape-only API to extract from; the only place any of them is imported at all is the GUARD LEG of the equivalence test (task 3.3(p)), which lives in that arm's tests under `tests/doc-health/` — already named above, so it adds no file either — and imports them at fixed, authored paths; and (ii) the containment helper of D-2 and task 3.3(m), EITHER as a parameter added to `resolve_in_tree` in `scripts/validate-pin-registrations.py` — that file's own edit, no further file — OR as one shared helper both callers use, which is a NEW file AND requires `scripts/validate-pin-registrations.py` itself to be edited to become the shared helper's second caller. THE BOUND IS EXACTLY THREE AND THE THREE ARE ENUMERATED: (1) the shape-adapter module under `scripts/doc_health/`, (2) the new shared containment helper, (3) `scripts/validate-pin-registrations.py` as that helper's second caller. THREE is reached only where (i) gives the adapter a module of its own AND (ii) takes the shared-helper branch; where the adapter lives in `scripts/doc_health/families.py` and (ii) takes the parameter branch the further-file count is ZERO, and the two intermediate combinations give ONE or TWO. No fourth file is admitted under any combination, and the five pin verifiers are in none of them. NO BYTE OF ANY OF THEM MOVES IN THIS PULL REQUEST. This pull request carries the PACKET ONLY — `proposal.md`, `design.md`, `tasks.md`, `.openspec.yaml`, two `## MODIFIED` spec deltas, one README "Active changes" bullet, the machine-seeded per-change sweep-ledger row in `tests/sequenced_after/corpus-ledger.yaml`, and the two `_LEDGER_SUBJECTS` rows the two `## MODIFIED` deltas above require of `tests/doc-health/test_modified_block_currency_self_gate.py`'s own carriage-ledger self-gate (all three are bookkeeping the self-gates require of ANY filing that touches a promoted block, not test implementation for the pinned-target arm the realization proposes). THE REALIZATION IS A LATER PULL REQUEST in this same repository, authored after ratification, and it is FOUR surfaces and not more: (1) the resolver arm and its tests, together with the at-most-three further files named above that the arm's code-fixed-route and containment rules require; (2) the four affected markers retargeted from `target=openxwallet` to the pinned form; (3) `docs/document-lifecycle.md`'s Prose Tagging Markers section carrying the new form and the stale-target rule; (4) the stale sentence at `ideation/staging/INDEX.md:2262-2265`, which still calls three `openxwallet` blocks "all resolving" and has been false since 2026-08-28. NOT THIS PACKET'S SURFACE, each for a stated reason: no marker regex changes, because the existing `_CAND_OPEN` and `_ATTR` patterns already accept the proposed value unchanged (design D-1, measured); no pin record is edited and no pin schema member is added — D-2 RESERVES the member name `capabilities:` as the spelling of its enumeration PREREQUISITE, so that the prerequisite has a deterministic input contract rather than an intention, but it NAMES it and does not add it: no pin record gains that member here, no schema admits it here, and whether a real pin record may carry it is a `neutral-product-pin` question with the publisher (design D-2); no capability is created, deleted or renamed; no `openspec/specs/` directory moves; no contract byte, pin byte or digest moves; no contract bundle is cut.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:407
- This new exclusion claims that malformed enumeration cases are handled by their own scenario so no marker can fall under two conflicting scenarios, but that scenario currently lacks the valid, complete
kind: pinned_contract_manifestprecondition present in its siblings. Apinned_workflowor shape-incomplete record with a malformed member can therefore satisfy both the kind/shape scenario and the malformed-enumeration scenario; tighten that scenario and its task-matrix counterpart so kind/shape defects are routed away before this exclusion is relied on.
- **WHEN** a live marker names a lexically well-formed `target=pinned:<pin-id>/<capability>` and the record for `<pin-id>` declares `kind: pinned_contract_manifest` with a `revision_kind: commit`, a `commit`, a `submodule_path`, a `digest_algorithm`, a `digest_definition` and a `digests` mapping carrying a `tree_sha256` — each of those six members PRESENT AND OF THE FORM ITS SHAPE GUARD REQUIRES rather than merely present — and carries neither `files:` nor `pinned_by_commit_only:`, AND carries a well-formed, NON-EMPTY `capabilities:` member in which `<capability>` appears
- **THEN** the record MUST be judged COMPLETE against that shape and the target MUST resolve on it, one digest over the whole tree leaving no member undeclared
- **AND** the pass MUST NOT report the absent per-file lists as missing members, the enumeration those lists provide being supplied here by the tree digest
- **AND** a record carrying both that tree digest and a `files:` list MUST be reported as an invalid pin naming both shapes tried, no ratified text admitting the mixture
- **AND** a record of this shape carrying any of those six members MALFORMED, and one whose `capabilities:` member is ABSENT, malformed, or well-formed without `<capability>` in it, are OUTSIDE this scenario and are judged by their own scenarios above, so no marker falls under two scenarios prescribing different outcomes for it
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:324
- Task 3.3(g) can classify a malformed
capabilities:value on apinned_workflowor shape-incomplete record as the enumeration case, even though D-2 requires kind/shape validation first. This conflicts with the matrix's explicit separation and can make one fixture require both malformed-enumeration and invalid-pin outcomes; constrain (g) to a valid, completekind: pinned_contract_manifestrecord before asserting the malformed-enumeration finding, as the other enumeration cases do.
pin record NAMED BY A LIVE MARKER whose `capabilities:` member is present but
malformed — a scalar, a mapping, a null value, an EMPTY sequence, or a
sequence carrying a non-capability-shaped item — emits a
malformed-enumeration finding AND the pinned target naming it does not
resolve, the record being read because the marker names it and not by any
- Files reviewed: 10/10 changed files
- Comments generated: 0 new
- Review effort level: Lite
…o and 3.3(g) on a valid, complete record; date the PACKET ONLY header to the filing PR Copilot's pass on 4d58e80 generated no thread and left three suppressed comments, all RULED ACCEPT by the lane (fix1019-round7.md), the class round 5 ruled the same way: - specs/document-lifecycle/spec.md, scenario "A pin record's capability enumeration is malformed": the WHEN gains the precondition its siblings carry — the record resolves, through the code-fixed route, to a valid, complete `kind: pinned_contract_manifest` record for its shape — and the closing AND routes records of another kind or incomplete for their shape to the kind and shape findings, so the tree-digest scenario's "no marker falls under two scenarios" exclusion is true of every scenario it names. - tasks.md 3.3(g): the malformed-enumeration fixture is a record otherwise VALID AND COMPLETE for its shape, as (a)'s is; kind and shape defects are judged by (f) and the shape findings before (g), so no fixture is asked for both the malformed-enumeration and the invalid-pin outcome. - proposal.md `code_surface:`: "This pull request carries the PACKET ONLY" was filing-time text (#994 → dafe887) and is false of the ratification PR, which also carries review/ratification-2026-09-12.md, the first entry of openspec/origin-dispositions.yaml and that file's NON-MEMBER row in scripts/doc_health/pin_class.py. It now names the filing PR and lists the ratification bookkeeping as bookkeeping, not arm surface. No member of the enumerated code surface moved in either PR. No rule changed, no requirement title moved, no box ticked; the canon-restated scenarios are untouched. The doc-health delta's mirror scenario already carried the precondition and is unchanged. Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
…PR): pinned-target resolution arm, tests, four markers, docs, INDEX (#1040) Lane: openxfactory-2 (openXfactory-2) **REALIZATION of `extend-prose-tagging-target-to-pinned-capabilities` — design D-5's ONE pull request**, on Brett Heap's word "realize it" (2026-09-14; #992 comment 5662218844; realization CLAIMED on #992, comment 5662204807), after the packet was RATIFIED with the fail-closed tightening of task 1.2 by PR #1019 → `e6e1c968` (RATIFIED record #992 5659201929). Opened as DRAFT; its merge is a separate word. Authored on a fresh clone by the lane's Opus author (three commits, each carrying the packet's own reasoning); reviewed and completed by the lane after the author was stopped twice by the account session limit. ## What this realizes — the four surfaces, in the packet's words 1. **The resolver arm** (`scripts/doc_health/families.py`, § 3.1–3.2). A candidate marker's `target=` may name `pinned:<pin-id>/<capability>`. THE REGEXES DO NOT MOVE (D-1: `_CAND_OPEN` and `_ATTR` already admit `:` and `/`); the LEXICAL GRAMMAR — exactly two `[a-z0-9]+(-[a-z0-9]+)*` components joined by one `/` — is checked BEFORE any pin-record path is built. The arm FAILS CLOSED (D-2 as re-ruled 2026-09-13): a pinned target resolves only where the pin id resolves — under the in-tree arm's own root precedence, document root then `openxFactory` root — to a `kind: pinned_contract_manifest` record COMPLETE FOR ITS RECORD SHAPE, that record carries a well-formed non-empty top-level `capabilities:` enumeration, and `<capability>` is a member of it. Every finding names the root it resolved against or failed to; ABSENT and MALFORMED enumerations are two findings (publisher's act vs. repair the member) with one outcome; the in-tree arm never judges a pinned value; `xspec:supersedes spec=pinned:…` is refused with the scenario's sentence (D-1.1). `verify_pin:` is compared against the verifier the adapter tracks and never followed; a differing value is a finding BESIDE the resolution. 2. **The tests** (`tests/doc-health/`, § 3.3 (a)–(p), every lettered case). `test_tag_hygiene_pinned_targets.py` drives (a)–(o) over a new committed corpus `fixtures/tag-hygiene-pinned/` plus `tmp_path` trees for the cases no repository should carry (a corrupt record per shape; the four containment escapes and their positive; the three `verify_pin:` non-use cases; the two-root aggregate and the single-root negative), asserting (h) and (m) on the READ SURFACE. `test_pin_shape_adapter.py` is (p): the RECORD leg over each real record in `contracts/` (accepted as it stands; refused NAMING each table member removed; still accepted with each of the 38 non-table, non-`kind` members removed) and the GUARD leg importing each verifier at its FIXED, AUTHORED path — 29 member entries, 27 on the guard leg, 2 (`files` under shape (a)) on the citation route, re-READ at the cited line. Neither leg asserts sufficiency. `EXPECTED_ACTIONS` gains the arm's TWELVE action strings (j), and both derivations widen to reach them. 3. **The four markers + the docs** (§ 3.4–3.5). `openxwallet-neutral-home.md` lines 222, 242, 280 and `notebook-access-wallet-governance.md` line 107 now read `target=pinned:openxwallet/openxwallet`; `docs/document-lifecycle.md`'s Prose Tagging Markers section carries the form, its scope (candidate `target=` only) and D-3's stale-target sentence verbatim. 4. **The stale INDEX line** (§ 3.6): `ideation/staging/INDEX.md`'s "all targeting `openxwallet`, all resolving" is made TRUE rather than deleted. `tasks.md` boxes 3.1–3.6 are ticked and no other byte of that file moves; **3.7 (evidence) is TICKED** (refreshed in round 7, `c111fec0`) citing the final code tree `da54bed4` and its green run 34897473169; § 4 stays open. ## The file bound (`proposal.md:2` `code_surface:`) — all three admitted further files used, none beyond - (1) the shape-adapter module: **`scripts/doc_health/pin_shapes.py`** — the ONE code-fixed route; pure, non-executing; holds the per-shape table with each entry's measured script:line citation; imports no verifier. - (2) the shared containment helper: **`scripts/pin_containment.py`** — neutral, top of `scripts/` beside `output_boundary.py`/`path_slug.py`, standard library only; receives the RESOLVING ROOT AS A PARAMETER; `boundary_dir` checks `<root>/contracts` is a real, non-symlink, non-redirecting directory BEFORE any candidate. - (3) **`scripts/validate-pin-registrations.py`** as the helper's second caller — `resolve_in_tree` keeps its name, signature and refusal TEXT and delegates. - No pin record, schema, verifier, `contracts/` byte, `openspec/specs/` file, spec delta, `.openspec.yaml` or README byte moves (`git diff --stat origin/main -- <those>` is empty). ## THE HONEST OUTCOME: the four findings CHANGE FORM and stay FOUR Under fail-closed D-2, retargeting does NOT clear the four `error`-band `tag-hygiene` findings, because `contracts/openxwallet-pin.yaml` carries no `capabilities:` enumeration. They change from `unresolved target=openxwallet — name a capability under openspec/specs/ or an active change` to `unresolved pinned target=pinned:openxwallet/openxwallet at line N: contracts/openxwallet-pin.yaml in root <root> carries no capabilities: enumeration — the publisher adds capabilities: to the pin record through a neutral-product-pin change`. Still four, still `error`, and for the first time naming the act that clears them — the PUBLISHER's, no part of this packet. ## Evidence at `16ce87d9` (fresh full clone) - doc-health `scripts/doc-health.py --single-repo . --as-of 2026-09-14`: `Findings: 31 critical, 6 error, 28 warning, 24 info. New regressions vs previous report: 0.` Finding-by-finding diff against a worktree at the base `dd073746` (same clone): the ONLY content difference is the four `tag-hygiene` findings changing form — the four `unresolved target=openxwallet at line 107/222/242/280` findings are GONE and four `unresolved pinned target=pinned:openxwallet/openxwallet at line 107/222/242/280: contracts/openxwallet-pin.yaml in root <root> carries no capabilities: enumeration` findings appear at the same four paths and lines; totals 31/10/28/24 → 31/6/28/24 because four `release-inventory-drift` errors that appear in ANY git-worktree checkout regardless of commit (measured: this same head shows 1 such error in the branch checkout and 5 in a `git worktree` of it) are counted in the worktree base and not in the branch checkout — a quirk of how that family reads a worktree, unrelated to this change and noted for the lane, not fixed here - pytest (targeted, the suites the change touches): `pytest -q tests/doc-health tests/pin_registrations tests/openxwallet_pin tests/openreposhape_pin tests/opendox_pin tests/openxdox_pin tests/proposal-support tests/sequenced_after -p no:cacheprovider` → `2460 passed, 7 warnings, 74 subtests passed in 400.41s` — the CI `pytest-suite` at this head is the tree-grain evidence § 3.7 cites. - `python3 scripts/proposal-support.py . verify` → `proposal support verification ok`; `python3 scripts/validate-sequenced-after.py . --ledger-diff` → `per-change sweep ledger consistent with the corpus (214 rows)`; `python3 scripts/validate-scope-globs.py .` → passed; `python3 scripts/validate-pin-registrations.py` → `OK openxwallet-pin … OK contracts/manifest.yaml: 2 pin registration(s) cohere`; `OPENSPEC_TELEMETRY=0 openspec validate --all --strict` → `Totals: 107 passed, 2 failed (109 items)` — the same two pre-existing, unrelated MODIFIED-scenario omissions (`add-chain-attestation`, `add-composed-view-authoring`) as `origin/main`. - A local run of the WHOLE suite in the lane's container stopped at collection on 11 unrelated `tests/ideation-dashboard` errors (`openxdox.domain_profile.AlreadyRegistered`, an environment condition of that container); the required CI `pytest-suite` is the arbiter for the full suite. ## Not done by this PR — separate later words, none given Merge (Brett's word); tick of 3.7 (lane, after green CI); archive (§ 4, on merged-plus-green realization evidence via `scripts/proposal-support.py`); the publisher's `capabilities:` enumeration (openXwallet, `neutral-product-pin` — recorded as prose, not filed, not owed). **Fix round 1 (`9e40d749`)** Copilot's review of `16ce87d9` (three threads, four suppressed comments), all RULED ACCEPT by the lane (`fix1040-round1.md`) except the 3.7 nit: (R1) a missing PyYAML no longer returns silently — it is a controlled ERROR finding with its own action string, so the fail-closed check cannot pass open (`EXPECTED_ACTIONS` → thirteen); (R2) `_pin_record_text` catches `UnicodeError` beside `OSError` — a non-UTF-8 record is the unreadable-record finding, run completes; (R3) every `Path.resolve()` in the containment helper is guarded (`RuntimeError` on a symlink loop, `OSError` on an unreadable link) and maps to a new refusal code `unresolvable`; the arm branches on the code, never the reason text, and reuses the containment action; (R4) `pinned_by_commit_only`: MEASURED `verify-openxwallet-pin.py:443` / `validate-openreposhape-pin.py:487` read `pin.get(...) or []`, so every falsey value is empty and admitted — the adapter refusing `null` was WIDER than the guard; (R5) `dispositions: null`: MEASURED `validate-openspec-cli-pin.py:801-803` `if raw is None: return []` — accepted; (R6) `fullmatch` for capability names and the pinned value (a YAML block scalar can carry a trailing newline). Tests added for each. **3.7 (the suppressed nit): that box is the EVIDENCE box the lane ticks after THIS round's CI is green, citing the run — as stated above; it was not "claimed ticked".** Threads replied and resolved. EVIDENCE at `9e40d749`: `pytest -q tests/doc-health tests/pin_registrations -p no:cacheprovider` → `1881 passed, 7 warnings`; `--family tag-hygiene` doc-health still shows exactly the four `unresolved pinned target` errors naming `contracts/openxwallet-pin.yaml`; verifiers/contracts/specs untouched (`git diff --stat origin/main -- …` empty). **Fix round 2 (`62bc53e1`)** Copilot's pass on `9e40d749` (0 threads, ONE suppressed comment, `pin_shapes.py:303`) RULED ACCEPT by the lane (`fix1040-round2.md`): the product-identity entry admitted either spelling for EVERY shape-(a) record, so `contracts/openxwallet-pin.yaml` minus `submodule_path` was still ACCEPTED (it also carries `source_repository`) although `verify-openxwallet-pin.py:194` refuses it — the adapter was NARROWER than the guard for a known record, and the record leg had removed both spellings. D-2 resolves that entry AT THE RECORD GRAIN to the record's own verifier's set, and tasks 3.3(p) counts `source_repository` among openxwallet-pin.yaml's nine NON-table members. Now: a code-fixed `PRODUCT_IDENTITY_BY_PIN` beside `TRACKED_VERIFIERS` (keyed by the PIN ID from the marker, never by the record's `verify_pin:`) makes `judge(record, pin_id)` require `submodule_path` for `openxwallet` and `source_repository` for `openreposhape`, the other spelling being a non-table member of that record; an UNKNOWN pin id keeps the either-spelling reading and still refuses a record naming no product. The record leg now removes the ONE spelling each record's verifier reads (openxwallet minus `submodule_path` → REFUSED naming it; minus `source_repository` → accepted), and the 38-member test asserts the per-record LISTS by name. No action string, verifier, pin record, spec or delta byte moves; the file bound is unchanged. (No thread to reply to — suppressed.) EVIDENCE at `62bc53e1`: `pytest -q tests/doc-health tests/pin_registrations -p no:cacheprovider` → `1881 passed, 7 warnings`; `--family tag-hygiene` doc-health still exactly the four `unresolved pinned target` errors; forbidden-surface diff empty. **Fix round 3 (`0138384f`)** Copilot's pass on `62bc53e1` (one thread, one suppressed comment), both RULED ACCEPT by the lane (`fix1040-round3.md`): (R1) `Path.resolve()` raises `ValueError` on a claimed path carrying an embedded NUL — which a YAML registration can supply — so the containment helper now maps `ValueError` (beside `OSError`/`RuntimeError`) to the `unresolvable` refusal and `resolve_in_tree` refuses instead of tracing back; helper-level test added (a marker cannot carry NUL; the lexical grammar refuses it first). (R2, suppressed) the resolver's module-level bare `from pin_containment import …` works only with `scripts/` on `sys.path`, while this repository's own tests reach the package as `scripts.doc_health.*`; it now falls back to the package-relative spelling (`scripts` is a namespace package; the neutral helper is its sibling), proven by a fresh-interpreter test from the repository root with no `PYTHONPATH`. Thread replied and resolved. No action string, verifier, pin record, spec or delta byte moves. EVIDENCE at `0138384f`: `pytest -q tests/doc-health/test_tag_hygiene_pinned_targets.py tests/doc-health/test_pin_shape_adapter.py tests/pin_registrations tests/doc-health/test_import_direction.py -p no:cacheprovider` → `145 passed`; the CI `pytest-suite` at this head is the tree-grain run § 3.7 cites. **Round 4 (`f4198a57`, tests only) — RULED STANDS; and 3.7 TICKED (`0b1496ef`)** Copilot's suppressed comment on `0138384f` (`pin_shapes.py:517`: "an unknown pin carrying both `submodule_path` and `source_repository` resolves, though the shape is exactly one product-identity member and the union must be refused") is RULED STANDS by the lane (`fix1040-round4.md`): D-2's "EXACTLY ONE product-identity member" describes the TABLE ENTRY, resolved per record — not a prohibition on a record CARRYING the other spelling as an extra top-level member; "the UNION would refuse openxwallet-pin.yaml" is about REQUIRING both, and the real openxwallet record carries BOTH spellings today. Neither shape-(a) verifier refuses a record for carrying the spelling it does not read, so an adapter refusing co-presence would be WIDER than the guards — the defect the two-leg test forbids. Pinned by a test (unknown pin with both → accepted; with neither → refused naming both); no adapter byte moves. **Task 3.7 is now ticked** (`0b1496ef`, tasks.md only) at the tree grain: code tree `0138384f`, required `pytest-suite` GREEN there (run 34875251402, all six required green); doc-health `--single-repo` 0 new regressions, and finding-by-finding against `dd073746` the only content change is the four `tag-hygiene` findings changed in form (re-measured with `--family tag-hygiene` at `9e40d749`, `62bc53e1`, `0138384f`: exactly four, still `error`). **The four do not reach zero.** § 3 carries no unticked box; § 4 (archive) stays open for a separate word. The two commits after `0138384f` are tests-only and the tick; CI re-runs on them. **MERGE WORD GIVEN** (see Round 6 below); the lane lands on green at `da54bed4`. Merge as SQUASH (the lane's Rule 6 landing), a separate word from Brett Heap; none given. **Round 5 (`e1138d8d`, docstrings + one assertion; no code byte)** Copilot's two suppressed comments on `0b1496ef` read the docstrings ("satisfied by either … refuses only NEITHER"; "no record must carry both") against the loop and found the WORDS wrong. RULED by the lane (`fix1040-round5.md`): the BEHAVIOUR stands — for an unknown pin the product-identity entry is MISSING only when neither spelling is present, a record may carry both (the real openxwallet record does), and a spelling that IS present is judged by its own form, a present-but-malformed one being MALFORMED exactly as an optional member present in the wrong form is (a broken byte is never a silent pass). `required_spellings`'s docstring, the `_PRODUCT_IDENTITY` comment and the round-4 test now say exactly that, and one more assertion pins it (unknown pin, valid `submodule_path` + malformed `source_repository` → MALFORMED naming `source_repository`). **Round 6 (`da54bed4`)** Copilot's three suppressed comments on `e1138d8d`, all RULED ACCEPT (`fix1040-round6.md`): (R1) a DANGLING `contracts` symlink was classified missing because `exists()` follows the link — the symlink test now comes first and the boundary is REDIRECTING (test added); (R2) a document whose repository has NO resolution root in the run passed silently (nothing to search, nothing emitted) where the in-tree arm reports an unresolved target — it is now one controlled finding naming the repository, with its own action (`EXPECTED_ACTIONS` → fourteen; test added); (R3) the boundary refusal's action was reused for four refusal codes with words that fit one — replaced by one neutral sentence (present, a directory, not a symlink or a redirection), the rule text carrying the specific reason. No verifier, pin record, spec or delta byte moves. EVIDENCE at `da54bed4`: `pytest -q tests/doc-health/test_tag_hygiene_pinned_targets.py tests/doc-health/test_pin_shape_adapter.py tests/doc-health/test_families.py tests/pin_registrations -p no:cacheprovider` → `191 passed`. **Brett Heap's MERGE WORD stands** (#992 5670841396, "merge 1040 when green, then post the records"): the lane lands this PR under Rule 6 once the six required checks are green at `da54bed4`, ruling any further Lite-effort suppressed nit STANDS unless substantive. **Round 7 (`c111fec0`, no code byte) — the 3.7 evidence refreshed** Copilot's two suppressed comments on `da54bed4` ("Approval recommended"), both RULED ACCEPT (`fix1040-round7.md`): the ticked 3.7 evidence cited the `0138384f` tree and called the later commits tests-only, which round 6 made untrue — it now cites the FINAL code tree `da54bed4` and its green required `pytest-suite` run 34897473169, with the `--family tag-hygiene` re-measure at that tree (exactly four findings, changed in form, still `error`); and the test name `repositorys` → `repositories`. The one commit after `da54bed4` is this refresh plus that rename. **Landing on green at `c111fec0`** under Brett Heap's standing word (#992 5670841396). refs #992 🤖 Generated with [Claude Code](https://claude.com/claude-code) ## Summary by Sourcery Extend prose candidate tagging to resolve capabilities from validated pinned product records while failing closed on malformed, unsafe, or unsupported references. New Features: - Support resolving prose candidate markers against pinned capabilities using validated pin records and capability enumerations. - Add fail-closed validation for pinned target grammar, pin record shapes, capability membership, containment boundaries, verifier metadata, and unsupported supersedes usage. Bug Fixes: - Prevent pinned target resolution from following path escapes, redirected contract registries, malformed records, or verifier paths supplied by pin data. - Correct documentation and index descriptions for capabilities that have moved out of the repository. Enhancements: - Introduce shared pin containment utilities and a pure adapter for validating supported pinned contract manifest shapes. - Retarget four prose markers to the pinned capability form and preserve distinct diagnostics for publisher, record, and marker defects. Documentation: - Document the pinned candidate target form, its resolution rules, scope restrictions, and stale-target handling. Tests: - Add comprehensive coverage for pinned target resolution, malformed and incomplete pin records, containment escapes, multi-root precedence, verifier non-use, and shape-adapter consistency. Chores: - Mark realization tasks 3.1–3.6 complete and update the staging index to reflect unresolved pinned targets.



Lane: openxfactory-2 (openXfactory-2)
RULING. Brett Heap, openxFactory repository owner, first-hand, in session —
RATIFIED: 1.1, 1.3 and 1.4 AS FILED; 1.2 WITH TIGHTENING (D-2 FAILS CLOSED).
FIVE SELECTIONS, not typed sentences, all by interactive multi-choice, across
two sittings. NO VETO, and ONE AMENDMENT — act 5 itself.
Acts 1-4 — 2026-09-12 at approximately 23:20Z, one question per
tasks.md§ 1 task:On 1.4 the option "Confirm, and give the realization word now" was offered and NOT taken, so no realization word exists.
Act 5 — 2026-09-13T01:25:07Z (±3 min), a RE-RULING ON TASK 1.2 ALONE, put to him over Copilot review thread
PRRT_kwDOTAvnrs6h1H-Hon this pull request (filed againstreview/ratification-2026-09-12.md:80: ratifying D-2 as filed leaves the capability segment open —pinned:openxwallet/typoresolves until a pin record enumerates capabilities — and "merely recording this as a live constitutional question does not create an exception or amend the constitution"). He selected:whose description read VERBATIM: "Reopens 1.2: D-2 refuses a pinned target whose record carries no capabilities enumeration; the four markers stay unresolvable until openXwallet's pin publishes one. Reverts your 23:20Z selection; a fix round re-encodes and the record changes." NOT taken: "Record my as-filed ruling as the explicit justification (Recommended)", "Same, PLUS name a Principle VII clarification as an owed successor", "Hold #1019 — I will read the thread myself". Act 5 supersedes act 2 on task 1.2 and on nothing else; 1.1, 1.3 and 1.4 stand exactly as ruled at 23:20Z.
THE ONE CITATION — the consolidated record carrying all five acts, which supersedes and restates the 23:20Z record (comment 5649359053): openxFactory #992, comment
https://github.com/opensoft/openxFactory/issues/992#issuecomment-5649935136; copied for the lane's status thread to #745, commenthttps://github.com/opensoft/openxFactory/issues/745#issuecomment-5649935244.Recorded in
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/review/ratification-2026-09-12.md.WHAT IS RATIFIED. The packet's text at the head acts 1-4 were given over, landed by PR #994 —
dafe8877e4c8f2d3a52cbe94307904b639b7bece(2026-09-12T23:16:13Z) — for D-1, D-1.1, D-3 and D-5; and the FAIL-CLOSED D-2 that act 5 tightened, which this pull request re-encodes on that word:xspec:candidatemarker'starget=may bepinned:<pin-id>/<capability>, where<pin-id>is the stem of acontracts/<pin-id>-pin.yamlrecord; the value is EXACTLY TWO[a-z0-9]+(-[a-z0-9]+)*components separated by EXACTLY ONE/, and a valuefailing that grammar is refused BEFORE any path is built or any file read.
D-1.1:
xspec:supersedes'sspec=is OUT OF SCOPE and CLOSED.pinned:<pin-id>/<capability>target resolves only where ALL THREEprerequisites hold. (a) UNCHANGED FROM THE FILING — the pin id must
resolve to a pin record this
repository carries of
kind: pinned_contract_manifest(pinned_workflowexcluded; five of the six pin records qualify today), COMPLETE for its
RECORD SHAPE against that shape's SHAPE-GUARD-REQUIRED SET — the top-level
members its in-tree verifier refuses-when-absent in its pure, source-free
guards, pinned to those guards by a two-leg equivalence test and
NECESSARY, by design, without being SUFFICIENT for the record's full
verifier — judged through a CODE-FIXED route (one shared, pure,
non-executing adapter) that never executes, imports or opens a path
the record selects (
verify_pin:is data it may compare, never aresolution prerequisite), and resolved under the in-tree arm's own root
precedence, whose
contractsdirectory must itself be real andnon-redirecting before any candidate path is read. (b) THE TIGHTENING —
that record must ALSO carry a well-formed, non-empty top-level
capabilities:enumeration, and (c)<capability>must be a MEMBER ofit. An ABSENT enumeration is an UNRESOLVED PINNED TARGET — a controlled
finding naming the record path and the remedy, "the publisher adds
capabilities:through aneutral-product-pinchange" — exactly as aMALFORMED one already was. There is no dormant arm and nothing self-arms.
capabilities:stays RESERVED here and is added to no record and no schema.PRINCIPLE VII IS SATISFIED BY CONSTRUCTION: the capability segment is
checked against a closed registry and a deferred or absent enumeration fails
closed rather than degrading open, so no Complexity-Tracking justification
and no constitution amendment is owed.
design.mdKEEPS the constitutionalobjection in full, as the record of the tension, and closes it with a dated
RULED paragraph naming both acts and thread
PRRT_kwDOTAvnrs6h1H-H.the marker either takes the pinned form or the block is unfenced; never
silently retargeted, never silently deleted.
WHAT IS NOT RATIFIED / NOT AUTHORIZED BY THIS WORD.
scripts/doc_health/families.pymoves; nomodule is added under
scripts/doc_health/; no byte ofscripts/validate-pin-registrations.pyor of any per-product pinverifier moves; no marker is retargeted or deleted;
docs/document-lifecycle.mdandideation/staging/INDEX.mdare nottouched; no pin record gains a
capabilities:member and no schemaadmits one. The four
error-bandtag-hygienefindings stand at FOUR,unchanged.
fail-closed D-2, no pin record in this tree enumerates capabilities, so when
the resolver and the four retargeted markers land together the four findings
CHANGE FORM rather than close — to "unresolved pinned target —
contracts/openxwallet-pin.yamlcarries nocapabilities:enumeration;remedy: the publisher adds one through a
neutral-product-pinchange" —still FOUR and still
error-band. They reach ZERO only on openXwallet'spublisher's act through
neutral-product-pin, which is no part of thispacket or of its realization.
code_surfaceis non-empty, so underrelease-realizationthis packet archives only on merged-plus-green realization evidence.
split-openxwallet-repoarchived-ledgerentry — that owed successor discharges on ARCHIVE. The archived packet is not
edited at all.
this repository's Rule 6 landing-window protocol.
WHAT MOVED, IN ONE COMMIT.
proposal.md:Status: draft→Status: ratified; aRatified:paragraphadded beneath it, inside the 15-real-line header window;
Proposed:keptverbatim.
design.md:Status: draft→Status: ratified; oneRatified by:line.tasks.md:Status: draft→Status: ratified; oneRatified by:line;boxes 1.1, 1.2, 1.3 and 1.4 ticked by this commit and no others, with RULED
annotations. This commit ticks NO box in § 2, § 3 or § 4: § 2's boxes stand
exactly as the filing left them (§ 2.1–2.7, all already
[x]), and § 3 and§ 4 stay open.
.openspec.yaml:origin.approved_by/origin.approved_onADDED besidethe existing drafting-only
proposed_by/proposed_on;kind,id,reason,proposed_by,proposed_onandrelatedunmoved — approval is apure ADDITION (
document-lifecycle, Proposal origin declaration).README.md: the OpenSpec Records "Active changes" bullet's status phrasemoved
Status: draft→Status: ratified, its drafting-shape clausereplaced, and one ratification sentence appended. The bullet's continuation
lines were re-flowed by the kit (lossless; single hunk), which is why the
diff shows the whole bullet.
review/ratification-2026-09-12.md—Status: ratified,Kind: report,EXACTLY ONE citation line.
(
statestaysactive; class, declares and prose unchanged), and--ledger-diffexits 0 without a re-seed.TIGHTENING ROUND (act 5),
ccc719fdandb18e08b4. No box moved: 1.2 stays[x]and only its RULED annotation changed; § 3 gains a paragraph, recordedas prose and not as a task line, naming the publisher's enumeration as the
closure prerequisite — not filed, not claimed, no issue opened — and it CAN
gate no archive, being no box.
design.md: D-2's DECISION becomes three prerequisites; the "constitutionalobjection" section and its three-point argument are KEPT as the record of the
tension and closed with a dated RULED paragraph naming both acts, the option
text verbatim and thread
PRRT_kwDOTAvnrs6h1H-H; a Principle VII sentence isadded. Every "arm 1 / dormant arm 2 / self-arming / degrades open" sentence is
levelled. D-4, D-5's test list and D-5's archive gate follow the changed-form
consequence.
specs/document-lifecycle/spec.mdandspecs/doc-health/spec.md: both## MODIFIEDblocks restate canon and move only the deliberate delta — theenumeration becomes a prerequisite, absent and malformed are two findings with
one outcome, and one new scenario apiece.
tasks.md: 1.2's RULED annotation; 1.1/1.3/1.4 re-cited to the consolidatedrecord; § 3.2, 3.3(a)(c)(d)(g), 3.3(l)'s shape-(b) positive case, 3.5 and 3.7.
proposal.md,.openspec.yaml(approved_bycarries all five acts;approved_on→ 2026-09-13),README.mdbullet, andreview/ratification-2026-09-12.md, which keeps EXACTLY ONE citation line —now the consolidated comment.
EVIDENCE (re-measured at
b18e08b4, 2026-09-13, in the branch's own clone).openspec validate extend-prose-tagging-target-to-pinned-capabilities --strict→ valid.openspec validate --all --strict→Totals: 104 passed, 3 failed (107 items); the FAILURE SETEQUALS
main's, measured the same day in a fresh worktree oforigin/main(
3cf8b0bb,Totals: 102 passed, 3 failed (105 items); the item countsdiffer because
mainhas archived two changes since the merge-base) — thatset is the same three on both sides:
disposition-codexfactory-declared-renames,disposition-codexfactory-floor-relocation-retitle,disposition-codexfactory-regular-pr-council-clearance-archive.scripts/proposal-support.py . verify …→proposal support verification ok.--single-repo .:New regressions vs previous report: 0, andthe base (
6da66703) and head (b18e08b4) reports are BYTE-IDENTICAL once theworktree's own repo slug is normalized (
diff→ 0 lines). The raw findingcount is
--as-of-date-dependent (scripts/doc_health/runner.pydefaults--as-ofto today UTC; the aging families compute(as_of − commit_date).daysagainst fixed thresholds) — measured
--as-of 2026-09-13(the default at01:50Z): 87 before, 87 after (31 critical, 9 error, 26 warning, 21 info on
both sides).
proposal-origin,ratified-provenanceandstatus-validityeach name this packet on 0 lines.
scripts/validate-sequenced-after.py . --ledger-diff→ exit 0, ledgerconsistent (210 rows) — a ratification and its tightening move no row.
pytest tests/doc-health/test_modified_block_currency_self_gate.py tests/proposal-support tests/header_contract_oracle.py tests/sequenced_after→434 passed, 72 subtests passed in 80.50s. Themodified-block-currency SELF-GATE is included deliberately: both
## MODIFIEDblocks moved, and its named-subject carriage ledger is what proves the two
rows this packet carries are still exactly the two it should.
b18e08b4:every figure above reproduced; currency clean, boxes clean, one citation line
per document, scope clean. TWO wording defects found, both ruled ACCEPT and
encoded in
1b4946eb— V1specs/document-lifecycle/spec.md's resolutionparagraph opened "A PINNED target resolves when its
<pin-id>resolves to aNEUTRAL-PRODUCT pin record …", which read alone states pin-record resolution
as SUFFICIENT (the reading act 5 refused) and promotes verbatim at archive; it
now opens "A PINNED target resolves ONLY WHERE ALL THREE of the following
hold. FIRST, …" and names the enumeration and membership prerequisites up
front, with the requirement title and every canon scenario unchanged. V2
tasks.md's 1.2 at-filing qualifier sat below two as-filed sentences ittherefore did not scope; it moves to the head of the ask and reads "everything
below in this ask", the displaced sentence returning to the ask's own word. No
rule changed and no box moved;
openspec validate … --strict,proposal-support verify, the header-contract oracle and themodified-block-currency self-gate were re-run green on
1b4946eb.ratify992/verify/report.md(read-only, ownclone) — heads
045602dfandb5e9cab2both clean in every governeddocument; three PR-body-only findings (V1-V3, encoded and corrected in
this section).
Fix round 1 (b5e9cab)
Copilot's suppressed comment on
proposal.md:28(no visible PR thread) foundthat the packet's
Proposed:block still asserted, unqualified, that noratification is claimed and that the lifecycle documents carry
Status: draft, contradicting theStatus: ratifiedheader now standingabove it. RULING: ACCEPT — the lane's known lesson that a ratification
follow-up must revise the draft prose too, not just flip the header.
Added one at-filing/history qualifier paragraph in
proposal.md,immediately before
Proposed:, mirroringamend-kill-switch-to-declared-test-companion/proposal.md's establishedform: it names the block's filing timestamp (2026-09-12 ~01:55Z), quotes and
supersedes its 2 flagged present-tense claims — "no ratification, no
realization and no archive is claimed by this packet" and "carry
Status: draft" — and restates that realization and archive remainseparate later acts with no word given.
Swept the rest of the packet (
design.md,tasks.md,.openspec.yaml,both spec deltas, the review record, the README bullet) for the same shape
of claim: 6 further hits (2 in
tasks.md, 4 in.openspec.yaml), alljudged already correctly historical and left unedited —
tasks.md's ownratification header already labels its preface as at-filing history and
attributes its § 2 boxes to "what the filing pull request did"; and
.openspec.yaml'sproposed_by("NO APPROVAL PAIR IS DECLARED AND NONE ISIMPLIED") is left exactly as filed beside the sibling
approved_by/approved_onaddition, matching the unedited pattern measured in the citedprecedent's own
.openspec.yamland in two of today's sibling ratifications(
report-stale-grandfather-dispositions,gate-realization-axis-vocabulary).Fix round 1, follow-up (6da6670)
Copilot's re-review of
b5e9cab2(still suppressed, no visible thread)found one more wording nit:
README.md:576's at-filing sentence "no box isticked here" reads as a blanket claim once the same bullet's later
ratification paragraph reports boxes 1.1-1.4 ticked (lines 602-603) —
internally inconsistent read literally. Reworded the clause to name what it
always scoped to: item (7) of the
split-openxwallet-repoarchived-ledgerentry and the realization/archive boxes, which do stay untouched here.
Fix round 2 (
1a81e905)Copilot review 5189139206
on
1b4946eb, two SUPPRESSED comments, no visible thread — RULED ACCEPT,same defect class as V1 above: a sentence stating record-shape completeness
as sufficient. Comment 1, anchored at
specs/document-lifecycle/spec.md:351(the already-conditioned positivescenario), pointing forward at "the existing
verify_pin:positive scenario(later at lines 414-418)": that scenario's last AND-bullet still read "a
record complete for its record shape still resolves while the disagreement
is reported", reintroducing the shape-only path fail-closed D-2 refuses.
Comment 2, anchored at
tasks.md:381(the already-conditioned shape-(b)fixture), pointing forward at "§3.3(n)'s later
verify_pin:positive anddisagreement cases": those SECOND and THIRD cases said the same of a
record's fixture and of the target's resolution. Both sites now make the
outcome conditional on all three prerequisites — a valid, complete record
for its shape, a well-formed, non-empty
capabilities:enumeration, and<capability>a member of it — while keepingverify_pin:itself NOT aprerequisite and its disagreement finding standing BESIDE the verdict,
never in place of it; where a prerequisite fails, the target is unresolved
for that reason and the disagreement finding is still reported beside it.
A packet-wide sweep (
design.md, both spec deltas,proposal.md, theREADME bullet, the ratification record) for the same implication found
only two unrelated hits —
design.mdandproposal.mdeach call the fiveper-product pin verifiers "not a shape-only API to extract from", a
different sense of "shape" (code reuse, not record completeness) — and one
out-of-packet false positive in an unrelated, already-archived README
paragraph citing a different capability's line range as "still resolving".
No rule changed, no requirement title moved, no box ticked.
Fix round 3 (
3d209599)The lane's Copilot review (03:06Z on
1a81e905) raised three findings, ALLRULED ACCEPT. Finding 1, thread
PRRT_kwDOTAvnrs6h15E_attasks.md:623: the claim that § 3.8's checkbox "does not gate this packet'sarchive" is false under
scripts/proposal-support.py:3115-3117, whichrejects any
tasks.mdmatching^- \[ \]with no exception for externalprerequisites — once § 3.1–3.7 close, the still-unticked 3.8 would continue
to fail
archive_change. Finding 2, a suppressed comment (no visible PRthread) on
specs/doc-health/spec.md:44-47's new scenario "A pinned targetfails on the pin record's capability enumeration": without the
valid-complete-record precondition, a record of an excluded kind or one
incomplete for its shape could be read as reaching this scenario and the
publisher remedy, when it must be reported by the kind/shape finding
instead. Finding 3, the same defect on
specs/document-lifecycle/spec.md:355-360's sibling scenario "A pin recordnamed by a pinned target carries no capability enumeration".
What moved: § 3.8's checkbox is now a non-checklist paragraph directly after
§ 3.7 (same content), opening "CLOSURE PREREQUISITE — RECORDED HERE AS
PROSE, NOT AS A TASK, AND NOT FILED.", with the false archive-gate clause
replaced by the true one — it is prose and not a task line PRECISELY so it
cannot gate the archive, since
proposal-support.pyrefuses any untickedbox, and the archive turns on § 3.7's realization evidence and nothing the
publisher does; every "3.8" / "ONE UNTICKED line" mention is levelled to
match, in
tasks.md's own header, the README ledger bullet,review/ratification-2026-09-12.md, and the TIGHTENING ROUND paragraphabove. Both new doc-health/document-lifecycle scenarios' WHEN clauses now
require the pin record resolve, through the code-fixed route, to a valid,
COMPLETE
kind: pinned_contract_manifestrecord for its record shape beforejudging the enumeration, and each gained one AND bullet routing kind/shape
defects to their own findings instead. No rule changed, no requirement
title moved, no box ticked.
EVIDENCE (re-measured at
3d209599, 2026-09-13, in the branch's own clone).openspec validate extend-prose-tagging-target-to-pinned-capabilities --strict→ valid.openspec validate --all --strict→Totals: 105 passed, 2 failed (107 items); the failure set EQUALSorigin/main9378eca5's and the untouched head1a81e905's, measured thesame way in fresh worktrees with openspec 1.13.0 — the same two,
add-chain-attestationandadd-composed-view-authoring, bothMODIFIED-scenario-omission errors in unrelated packets; an earlier window's
104/3with the threedisposition-codexfactory-*changes reflected adifferent CLI build, not this tree.
scripts/proposal-support.py . verify extend-prose-tagging-target-to-pinned-capabilities→proposal support verification ok.scripts/validate-sequenced-after.py . --ledger-diff→exit 0, ledger consistent (210 rows), no row moves.
pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/proposal-support tests/header_contract_oracle.py tests/sequenced_after→
434 passed, 72 subtests passed in 106.47s. The doc-health self-gate ranthrough the sanctioned wrapper
scripts/doc-health.py --single-repo . --as-of 2026-09-13(base worktree recreated under a directory whose basename isapply-liveso the Repo-Identity guard passes): 87 findings before andafter (31 critical, 9 error, 26 warning, 21 info),
New regressions vs previous report: 0. Unticked boxes intasks.md: 11 → 10 (3.8 gone;3.1–3.7 and § 4 stay open).
Fix round 4 (
ab40f935)Copilot's ready-event pass on
3d209599(review 5192471559) opened ONE thread,PRRT_kwDOTAvnrs6h8a62at.openspec.yaml:145: the archive gate'sorigin-retention arm (
scripts/proposal-support.py,release-realization§ "Origin retention at archive") compares the origin declaration against the
FIRST ratified commit,
9c829d48(acts 1-4), andb18e08b4rewroteorigin.approved_by/approved_onfor act 5 — so the packet would beREFUSED at archive. Reproduced locally: changed keys
approved_by,approved_on, every other origin key unmoved. RULING: ACCEPT, by thedisposition route and not by history rewrite — the mutation is the ratifier's
own act 5, whose option text said "a fix round re-encodes and the record
changes". This round writes the FIRST entry of
openspec/origin-dispositions.yaml(ratified_at9c829d4…,mutation_atb18e08b…,
changed_keys: [approved_by, approved_on],disposition: accept,disposed by Brett Heap on 2026-09-13, the verbatim word,
cited_to#9925649935136 / #745 5649935244 / this thread, plus a
fact), and records thedisposition in
review/ratification-2026-09-12.md. The gate now printsORIGIN DISPOSITION ACCEPTEDand returns no error. The two suppressedprecondition comments from the 03:06Z pass were NOT re-raised on
3d209599.No rule changed, no requirement title moved, no box ticked.
EVIDENCE at
ab40f935:proposal-support.py . verifyok;openspec validate … --strictvalid;pytest tests/proposal-support→ 129 passed, 72 subtestspassed.
Fix round 5 (
e68cf02b)Copilot review 5192522199 on
ab40f935opened two SUPPRESSED comments — novisible PR thread formed, so there is nothing to reply to. Both RULED ACCEPT by
the lane. First,
specs/document-lifecycle/spec.md's scenario "A pinnedcapability is absent from the pin record's enumeration" judged the enumeration
without first requiring the pin record resolve, through the code-fixed route,
to a valid, complete
kind: pinned_contract_manifestrecord for its recordshape — the precondition its two sibling scenarios directly above it already
carry (round 3 added it to the other two enumeration scenarios; this third one
was missed). Without it, a
pinned_workflowvalue or a record incomplete forits shape could be reported by this scenario instead of by the kind/shape
findings. Second,
tasks.mdtask 3.3 called (a)/(c)/(d) "the three statesof the prerequisite" while (g) MALFORMED is a distinct required state of the
same prerequisite. What moved: the scenario's WHEN now carries the precondition
and gained one trailing AND bullet routing kind/shape defects away from it,
exactly like its siblings; the task-list sentence now calls (a)/(c)/(d) "the
three NON-MALFORMED states" and names (g) as the fourth required state, since
absent and malformed are two findings with one outcome and a matrix that treats
(g) as optional leaves a branch untested. Swept the packet for the same "three
states" phrasing; this was the only hit. No rule changed, no requirement title
moved, no box ticked.
EVIDENCE at
e68cf02b:openspec validate extend-prose-tagging-target-to-pinned-capabilities --strict→ valid.openspec validate --all --strict→Totals: 105 passed, 2 failed (107 items), the sametwo failures as
origin/mainunder this CLI (add-chain-attestation,add-composed-view-authoring).python3 scripts/proposal-support.py . verify extend-prose-tagging-target-to-pinned-capabilities→proposal support verification ok.pytest -q tests/doc-health/test_modified_block_currency_self_gate.py tests/proposal-support tests/header_contract_oracle.py tests/sequenced_after→434 passed, 72 subtests passed in 127.62s (0:02:07).Fix round 6 (
4d58e80d)CI
pytest-suiteatab40f935FAILED (run 34786705599: 1 failed, 7152 passed):tests/doc-health/test_pin_reachability.py::test_every_committed_commit_shaped_value_that_resolves_is_covered— the round-4 file
openspec/origin-dispositions.yamlcarries the full commitnames
9c829d48…(ratified_at) andb18e08b4…(mutation_at) and nodeclared member of the derivation-pin class covered it. RULING: declare the
file a NON-MEMBER with a reason in
scripts/doc_health/pin_class.py(
NON_MEMBERS, beside the pin-loss supersession records, which are theprecedent): both values are CITATIONS of packet history whose subject is an
origin declaration, re-read by the archive gate on every run (
rev-parse,is-ancestor, REFUSE on failure) — not the record's own derivation claim, andnothing re-derives the file from a revision. The trade is stated in the row.
No rule changed, no requirement title moved, no box ticked.
EVIDENCE at
4d58e80d:pytest -q tests/doc-health/test_pin_reachability.py→71 passed (was 1 failed, 70 passed at e68cf02).
Fix round 7 (
fdfeb38f)Copilot's pass on
4d58e80d(0 new threads, 3 SUPPRESSED comments — no threadto reply to) RULED ACCEPT by the lane, the class round 5 ruled the same way:
(1)
specs/document-lifecycle/spec.mdA pin record's capability enumerationis malformed — WHEN gains the valid, complete
kind: pinned_contract_manifestprecondition its siblings carry (through the code-fixed route) and the closing
AND routes other-kind / incomplete records to the kind and shape findings, so
the tree-digest scenario's "no marker falls under two scenarios" exclusion holds
for every scenario it names; (2)
tasks.md3.3(g) — the malformed-enumerationfixture is a record otherwise VALID AND COMPLETE for its shape, as (a)'s is, and
kind/shape defects are judged by (f) and the shape findings before (g); (3)
proposal.mdcode_surface:— "This pull request carries the PACKET ONLY" wasfiling-time text (#994 →
dafe8877); it now names the filing PR and lists theratification bookkeeping (
review/ratification-2026-09-12.md, the firstopenspec/origin-dispositions.yamlentry, itspin_class.pyNON-MEMBER row) asbookkeeping, not arm surface. No rule changed, no requirement title moved, no
box ticked; canon-restated scenarios untouched.
EVIDENCE at
fdfeb38f(fresh clone, unshallowed):openspec validate extend-prose-tagging-target-to-pinned-capabilities --strictvalid;--all --strictTotals: 105 passed, 2 failed (107 items)(the same two unrelatedMODIFIED-scenario omissions as
origin/main);proposal-support.py . verifyok;
validate-scope-globs.pypassed; pytest over the modified-block-currencyself-gate,
tests/proposal-support,tests/sequenced_afterand theheader-value readers ``434 passed, 72 subtests passed
(the first run, on a shallow clone, failed 4tests/sequenced_after/test_archive_commit_dates.py` cases that read archive HISTORY, not the packet; on the unshallowed clone that file is `40 passed`)`; doc-health `--single-repo . --as-of2026-09-14` `Findings: 31 critical, 9 error, 28 warning, 21 info. New regressions vs previous report: 0.` — IDENTICAL to the same run on a `4d58e80d` worktree (89 findings before and after; the four findings naming the packet unchanged).
refs #992
🤖 Generated with Claude Code
(The Sourcery summary below was generated before the 2026-09-13 re-ruling and
describes the as-filed state of task 1.2. The RULING section at the top of this
body is current.)
Summary by Sourcery
Ratify the pinned-capability tagging proposal while tightening resolution to fail closed when the pin record lacks or does not contain the requested capability.
Enhancements:
Documentation:
Chores: