Skip to content

Restore pin-openspec-cli-dependency-closure's origin declaration to its ratifying bytes (#709 precedent) and archive it: the vendored-lockfile rule reaches canon in neutral-product-pin - #861

Merged
brettheap merged 4 commits into
mainfrom
change/archive-pin-openspec-cli-dependency-closure
Sep 9, 2026
Merged

brettheap merged 4 commits into
mainfrom
change/archive-pin-openspec-cli-dependency-closure

Conversation

@brettheap

@brettheap brettheap commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Lane: codexfactory-1

Closes the last open act on pin-openspec-cli-dependency-closure: its origin declaration is restored to the bytes it was ratified over, and the packet is then archived on met realization evidence, promoting the vendored-lockfile rule into neutral-product-pin. Two commits, two rulings, in that order — the restore had to land first because the archive gate refuses the packet without it.

The two rulings, both first-hand to lane codexfactory-1, both verbatim

When (UTC) Verbatim What it authorized
2026-09-09 16:26Z "archive the closure change" the archive, and the group-5 ticks that go with it
2026-09-09 18:03Z "restore per 709" the origin restoration, a contested-class act with no bypass flag

Neither is a lane choice. A third and earlier word — 2026-09-08T14:14:49Z, "Vendor a lockfile (Recommended)" — chose the EXIT among four and ratified no text; "ratify 813" at 2026-09-09T03:19Z ratified the text. Four words, one operator, two days, and each recorded where it applies.

Why a restore was needed at all

release-realization § "Origin retention at archive": "Mutation of an origin declaration after ratification SHALL be rejected at the archive gate." The gate landed by #690/#695 refused this packet, exit 2, no bypass:

origin retention: pin-openspec-cli-dependency-closure: the origin declaration
differs from the one this change was ratified over (ratifying commit 93ba99f0bad9)
  changed keys: approved_by

THE CAUSE WAS A POST-RATIFICATION HEADER SWEEP. 1921e96a — "Finish the ratification's own bookkeeping: every file in the packet says one thing about its state (Copilot thread 14)", 2026-09-08T23:53:51-04:00 = 2026-09-09T03:53:51Z, landed on main inside the #813 merge 4c08a7a2 — rewrote origin.approved_by twenty-eight minutes after the ratifying commit 93ba99f0, to say that the separate ratifying act it once called owed had since happened.

IT IS THE SOLE MUTATOR, PROVEN RATHER THAN ASSUMED. Six later commits touch the file and every one is a MERGE that carried bytes and authored none (a1f08c39, 7681e409, 9a67d42c, 1e8235fc, 86651a58, 18a5788d — each has a parent already at blob 701584a3 and each produces 701584a3). 1921e96a alone has a single parent, the ratifying commit at blob d3e4f174, and produced 701584a3.

THE LESSON — the origin declaration is FROZEN AT RATIFICATION. #709's operational rule was "a corpus-wide sweep MUST NOT touch a ratified packet's origin block". This was not a sweep. It was the packet's own reviewer-prompted consistency pass, ordinarily the right instinct — which is exactly what makes it worth writing down: the origin block is the one file in a ratified packet that must be left saying the OLD thing, so a consistency pass is MORE likely to break it than a careless one. It records who authorized the AUTHORING, and the state it describes is the state AT RATIFICATION and no later one.

The restore proof

$ git diff 93ba99f0 -- openspec/changes/pin-openspec-cli-dependency-closure/.openspec.yaml
$                      # empty — blob d3e4f174 on both sides

The packet's diff is exactly the inverse of 1921e96a's hunk, and no key outside origin: moved after ratification, so restoring the origin block restores the whole file. The entrypoint now prints:

ORIGIN RETAINED pin-openspec-cli-dependency-closure (declaration unchanged
since the ratifying commit 93ba99f0bad9)

NOTHING IS DROPPED. The sentence 1921e96a added is relocated verbatim, as a block quotation, to a dated ### 2026-09-09 section of tasks.md — the packet's proper home for a fact that became true after it was ratified. Every word of it is TRUE and none is withdrawn.

The archive evidence — re-run at the gate, not inherited

code_surface is NON-EMPTY, so release-realization archives this on merged-plus-green realization evidence and not on landing. Both halves are cited:

5.2 — validation, re-run here. Both halves ran THROUGH THE PINNED ENTRYPOINT; the 1.2.0 binary on PATH was used for nothing. The tool named itself on each run: @fission-ai/[email protected] … integrity sha512-oFE2Lj7WVSc87nSi… verified, over openspec-cli-pin.1.12.0.package-lock.json (80 packages); lockfile_integrity sha512-aw5lIN45tQq2WZll… verified; installed with npm ci --ignore-scripts. This packet's own lockfile is what resolved the tool that archives it.

  • --change pin-openspec-cli-dependency-closure --strict --no-cache → Totals: 1 passed, 0 failed (1 items), exit 0
  • --all --no-cache (post-archive, post-merge) → Totals: 99 passed, 2 failed (101 items), exit 0, 0 UNDISPOSITIONED failures

The two failures are the estate's two STANDING ACCEPTED EXCEPTIONS and neither is this packet's: add-chain-attestation and add-composed-view-authoring, dispositioned in contracts/openspec-cli-pin.yaml on Brett Heap's 2026-09-05 "take exit 2".

