Repository navigation
Propose extending the prose-tagging target form to capabilities in a pinned neutral product - #994
Conversation
…pabilities refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis proposal-only PR introduces and registers a draft OpenSpec packet for extending prose-tagging targets to capabilities that have moved to a pinned neutral product. It supplies the design and specification deltas, preserves archive provenance and sequencing metadata, and verifies documentation invariants without moving implementation bytes, changing markers, or ratifying the proposal. File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
🟡 Changes recommended
The proposal packet and required registrations are materially incomplete.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds a draft OpenSpec proposal for extending prose-tagging targets to pinned neutral-product capabilities.
Changes:
- Adds proposal metadata and references issue #992.
- Declares the future resolver surface and target release.
File summaries
| File | Summary |
|---|---|
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md |
Incomplete stub; missing the required origin declaration, supporting packet files, README entry, and sweep-ledger row. |
Review details
Suppressed comments (1)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:12
- The PR description says this change also registers an Active changes entry and a per-change sweep-ledger row, but neither
README.mdnortests/sequenced_after/corpus-ledger.yamlcontains this change id. Without those updates the active index and machine-derived ledger remain stale; add them in the same packet or remove that claim from the description.
refs #992
- Files reviewed: 1/1 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.
…n a pinned neutral product Extends the prose-tagging grammar with target=pinned:<pin-id>/<capability>, the only candidate form the existing marker regexes accept unchanged; resolution rests on the pin record's existence, because no pin record in this tree enumerates capabilities; and document-lifecycle gains the stale-target rule it lacks today. Packet only — no resolver byte moves, no marker is retargeted, and the four tag-hygiene findings stand at four. refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved specification and design gaps remain, including capability validation, supersedes syntax, and required test coverage.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (10)
README.md:547
- This public active-change summary repeats the inaccurate claim that all six pins enumerate files. The OpenSpec CLI pin deliberately enumerates no files and uses a whole-artifact digest (
contracts/openspec-cli-pin.yaml:69-76), so this measurement should be corrected rather than copied into the index.
it unchanged — with resolution resting on the pin record's existence (no pin
record in this tree enumerates capabilities; all six enumerate files, measured)
README.md:554
- This README citation omits the
openspec/changes/prefix, soarchive/2026-08-28-split-openxwallet-repo/tasks.mdis not a repository-relative path a reader can open. Use the actual archived packet path.
(`archive/2026-08-28-split-openxwallet-repo/tasks.md:1760-1786`) stay OPEN and
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml:60
- The origin reason says the packet "ticks no box anywhere", but tasks.md §2 deliberately checks 2.1–2.6 as work completed by this filing. That wording is false or at least ambiguous for future provenance readers; distinguish the filing boxes from the ratification, realization, and archive boxes that remain unticked.
corrects no `INDEX.md` line, and ticks no box anywhere — not item (7) of
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:76
- This resolver contract admits
kind: pinned_workflow, butcontracts/review-lane-pin.yaml:2,24-31is a pin for codexFactory governance code, not an external neutral product. A path-existence check would therefore let a marker name an arbitrary workflow pin as a neutral-product capability. Restrict this form to the neutral-product pin kind (or explicitly define and verify a separate product classification).
1. **The pin id MUST resolve.** `<pin-id>` resolves when this repository
carries a pin record for it — today, `contracts/<pin-id>-pin.yaml` declaring
`kind: pinned_contract_manifest` or `kind: pinned_workflow`. An unresolvable
pin id is a tag-hygiene finding exactly as an unresolvable capability is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:200
- The realization plan repeats a nonexistent test directory: the repository uses
tests/doc-health/, so an implementer following this step would look in the wrong package.
2. **The tests.** Under `tests/doc_health/`, at minimum: a resolving pinned
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:2
- The code-surface path is wrong: this repository's doc-health tests live in
tests/doc-health/(hyphen), nottests/doc_health/; the latter directory does not exist. Update this reference along with the realization task so the packet points to the actual test suite.
code_surface: openxFactory — ONE file, `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/`. NO BYTE OF EITHER 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, and the machine-seeded per-change sweep-ledger row in `tests/sequenced_after/corpus-ledger.yaml` (a derived bookkeeping file, not test implementation). 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; (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, because resolution reads the pin records exactly as they stand (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:55
- D-1 and task 3.3 claim the pinned form also works for
xspec:supersedes, but this delta only definestarget=pinned:<pin-id>/<capability>. Supersedes markers currently usespec=<capability>/<requirement-slug>; no pinnedspec=spelling or capability/requirement parsing rule is specified, and the current call site splits at the first/before resolving. Define that syntax and resolution behavior explicitly before requiring the realization to test it.
#### Scenario: A marker names a capability of a pinned neutral product
- **WHEN** a marker names `target=pinned:<pin-id>/<capability>` and `<pin-id>` resolves to a pin record this repository carries
- **THEN** the target MUST resolve
- **AND** where that pin record enumerates capabilities, the named capability MUST appear in the enumeration or the pass MUST report a hygiene finding
- **AND** where it enumerates none, resolution MUST rest on the pin alone and the pass MUST NOT read the pinned product over the network
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:20
- The new form is described as a capability of a neutral product, but the resolution rule treats any
contracts/<pin-id>-pin.yamlas eligible. That includescontracts/review-lane-pin.yaml, whosekind: pinned_workflowpins governance workflow members rather than a neutral product capability, so a marker could resolve against the wrong pin class. Restrict this registry to neutral-product pin metadata and add a rejection test for workflow pins.
names a capability of a NEUTRAL PRODUCT THIS REPOSITORY PINS: `<pin-id>` is the
identifier of a pin record the repository carries, and `<capability>` is the
capability name as the pinned product holds it. The literal prefix `pinned:` is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:22
- The new form is not fully grammatical as specified: only the colon prohibition is normative, while neither
<pin-id>nor<capability>is constrained to a single filename-safe/kebab-case component. Values such aspinned:p/a/bare therefore ambiguous, and a path-based resolver has no defined safe validation boundary. Define the exact component grammar before implementing the resolver.
`specs/` while it is pre-promotion. The PINNED form, `pinned:<pin-id>/<capability>`,
names a capability of a NEUTRAL PRODUCT THIS REPOSITORY PINS: `<pin-id>` is the
identifier of a pin record the repository carries, and `<capability>` is the
capability name as the pinned product holds it. The literal prefix `pinned:` is
RESERVED and is the discriminator between the two forms; a capability id MUST
NOT contain a colon.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:61
- The realization task points at
tests/doc_health/, but the repository's test package istests/doc-health/and no underscore-named directory exists. Following this task as written would place or search the tests in the wrong location.
- [ ] 3.3 Tests under `tests/doc_health/`: a resolving pinned target emits
nothing; an unresolvable pin id emits a finding naming the pin; the pinned
form on a `supersedes` marker behaves consistently with the candidate arm;
in-tree resolution is unchanged.
- Files reviewed: 8/8 changed files
- Comments generated: 4
- Review effort level: Lite
The required pytest-suite failed on 74e25f2 with one test: tests/doc-health/test_modified_block_currency_self_gate.py:: test_every_carriage_ledger_finding_over_the_real_tree_is_named. The packet's `## MODIFIED` block on doc-health's *Tag hygiene enforced by reference* rewrites one clause of canon's coverage enumeration - it has to, since a second declared target form falsifies the sentence - so the family opens one new INFO carriage row. Named per the gate's own WHAT TO DO text and the self-gate quickstart, re-measured with --family modified-block-currency (carriage ledger: 10). The sibling document-lifecycle block opens no row, measured: it carries canon whole and only adds. Review findings, all four disposed in the packet: - The supersedes case is now CLOSED rather than silent (new design D-1.1). `xspec:supersedes` carries no `target=` at all; its `spec=` value is split at the first `/` by families.py:1387-1392, so a pinned spelling there would need its own parse rule. The form is scoped to a candidate marker's `target=`, a pinned `spec=` is refused with a finding, and the document-lifecycle delta carries the rule and a scenario for it. Measured: no live supersedes marker in this repository has a stale target. - The constitutional objection to D-2's open capability segment is written into D-2 and put to Brett Heap as a veto point at task 1.2, rather than resolved by argument: Principle VII closes capability registries, and the fail-closed alternative refuses all four markers this change exists to admit. - Task 3.3 now carries both cases of D-2's conditional arm - a listed capability positive and an unlisted capability negative - so the realization cannot satisfy the list while omitting the branch. - The pin-inventory premise is corrected in proposal.md, design.md's table and the README bullet: contracts/openspec-cli-pin.yaml enumerates nothing, carrying one whole-artifact integrity digest plus a lockfile referent, and has neither a files: nor a pinned_by_commit_only: list (its own lines 69-76 say why). The invariant the resolution rule rests on is the absence of a CAPABILITY enumeration, which holds in all six. refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Multiple moderate design and specification issues remain unresolved, including capability enumeration, validation conflicts, and incorrect test paths.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (7)
README.md:557
- This reference is not a repository-relative path: the archived task file is under
openspec/changes/archive/2026-08-28-split-openxwallet-repo/, so the path shown here cannot be opened from the README.
(`archive/2026-08-28-split-openxwallet-repo/tasks.md:1760-1786`) stay OPEN and
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:206
- This reference omits the
openspec/changes/prefix, so it does not identify the archived task file from the repository root and is inconsistent with the full path used elsewhere in this packet.
(`archive/2026-08-28-split-openxwallet-repo/tasks.md:1779-1784`), and the house
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:112
pinned_workflowis not a neutral-product pin:contracts/review-lane-pin.yamlidentifies the codexFactory decision core, whileneutral-product-pindefines external products withkind: pinned_contract_manifest. Accepting both kinds makes any workflow pin a valid capability namespace, outside this proposal's stated scope. Restrict this form to neutral-product pin records and mirror that constraint in the deltas and tasks.
1. **The pin id MUST resolve.** `<pin-id>` resolves when this repository
carries a pin record for it — today, `contracts/<pin-id>-pin.yaml` declaring
`kind: pinned_contract_manifest` or `kind: pinned_workflow`. An unresolvable
pin id is a tag-hygiene finding exactly as an unresolvable capability is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:268
- The realization plan points to
tests/doc_health/, but the repository directory istests/doc-health/(for exampletests/doc-health/test_families.py). This would send the implementation to a nonexistent path; use the actual hyphenated directory.
2. **The tests.** Under `tests/doc_health/`, and BOTH cases of D-2's
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:18
unresolved PINNED target is remedied in the pin registryis not a valid general remedy for the enumeration branch. D-2 says a capability absent from an existing authoritative enumeration must fail, while the design also says this repository must not invent such a list; editing the local pin would be the wrong fix. Define separate remedies for a missing pin record versus an unlisted capability and test/message them separately.
A FINDING SHALL NAME THE REMEDY ITS OWN TARGET FORM ADMITS. An unresolved
IN-TREE target is remedied by naming a capability under `openspec/specs/` or an
active change; an unresolved PINNED target is remedied in the pin registry, and
the family MUST NOT emit the in-tree remedy for it. A single fixed remedy string
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:34
- The no-enumeration arm makes the pinned capability namespace open: with any existing pin,
pinned:openxwallet/typois accepted. That conflicts with Principle VII's requirement that capability registries be closed and unrecognized values rejected (.specify/memory/constitution.md:98-106). Because this is already normativeMODIFIEDtext, leaving the choice to a later ratification task does not make the proposed requirement compliant; define a fail-closed authority for the capability or remove this arm until one exists.
A PINNED target resolves when its `<pin-id>` resolves to a pin record this
repository carries. The `<capability>` segment MUST be well formed, and it MUST
additionally appear in the pin record's own capability enumeration WHERE THAT
RECORD CARRIES ONE; where the record carries no such enumeration, resolution
rests on the pin alone and the capability name is taken as declared. This
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:61
- The scenario first says that any target with a resolving pin id MUST resolve, then says an enumerated pin must report a finding when the capability is absent. Those outcomes conflict for the required unlisted-capability case; make the first
THENconditional on no enumeration or membership in the enumeration.
- **WHEN** a marker names `target=pinned:<pin-id>/<capability>` and `<pin-id>` resolves to a pin record this repository carries
- **THEN** the target MUST resolve
- **AND** where that pin record enumerates capabilities, the named capability MUST appear in the enumeration or the pass MUST report a hygiene finding
- **AND** where it enumerates none, resolution MUST rest on the pin alone and the pass MUST NOT read the pinned product over the network
- Files reviewed: 9/9 changed files
- Comments generated: 5
- Review effort level: Lite
…ests path, un-contradict the inherited scenario Five findings from the review of bb0019a, all accepted and all fixed. - The conditional arm of D-2 had no deterministic input contract. It now names ONE member and not a search: a top-level `capabilities:` sequence on the pin record. The resolver reads that member and no other - a file list, a digest list or a member list is not a capability list, and inferring one from them is the non-determinism the finding names. The member is RESERVED, not added: no pin record gains it here, no schema admits it here, and whether a real pin record may carry it stays a neutral-product-pin question with the publisher. Task 3.3(c)-(d)'s fixtures carry it under tests/doc-health/fixtures/, which is not the pin registry. - The inherited scenario *A marker target does not resolve* contradicted the packet's own pinned-success scenario: a well-formed pinned target exists under no `openspec/specs/` directory, so carried verbatim it required a finding on exactly the markers the new scenario requires to resolve. Its WHEN now says IN-TREE explicitly and an AND bullet sends a pinned target to the pinned scenarios. THE TITLE IS UNCHANGED deliberately: a retitle is an `error`-band scenario-title finding and is declared with a `Merged into` marker, which is a different act from this narrowing. - The realization path was wrong in three places: the tests directory is tests/doc-health/ (hyphen); only the package under test is scripts/doc_health/. Corrected in the proposal front-matter, design D-5 and task 3.3, which now also names the existing tests/doc-health/fixtures/tag-hygiene/ tree. The narrowing opens a SECOND carriage-ledger row, on the packet's document-lifecycle block, which had opened none before this round. Both rows are named in tests/doc-health/test_modified_block_currency_self_gate.py with their separate reasons, re-measured with --family modified-block-currency (carriage ledger: 11; scenario-title completeness: 0). refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Moderate gaps remain in pin-type validation, malformed-input handling, and realization-test coverage.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (8)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml:89
- This machine-readable reason repeats the false claim that D-1 is the only candidate accepted unchanged by the marker regexes. The rejected bare and URI-like alternatives also match those generic patterns; what distinguishes D-1 is its semantic pin-registry contract. Please keep this provenance text consistent with the corrected proposal rationale.
THE DECISIONS MOST WORTH A VETO are D-1 (the FORM is
`target=pinned:<pin-id>/<capability>`, where `<pin-id>` is the stem of a
`contracts/<pin-id>-pin.yaml` record — chosen over four alternatives
because it is the ONLY candidate the existing marker regexes already accept
unchanged), D-2 (RESOLUTION rests on the PIN RECORD'S EXISTENCE, not on an
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml:2
- The
code_surfacesentence says no byte of the resolver or its tests moves, buttests/doc-health/test_modified_block_currency_self_gate.pyis a changed Python test in this filing. Please scope this machine-readable claim to the resolver implementation/realization tests or document the self-gate update as proposal bookkeeping; otherwise the packet metadata contradicts the actual diff.
schema: spec-driven
created: 2026-09-12
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:308
- With the current regexes and
_ATTR, retargeting totarget=pinned:...before resolver support would still parse as a candidate and hit the existing unresolved-target branch (scripts/doc_health/families.py:1366-1370); it would not become a malformed-marker finding. Please correct this dependency rationale so the lockstep requirement describes the actual intermediate behavior.
turns four `unresolved target` findings into four `malformed marker` findings,
and landing the resolver before the markers leaves the four findings standing
with a fix available and unapplied. The evidence `release-realization` wants —
merged plus green — is one run over a tree where both halves are present.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:117
- The same generic regex accepts the rejected bare form
openxwallet/openxwallet, the URI-like formrepo:opensoft/openXwallet#openxwallet, andtarget-pinned=...; its value class is intentionally broad. The no-regex-change property is true, but it is not unique. Reword this measured rationale to say the reserved prefix and offline pin lookup provide the semantic discriminator, rather than claiming this is the only parseable candidate.
The form is chosen because it is the ONLY candidate the existing marker
regexes accept with no regex change at all — `_CAND_OPEN`'s attribute value
class is `[^\s>]+` and `_ATTR`'s is `\S+`, both of which already admit `:`
and `/`, and `spec=<capability>/<requirement-slug>` is the standing
precedent for a `/` inside an attribute value (design D-1).
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:99
tests/doc-health/test_modified_block_currency_self_gate.pyis modified by this PR: it adds the two expected currency findings and changes the exact-set assertion. The bookkeeping is legitimate, but the blanketno ... teststatement is false and conflicts with the proposal-only explanation/PR description. Narrow this claim to no resolver implementation or resolver-arm tests, while explicitly acknowledging the self-gate bookkeeping update.
written anywhere a checker can read, and it costs the conversion queue every
block it touches. A grammar that can NAME the absent referent lets the prose be
fenced and queued truthfully instead.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:20
- This admits
kind: pinned_workflowrecords as neutral-product capability pins (D-2 repeats that allowance).contracts/review-lane-pin.yamlis the pin for the codexFactory decision core, not a neutral product capability registry; because it has nocapabilities:member, a target such aspinned:review-lane/anythingwould resolve solely because that workflow pin exists. Restrict this form to a pin record governed byneutral-product-pin(or another explicitly capability-bearing pin type), and add a negative workflow-pin case.
names a capability of a NEUTRAL PRODUCT THIS REPOSITORY PINS: `<pin-id>` is the
identifier of a pin record the repository carries, and `<capability>` is the
capability name as the pinned product holds it. The literal prefix `pinned:` is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:34
MUST be well formedis not defined here, and<pin-id>has no grammar at all, while the existing marker regex accepts arbitrary non-whitespace values. A realization could therefore handle extra/separators or path-like/invalid identifiers inconsistently when constructingcontracts/<pin-id>-pin.yaml. Specify the exact pin-id and capability grammar, including separator and invalid-character rejection, and cover those negative forms in the realization tests.
A PINNED target resolves when its `<pin-id>` resolves to a pin record this
repository carries. The `<capability>` segment MUST be well formed, and it MUST
additionally appear in the pin record's own capability enumeration WHERE THAT
RECORD CARRIES ONE; where the record carries no such enumeration, resolution
rests on the pin alone and the capability name is taken as declared. A PIN
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:96
fam_tag_hygieneaction strings are an exact-set contract intests/doc-health/test_families.py:727-767. Task 3.2 requires a distinct pinned-remedy action and task 3.3(d) requires an enumeration-specific finding, but this checklist never requires updating and pinning both actions there. Add that test-contract update to the realization checklist so a correct implementation cannot either fail the existing suite or leave its new remediation text unguarded.
- [ ] 3.3 Tests under `tests/doc-health/` (hyphen — the directory that
exists; `scripts/doc_health/` with an underscore is the package under
test), extending `tests/doc-health/fixtures/tag-hygiene/`, and D-2's
CONDITIONAL arm gets BOTH
of its cases, so the realization cannot satisfy this list while omitting the
branch: **(a)** a resolving pinned target, under a pin record carrying no
capability enumeration, emits nothing; **(b)** an unresolvable pin id emits a
finding naming the PIN REGISTRY, not `openspec/specs/`; **(c)** a FIXTURE pin
record carrying a top-level `capabilities:` sequence emits nothing for a
capability LISTED in it; **(d)** the same fixture emits a finding naming the
enumeration for a capability NOT listed in it — the fixture lives under
`tests/doc-health/fixtures/`, adds no byte to any real pin record and no
member to any schema — (c) and (d) are the positive and the negative
of the arm that binds automatically, and without both the branch can be
absent with this list still satisfied; **(e)** an `xspec:supersedes` marker
whose `spec=` value carries the reserved `pinned:` prefix is REFUSED with a
finding (D-1.1); **(f)** in-tree resolution is unchanged.
- Files reviewed: 9/9 changed files
- Comments generated: 2
- Review effort level: Lite
…on a malformed enumeration Two findings from the review of 744627f, both accepted. - Arm 1 admitted any pin-shaped file. It now admits only a NEUTRAL-PRODUCT pin record, `kind: pinned_contract_manifest`, the shape neutral-product-pin requires in its own words (specs/neutral-product-pin/spec.md:31-33). `kind: pinned_workflow` is excluded and the reason is stated: contracts/review-lane-pin.yaml pins executable governance code - which codexFactory decision core judges openxFactory, with workflow source files as its pinned_members - so it has no capability set for a name to be about, and admitting it would have let `pinned:review-lane/<anything>` resolve against a referent with no capabilities at all. The admissible set is five records of the six, and it tracks the contract's kind rather than a filename shape. - A `capabilities:` member that is PRESENT but malformed now fails closed instead of degrading into "absent". A scalar, a mapping, an empty value or a sequence carrying a non-capability-shaped item is a malformed-enumeration finding against the pin record, every pinned target naming that record stops resolving while it is malformed, and the pass must not read it as no enumeration - that reading would turn a broken list into a licence to admit every capability name. Both land in the document-lifecycle requirement body with a scenario each, in design D-2, and in the ratification ask at task 1.2; task 3.3 gains cases (f) and (g) so the realization proves both paths. No new carriage-ledger row: the same two blocks report, re-measured (carriage ledger: 11; scenario-title completeness: 0). refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical and moderate specification and design issues remain.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (7)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:117
- The aggregation lookup locality is unspecified.
fam_tag_hygieneprocesses documents from all discovered repositories, while the existing_resolve_capabilitychecks(doc.repo, "openxFactory"); D-2 only says the pin is carried by “this repository.” A pinned target in a sibling document could therefore resolve differently depending on whether the future arm reads the document repo, openxFactory, or both. Define the lookup order/locality and add a multi-repository case to the realization tests.
**Decision.** Resolution of `pinned:<pin-id>/<capability>` has two arms:
1. **The pin id MUST resolve TO A NEUTRAL-PRODUCT PIN, and not to any
pin-shaped file.** `<pin-id>` resolves when this repository carries
`contracts/<pin-id>-pin.yaml` declaring **`kind: pinned_contract_manifest`**
— the shape `neutral-product-pin` names in its own words: "`openxFactory`
SHALL declare its consumption of an EXTERNAL neutral product in
`contracts/<product>-pin.yaml`, REUSING `kind: pinned_contract_manifest`
unchanged" (`openspec/specs/neutral-product-pin/spec.md:31-33`). An
unresolvable pin id is a tag-hygiene finding exactly as an unresolvable
capability is today.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:17
- This says every document in the packet carries
Status: draft, but the two changedspecs/*/spec.mddelta files and.openspec.yamldo not contain that header; the PR description makes the same claim. Either add the status consistently or narrow this claim and its repetitions intasks.mdand.openspec.yamlto the documents that actually carry it.
commissioned the FILING of the change openxFactory issue #992 asks for, and
nothing further: **no ratification, no realization and no archive is claimed
by this packet**, and every document in it carries `Status: draft`.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:20
- Promoting this packet will leave the separate canonical
Explicit delta ruleunchanged. That requirement still defines the candidate marker astarget=<capability>and scopes<capability>toopenspec/specs/or active deltas (openspec/specs/document-lifecycle/spec.md:151-163), while this delta introduces a second pinned target form here; the two normative owners would contradict each other. Add a MODIFIED delta forExplicit delta ruleand carry that update through the realization/promotion tasks.
A marker target resolves in ONE of two forms. The IN-TREE form names a spec
capability id under `openspec/specs/`, or a capability in an active change's
`specs/` while it is pre-promotion. The PINNED form, `pinned:<pin-id>/<capability>`,
names a capability of a NEUTRAL PRODUCT THIS REPOSITORY PINS: `<pin-id>` is the
identifier of a pin record the repository carries, and `<capability>` is the
capability name as the pinned product holds it. The literal prefix `pinned:` is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:40
- Principle VII requires capability registries to be closed and deferred features to fail closed. This fallback explicitly accepts any well-formed capability name when the pin has no enumeration (the design states that
pinned:openxwallet/typoresolves), so the central behavior conflicts with a constitutional MUST; recording it as a ratification question does not make the proposed delta compliant. Require an authoritative capability enumeration, or handle the constitution change separately before ratifying this packet.
no capability set for the name to be about. The `<capability>` segment MUST be well formed, and it MUST
additionally appear in the pin record's own capability enumeration WHERE THAT
RECORD CARRIES ONE; where the record carries no such enumeration, resolution
rests on the pin alone and the capability name is taken as declared. A PIN
RECORD'S CAPABILITY ENUMERATION IS ONE NAMED MEMBER AND NOT A SEARCH: a
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:79
- The
THENhere unconditionally requires resolution as soon as the pin id exists, but the preceding rule and the malformed-enumeration scenario say that an enumerated-but-unlisted capability fails to resolve. As written, an unlistedpinned:<pin-id>/<capability>both MUST resolve and MUST produce a hygiene finding; make the success condition conditional on no enumeration or membership, and state non-resolution for the negative case.
#### Scenario: A marker names a capability of a pinned neutral product
- **WHEN** a marker names `target=pinned:<pin-id>/<capability>` and `<pin-id>` resolves to a pin record this repository carries
- **THEN** the target MUST resolve
- **AND** where that pin record enumerates capabilities, the named capability MUST appear in the enumeration or the pass MUST report a hygiene finding
- **AND** where it enumerates none, resolution MUST rest on the pin alone and the pass MUST NOT read the pinned product over the network
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:61
- D-3 is broader than D-1.1 permits. It says a marker whose target capability exits must use the pinned form or have its block unfenced, but
xspec:supersedeshas aspec=attribute and no block, while D-1.1 explicitly refusespinned:in that attribute. A stale supersedes target therefore has no permitted outcome; scope D-3 and its scenario to candidatetarget=markers, or define a separate supersedes disposition, and carry that scope into the design/tasks.
WHEN A TARGET CAPABILITY EXITS THE CORPUS, the marker SHALL either take the
pinned form naming the product that now holds the capability, or the block
SHALL be unfenced. A stale target MUST NOT be silently retargeted to a
different capability, and MUST NOT be silently deleted: retargeting makes the
marker name a capability the tagged prose is not about, and deleting the marker
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:106
- The realization matrix covers a different
kindand malformedcapabilities, but not a malformed/non-mapping pin or a file containing onlykind: pinned_contract_manifest. D-2 currently uses that kind as the positive gate, so an incomplete record could make arbitrary pinned capabilities resolve under the no-enumeration arm. Require validation of the fullneutral-product-pinshape (or its canonical verifier) and add a minimal/malformed-record negative case; YAML parse failures should become findings rather than exceptions.
absent with this list still satisfied; **(e)** an `xspec:supersedes` marker
whose `spec=` value carries the reserved `pinned:` prefix is REFUSED with a
finding (D-1.1); **(f)** a pinned target whose record declares a kind other than
`pinned_contract_manifest` does NOT resolve and emits a finding; **(g)** a
pin record whose `capabilities:` member is present but malformed — a scalar,
a mapping, empty, or a sequence carrying a non-capability-shaped item — emits
a malformed-enumeration finding AND the pinned target naming it does not
resolve, proving the fail-closed path rather than the "absent enumeration"
fallback; **(h)** in-tree resolution is unchanged.
- Files reviewed: 9/9 changed files
- Comments generated: 3
- Review effort level: Lite
…e any path is built, and an empty enumeration is malformed Three findings from the review of 798f6d1, all accepted. - The pin-id and capability segments had no lexical grammar. Since the marker regexes deliberately do not move, `_CAND_OPEN` and `_ATTR` hand the resolver any non-whitespace run, so a realization building `contracts/<pin-id>-pin.yaml` from the value could have read outside the pin registry. The value after `pinned:` is now EXACTLY TWO components separated by EXACTLY ONE `/`, each matching `[a-z0-9]+(-[a-z0-9]+)*` - measured to be the shape of all 62 capability ids under openspec/specs/ and all six pin stems in contracts/. A component can therefore carry no `/`, `.`, `:`, whitespace or upper-case letter and cannot be empty, and `..` is not expressible in it. - The ORDERING is normative, not advisory: the pass judges the value against that grammar BEFORE it constructs any pin-record path, performs any lookup or reads any file. Validating after building a path is the defect, so the requirement says so and task 3.3(h) asserts no path was built and no file read for a malformed value. - An EMPTY `capabilities:` sequence satisfied "a sequence of well-formed names" vacuously and could have been read as a valid or an absent enumeration. The enumeration is now required to be NON-EMPTY, an empty sequence is named among the malformed shapes, and task 3.3(g) carries it as its own case. Both rules land in the document-lifecycle requirement body with a scenario each (*A pinned target is lexically malformed*, and the malformed-enumeration scenario reworded), in design D-1 and D-2, in the ratification ask at task 1.1, and in the proposal's What Changes item 1. No new carriage-ledger row: the same two blocks report, re-measured (carriage ledger: 11; scenario-title completeness: 0). refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved specification consistency issues and design wording corrections remain.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:367
- The current marker parser accepts
target=pinned:..., and_resolve_capabilitythen returns false for it, so retargeting the four markers before the resolver lands would produceunresolved target=pinned:...findings—notmalformed markerfindings. Please correct this sequencing rationale so it reflects the actual intermediate behavior.
**Why one pull request and not four.** Because surfaces 1 and 3 are a lockstep
pair in both directions: retargeting the markers before the resolver lands
turns four `unresolved target` findings into four `malformed marker` findings,
and landing the resolver before the markers leaves the four findings standing
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:13
- The qualifier “IN BOTH DECLARED TARGET FORMS” currently scopes the entire phrase “target and change-id resolution,” implying that
change=resolution also has the in-tree/pinned target forms. The pinned form is admitted only for a candidatetarget=;change=remains a separate change-id lookup. Narrow the qualifier to target resolution so the normative coverage does not instruct the realization to parse change IDs as pinned targets.
The family covers marker well-formedness, target and change-id resolution IN
BOTH DECLARED TARGET FORMS — the in-tree capability form and the pinned form
`pinned:<pin-id>/<capability>` — candidate fence structure, the code-fence and
inline-code example exclusion, the ban on doc-level candidacy status values,
and supersedes `change=` aging.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:110
- This scenario makes the tag-hygiene pass report every malformed
contracts/*-pin.yamleven when no live marker references that record. The current family only iteratesctx.docsand resolves pins while processing markers, and task 3.3(g) only specifies the referenced-record case; an unreferenced pin scan would require a separate family scope, finding path, and test contract. Narrow theWHENto a live pinned target naming that record, or explicitly add that scan to the realization plan.
#### Scenario: A pin record's capability enumeration is malformed
- **WHEN** a pin record carries a `capabilities:` member that is not a NON-EMPTY sequence of well-formed capability names, an empty sequence among those shapes
- **THEN** the deterministic health pass MUST report a malformed-enumeration finding against that pin record
- **AND** every pinned target naming that record MUST NOT resolve while the enumeration is malformed
- **AND** the pass MUST NOT treat the malformed member as an absent enumeration
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
The review of 26afcbd found the last inconsistency the kind restriction left behind: the success scenario *A marker names a capability of a pinned neutral product* still accepted "a pin record this repository carries", which contradicted the sibling scenario that refuses a `pinned_workflow` record for the same input. Its WHEN now requires a lexically well-formed value and a record declaring `kind: pinned_contract_manifest`, and its two AND bullets name the `capabilities:` member rather than "enumerates capabilities", so the scenario reads against the same rules the requirement body states. Scenario title unchanged and no canon unit moves, so no ledger row moves: carriage ledger 11, scenario-title completeness 0. refs #992 · refs #745 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved specification and task-contract issues remain around target scope, malformed or missing pins, supersedes behavior, and required finding text.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (11)
Previously missed (1) — in code that hasn't changed since the last review.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:75
- This stale-target rule is scoped as if every
xspec:marker had a candidate block, butxspec:supersedesalso names a capability throughspec=and this packet explicitly refuses the pinned form there. For a stale supersedes target, neither taking the pinned form nor unfencing a block is defined. Scope this rule and its scenario to candidatetarget=markers, or specify a separate supersedes disposition.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml:60
- This provenance text says the filing "ticks no box anywhere," but
tasks.md§2 deliberately ticks[x]for 2.1–2.6 to record filing actions, and its preamble explicitly makes that exception. Narrow this claim to the ratification, realization, archive, and successor-discharge boxes so the machine-readable origin reason does not contradict the task record.
corrects no `INDEX.md` line, and ticks no box anywhere — not item (7) of
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:368
- The current marker regexes accept
target=pinned:...(_CAND_OPENuses[^\s>]+), so retargeting the markers before the resolver lands would still parse as a marker and produce four unresolved-target findings, not malformed-marker findings. Please correct this ordering rationale so it accurately explains the lockstep requirement.
pair in both directions: retargeting the markers before the resolver lands
turns four `unresolved target` findings into four `malformed marker` findings,
and landing the resolver before the markers leaves the four findings standing
with a fix available and unapplied. The evidence `release-realization` wants —
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:2
- The current diff also changes executable test expectations in
tests/doc-health/test_modified_block_currency_self_gate.py(the exact-set ledger and its expected count), but this front matter says the PR carries only the listed packet files and "no test implementation." That makes the packet/PR surface description inaccurate and obscures why a test file changed in a proposal-only PR. List this self-gate update explicitly as non-realization bookkeeping and distinguish it from the future realization tests, or remove the contradictory claim.
code_surface: openxFactory — ONE file, `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/`). NO BYTE OF EITHER 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, and the machine-seeded per-change sweep-ledger row in `tests/sequenced_after/corpus-ledger.yaml` (a derived bookkeeping file, not test implementation). 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; (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 trigger for its dormant conditional arm, so that the arm 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/proposal.md:117
- The broad marker regexes accept any non-whitespace attribute value, so they also syntactically accept URI/bare slash-qualified values and a new attribute name; this is not the only candidate that needs no regex edit. The design choice should instead be justified by preserving the existing
target=semantic and adding the resolver arm, and the duplicated provenance wording should be corrected too.
The form is chosen because it is the ONLY candidate the existing marker
regexes accept with no regex change at all — `_CAND_OPEN`'s attribute value
class is `[^\s>]+` and `_ATTR`'s is `\S+`, both of which already admit `:`
and `/`, and `spec=<capability>/<requirement-slug>` is the standing
precedent for a `/` inside an attribute value. The value's OWN grammar is
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:30
- The family-level missing-pin scenario also lacks the lexical precondition. Malformed pinned values would satisfy this WHEN and be assigned the pin-registry remedy, while the document-lifecycle grammar requires rejecting them before any lookup. Add the same well-formedness condition here so the by-reference family partitions malformed and missing-pin cases identically.
#### Scenario: A pinned target fails to resolve
- **WHEN** a live marker names a pinned target whose pin id the repository carries no record for
- **THEN** the run MUST emit a tag-hygiene finding
- **AND** its remedy text MUST name the pin registry rather than `openspec/specs/` or an active change
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:13
change=resolution is performed forxspec:supersedesmarkers (seefamilies.py:1396-1400), while D-1.1 explicitly rejects the pinned form for that marker. As written, “target and change-id resolution IN BOTH DECLARED TARGET FORMS” overstates the pinned form and makes this requirement inaccurate; qualify only target resolution by the two-form distinction.
The family covers marker well-formedness, target and change-id resolution IN
BOTH DECLARED TARGET FORMS — the in-tree capability form and the pinned form
`pinned:<pin-id>/<capability>` — candidate fence structure, the code-fence and
inline-code example exclusion, the ban on doc-level candidacy status values,
and supersedes `change=` aging.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:34
- This retained scenario says a grammar change needs no delta to this capability, but the modified requirement now contains an exhaustive “BOTH ... target forms” inventory—and this packet itself adds the delta to update that inventory. A future third form would make the body stale while still satisfying the scenario, so distinguish the family’s by-reference implementation following from the separate need to update this explicit coverage list.
#### Scenario: The grammar evolves
- **WHEN** an OpenSpec change modifies the marker grammar in `document-lifecycle`
- **THEN** the tag-hygiene family follows it with no delta to this capability required
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:115
- The missing-pin scenario lacks the lexical precondition. A malformed value such as
target=pinned:../x/yalso has no matching record, so this scenario would require a pin lookup/finding naming the registry, contradicting the preceding scenario's requirement to reject malformed values before constructing a path or performing a lookup. Restrict the WHEN to a lexically well-formed pinned target.
#### Scenario: A pinned target names a pin the repository does not carry
- **WHEN** a marker names `target=pinned:<pin-id>/<capability>` and no pin record for `<pin-id>` exists in this repository
- **THEN** the deterministic health pass MUST report it as a hygiene finding
- **AND** the finding MUST name the pin registry as the thing that failed to resolve, not `openspec/specs/`
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:45
- The tag-hygiene family runs over every discovered repository and resolves each document with its
doc.repo, but this requirement only says that the pin record is one "this repository carries." A realization therefore has no deterministic registry scope for a pinned marker in a domain repository: should it read that repo'scontracts/or always openxFactory's? State the scope explicitly and cover the cross-repository case in the tests.
A PINNED target resolves when its `<pin-id>` resolves to a NEUTRAL-PRODUCT pin
record this repository carries — a `contracts/<pin-id>-pin.yaml` declaring
`kind: pinned_contract_manifest`, the shape `neutral-product-pin` requires for
an external neutral product. A pin-shaped record of another kind, such as
`kind: pinned_workflow`, MUST NOT resolve a pinned target: it pins executable
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:105
- D-1.1 and the document-lifecycle delta require this refusal finding to say that the pinned form is admitted only in a candidate marker's
target=attribute, but task 3.3(e) only asks for any finding. A realization could emit the existing generic unresolved-spec action and satisfy this task while violating the normative remedy; make the test assert the required action text.
absent with this list still satisfied; **(e)** an `xspec:supersedes` marker
whose `spec=` value carries the reserved `pinned:` prefix is REFUSED with a
finding (D-1.1); **(f)** a pinned target whose record declares a kind other than
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
There was a problem hiding this comment.
🟡 Changes recommended
Five unresolved moderate specification and design issues remain.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (3)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:266
- The measured shape-(a) rationale is false for the real wallet pin:
contracts/openxwallet-pin.yamlcontains bothsource_repository(lines 34-35) andsubmodule_path(line 41). Thus the claim that the record has exactly one product-identity member, and that a union would reject it for lackingsource_repository, does not hold. Clarify that the adapter requires the verifier-specific identity field while allowing extra top-level fields; otherwise an implementation may reject the current wallet pin or build the wrong union/intersection table.
**And shape (a)'s product-identity member has two spellings, measured.**
`scripts/verify-openxwallet-pin.py:194` refuses a record without
`submodule_path`; `scripts/validate-openreposhape-pin.py:258` refuses one
without `source_repository`; neither verifier reads the other's member. So
shape (a)'s entry is `revision_kind`, `commit`, `files` and EXACTLY ONE
product-identity member, and AT THE RECORD GRAIN it resolves to that record's
own verifier's set. Neither flattening works: the UNION would refuse
`contracts/openxwallet-pin.yaml` for lacking `source_repository`, and the
INTERSECTION would admit a record naming no product at all — and the
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:375
- This positive scenario does not require a non-empty
files:sequence, sofiles: []satisfies “whose entries are mappings” vacuously even though the shape rules above explicitly refuse an absent or emptyfiles:list. It also lacks the candidate-target/kind guard, allowing the scenario to overlap wrong-kind records. Narrow the WHEN to a live candidate pinned target whose record iskind: pinned_contract_manifest, matches the enumerated commit shape, and has a non-emptyfiles:list.
- **WHEN** a live marker names a record whose `files:` entries are mappings carrying a `path` and its `sha256` and whose `pinned_by_commit_only:` entries are path-only strings
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:280
- This normative rule makes every lexically valid capability name resolve when the pin has no
capabilities:member, sopinned:<valid-pin>/typois accepted even though the capability registry is otherwise closed and Principle VII requires unrecognized values to be rejected. The packet calls this an open constitutional question, but it is the behavior the proposed requirement and success scenario currently ratify; resolve that decision before approval (for example, require a publisher-owned enumeration or explicitly reject this design) rather than leaving the central target-validation guarantee open.
exception that takes the run down with it. The `<capability>` segment MUST be well formed, and it MUST
additionally appear in the pin record's own capability enumeration WHERE THAT
RECORD CARRIES ONE; where the record carries no such enumeration, resolution
rests on the pin alone and the capability name is taken as declared. A PIN
- Files reviewed: 9/9 changed files
- Comments generated: 2
- Review effort level: Lite
…pinned-capabilities: stay level for landing The one conflict was in tests/doc-health/test_modified_block_currency_self_gate.py's _LEDGER_SUBJECTS block, where both sides appended at the same point: origin/main a retirement record for rule-inherited-unit-naming-marker-spent, this branch the packet's two carriage rows. BOTH SIDES KEPT, in date order — the 2026-09-11 record first, this packet's 2026-09-12 rows after it. The set is a set literal, so the order is narrative only; no row of either side is dropped or edited. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The specification and task inconsistencies must be resolved before approval.
Review details
Suppressed comments (6)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:13
- D-1.1 allows the
pinned:form only in a candidatetarget=and explicitly refuses it in a supersedesspec=; therefore change-id resolution does not exist in both target forms. This wording can send the realization in the opposite direction by implying that pinnedchange=handling is required. Separate the two-form target-resolution statement from the single in-tree change-id resolution item.
The family covers marker well-formedness, target and change-id resolution IN
BOTH DECLARED TARGET FORMS — the in-tree capability form and the pinned form
`pinned:<pin-id>/<capability>` — candidate fence structure, the code-fence and
inline-code example exclusion, the ban on doc-level candidacy status values,
and supersedes `change=` aging.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:360
- The RECORD LEG requires removing every top-level member outside the per-shape table while still accepting the record. That is impossible for
kind: the preceding rule requireskind: pinned_contract_manifest, butkindis not in any shape table, so removing it either makes the adapter accept a non-pin record or violates this test. Exclude common-envelope members (at leastkind) from this removal loop, or define a separate common-required set.
- **THEN** the RECORD LEG MUST hold: the adapter accepts the record; it refuses the record with any member of the table removed and NAMES that member; and it still accepts the record with any top-level member NOT in the table removed
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:58
- The normative definition limits the required-member set to refusals exposed by pure, source-free guards, but
filesis explicitly included in the shape-(a) set even though its refusal is inside fullverify()behind source checks (the packet later treats it as a citation-only case). Realization cannot satisfy both definitions. Define the set as record-only shape checks, explicitly covering citation-only checks such asfiles, or removefilesfrom the required set and revise the related scenarios.
AND THE MEMBER SET OF A SHAPE IS THE SHAPE'S SHAPE-GUARD-REQUIRED SET: EXACTLY
THE TOP-LEVEL MEMBERS THAT SHAPE'S IN-TREE PIN VERIFIER REFUSES-WHEN-ABSENT IN
ITS PURE, SOURCE-FREE SHAPE GUARDS — the refusals whose ONLY INPUT IS THE
RECORD, which is what the verifiers' reader and guard functions run before any
checkout, any `git` call and any network read — MEASURED FROM THE VERIFIER
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:186
- This requirement says the grammar owns no field list and that the per-shape table is not restated as prose, but lines 95–162 enumerate all three shape member sets and line 369 repeats one as a scenario. That leaves the normative source ambiguous: a future update could change the adapter table while leaving this in-requirement enumeration stale (or vice versa). Mark the enumeration explicitly as non-normative measured evidence, or make it the normative list and remove the “no field list/not restated” claims.
WHERE THAT LIST COMES FROM IS THE POINT, AND IT IS NOT THIS
GRAMMAR: THE CODE-FIXED VALIDATOR HOLDS A PER-SHAPE REQUIRED-MEMBER TABLE,
reviewed with the resolver at authoring time, covering every RECORD SHAPE this
tree's `pinned_contract_manifest` records carry today (the three above,
measured over all five records) — `neutral-product-pin`'s ratified text where
that text names members, COMPLETED BY THE SHAPE'S SHAPE-GUARD-REQUIRED SET
where it is silent. That table is not a SECOND, independently-authored list — it is
not restated as PROSE in this requirement, where a restatement could drift
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:320
- The root-boundary scenario also requires refusal when
<root>/contractsis missing or is a non-directory (specs/document-lifecycle/spec.md:392-396), but this task only enumerates the two symlink fixtures plus a positive real-directory case. Without a file and missing-directory fixture, the realization can omit the explicitnot a directory at allbranch while still satisfying 3.3(m); add those cases or narrow the normative scenario.
caught by it. So the arm FIRST requires that root's `contracts` to be a REAL,
NON-REDIRECTING DIRECTORY INSIDE THE ROOT — is a directory, is not a symlink,
resolved path equals lexical path — CHECKED BEFORE ANY CANDIDATE IS RESOLVED;
each of the two cases asserts that the pinned arm REFUSES FOR THAT ROOT with a
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:367
- This repeats the same impossible mutation in the realization checklist:
kindis required for admission but is outside the shape table, so removing every non-table top-level member cannot always remain accepted. Limit this clause to optional non-table members and add a separate negative for removing the admission discriminator.
`m`; and for EVERY top-level member of that record NOT in the table, the
- Files reviewed: 9/9 changed files
- Comments generated: 0 new
- Review effort level: Lite
…fy_pin case in three The record leg's second arm claimed the adapter still accepts a real record with any non-table top-level member removed, which is false for kind: the pinned arm gates on kind: pinned_contract_manifest before any shape is selected, so deleting it asks about a different record rather than about the table. The arm now ranges over every top-level member that is neither in the table nor the discriminator — measured, thirty-eight across the five records, enumerated per record in task 3.3(p). Task 3.3(n) asserted both that an arbitrary verify_pin value leaves the verdict unchanged and that any value differing from the adapter's own emits a finding, and an arbitrary path is a differing value, so the two could not both hold. The case is now three that do not overlap: the path is never touched; a matching value leaves a complete record resolving with no finding from this arm; a differing value emits the disagreement finding beside the resolution rather than in place of it, verify_pin being no prerequisite of resolution. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
Moderate specification and task-matrix inconsistencies remain unresolved.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (8)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/.openspec.yaml:97
- The origin summary repeats the same false uniqueness claim: a bare
openxwallet/openxwalletis also lexically accepted by the unchanged regex. This metadata should explain why the prefix is semantically preferable, rather than saying it is the only regex-compatible candidate.
`contracts/<pin-id>-pin.yaml` record — chosen over four alternatives
because it is the ONLY candidate the existing marker regexes already accept
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/proposal.md:122
target=pinned:...is not the only candidate accepted by the existing regexes: the rejected bareopenxwallet/openxwalletalternative is also matched by_CAND_OPEN/_ATTR. The distinguishing benefit is semantic disambiguation while retainingtarget=, not regex compatibility; please correct this rationale so the proposal does not claim a false measured fact.
The form is chosen because it is the ONLY candidate the existing marker
regexes accept with no regex change at all — `_CAND_OPEN`'s attribute value
class is `[^\s>]+` and `_ATTR`'s is `\S+`, both of which already admit `:`
and `/`, and `spec=<capability>/<requirement-slug>` is the standing
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/doc-health/spec.md:11
- This wording makes “in both declared target forms” qualify
change-id resolutionas well as target resolution. D-1.1 explicitly admitspinned:only in a candidatetarget=attribute and keepssupersedes/change=out of scope, so the doc-health delta contradicts the lifecycle delta and leaves the family’s required behavior ambiguous. Reword the enumeration so only target resolution is qualified, followed separately by change-id resolution.
The family covers marker well-formedness, target and change-id resolution IN
BOTH DECLARED TARGET FORMS — the in-tree capability form and the pinned form
`pinned:<pin-id>/<capability>` — candidate fence structure, the code-fence and
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:408
- This scenario is internally contradictory: its
WHENrequires the pin record to exist only inopenxFactory, so the followingAND where both roots carry a recordcase can never be true. Split the second-root-only and both-roots cases, and make eachWHENrequire a record satisfying the general valid/complete/enumerated resolution conditions; otherwise malformed or unlisted records also fall into the unconditional resolveTHEN.
- **WHEN** a document in another repository carries a pinned target whose pin record exists only in the `openxFactory` root of an aggregate run
- **THEN** the target MUST resolve against that root, by the same precedence the in-tree capability arm uses — the document's own repository root first, the `openxFactory` root second
- **AND** where both roots carry a record for `<pin-id>`, the document's own repository's record MUST be the one read
- **AND** the pinned arm MUST invent no precedence of its own: the ORDER is unchanged and deterministic for the roots present, an aggregate run carrying a second root that a single-repository run does not have
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:58
- The definition here excludes
files:from the very set it later requires: the packet says thefilesrefusal is insideverify()and can only be represented by a citation, not an importable source-free guard. An implementation following this definition could omitfileswhile still satisfying the prose, contradicting the shape table and the realization tests. Define the set as record-only refusals represented either by a source-free guard or by a measured citation, then keep the guard/citation split as a test detail.
AND THE MEMBER SET OF A SHAPE IS THE SHAPE'S SHAPE-GUARD-REQUIRED SET: EXACTLY
THE TOP-LEVEL MEMBERS THAT SHAPE'S IN-TREE PIN VERIFIER REFUSES-WHEN-ABSENT IN
ITS PURE, SOURCE-FREE SHAPE GUARDS — the refusals whose ONLY INPUT IS THE
RECORD, which is what the verifiers' reader and guard functions run before any
checkout, any `git` call and any network read — MEASURED FROM THE VERIFIER
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:243
- The specification explicitly says
files:is refused when absent or empty (spec.md:110-115), but this matrix only requires absent/non-sequence cases and a malformed entry. A realization could therefore acceptfiles: []while satisfying task 3.3(l), leaving the stated shape guard untested. Add an explicit empty-files:negative case; an emptypinned_by_commit_only:remains valid because that verifier treats it as absent-to-empty.
wrong form; plus each list absent, and each a non-sequence. SHAPE (b), THE
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:125
- This task requires reporting a
verify_pin:disagreement, but D-2 only specifies that the adapter holds a per-shape required-member table; it never defines the expectedverify_pinvalue or a code-fixed mapping for each pin. Without that source of truth, realization cannot implement this MUST consistently without inventing an additional contract. Either remove the disagreement requirement or specify the adapter's expected mapping and its tests.
verifiers; `verify_pin:` is data the arm may compare and MUST NOT follow, and
a value differing from what the adapter holds is itself a controlled finding.
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:243
- The realization matrix does not include a record carrying both
submodule_pathandsource_repository. The design requires exactly one product-identity member, but the listed cases cover each alternative’s absence and form without covering their simultaneous presence; an implementation could select one verifier and accept this invalid hybrid while all listed tests pass. Add a negative mixed-identity case and assert the invalid-pin finding.
mapping carrying NO `sha256` is REFUSED; a `pinned_by_commit_only:` entry that
is a PATH-ONLY STRING is ACCEPTED, this being the valid form, and a test
demanding a digest of it would reject `contracts/openxwallet-pin.yaml:104-110`
itself; a `pinned_by_commit_only:` entry that is a MAPPING is REFUSED as the
wrong form; plus each list absent, and each a non-sequence. SHAPE (b), THE
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
…d another scenario refuses The shape-(b) positive asked only that its six members be PRESENT, so a record with a malformed commit, tree digest or digest definition satisfied it while the invalid-pin scenario refused the same record, and it said nothing about a capabilities: enumeration that is malformed or does not name the capability, which the enumeration scenarios refuse. The WHEN now requires each member to be present AND of the form its shape guard requires, adds the same absent-or-listed capability condition the general positive scenario carries, and a closing bullet sends the malformed and non-matching cases to the scenarios that own them, so no marker falls under two scenarios prescribing different outcomes. Task 3.3(l)'s matching positive case is narrowed the same way, beside the malformed cases it already pairs with. refs #992 Lane: openxfactory-2 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
There was a problem hiding this comment.
🟡 Changes recommended
Six unresolved review comments remain, including four moderate issues affecting proposed resolver semantics and validation.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (5)
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:349
- This says the new equivalence test is the only place any verifier is imported, but existing dedicated suites already load these fixed scripts by path (
tests/opendox_pin/test_opendox_pin_verifier.py:95-119andtests/openxwallet_pin/test_verify_pin.py:83-86). Narrow the claim to imports performed by this new resolver/test path; otherwise the packet's import-surface accounting is factually incorrect.
writes its own table instead. **The GUARD LEG of the equivalence test is the
one place a verifier is imported at all, and it is a TEST rather than the
resolver**: the test imports a FIXED, AUTHORED script path — never a path any
record names — and calls only the source-free guards the table cites. The
adapter imports nothing from them, at authoring time or at run time. The
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/design.md:51
- The cited marker-regex range is not the current file's range:
families.pyhas_CAND_OPEN/_ATTRat 1462-1467, and_resolve_capabilityat 1471-1475. The packet repeats the older 1308/1317/1391 references in its tasks, proposal, README, and spec, so the stated measurement trail points at unrelated lines after the branch's later main merges. Please refresh these citations or consistently qualify them with the exact historical commit they describe.
**Why this spelling and not another — the measured argument.** The existing
marker regexes in `scripts/doc_health/families.py:1308-1314` are:
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/specs/document-lifecycle/spec.md:70
- This calls the record 'valid, complete' while deliberately checking only source-free shape guards, which are weaker than the full pin verifier. For example,
scripts/validate-openreposhape-pin.py:515-530rejects a pin whose declared surface omits files, but the proposed adapter is required to accept that side-tree record. A target can therefore resolve against a pin its verifier rejects; consume authoritative validity evidence, or narrow the contract so an invalid pin cannot satisfy target resolution.
WHY THE SHAPE GUARD AND NOT THE FULL VERIFIER. This resolver judges whether a
NAME resolves to a pin record OF AN ADMITTED SHAPE; it NEVER judges whether the
pin is FAITHFUL TO ITS SOURCE. SO THE COMPLETENESS CHECK IS NECESSARY FOR THE
SHAPE'S FULL VERIFIER AND DELIBERATELY NOT SUFFICIENT FOR IT, AND THAT IS BY
DESIGN, on two grounds stated once. FIRST, on a landed tree every record
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:117
- This task leaves an implementation path that violates D-1.1:
_resolve_capabilityis called for both candidatetarget=andsupersedesspec=values, so simply making the shared helper prefix-aware would makespec=pinned:...resolve instead of being refused. Require candidate-only dispatch (or an explicit marker-form guard) and reject the reserved prefix before the supersedes call reaches any pinned resolver, regardless of which helper placement is chosen.
- [ ] 3.1 `scripts/doc_health/families.py`: teach resolution the `pinned:`
prefix — `_resolve_capability` (line 1317) gains the arm, or a sibling
resolver is added and `fam_tag_hygiene`'s call sites (lines 1366, 1390)
dispatch on the prefix. The regexes at 1308-1314 DO NOT MOVE. The arm judges
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/tasks.md:343
- These are described as three non-overlapping cases, but the first accepts an arbitrary
verify_pin:path while the third covers any value different from the adapter; lines 349-355 explicitly acknowledge that the first case also satisfies the third predicate. This leaves the realization tests' expected assertions ambiguous. Define these as separate properties that may share an input, or give the first case a predicate that excludes the disagreement case.
**(n)** NON-USE, asserted directly, in THREE cases that
do not overlap and are stated separately for a reason given below. FIRST, a
record whose `verify_pin:` member names an ARBITRARY IN-TREE PATH has that
path NEVER opened, imported or run — asserted by instrumenting the
read/import/exec surface, not by reading a finding text, since the boundary is
- Files reviewed: 9/9 changed files
- Comments generated: 1
- Review effort level: Lite
|
Lane: openxfactory-2 (openXfactory-2) |
|
Lane: openxfactory-2 (openXfactory-2) |
…prose-tagging-to-pinned-capabilities proposal) into archive/gate-realization-axis-vocabulary Auto-merged clean, no conflicts: README.md (both incoming PRs add/adjust rows in the Active changes block; this branch's own edit sits in the Archived changes block, a disjoint hunk) and tests/sequenced_after/corpus-ledger.yaml (incoming adds a row for the new active proposal; disjoint from this packet's own archived-row change made two commits ago). Verified after merging: - `git diff 97ec853 HEAD -- openspec/changes/archive/2026-09-12-gate-realization-axis-vocabulary/ openspec/specs/release-realization/spec.md` empty — this packet's own archived content and promoted requirement untouched by the merge. - This packet's own archived-row fix (165 -> 166) still reads correctly at README.md's gate-realization-axis-vocabulary row. - `scripts/validate-target-release.py .`: 44 active/44 declaring (up 1, the incoming #994 proposal), 166 archived/61 outside vocabulary (unchanged by this merge — #1010/#994 are active-side changes, not archive-side). - `scripts/validate-sequenced-after.py . --ledger-diff`: consistent with the corpus (210 rows, up 1 for the incoming active proposal), exit 0. - `scripts/proposal-support.py . verify`: ok, exit 0. - `scripts/validate-scope-globs.py .`: passed, exit 0. - `find openspec/changes/archive -name proposal.md | wc -l` = 166, unchanged by this merge. refs #956 Lane: openxfactory-1 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…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]>
…ap's word (#1019) 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: > **"Ratify 1.1 as filed (Recommended) / Ratify 1.2 as filed / Ratify 1.3 as filed (Recommended) / Confirm 1.4 as filed (Recommended)"** 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-H` on this pull request (filed against `review/ratification-2026-09-12.md:80`: ratifying D-2 as filed leaves the capability segment open — `pinned:openxwallet/typo` resolves 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: > **"Tighten to fail-closed after all"** 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, comment `https://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: - **D-1 — the FORM.** An `xspec:candidate` marker's `target=` may be `pinned:<pin-id>/<capability>`, where `<pin-id>` is the stem of a `contracts/<pin-id>-pin.yaml` record; the value is EXACTLY TWO `[a-z0-9]+(-[a-z0-9]+)*` components separated by EXACTLY ONE `/`, and a value failing that grammar is refused BEFORE any path is built or any file read. D-1.1: `xspec:supersedes`'s `spec=` is OUT OF SCOPE and CLOSED. - **D-2 — the RESOLUTION RULE, AS TIGHTENED BY ACT 5: IT FAILS CLOSED.** A `pinned:<pin-id>/<capability>` target resolves only where ALL THREE prerequisites hold. **(a) UNCHANGED FROM THE FILING** — the pin id must resolve to a pin record this repository carries of `kind: pinned_contract_manifest` (`pinned_workflow` excluded; 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 a resolution prerequisite), and resolved under the in-tree arm's own root precedence, whose `contracts` directory must itself be real and non-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 of it. An ABSENT enumeration is an UNRESOLVED PINNED TARGET — a controlled finding naming the record path and the remedy, "the publisher adds `capabilities:` through a `neutral-product-pin` change" — exactly as a MALFORMED 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.md` KEEPS the constitutional objection in full, as the record of the tension, and closes it with a dated RULED paragraph naming both acts and thread `PRRT_kwDOTAvnrs6h1H-H`. - **D-3 — the STALE-TARGET RULE.** When a target capability exits the corpus the marker either takes the pinned form or the block is unfenced; never silently retargeted, never silently deleted. - **D-5 — the REALIZATION SPLIT.** ONE later pull request, not four. WHAT IS NOT RATIFIED / NOT AUTHORIZED BY THIS WORD. - **NO REALIZATION.** 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 of any per-product pin verifier moves; no marker is retargeted or deleted; `docs/document-lifecycle.md` and `ideation/staging/INDEX.md` are not touched; no pin record gains a `capabilities:` member and no schema admits one. The four `error`-band `tag-hygiene` findings stand at FOUR, unchanged. - **NO CLOSURE OF THE FOUR FINDINGS, EVEN AT REALIZATION.** Under the 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.yaml` carries no `capabilities:` enumeration; remedy: the publisher adds one through a `neutral-product-pin` change" — still FOUR and still `error`-band. They reach ZERO only on openXwallet's publisher's act through `neutral-product-pin`, which is no part of this packet or of its realization. - **NO ARCHIVE.** `code_surface` is non-empty, so under `release-realization` this packet archives only on merged-plus-green realization evidence. - **NO TICK OF ITEM (7)** of the `split-openxwallet-repo` archived-ledger entry — that owed successor discharges on ARCHIVE. The archived packet is not edited at all. - **NO MERGE by this pull request's author** — landing is a separate act under this repository's Rule 6 landing-window protocol. WHAT MOVED, IN ONE COMMIT. - `proposal.md`: `Status: draft` → `Status: ratified`; a `Ratified:` paragraph added beneath it, inside the 15-real-line header window; `Proposed:` kept verbatim. - `design.md`: `Status: draft` → `Status: ratified`; one `Ratified by:` line. - `tasks.md`: `Status: draft` → `Status: ratified`; one `Ratified 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_on` ADDED beside the existing drafting-only `proposed_by` / `proposed_on`; `kind`, `id`, `reason`, `proposed_by`, `proposed_on` and `related` unmoved — approval is a pure ADDITION (`document-lifecycle`, Proposal origin declaration). - `README.md`: the OpenSpec Records "Active changes" bullet's status phrase moved `Status: draft` → `Status: ratified`, its drafting-shape clause replaced, 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. - New: `review/ratification-2026-09-12.md` — `Status: ratified`, `Kind: report`, EXACTLY ONE citation line. - The per-change sweep ledger is NOT moved: a ratification changes no row (`state` stays `active`; class, declares and prose unchanged), and `--ledger-diff` exits 0 without a re-seed. **TIGHTENING ROUND (act 5), `ccc719fd` and `b18e08b4`.** No box moved: 1.2 stays `[x]` and only its RULED annotation changed; § 3 gains a paragraph, recorded as 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 "constitutional objection" 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 is added. 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.md` and `specs/doc-health/spec.md`: both `## MODIFIED` blocks restate canon and move only the deliberate delta — the enumeration 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 consolidated record; § 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_by` carries all five acts; `approved_on` → 2026-09-13), `README.md` bullet, and `review/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 SET EQUALS `main`'s, measured the same day in a fresh worktree of `origin/main` (`3cf8b0bb`, `Totals: 102 passed, 3 failed (105 items)`; the item counts differ because `main` has archived two changes since the merge-base) — that set 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`. - doc-health `--single-repo .`: **`New regressions vs previous report: 0`**, and the base (`6da66703`) and head (`b18e08b4`) reports are BYTE-IDENTICAL once the worktree's own repo slug is normalized (`diff` → 0 lines). The raw finding count is `--as-of`-date-dependent (`scripts/doc_health/runner.py` defaults `--as-of` to today UTC; the aging families compute `(as_of − commit_date).days` against fixed thresholds) — measured `--as-of 2026-09-13` (the default at 01:50Z): **87 before, 87 after** (31 critical, 9 error, 26 warning, 21 info on both sides). `proposal-origin`, `ratified-provenance` and `status-validity` each name this packet on **0** lines. - `scripts/validate-sequenced-after.py . --ledger-diff` → exit 0, ledger consistent (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`. The modified-block-currency SELF-GATE is included deliberately: both `## MODIFIED` blocks moved, and its named-subject carriage ledger is what proves the two rows this packet carries are still exactly the two it should. - **Second independent verification**, read-only, own clone, at head `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` — **V1** `specs/document-lifecycle/spec.md`'s resolution paragraph 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 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 it therefore 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 the modified-block-currency self-gate were re-run green on `1b4946eb`. - Independent verification: `ratify992/verify/report.md` (read-only, own clone) — heads `045602df` and `b5e9cab2` both clean in every governed document; 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) found that the packet's `Proposed:` block still asserted, unqualified, that no ratification is claimed and that the lifecycle documents carry `Status: draft`, contradicting the `Status: ratified` header now standing above 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:`, mirroring `amend-kill-switch-to-declared-test-companion/proposal.md`'s established form: 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 remain separate 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`), all judged already correctly historical and left unedited — `tasks.md`'s own ratification header already labels its preface as at-filing history and attributes its § 2 boxes to "what the filing pull request did"; and `.openspec.yaml`'s `proposed_by` ("NO APPROVAL PAIR IS DECLARED AND NONE IS IMPLIED") is left exactly as filed beside the sibling `approved_by`/ `approved_on` addition, matching the unedited pattern measured in the cited precedent's own `.openspec.yaml` and 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 is ticked 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-repo` archived-ledger entry and the realization/archive boxes, which do stay untouched here. **Fix round 2 (`1a81e905`)** Copilot review [5189139206](#1019 (review)) 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 positive scenario), 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 and disagreement 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 keeping `verify_pin:` itself NOT a prerequisite 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`, the README bullet, the ratification record) for the same implication found only two unrelated hits — `design.md` and `proposal.md` each call the five per-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, ALL RULED ACCEPT. **Finding 1**, thread `PRRT_kwDOTAvnrs6h15E_` at `tasks.md:623`: the claim that § 3.8's checkbox "does not gate this packet's archive" is false under `scripts/proposal-support.py:3115-3117`, which rejects any `tasks.md` matching `^- \[ \]` with no exception for external prerequisites — once § 3.1–3.7 close, the still-unticked 3.8 would continue to fail `archive_change`. **Finding 2**, a suppressed comment (no visible PR thread) on `specs/doc-health/spec.md:44-47`'s new scenario "A pinned target fails 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 record named 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.py` refuses any unticked box, 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 paragraph above. 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_manifest` record for its record shape before judging 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 EQUALS `origin/main` `9378eca5`'s and the untouched head `1a81e905`'s, measured the same way in fresh worktrees with openspec 1.13.0 — the same two, `add-chain-attestation` and `add-composed-view-authoring`, both MODIFIED-scenario-omission errors in unrelated packets; an earlier window's `104/3` with the three `disposition-codexfactory-*` changes reflected a different 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 ran through the sanctioned wrapper `scripts/doc-health.py --single-repo . --as-of 2026-09-13` (base worktree recreated under a directory whose basename is `apply-live` so the Repo-Identity guard passes): **87 findings before and after** (31 critical, 9 error, 26 warning, 21 info), **`New regressions vs previous report: 0`**. Unticked boxes in `tasks.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_kwDOTAvnrs6h8a62` at `.openspec.yaml:145`: the archive gate's origin-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), and `b18e08b4` rewrote `origin.approved_by` / `approved_on` for act 5 — so the packet would be REFUSED at archive. Reproduced locally: changed keys `approved_by`, `approved_on`, every other origin key unmoved. RULING: ACCEPT, by the disposition 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_at` 9c829d4…, `mutation_at` b18e08b…, `changed_keys: [approved_by, approved_on]`, `disposition: accept`, disposed by Brett Heap on 2026-09-13, the verbatim word, `cited_to` #992 5649935136 / #745 5649935244 / this thread, plus a `fact`), and records the disposition in `review/ratification-2026-09-12.md`. The gate now prints `ORIGIN DISPOSITION ACCEPTED` and returns no error. The two suppressed precondition 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 . verify` ok; `openspec validate … --strict` valid; `pytest tests/proposal-support` → 129 passed, 72 subtests passed. **Fix round 5 (`e68cf02b`)** Copilot review 5192522199 on `ab40f935` opened two SUPPRESSED comments — no visible 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 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 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_workflow` value or a record incomplete for its shape could be reported by this scenario instead of by the kind/shape findings. **Second**, `tasks.md` 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. 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 same two failures as `origin/main` under 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-suite` at `ab40f935` FAILED (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.yaml` carries the full commit names `9c829d48…` (`ratified_at`) and `b18e08b4…` (`mutation_at`) and no declared 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 the precedent): 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, and nothing 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 thread to reply to) RULED ACCEPT by the lane, the class round 5 ruled the same way: (1) `specs/document-lifecycle/spec.md` *A pin record's capability enumeration is malformed* — WHEN gains the valid, complete `kind: pinned_contract_manifest` precondition 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.md` 3.3(g) — the malformed-enumeration fixture 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.md` `code_surface:` — "This pull request carries the PACKET ONLY" was filing-time text (#994 → `dafe8877`); it now names the filing PR and lists the ratification bookkeeping (`review/ratification-2026-09-12.md`, the first `openspec/origin-dispositions.yaml` entry, its `pin_class.py` NON-MEMBER row) as bookkeeping, 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 --strict` valid; `--all --strict` `Totals: 105 passed, 2 failed (107 items)` (the same two unrelated MODIFIED-scenario omissions as `origin/main`); `proposal-support.py . verify` ok; `validate-scope-globs.py` passed; pytest over the modified-block-currency self-gate, `tests/proposal-support`, `tests/sequenced_after` and the header-value readers ``434 passed, 72 subtests passed` (the first run, on a shallow clone, failed 4 `tests/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-of 2026-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](https://claude.com/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: - Ratify the pinned-capability tagging proposal, including a fail-closed resolution rule that requires a valid pin record, a well-formed capability enumeration, and membership of the requested capability. - Record the ratification decision, review evidence, origin disposition, and resulting task and specification state across the OpenSpec change documentation. Documentation: - Update the active-changes documentation and proposal records to reflect ratified status, the tightened D-2 rule, and the separation of ratification from realization and archive. Chores: - Add an origin-disposition record and classify it as non-member for pin reachability checks.



Lane: openxfactory-2 (openXfactory-2)
PROPOSAL ONLY — no code moves in this pull request. This is the OpenSpec
packet asked for by openxFactory #992: a grammar extension giving the
prose-tagging
target=attribute a form that can name a capability which hasleft this corpus and now lives in a pinned neutral product.
What. A new packet
openspec/changes/extend-prose-tagging-target-to-pinned-capabilities/(
proposal.md,design.md,tasks.md,.openspec.yaml, and## MODIFIEDspec deltas against
document-lifecycleanddoc-health), one README"Active changes" bullet, and the per-change sweep-ledger row the seeder writes.
Why. Deleting
openspec/specs/openxwallet/atarchive/2026-08-28-split-openxwallet-repo/left fourerror-bandtag-hygienefindings whose only honest fix that archive itself identified(
tasks.md:1770-1786) is a GRAMMAR EXTENSION, registered as owed successoritem (7) in the README's archived ledger (
README.md:7075onorigin/mainat
177ba819) and never opened as a change until now.The word. Brett Heap, 2026-09-12 at approximately 01:55Z, in session, by a
multi-select pick, not a typed sentence — the option quoted verbatim:
recorded on openxFactory #745.
How verified.
OPENSPEC_TELEMETRY=0 openspec validate extend-prose-tagging-target-to-pinned-capabilities --strict;--all --strictfailure set equal to main's two known CLI-gap dispositions;
scripts/doc-health.py --single-repo .familiesproposal-origin,status-validityandratified-provenancenaming the packet in zero lines;scripts/validate-sequenced-after.py . --ledger-diffexit 0;pytest tests/proposal-support tests/header_contract_oracle.py tests/sequenced_after.Independently re-verified read-only at head
ec23c853(verify994/report.md);this pull request encodes its eleven precision findings (V1–V11) in
e8969f65.Round c7 re-ran all of the above at
c7fda748and again atf505457f— change strict-valid;--all --strict103 passed / 3 failed, the same three dispositionsorigin/mainfails on in its own worktree (102 / 3, the branch's extra pass being this
change); doc-health
New regressions vs previous report: 0;scripts/proposal-support.py . verifyok;--ledger-diffexit 0; 434 passed,71 subtests passed across the four pytest paths — after MEASURING all five
pinned_contract_manifestrecords onorigin/mainand readingopenspec/specs/neutral-product-pin/spec.mdthere, so the three admittedrecord shapes and every member cited are path:line facts rather than recall.
Round c9 re-ran all of the above at
c960a028and again at the merge head2debd6f1, after takingorigin/maine8dd7d88in (one conflict, both sideskept: the
_LEDGER_SUBJECTSblock, where main appended a retirement record andthis branch its two carriage rows) — change strict-valid;
--all --strict105 passed / 3 failed, exactly the failure setorigin/mainproducesin its own worktree (104 / 3, the branch's extra pass being this change) (
disposition-codexfactory-declared-renames,disposition-codexfactory-floor-relocation-retitle,disposition-codexfactory-regular-pr-council-clearance-archive); doc-healthNew regressions vs previous report: 0;scripts/proposal-support.py . verifyok;
--ledger-diffexit 0 (210 rows consistent); 434 passed, 73 subtests passed across the fourpytest paths — after READING all five pin verifier scripts on
origin/mainandmeasuring, function by function, which member refusals are reachable
source-free (27 of the 29 member entries) and which sit inside
verify()(
filesunder shape (a), once per shape-(a) verifier), so the two-legequivalence test's leg assignment is a script:line fact rather than an
assumption.
Two further round-c9 findings landed in
0d8af78eand were re-validatedthere: the
kind:discriminator is exempt from the record leg's non-table arm(it is the precondition gated on before any shape is selected, and the arm's
thirty-eight members are now enumerated per record, measured), and task
3.3(n)'s
verify_pin:case is split into three non-overlapping cases so that"the verdict is unchanged" and "a differing value is a finding" no longer
contradict each other.
A fifth finding landed in
234479fcand was re-validated there: thewhole-tree-digest positive scenario asked only that its six members be present
and said nothing about the capability enumeration, so it claimed records the
invalid-pin and enumeration scenarios refuse; it now requires each member
present and well-formed, carries the general positive's absent-or-listed
capability condition, and names the excluded cases, with task 3.3(l)'s
matching positive narrowed the same way.
Filing is not ratifying: the three lifecycle documents (proposal, design,
tasks) carry
Status: draft; the two spec deltas carry no lifecycle header,as 299 of the 303 spec-delta files measured on
origin/mainata72f0a76do not; no marker is retargeted, no marker is deleted, no resolver byte
moves, and no box is ticked.
refs #992 · refs #745
🤖 Generated with Claude Code
Summary by Sourcery
File a draft OpenSpec packet proposing pinned neutral-product capability targets for prose-tagging markers without realizing the grammar or changing existing findings.
New Features:
Enhancements:
Documentation:
Tests:
Chores: