Repository navigation
Archive add-drafted-proposal-origin: ratified 2026-09-03, realized by #619 (d611666c), green on main (run 33835343327) - #644
Conversation
…619 (d611666), green on main (run 33835343327) Lane: openxfactory-smalls Brett Heap's word, 2026-09-04: "do the two archive acts". This is the first of the two. MERGED: PR #619 squashed to d611666 on main (2026-09-04T01:51:13Z), carrying the packet AND its whole code surface in one landing. GREEN WHERE IT LANDED: main's own pytest-suite run 33835343327 at 92e662c, success, with the realization in that tree — polled to completion before this branch was cut, because release-realization's realization archive gate asks whether the realization is green where it landed, not on the archive pull request. TWO requirements promoted BYTE-IDENTICALLY: document-lifecycle's "Proposal origin declaration" (6220 chars both sides, seven scenarios, sha256:102cfd1dff709b63e4ebbd4c557bcadd44b677004127a2dbc5c4de859e09b4b8) and doc-health's "Proposal-origin checks enforced by reference" (6400 chars both sides, ten scenarios, sha256:421f16a04ee040b2ffef8550b7f6d9610145c6654005cf0a607ac883a59fdd92). The two _LEDGER_SUBJECTS rows in the modified-block-currency self-gate retire on their own stated condition — the packet archived AND both blocks promoted — with both halves verified before the rows came out, and the retirement recorded in place rather than left as an absence (the shape amend-owner-layer-severity set). The carriage-ledger population returns 12 -> 10. Archived through scripts/proposal-support.py . archive, never bare openspec archive. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xf699RDAfTs5gnSr7igJ2v
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
🟡 Changes recommended
The promoted document-lifecycle requirement text is internally inconsistent about whether drafting and approval provenance pairs are mutually exclusive, which should be clarified to avoid a contradictory contract surface.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Archives the add-drafted-proposal-origin OpenSpec change after its merged-and-green realization on main, promoting its spec deltas into canon and updating the repository’s OpenSpec records and doc-health self-gates to reflect the retirement.
Changes:
- Move
add-drafted-proposal-originfrom README “Active changes” to “Archived changes”, with an archival record referencing the realized PR/run evidence. - Promote the packet’s MODIFIED requirement deltas into canonical
document-lifecycleanddoc-healthspecs (origin drafting/approval provenance + two new proposal-origin finding classes). - Retire the packet’s two
modified-block-currencycarriage-ledger subjects from the self-gate expectation set and document the retirement condition/evidence.
File summaries
| File | Description |
|---|---|
| tests/doc-health/test_modified_block_currency_self_gate.py | Retires the packet’s two carriage-ledger subjects and updates the gate’s expected population/history text. |
| README.md | Moves the packet entry from Active → Archived, recording archive/realization evidence. |
| openspec/specs/document-lifecycle/spec.md | Promotes the updated “Proposal origin declaration” requirement into canon (drafting provenance shape and approval-as-addition rules). |
| openspec/specs/doc-health/spec.md | Promotes the updated “Proposal-origin checks enforced by reference” requirement into canon (seven named finding classes + new scenarios). |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/tasks.md | Marks the archive gate task complete and records merged-plus-green evidence and execution notes. |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/specs/document-lifecycle/spec.md | Archived packet’s document-lifecycle delta snapshot. |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/specs/doc-health/spec.md | Archived packet’s doc-health delta snapshot. |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/review/ratification-2026-09-03.md | Adds the archived ratification record for the packet. |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/proposal.md | Adds the archived proposal packet record (frontmatter + rationale/decisions). |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/design.md | Adds the archived design record explaining the chosen encoding and rule boundaries. |
| openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/.openspec.yaml | Adds the archived packet’s .openspec.yaml with its ad-hoc origin declaration. |
Review details
- Files reviewed: 5/11 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| the form `<repo>:adhoc:<date>-<sequence-or-slug>`, a required `reason`, and | ||
| EITHER approval provenance (`approved_by` and `approved_on`) OR drafting | ||
| provenance (`proposed_by` and `proposed_on`) — one of the two pairs in full, | ||
| never neither and never half of one. An APPROVED ad-hoc origin is an |
There was a problem hiding this comment.
Declining as out of scope for this archive PR, not because the claim is baseless. EITHER approval provenance ... OR drafting provenance ... states an at-least-one-of constraint, not an exclusive-or: the very next clause — "one of the two pairs in full, never neither and never half of one" — is what actually bounds the shape, and it forbids incompleteness, not coexistence. The later APPROVAL IS AN ADDITION paragraph then describes the lawful post-approval state where both pairs coexist, which is consistent with that reading rather than contradicting it. More importantly, this wording is the RATIFIED text of add-drafted-proposal-origin, promoted here byte-identically from the packet's own archived delta (verified requirement-block-for-requirement-block against openspec/changes/archive/2026-09-04-add-drafted-proposal-origin/specs/document-lifecycle/spec.md as part of this PR's gates) — an archive PR's job is to move and promote what was ratified, not to re-word it. A phrasing tighten-up, if wanted, is a new OpenSpec change against document-lifecycle, not a hand-edit here.
…act's own record Lane: openxfactory-smalls tests/sequenced_after/corpus-ledger.yaml: add-drafted-proposal-origin state: active -> archived, moved_by "#644", moved_on 2026-09-04. class HOLDS at co-modifier, declares absent, prose false — no partner flipped, so no MOVEMENT LOG entry is owed: the row diff states the whole move. --seed-ledger reported "162 rows, 1 moved by #644" and named that one row. tasks.md gains 5.2-5.5: the promotion verified byte-identically on both requirements (sha256 + character counts + scenario titles in order), the one-row ledger move confirmed rather than predicted, the self-gate retirement with both halves of its stated condition checked BEFORE the rows came out, and the predicted doc-health movement confirmed in reverse (-2 info and nothing else) with the unrelated release-tag-publication baseline instability characterized rather than swallowed. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xf699RDAfTs5gnSr7igJ2v
…afted-proposal-origin
…afted-proposal-origin
There was a problem hiding this comment.
🟢 Approval recommended
The archive act, canon promotion, and index/ledger/test updates are consistent with each other and I did not find any correctness issues in the changed regions.
Review details
- Files reviewed: 6/12 changed files
- Comments generated: 0 new
- Review effort level: Lite
|
RULING for lane openxfactory-smalls PR #644 (head Lane: openxfactory-smalls |
|
Pushed the ledger stamp and the catch-up (head |
Catch-up merge before adversarial review round 2. One conflict, README.md's "OpenSpec Records" active-changes block: main archived add-drafted-proposal-origin (#644), removing its active entry and adding the archived one further down; this branch had added its own entry above it. Resolved by keeping BOTH sides' intent — this packet's active entry stays, main's removal of the archived packet's active entry is taken, and main's archived entry (auto-merged, no conflict) stands. tests/sequenced_after/corpus-ledger.yaml auto-merged cleanly: main's add-drafted-proposal-origin row flipped active -> archived, this branch's admit-deliberation-clearing-operation row untouched. Re-measured after the merge; design D11 is corrected in the round-2 commit. git diff origin/main is purely additive again (packet dir, README block, one ledger row) — no revert of main's newer doc-health spec or self-gate test bytes. Lane: hermes-wallet-exercise
…ich the ledger did not have `main` archived `add-drafted-proposal-origin` (PR #644, squash `342bee51`) while this branch was open. Two files collided and NEITHER resolution discards anything. - **README.md — CONFLICT, resolved ADDITIVELY.** Both archives insert at the head of `Archived changes:`, so git could not choose. Both entries are kept, this one first: the two acts are independent and a record that drops either is worse than a record with two entries in it. - **tests/sequenced_after/corpus-ledger.yaml — AUTO-MERGED, and that is the point.** `add-drafted-proposal-origin` (line 97, `moved_by: "#644"`) and `add-subject-establishment` (line 156, `moved_by: "#647"`) are two non-adjacent lines, so two disjoint archives merged with no hand resolution and no re-derived total — `add-per-change-sweep-ledger`'s own thesis, demonstrated on a real collision rather than described. `--ledger-diff` after the merge: `consistent with the corpus (163 rows)`. Also fetched: `342bee51` is the same commit an intermediate doc-health run named as the unreadable published tip, so that transient is now fully accounted for. Lane: openxfactory-1d Co-Authored-By: Claude Fable 5.1 <[email protected]>
… the record's own words, and put D10 and D13 as rulable questions Adversarial round 2 over what round 1 ADDED, after a catch-up merge of origin/main 342bee5 (#644, an archive; touches no clearing surface). P1-1/P1-2 — the three grounds' spellings are RENDERINGS, not coinages: "lane not permitted", "output-schema failure" and "origin-scoped credential" appear verbatim in the shipped dispatch-record schema's own description and in the ratified basis's tasks 6.4/6.6. The requirement now states the rule that produces an identifier from one of those names (the rule the two seeded members already follow) so the remaining six render the same way. The origin_scoped_credential collision hypothesis was checked against the file the member lands in — origin_repository/origin_signature already fix `origin` as the ORIGINATING REPOSITORY — and does not hold; originating_repository_credential is refused with its reason recorded. P1-3 — scenario six folds a seat key into one credential ground; that is now a stated choice with the rejected fourth member named. P1-4 — "no validator finding code is minted" was true and incomplete. The requirement and design D13 now say WHICH COMPONENT EMITS WHICH: `schema` from the canonical validator and only once the kind is routed (an unrouted kind is not validated at all, validate-clearing-dispatch.py:879); output_schema_failure from the clearing workflow's hosted finalizer, where the basis places it; origin_scoped_credential from the dispatch attempt, owing no fixture; and clearing-record-refusal-ground-unknown unchanged, reading the enum out of the schema at run time. P2-1 — "That enumeration holds TWO members today" is a standing claim this packet's own realization falsifies; rewritten as a reading taken at a moment. P3 — D10 and D13 each gain a `THE QUESTION, PUT FOR RULING` paragraph with both readings and the cost of each. Positions unchanged. D10 adds that #165 D13 makes the alternative circular unless the two land as one act; D13 names the exact edit a ruling for two-not-three requires. P4 — origin reason carries the fourth duplicate check at 342bee5 (nine open PRs checked file by file; none touches a clearing surface). Design D11 carries the fourth ledger reading: baseline moved to 163 (33+130, active 21/12), post-state 164 (34+130, active 21/13); this packet's signature (sole 50->51) is unchanged. Every numeral round 1's tasks name re-verified on the merged tree. P5 — task 2.2 records that a `schema`-declaring negative fixture is lawful, so no realizer mints clearing-return-schema-invalid to give the fixture a code. No contract byte moves. Record: review/adversarial-round-2-2026-09-04.md. Lane: hermes-wallet-exercise
…conflicts, both resolved by keeping both packets' rows Lane: openxfactory-smalls main moved to 342bee5 while this branch was open, carrying #644's own archive act for add-drafted-proposal-origin. Two files conflicted because both PRs touch the same physical region of the same document on the same day; corpus-ledger.yaml auto-merged clean (both rows land as state: archived, moved_by #643 and #644 respectively). README.md — two conflicts: - "Active changes:" list: HEAD still listed add-drafted-proposal-origin as active (this branch hadn't merged #644 yet); origin/main still listed add-consumer-identity-namespace as active (main hadn't merged #643 yet). Both are now archived, so the whole conflicted block was dropped — neither entry belongs under "Active changes:" any more. - "Archived changes:" list: HEAD's own add-consumer-identity-namespace row and origin/main's add-drafted-proposal-origin row sit adjacent (both were the first entries after the "Archived changes:" heading on their respective branches). Kept both, HEAD's first then origin/main's, no duplicates. tests/doc-health/test_modified_block_currency_self_gate.py — one conflict, in the carriage-ledger population's failure-message narrative (not in _LEDGER_SUBJECTS itself, which auto-merged clean with both packets' rows already retired). The tail's chronological trail (auto-merged from origin/main, unconflicted) already carries #644's own transition, 12 -> 10. The conflicting front clause is rewritten to state the TRUE current count, 8 (10 - this packet's own 2 retired subjects), naming this packet's archival as landing "right behind" the transition the tail already records, rather than restating it. Re-verified after merge: `_LEDGER_SUBJECTS` disjoint from the corpus's real INFO findings (checked by running the self-gate test directly, not just by inspection). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01TWW6hhjpvB7zSn4qSoF2PM
…nflict, same pattern as #644 Lane: openxfactory-smalls Local branch had fallen behind origin/change/archive-add-consumer-identity-namespace (two remote-side "Merge branch 'main' into ..." commits, c0ad7ae and 9ca426a, had already landed main up through 19a777d while this session worked round 2's gate). Fast-forwarded to 9ca426a first, THEN merged origin/main (e4ff4fb) on top of that — merging from the stale b78af7c base first would have redone conflict resolution GitHub's side had already made and risked diverging from it. One conflict, in README.md's "Archived changes:" list, same shape as the #644 conflict: this packet's row and add-subject-establishment's row both insert right after the "Archived changes:" heading, ahead of add-drafted-proposal-origin (already common to both sides). Kept both — this packet's row first, then add-subject-establishment's, in the position main put it, immediately before add-drafted-proposal-origin. No duplicates, no Active-changes row for any of the three archived packets. corpus-ledger.yaml and test_modified_block_currency_self_gate.py auto-merged clean this round — the fast-forward to 9ca426a had already picked up whatever GitHub-side reconciliation those files needed for the intervening main commits. All three packets' ledger rows read `state: archived` with their own PR number. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01TWW6hhjpvB7zSn4qSoF2PM
Lane: openxfactory-smalls
Claim: #619 (comment)
Body follows once the gates have run on the final tree (the corpus-ledger row is stamped with this pull request's own number).