ON THE ITEM COUNT, WHICH DID NOT FALL BY ONE AND SHOULD NOT HAVE. This archive removes one active change, but origin/main added amend-marker-defect-reporting (#850) in the same window, so the two offset exactly: 40 active at the pre-merge base 183d1b43 → 41 on origin/main → 40 here, and 101 items on both sides. Against origin/main the count IS −1; against the stale pre-merge baseline it is flat. Counted from the trees rather than inferred.

5.3 — realization. MERGED: #813 → merge commit 4c08a7a2, 2026-09-09T05:54Z. GREEN, AND GREEN THROUGH THE THING THIS PACKET BUILT — every openspec-cli-pin run since that merge resolves the CLI through this lockfile, so the required check is not merely green beside the closure but green by it: conclusion success on #841 head 5f275d6a (run 34351162201, 12:28:10Z) and on #847 head 98776fcf (run 34372430624, 15:46:37Z). That check has been REQUIRED on main since 2026-09-08 (org ruleset 22551797), so these are the gate reporting and not advisory runs. AND THE ARCHIVE VERB ITSELF IS EVIDENCE: proposal-support.py … archive is the third caller this packet bound to the closure, and it installed through this lockfile to archive #841 and #847 before it installed through it to archive this — the closure verifying itself.

Promotion: neutral-product-pin 16 → 18, both blocks byte-identical

Extracted programmatically from each side and hashed, not eyeballed:

ADDED requirement Bytes sha256 Scenarios Delta vs promoted
A pinned artifact that resolves dependencies at install time carries a vendored lockfile, and the install runs through it 4,321 d844aae2… 4 IDENTICAL
A vendored resolution is regenerated with the referent, and an entry without one is declared uncovered 3,004 a8f9b76c… 3 IDENTICAL

The promotion diff reads 96 added, 0 removed, so the serializer normalized nothing: the sixteen pre-existing requirements survive byte-identical but for the formerly-last block gaining the one trailing newline that separates the appended text, and the ## Purpose block (1,547 bytes, sha256 ff7f92591…) is byte-identical and still true.

THE TWO RECORDS MOVE AS PURE RENAMES. evidence/dependency-closure-2026-09-08.md and review/ratification-2026-09-09.md already carry Status: record; adding a Kind: header to either at the move would fire record-immutability CRITICAL, so neither gains one and both show a 0-byte diff. Six of the seven files in the packet are pure renames — only tasks.md changes, and only to record this act.

Group 6 is DEFERRED, not ticked, and not claimed

proposal-support.py … archive refuses any packet whose tasks.md still matches ^- \[ \] ("change has incomplete tasks") with no bypass flag. Buying that refusal off with a false tick is the one thing an archive must not do, so both boxes take the reserved DEFERRED marker - [~] — the form 2026-08-21-add-doxbench-editing-phase-a § 5.3 uses and 2026-09-09-add-openspec-cli-pin § 6.2 used at its own archive — and each names an owner:

  • 6.1 an independent attestation of the 79 registry integrity values. Owner: openxFactory. Nothing has attested them; they are still trust-on-first-use, captured once against the live registry on 2026-09-08 and never compared against a second source.
  • 6.2 a 1.2.0 lockfile IF a rollback is ever taken. Owner: whoever takes the rollback. The condition has never been met, and the pin's rollback: entry already DECLARES its dependency_closure: uncovered — which is the promoted requirement's own second scenario.

The corpus-ledger flip

Seeded with validate-sequenced-after.py . --seed-ledger --moved-by '#<this PR>' — the #841/#847 path — in the second commit, because --moved-by is required and the number is not knowable until the pull request exists. Before the flip, --ledger-diff named exactly four findings and no others, which is the confirmation that this archive is their only cause:

stale row: pin-openspec-cli-dependency-closure: state: ledger 'active', live 'archived'
derived total mismatch: active:      ledger-derived 41 != measured 40
derived total mismatch: archived:    ledger-derived 149 != measured 150
derived total mismatch: active_sole: ledger-derived 15 != measured 14

The seed runs on the MERGED tree, so it reads main's own amend-marker-defect-reporting row and this branch's flip at once rather than one lane's view of either.

Local proof

Check Result
validate-openspec-cli-pin.py --all --no-cache exit 0 — 99 passed, 2 failed (101 items), 0 UNDISPOSITIONED, 2 standing exceptions
pytest tests/openspec_cli_pin tests/proposal-support tests/sequenced_after tests/doc-health -q 2142 passed at the final head. At the archive commit it read 3 failed, 2139 passed — the three were test_sweep.py's ledger-currency assertions, exactly the four findings above, and the seed commit cleared them and nothing else
validate-sequenced-after.py . exit 0 — sequenced_after validation passed (40 active, 9 declaring); archive-date agreement passed; archive-date-vs-commit agreement passed
doc-health.py --single-repo . New regressions vs previous report: 0 — 10 critical / 7 error / 67 warning / 15 info, unchanged; canon share 39.7% → 39.9% (the promotion)

CI on the final head aaa1c69f

ALL NINE CHECKS PASS. openspec-cli-pin (REQUIRED) 14s; pytest-suite 20m0s — selected=10857 passed=10836 skipped=21 failures=0 errors=0, the skipped count landing on the pinned skipped==21 floor exactly, with the freshness verifier and the vector replay both reporting passed rather than absent; merge-master-approval, signed-execution-chain-gate, clearing-dispatch-gate, wallet-validation, openreposhape-pin, release-tag-gate, lane-line all green. Every run is on aaa1c69f, the head with the ledger flip, not the pre-flip commit.

Copilot: approval recommended, 0 comments, 0 review threads — so there is nothing taken and nothing declined, and no thread-less finding to record here.

Stale paths, named rather than swept

  • scripts/validate-openspec-cli-pin.py:87 cites openspec/changes/pin-openspec-cli-dependency-closure/design.md, which this archive moves. A code surface, left for a later edit — an archive commit whose whole claim is that it moves bytes and changes none should not carry one.
  • contracts/openspec-cli-pin.yaml:78 cites openspec/changes/add-openspec-cli-pin/, already archived earlier today by its own pull request. Pre-existing and not caused by this change, recorded here because the same sweep would fix both.

Neither is a live path resolution — nothing validates them — and no other reference to the moved packet exists anywhere outside the archive directory itself (grepped across *.py, *.yaml, *.yml, *.md).

Landing notes

  • Rule 6 landing window applies. This pull request touches openspec/changes/ (an archive plus a README OpenSpec Records move), so the landing lane owes a LANDING — lane codexfactory-1, … notice on this PR and in LANES.md before merging, and a LANDED — … → <merge sha> after. This lane is not merging — the window opens when someone takes it.
  • LAND TODAY (2026-09-09 UTC), OR RENAME THE DIRECTORY. test_archive_commit_dates ties archive/<YYYY-MM-DD>-<id> to the UTC date of the commit that ADDED it. That commit is fa58a1a3, 2026-09-09T18:13:45Z, so the arm passes as long as history keeps it — which a merge commit does (the shape Archive bump-openspec-cli-pin-to-1.12 on met realization evidence: the dispositioned-finding rule reaches canon in neutral-product-pin #847 landed under) and a squash does not: a squash after today re-dates the adding commit and the directory must be renamed to match.
  • Merged from origin/main rather than rebased, per house rule. One conflict, in the README OpenSpec Records block, resolved both ways: main's new amend-marker-defect-reporting active row kept verbatim, this branch's move of the pin row from Active to Archived kept. Verified rather than eyeballed — the README diff against origin/main is exactly two hunks, one removing the active row and one adding the archived one, with no other row moving.

🤖 Generated with Claude Code

https://claude.ai/code/session_01G1Nzyxp47mjqkeX4QBgoiU

brettheap and others added 3 commits September 9, 2026 14:06
…ts ratifying bytes (#709 precedent)

`release-realization` § "Origin retention at archive": "Mutation of an
origin declaration after ratification SHALL be rejected at the archive
gate." This packet's own ratification bookkeeping rewrote the
`origin.approved_by` prose of the already-ratified packet, and the gate
landed by #690/#695 refuses the packet for it (changed keys:
approved_by), exit 2, no bypass flag:

  origin retention: pin-openspec-cli-dependency-closure: the origin
  declaration differs from the one this change was ratified over
  (ratifying commit 93ba99f)
    changed keys: approved_by

THE MUTATING COMMIT is 1921e96, 2026-09-08T23:53:51-04:00 =
2026-09-09T03:53:51Z, "Finish the ratification's own bookkeeping: every
file in the packet says one thing about its state (Copilot thread 14)",
landed on main inside the #813 merge 4c08a7a. It is TWENTY-EIGHT
MINUTES after the ratifying commit.

THE RATIFYING COMMIT resolves as 93ba99f
-- the first commit whose openspec/changes/pin-openspec-cli-dependency-
closure/proposal.md declares `Status: ratified` -- read from the gate's
own `ratifying_commit` walk rather than taken on the refusal's report.

1921e96 IS THE SOLE MUTATOR, PROVEN RATHER THAN ASSUMED. Six later
commits touch the file and every one is a MERGE that carried bytes and
authored none: a1f08c3, 7681e40, 9a67d42, 1e8235f, 86651a5 and
18a5788 each have a parent already at blob 701584a and each produces
701584a. 1921e96 alone has a single parent -- the ratifying commit, at
blob d3e4f17 -- and produced 701584a. No key outside `origin:` moved
after ratification, so restoring the origin block restores the whole
file:

  git diff 93ba99f -- openspec/changes/pin-openspec-cli-dependency-closure/.openspec.yaml

is empty, and the blob is d3e4f17 on both sides. The packet's diff is
exactly the inverse of 1921e96's hunk.

NOTHING IS DROPPED. The sentence 1921e96 added is relocated verbatim,
as a block quotation, to a dated `### 2026-09-09` section in tasks.md's
amended header -- the packet's proper home for a fact that became true
after it was ratified. Every word of it is TRUE and none is withdrawn:
ratification happened at 2026-09-09T03:19Z on "ratify 813", the record
is review/ratification-2026-09-09.md, and this file's lifecycle header
and task 5.1 carry it. What moves is only the ORIGIN BLOCK's copy, which
is fixed at ratification and records who authorized the AUTHORING; the
restored block's "This packet carries `Status: draft` ... and owes one
from a separate act" is to be read as the state AT RATIFICATION, the
only state an origin declaration is ever allowed to describe.

THE LESSON, recorded in the same section. #709's operational rule was "a
corpus-wide sweep MUST NOT touch a ratified packet's origin block". This
mutation was not a sweep -- it was the packet's own reviewer-prompted
consistency pass, ordinarily the right instinct, which is precisely what
makes it worth writing down: the origin block is the one file in a
ratified packet that must be left saying the OLD thing, so a consistency
sweep is MORE likely to break it than a careless one.

Disposition for this contested-class act: Brett Heap,
2026-09-09T18:03Z, first-hand to lane codexfactory-1 (session name
codeXfactory-1, session_01VazHnCSe7mh4WUj7E97h8y), verbatim "restore per
709" -- taken in the shape issue #709 and its four landed restorations
#710-#713 set.

Verified: the origin-retention arm now prints
  ORIGIN RETAINED pin-openspec-cli-dependency-closure (declaration
  unchanged since the ratifying commit 93ba99f)
with ERRORS: [].

Refs #709

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VazHnCSe7mh4WUj7E97h8y
…ce: the vendored-lockfile rule reaches canon in neutral-product-pin

RULED, not chosen by the lane: Brett Heap, 2026-09-09T16:26Z, first-hand to
lane codexfactory-1 (session name codeXfactory-1), verbatim "archive the
closure change". A second and separate word of the same day --
2026-09-09T18:03Z, "restore per 709" -- authorized the origin restoration this
commit sits on top of, and that restoration is what let the archive gate run at
all.

CODE SURFACE IS NON-EMPTY, so `release-realization` archives this on
MERGED-PLUS-GREEN REALIZATION EVIDENCE and not on landing. Both halves are
cited rather than asserted, and both are re-run at the gate rather than
inherited from authoring:

  5.2 VALIDATION, RE-RUN HERE. `validate-openspec-cli-pin.py --change
      pin-openspec-cli-dependency-closure --strict --no-cache` ->
      `Totals: 1 passed, 0 failed (1 items)`, exit 0. The whole-corpus `--all
      --no-cache` run -> `Totals: 99 passed, 2 failed (101 items)`, exit 0,
      0 UNDISPOSITIONED failures; the two are the estate's standing accepted
      exceptions (`add-chain-attestation`, `add-composed-view-authoring`,
      dispositioned on Brett Heap's 2026-09-05 "take exit 2") and neither is
      this packet's. Both halves ran THROUGH THE PINNED ENTRYPOINT -- the 1.2.0
      binary on PATH was used for nothing -- resolving
      @fission-ai/[email protected] over this packet's own
      `openspec-cli-pin.1.12.0.package-lock.json` (80 packages,
      lockfile_integrity verified, `npm ci --ignore-scripts`).

  5.3 REALIZATION. MERGED at #813 -> merge commit 4c08a7a, 2026-09-09T05:54Z.
      GREEN, AND GREEN THROUGH THE THING THIS PACKET BUILT: every
      `openspec-cli-pin` run since that merge resolves the CLI through this
      lockfile, so the required check is not merely green beside the closure
      but green BY it -- conclusion `success` on #841 head 5f275d6 (run
      34351162201, 12:28:10Z) and on #847 head 98776fc (run 34372430624,
      15:46:37Z). That check has been REQUIRED on main since 2026-09-08 (org
      ruleset 22551797), so these are the gate reporting and not advisory runs.
      AND THE ARCHIVE VERB ITSELF IS EVIDENCE: `proposal-support.py … archive`
      is the third caller this packet bound to the closure, and it installed
      through this lockfile to archive #841 and #847 before it installed
      through it to archive this -- the closure verifying itself.

PROMOTED INTO CANON, TWO ADDED REQUIREMENTS, BOTH BYTE-IDENTICAL TO THE
ARCHIVED DELTA -- extracted programmatically and hashed rather than eyeballed:

  A pinned artifact that resolves dependencies at install time carries a
  vendored lockfile, and the install runs through it
      4,321 bytes  sha256 d844aae2…  4 scenarios   IDENTICAL

  A vendored resolution is regenerated with the referent, and an entry without
  one is declared uncovered
      3,004 bytes  sha256 a8f9b76c…  3 scenarios   IDENTICAL

`neutral-product-pin` goes 16 -> 18 requirements. The promotion diff reads
96 ADDED, 0 REMOVED, so the serializer normalized nothing: the sixteen
pre-existing requirements survive byte-identical but for the formerly-last
block gaining the single trailing newline that separates the appended text, and
the `## Purpose` block (1,547 bytes, sha256 ff7f92591…) is byte-identical and
still true.

THE TWO RECORDS MOVE AS PURE RENAMES. `evidence/dependency-closure-2026-09-08.md`
and `review/ratification-2026-09-09.md` already carry `Status: record`; adding a
`Kind:` header to either at the move would fire record-immutability CRITICAL, so
neither gains one and both show a 0-byte diff. Six of the seven files in the
packet are pure renames; only `tasks.md` changes, and only to record this act.

GROUP 6 IS DEFERRED, NOT TICKED, AND NOT CLAIMED. `proposal-support.py … archive`
refuses any packet whose tasks.md still matches `^- \[ \]` with no bypass flag,
and buying that refusal off with a false tick is the one thing an archive must
not do. Both boxes take the reserved DEFERRED marker `- [~]` instead -- the form
2026-08-21-add-doxbench-editing-phase-a § 5.3 uses and 2026-09-09-add-openspec-cli-pin
§ 6.2 used at its own archive -- and each names its owner:

  6.1 an independent attestation of the 79 registry integrity values, still
      trust-on-first-use. Owner: openxFactory. Nothing has attested them.
  6.2 a 1.2.0 lockfile IF a rollback is ever taken. Owner: whoever takes the
      rollback. The condition has never been met, and the pin's `rollback:`
      entry already DECLARES its `dependency_closure:` uncovered.

STALE PATHS LEFT STANDING, NAMED RATHER THAN SWEPT: `validate-openspec-cli-pin.py:87`
cites the packet's now-moved `design.md`, and `contracts/openspec-cli-pin.yaml:78`
still cites #841. Both are one-line edits to a code surface, out of scope for an
archive commit whose whole claim is that it moves bytes and changes none.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G1Nzyxp47mjqkeX4QBgoiU
…chive-pin-openspec-cli-dependency-closure

ONE CONFLICT, IN THE README OpenSpec Records BLOCK, AND IT IS THE COLLISION
RULE 6'S LANDING WINDOW EXISTS FOR: main added the
`amend-marker-defect-reporting` ACTIVE row while this branch REMOVED the
`pin-openspec-cli-dependency-closure` active row and added its ARCHIVED one.
Resolved BOTH WAYS, which is the house rule for this block -- main's new active
row is kept verbatim and this branch's move of the pin row from Active to
Archived is kept -- so the resolved block reads: amend-marker-defect-reporting
active, pin-openspec-cli-dependency-closure archived, and nothing of either
side's dropped. Verified against main rather than eyeballed: the README diff
against origin/main is now exactly two hunks, one removing the pin's active row
and one adding its archived row (60 insertions, 66 deletions), and no other row
moves.

The per-change sweep ledger takes no manual edit here -- main seeded its own
row for amend-marker-defect-reporting, and this branch's row flip is re-seeded
from the MERGED corpus by `validate-sequenced-after.py --seed-ledger` in the
commit that follows, so the seeder reads both sides at once rather than one
lane's view of it.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G1Nzyxp47mjqkeX4QBgoiU
Copilot AI lite review requested due to automatic review settings September 9, 2026 18:22

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi @brettheap! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

…closure (#861)

A SECOND COMMIT BECAUSE `--moved-by` IS REQUIRED AND THE NUMBER IS NOT KNOWABLE
UNTIL THE PULL REQUEST EXISTS. `validate-sequenced-after.py --seed-ledger`
refuses to stamp a moved row with no moving pull request -- provenance nobody
can follow -- so the archive lands first, the pull request opens, and the flip
follows citing it. This is the two-commit shape #841 and #847 took at their own
archives, not an ordering this lane chose.

  python3 scripts/validate-sequenced-after.py . --seed-ledger --moved-by '#861'
  -> wrote tests/sequenced_after/corpus-ledger.yaml (190 rows, 1 moved by #861)
       - pin-openspec-cli-dependency-closure

ONE ROW MOVES AND 189 KEEP THE PROVENANCE THEY HAD, which is the seeder's whole
contract: it rewrites from the LIVE CORPUS and re-stamps only what actually
moved, so the diff IS the list of rows this change moved. `active` -> `archived`,
`moved_by: "#813"` -> `"#861"` (the pull request that ARCHIVES it, not the one
that landed it), `moved_on: "2026-09-08"` -> `"2026-09-09"`.

THE DATE IS THE DIRECTORY'S, NOT THE RUN'S, AND THE SEEDER ENFORCES THAT RATHER
THAN TRUSTING IT: at a flip to `archived` the row's move and the archive are the
same act, so `moved_on` IS the date `archive/2026-09-09-pin-openspec-cli-dependency-closure`
carries (issue #790). Both are 2026-09-09 and the two facts agree.

Seeded on the MERGED tree, so it reads main's own `amend-marker-defect-reporting`
row (#850) and this branch's flip at once rather than one lane's view of either.
That is why the derived totals move by one in three places and not two: 41 -> 40
active, 149 -> 150 archived, 15 -> 14 active_sole.

CLEARS THE THREE FAILURES THE ARCHIVE COMMIT LEFT STANDING, and nothing else was
failing: `tests/sequenced_after/test_sweep.py` ::test_the_LIVE_corpus_and_the_LEDGER_agree_row_by_row,
::test_the_totals_DERIVED_FROM_THE_LEDGER_equal_the_MEASURED_sweep and
::test_the_live_ledger_reports_the_SAME_totals_the_sweep_MEASURES were red on the
stale row and its three derived totals -- the same four findings
`--ledger-diff` named -- and on nothing else.

Lane: codexfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01G1Nzyxp47mjqkeX4QBgoiU

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The changes consistently apply the origin-retention/archival workflow (including ledger + README index updates) and the promoted spec text is reflected in both the archived delta and the canonical spec without introducing code-level risk.

Pull request overview

This PR restores the pin-openspec-cli-dependency-closure packet’s .openspec.yaml origin: block to its ratifying bytes (per the “origin retention at archive” rule), then archives the packet and promotes its two ADDED neutral-product-pin requirements into canon. It also updates the corpus ledger + README index to reflect the archive.

Changes:

  • Update the archive packet contents (tasks + records + .openspec.yaml origin restoration) to satisfy the archive gate’s origin-retention check and document the restoration/archival act.
  • Promote the packet’s two new lockfile/closure requirements into openspec/specs/neutral-product-pin/spec.md.
  • Flip the corpus ledger row and move the README “OpenSpec Records” entry from Active → Archived.
File summaries
File Description
tests/sequenced_after/corpus-ledger.yaml Flips pin-openspec-cli-dependency-closure ledger row to archived with new moved_by/moved_on.
README.md Moves the packet’s “OpenSpec Records” entry from Active changes to Archived changes.
openspec/specs/neutral-product-pin/spec.md Adds two new canonical requirements governing vendored lockfiles + regeneration/coverage declarations.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/.openspec.yaml Restores origin.approved_by text to the ratifying baseline (origin-retention compliance).
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/tasks.md Records the archive act, ticks archive-evidence tasks, and relocates the displaced post-ratification note into tasks.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/proposal.md Archived proposal record including front-matter describing code surface + realization basis.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/design.md Archived design record for the packet, including rationale and enforcement boundaries.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/evidence/dependency-closure-2026-09-08.md Archived evidence record capturing dependency-closure measurements and relevant run excerpts.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/review/ratification-2026-09-09.md Adds the ratification record as an immutable Status: record artifact.
openspec/changes/archive/2026-09-09-pin-openspec-cli-dependency-closure/specs/neutral-product-pin/spec.md Archived delta copy of the two ADDED requirements that are promoted into canon.
Review details
  • Files reviewed: 5/10 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@brettheap

Copy link
Copy Markdown
Contributor Author

LANDING — lane codeXfactory-1, session session_01G1Nzyxp47mjqkeX4QBgoiU, 2026-09-09T19:08:19Z, PR #861 into openxFactory main. Restores pin-openspec-cli-dependency-closure's origin declaration to its ratifying bytes (#709 precedent, "restore per 709") and archives it → openspec/changes/archive/2026-09-09-…; promotes two requirements into neutral-product-pin (16 → 18); flips the corpus-ledger row; moves the README record. Ruled: Brett Heap, 2026-09-09, first-hand, "merge 861". Merge commit (not squash) so the archive-date test keeps the adding commit. No other LANDING open on this repository.

Lane: codexfactory-1

@brettheap
brettheap merged commit ab86a7c into main Sep 9, 2026
10 checks passed
@brettheap
brettheap deleted the change/archive-pin-openspec-cli-dependency-closure branch September 9, 2026 19:08
@brettheap

Copy link
Copy Markdown
Contributor Author

LANDED — lane codeXfactory-1, 2026-09-09T19:08:35Z, PR #861 → ab86a7c

Lane: codexfactory-1

brettheap pushed a commit that referenced this pull request Sep 9, 2026
… archive/amend-marker-defect-reporting

README's OpenSpec Records block conflicted at both list positions (Rule 6's
window): resolved by re-applying this PR's own two edits onto main's block, so
neither change is listed active and both 2026-09-09 archives are listed.
Gates on the merged tree: strict validate failure set identical to main's
(3, none this packet's); sequenced-after + scope-globs archive gates pass
against ratified ref 4e3c2e2; ledger consistent (190 rows); 320 tests pass.

Lane: openxfactory-1
Co-Authored-By: Claude Fable 5.1 <[email protected]>
@brettheap

Copy link
Copy Markdown
Contributor Author

Lane: codexfactory-1

CLAIMED — lane codeXfactory-1, session session_015byFrZSopmRbUWNMYt1zEA, 2026-09-10T00:36Z: the deferred closure follow-ups 6.1 (attestation of the registry integrity values) and 6.2 (a 1.2.0 lockfile) and the two stale-path comments left by the archives (contracts/openspec-cli-pin.yaml:78, scripts/validate-openspec-cli-pin.py:87), on Brett Heap's word "take 1, 2 and 3".

Sibling search: gh pr list for openspec-cli-pin|lockfile|package-lock|closure|neutral-product-pin returns exactly one open PR — #870 (amend-neutral-product-pin-interim-copy-vocabulary), which touches openspec/changes/amend-neutral-product-pin-interim-copy-vocabulary/**, README.md and tests/sequenced_after/corpus-ledger.yaml. It amends the capability's interim-copy vocabulary (issue #868) and touches neither contracts/openspec-cli-pin* nor scripts/validate-openspec-cli-pin.py, so it does not compete; this lane will not touch openspec/specs/neutral-product-pin/spec.md or the README OpenSpec Records block, which keeps us off #870's landing window. gh issue list --search "openspec-cli-pin" returns #754, #778, #775, #868 — all pin-adjacent obligations, none of them 6.1, 6.2 or the two moved citations, and none claimed by another lane.

No merges from this lane.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants