Skip to content

Archive govern-archived-record-edits: the archived-record edit rule promotes into document-lifecycle (archive act on Brett Heap's word "archive both") - #845

Merged
brettheap merged 7 commits into
mainfrom
change/archive-govern-archived-record-edits-2
Sep 9, 2026
Merged

brettheap merged 7 commits into
mainfrom
change/archive-govern-archived-record-edits-2

Conversation

@openxfactory

@openxfactory openxfactory Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Lane: opsxfactory-1 (opsXfactory-1)
Claim: #630 (comment)

This PR is the ARCHIVE ACT of govern-archived-record-edits — ratified at
PR #788 → main 3504287a,
realized at PR #824 →
9a67d42c as Speckit feature 032-govern-archived-record-edits. It is a
separate, later act from both, performed on Brett Heap's word, in session
and first-hand to lane opsXfactory-1, UTC receipt 2026-09-09T12:15:01Z,
verbatim:

archive both

given in reply to the lane putting it to him that BOTH halves of the matched
pair (this openxFactory packet and OpsxFactory's twin govern-archived-record-edits)
carried an unticked [OPERATOR] The archive word box and that neither move
could be taken without it. The claim above is the archive-act claim on issue
#630; its correction is
comment 5596630151,
which redirects sibling-read (1) to lane openXfactory-3's own substrate claim
on the README Records block and the corpus ledger (its
refresh-install-repository-enumerations row moving active → archived) — it
touches neither this packet's row, its ledger row, nor its archive directory.

Operator box 6.3 (tasks.md) is ticked citing exactly that word and that
UTC receipt, and it is ticked BEFORE the move: the requirement this PR
itself promotes — An archived record is edited only as a bookkeeping
correction under a recorded ruling
— forbids editing "a task record or its
tick state" on a file once it sits under openspec/changes/archive/, so every
tick (4.2, 6.1, 6.2, 6.3) is authored in the commit before the rename, and the
rename commit edits no byte of any file it moves. This is the first archive
the rule binds, and the record it binds first is its own.

Base and commits

Base 46059b77 (origin/main has not moved since authoring — confirmed by
git merge-tree --write-tree against origin/main, clean). Four commits:

  1. fd4589fa — Ticks tasks.md 4.2 and all three of § 6, on the archive
    word, while the packet is still live. Re-measures every precondition
    at this base rather than carrying it forward from the earlier draft (base
    moved from 9a67d42c to 46059b77, thirteen commits): box 4.2's currency
    check re-run — canon 5,815 characters, 0 canon lines removed, so the
    MODIFIED block is carried forward as ratified; the capability itself moved
    (56e69a11, PR Archive add-ideation-intent-plane with promotion (Path A PR-5: 4.4/5.1/5.2 ticked on the D-2 evidence) #832, archived add-ideation-intent-plane, added Gates
    happen on main
    ), so the count is 19 → 21, not 18 → 20; no in-repo
    sha256 pin names any file this PR touches (three near-misses disclosed
    and ruled out: a path-list with no digest, a digest belonging to a
    different repository's README, and a path-only entry in
    contracts/hermes-runtime/contract-index.yaml).
  2. faeabe22 — Runs openspec archive govern-archived-record-edits --yes
    through the pinned CLI @fission-ai/[email protected] (OPENSPEC_TELEMETRY=0,
    PATH's 1.2.0 never used); rc 0, specsUpdated: true, added 2, modified 1, removed 0, renamed 0, archived as
    openspec/changes/archive/2026-09-09-govern-archived-record-edits/. This
    is the only commit that touches archive/
    , and git diff -M --numstat
    reports 0 0 on all seven moved files — independently confirmed here
    (git show -M --name-status faeabe22): .openspec.yaml, design.md,
    evidence/realization-2026-09-08.md, proposal.md,
    review/ratification-2026-09-08.md, specs/document-lifecycle/spec.md,
    tasks.md, all R100. No archived byte is edited anywhere in this pull
    request.
  3. 3d9194e0 — Moves the sweep-ledger row
    (tests/sequenced_after/corpus-ledger.yaml:221) via
    validate-sequenced-after.py . --seed-ledger --moved-by '#0': state
    active → archived, moved_by "#788" → "#0", moved_on 2026-09-08 →
    2026-09-09, confirmed here byte-for-byte. #0 is deliberately
    provisional and not a guessed number
    — the archive PR doesn't exist yet
    at this commit, #TBD is refused twice over (the seeder's own arg parser
    and the ledger gate's malformed-provenance check), and GitHub numbers PRs
    from 1 so #0 can never collide with a real one. The landing lane
    re-stamps moved_by to this PR's real number by a direct one-field edit

    and re-runs --ledger-diff; moved_on is not re-stamped.
  4. a793c256 — Moves the README Records row from Active to the top of
    Archived (one row moved, none added — measured by the adversarial reviewer
    on this base: Active 44 → 43, Archived 149 → 150 — the commit message's
    "150 → 151" is off by one and cannot be rewritten), adds an
    ARCHIVED preamble, and makes exactly two byte-level changes to the carried-
    forward row body (both path repoints: the row's own link, and its citation
    of review/ratification-2026-09-08.md). Also settles three Speckit-tree
    citations — see below.

Archive path:
openspec/changes/archive/2026-09-09-govern-archived-record-edits/ —
confirmed present at head with all seven files.

Promoted canon

openspec/specs/document-lifecycle/spec.md goes 19 → 21 requirements,
diff +237 / −0 (independently confirmed: git diff --numstat reports
237 0, and the only lines matching ^- in the diff are the --- file
header — no requirement text is removed or reworded). Confirmed by direct
count: 19 ### Requirement: headers at base, 21 at head.

  • MODIFIED Proposal packets carry the lifecycle header — replaced
    WHOLESALE, as a MODIFIED delta must. All six of canon's existing
    scenarios are restated byte-for-byte, plus a seventh, new: A header
    defect is discharged on an archived packet
    . Confirmed by extracting the
    requirement block from both the archived delta
    (.../archive/2026-09-09-govern-archived-record-edits/specs/document-lifecycle/spec.md)
    and from canon and comparing them as strings: identical.
  • ADDED An archived record is edited only as a bookkeeping correction under a recorded ruling — byte-identical between delta and canon (this is
    the requirement the four ticks above, and this PR's own § 4.2/§ 6 timing,
    are performed under).
  • ADDED A change that edits a pinned target re-derives every dependent pin in the same change — byte-identical between delta and canon.
  • The 18 requirements the delta does not name (the newly-arrived Gates
    happen on main
    among them) are byte-identical before and after — a
    structural consequence of the +237/−0, all-insertion diff, confirmed
    directly.

Citations outside archive/

Nothing under archive/ besides faeabe22 is touched by any commit
(confirmed above). Three sites carry dated notes rather than a repoint, and
each is verified in the diff:

  • specs/032-govern-archived-record-edits/spec.md (+37 lines) gains the
    authoritative ARCHIVE NOTE: the word, the new archive path, a substitution
    rule for reading the rest of the file, and the reasoning, with its own
    measurement — twelve sibling Speckit feature directories (002, 003, 004,
    007, 016, 018, 019, 020, 022, 023, 024, 026) realize packets that have since
    archived, and between them carry 98 live-path citations and zero
    archive-path ones; the one repoint in this tree's history (3d7b8f3b,
    specs/029) was a pointer fix, not a convention; and openxFactory has no
    citation gate (OpsxFactory's pre-archive citation gate is that repository's
    own).
  • specs/032-govern-archived-record-edits/quickstart.md (+19 lines)
    gains a note saying its commands are not repointed because
    repointing would break them
    — the file's own preamble runs them from a
    checkout of the feature branch, where the packet still sits at the live
    path — plus the substitution needed to re-run them against main, and a
    re-run of § 5's currency measurement at this archive: canon 5,815
    characters, 0 lines removed, identical to the 2026-09-08 figure.
  • specs/032-govern-archived-record-edits/tasks.md (+21 lines), T033,
    gets a correction, because one of its assertions genuinely became false
    at the move: it once read "the change directory is still
    openspec/changes/govern-archived-record-edits/ … so openspec archive
    was never run." That sentence is quoted in place (never rewritten) and
    corrected — openspec archive WAS run, on a separate branch, on a separate
    operator word; T033's claim was about what the realization did, and the
    realization still ran no archive, so the record is stronger for the
    correction rather than weakened by it.

Gates, at a793c256 (re-run independently in this review, not just

quoted from the commit messages)

  • Pinned OpenSpec 1.12.0 (verified against the checked-out artifact's own
    package.json): validate --all --strict → 101 passed, 2 failed (103
    items)
    , the two failures being exactly change/add-chain-attestation and
    change/add-composed-view-authoring — main's own standing accepted
    exceptions, 0 undispositioned.
  • validate-sequenced-after.py . → passed; archive-date agreement
    passed
    (no archived row's moved_on predates its directory) and
    archive-date-vs-commit agreement passed; --ledger-diff → per-change
    sweep ledger consistent with the corpus (189 rows)
    .
  • validate-scope-globs.py . → clean.
  • validate-manifest-digests.py . → 189 per-file digests verify.
  • pytest tests/sequenced_after tests/proposal-support tests/scope_globs -q
    → 415 passed, 2 subtests passed.
  • doc-health.py --single-repo . --fail-on error: author-reported, not
    independently re-run in this review
    (it is a slower, multi-family sweep) —
    the branch's own commit message states the finding-set diff against a
    main-vs-main-proven-identical baseline (both pinned --as-of 2026-09-09) is
    ZERO at the finding-line level, with the only report difference being
    word totals: canon share 39.3% → 39.5%, +2,822 words (the words the
    promotion just made canon).

Boxes left open by design

tasks.md at the archive path: 23 ticked, 5 open (independently counted).
The five open boxes, each carrying a dated NOT-OWED line, are exactly 3.2,
3.3, 3.5, 5.2, 5.3
:

  • 3.2 — OpsxFactory's add-content-address-integrity-gate family
    register; not owed here, another repository's act.
  • 3.3 — the consent family's re-derivation rule, owed by
    add-consent-custody-rederivation-record (another openxFactory packet,
    merged 543d47a9, still 46/46 unticked); not owed here.
  • 3.5 — every other DomainxFactory reading its own archived-packet
    convention against the newly promoted requirement; not owed here, and
    explicitly not surveyed.
  • 5.2 — the Rule 6 LANDING/LANDED notice; the landing lane's act,
    discharged at landing.
  • 5.3 — discharging the object/substrate claims on issue Shared substrates — claims #630 naming this
    PR and its merge sha; the landing lane's act, discharged at landing.

The superseded first branch

change/archive-govern-archived-record-edits @ f7d10993 (still on
origin, confirmed) is an earlier, now-superseded archive attempt,
authored against an older base before 56e69a11 landed (its own message
states "18 → 20" and "+238/−0," both since corrected here). At that branch,
box 6.3 is unticked (- [ ] 6.3 [OPERATOR] The archive word.), carrying
a dated clause reading that no recorded archive word existed and that the
packet therefore archived with one box open — true when written, and the
reason this branch exists instead. It is kept on origin as the record of
that refusal, and is cited in § 6.3 above.

Adversarial review

Verdict: MERGEABLE AFTER FIXES on a793c256, no blocker — archive purity (seven R100 at faeabe22, every tick authored before the move), the promoted spec (19 → 21; all six canon scenarios of the MODIFIED requirement byte-identical plus one new; both ADDED blocks byte-identical to the delta; the neighbouring Gates happen on main intact), the operator word (quoted exactly at four sites), and every gate reproduced (101/2 with 0 undispositioned; sequenced-after and both archive-date agreements; ledger 189 rows; digests 189; pytest 415; doc-health finding set identical, two word-total lines moving by 2,822 words). Findings: the ledger row's moved_by regressed from the realization's #788 to the provisional #0 with the re-stamp obligation recorded only in a commit message — satisfied by this body and by the lane's re-stamp at PR-open; the move commit's message miscounts the archived rows (corrected above); the README archived row over-stated rename purity over the whole PR range — fixed in f7ed5956 by naming the move commit. Independent counts: the Speckit tree now carries 32 live-path and 5 archive-path citations of this packet, consistent with the corpus convention the notes rely on

Ratification, approval, and landing

Ratification of the underlying change happened on PR #788 (2026-09-08) and is
not re-opened here; realization happened on PR #824 as Speckit 032. Both are
cited, not redone. Brett's approval act for this PR is gh pr review <n> --repo opensoft/openxFactory --approve from the CLI, per this repository's
standing precedent (a browser approval does not register).

This PR touches openspec/changes/ (the archive move) and LANES.md-adjacent
substrate, so Rule 6 applies: LANDING/LANDED will be posted on this PR and in
LANES.md, with a merge-from-main first if main has moved further by then
(clean against origin/main at authoring, confirmed by git merge-tree).

🤖 Generated with Claude Code

https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a

brettheap and others added 5 commits September 9, 2026 08:19
…hive, on Brett Heap's archive word of 2026-09-09T12:15:01Z — and tick them while the packet is still LIVE, because the rule it promotes forbids them once it is not

THE ARCHIVE WORD, WHICH IS WHAT § 6.3 WAITED FOR AND WHAT AN EARLIER DRAFT OF
THIS ACT DID NOT HAVE. Brett Heap, in session and FIRST-HAND to lane
`opsXfactory-1` (session `session_01SaFpsA8fXdGedCp8kcyK9a`, harness
`ee808615`), UTC receipt `2026-09-09T12:15:01Z` measured from `date -u` at the
moment it reached this seat, verbatim:

    archive both

Given in reply to the lane putting it to him that BOTH halves of the matched
pair carried an unticked `[OPERATOR] The archive word` and that neither move
could be taken without it — so "both" = this openxFactory archive and
OpsxFactory's twin. IT IS A SECOND AND SEPARATE ACT FROM THE RATIFICATION, which
is exactly what § 6.3 exists to require: the box's own clause already refused to
read an archive word out of the 2026-09-08 approval on PR #788, and that refusal
STANDS — this word came a day later, answering a question the approval did not.
Two acts on two words, the order `release-realization` requires and the shape
`refresh-install-repository-enumerations` archived on.

THE SUPERSEDED DRAFT IS NAMED RATHER THAN QUIETLY REPLACED. Branch
`change/archive-govern-archived-record-edits` (head `f7d10993`) is PUSHED and NOT
retired; it carries a § 6.3 clause reading that no recorded archive word existed
and that the packet archived with one box open. That was TRUE WHEN WRITTEN and is
FALSE NOW. This branch is the act taken on the word; that one stays as the record
of the refusal, which is the outcome the box was defending.

THE PACKET'S OWN RULE BINDS ITS OWN ARCHIVE, AND THIS IS THE FIRST TIME IT DOES.
`An archived record is edited only as a bookkeeping correction under a recorded
ruling` names "a task record or its tick state" among the edits it REFUSES, so a
box ticked on this file AFTER it moves under `openspec/changes/archive/` is an
edit the requirement forbids, whatever ruling authorizes it. THE RESOLUTION IS
ORDERING, NOT AN EXCEPTION, and it is the precedent's: PR #825 -> `ca4a1558`
closed `refresh-install-repository-enumerations`'s boxes in the commit BEFORE its
archive commit. Every tick lands here, while the packet is live; the archive
commit that follows is a pure move plus the promotion and edits no byte of any
file it moves.

PRECONDITIONS, RE-MEASURED AT THIS BASE AND NOT CARRIED FORWARD FROM THE EARLIER
DRAFT. Base is `46059b77`, not the `9a67d42c` the first draft measured — `main`
moved thirteen commits under this act.
(1) Box 4.2's currency check re-run at `46059b77`: canon 5,815 characters, 0
canon lines removed under both bounds (7,209 / 7,186). CANON DID NOT MOVE, so the
MODIFIED block is carried forward as ratified and no re-derivation is owed. All
SIX of canon's scenarios are restated byte-identical and a seventh added.
(2) THE CAPABILITY ITSELF DID MOVE, and the count is corrected rather than
inherited: `56e69a11` (PR #832, the archive of `add-ideation-intent-plane`) added
*Gates happen on main* to `document-lifecycle`, so canon is 19 requirements and
this archive takes it 19 -> 21, not 18 -> 20. Neither `## ADDED` title collides
with the requirement that arrived, re-checked by exact-title grep at this base.
(3) The boxes this act closes are 4.2 and all three of § 6. The five that stay
open — 3.2, 3.3, 3.5, 5.2, 5.3 — are other repositories', another packet's, or
the LANDING LANE's, each already carrying a dated NOT-OWED line.

NO PIN IS RE-DERIVED, MEASURED AT THIS BASE. No in-repo `sha256` pin names any
file this pull request touches, searched as literal path strings over every
YAML/JSON in the tree. THREE near misses are disclosed rather than left to be
found: `contracts/review-lane-floor-snapshot.yaml:217` names
`openspec/specs/document-lifecycle/spec.md` but is a PATH LIST carrying no digest
(and the path is already listed and stays listed; no file is added under
`openspec/specs/`, so no floor advance is owed); `contracts/openreposhape-pin.yaml:193`
carries `- path: README.md` WITH a digest but is `opensoft/openRepoShape`'s
README — it claims `30a4cf88…` where this repository's root README hashes to
`5888c7d9…`; and `contracts/hermes-runtime/contract-index.yaml:175` names
`README.md` relative to `contracts/hermes-runtime/`, path-only with no digest.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
…e pinned-target rule reach promoted canon, and the first record the first of them binds is this packet's own

TAKEN ON BRETT HEAP'S ARCHIVE WORD of 2026-09-09T12:15:01Z, in session and
first-hand to lane `opsXfactory-1`, verbatim "archive both" — a SECOND and
separate act from the 2026-09-08 ratification, which § 6.3 already refused to
read an archive word out of. `code_surface: none`, so per `release-realization`
this packet archives ON LANDING rather than on merged-plus-green realization
evidence.

THE ARCHIVE, RUN THROUGH THE PINNED CLI AND NOTHING ELSE.
`openspec archive govern-archived-record-edits --yes` with
`@fission-ai/[email protected]` from the pinned artifact, `OPENSPEC_TELEMETRY=0`,
from the repository root — PATH's 1.2.0 never used. rc 0, `specsUpdated: true`,
`added 2, modified 1, removed 0, renamed 0`, archived as
`2026-09-09-govern-archived-record-edits`. The CLI stamps that directory from the
LOCAL clock and has no date option (the trap issue #790 recorded); the run was
made at 2026-09-09T12:19:12Z = 08:19 local, so both clocks read 2026-09-09 and
the directory name needs no correction.

CANON GOES 19 -> 21 REQUIREMENTS. Nineteen and not eighteen because `main` moved
thirteen commits under this act: `56e69a11` (PR #832, the archive of
`add-ideation-intent-plane`) added *Gates happen on main* to this same
capability. Neither `## ADDED` title collides with it, re-checked by exact-title
grep at this base, and the MODIFIED block's canon did not move with it — 5,815
characters at `46059b77`, the ratification figure exactly.

THE PROMOTION IS VERIFIED AGAINST THE ARCHIVED DELTA'S OWN BYTES rather than read
side by side. All three blocks extracted programmatically from
`openspec/changes/archive/2026-09-09-govern-archived-record-edits/specs/document-lifecycle/spec.md`
and from `openspec/specs/document-lifecycle/spec.md` and compared as strings:

  MODIFIED `Proposal packets carry the lifecycle header`                7,186 B  identical
  ADDED    `An archived record is edited only as a bookkeeping …`       8,118 B  identical
  ADDED    `A change that edits a pinned target re-derives every …`     7,753 B  identical

The MODIFIED requirement is replaced WHOLESALE, which is what a MODIFIED delta
does, so ALL SIX of canon's scenarios had to be restated and all six are — byte
for byte — with a seventh (`A header defect is discharged on an archived
packet`) added. NOTHING IS REMOVED, so no `**Removed from canon by …**` marker is
owed. The 18 requirements the delta does not name are byte-identical before and
after, the newly-arrived *Gates happen on main* among them. The file's whole diff
is +237 / -0 and there is NO change outside the three blocks at all — the
serializer's blank line before `## Requirements` was already taken on this base
by `56e69a11`.

EVERY MOVED FILE IS A PURE RENAME. `git diff -M --numstat` reports `0 0` on all
seven — `.openspec.yaml`, `proposal.md`, `design.md`, `tasks.md`, the delta,
`review/ratification-2026-09-08.md` and `evidence/realization-2026-09-08.md`.
THAT IS THE POINT OF THIS COMMIT AND NOT A SIDE EFFECT: the requirement promoted
here refuses an edit to a task record or its tick state on an archived file, so
every tick was authored in the commit BEFORE this one, while the packet was still
live, and this commit edits no byte of any file it moves.

GATE: pinned `--all --strict` rc 0 at this tree, 0 UNDISPOSITIONED, the only two
findings being main's standing "take exit 2" exceptions (`add-chain-attestation`,
`add-composed-view-authoring`), unchanged by this work.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
… on a PROVISIONAL `moved_by: "#0"` the landing lane re-stamps

ONE ROW, ONE LINE, WRITTEN BY THE SEEDER RATHER THAN BY HAND.
`validate-sequenced-after.py . --seed-ledger --moved-by '#0'` reports
`189 rows, 1 moved by #0` and produces a ONE-LINE diff (`--numstat` says `1 1`):
`state` active -> archived, `moved_by` "#788" -> "#0", `moved_on` 2026-09-08 ->
2026-09-09. The three derived TOTALS the stale run reported (active 43->42,
archived 146->147, active_co_modified 27->26) are computed FROM the rows and
needed no separate edit; nothing else in the file moves. The row was re-seeded
against THIS base rather than carried from an earlier draft — `main` re-seeded
the ledger itself under this act (`57007efe`, the renamed draft), so the totals
differ from that draft's by one in each column.

`#0` IS PROVISIONAL AND IS DELIBERATELY NOT A GUESS AT THE NEXT FREE NUMBER.
The archive pull request does not exist at this commit, and `moved_by` is
AUTHOR-SUPPLIED AND UNVERIFIED under the ledger's own doctrine — only its
`#<digits>` shape is checked, never resolved — so a placeholder reds no gate. The
placeholder had to be numeric: `#TBD` is refused twice over, by the seeder's own
argument parser (`--moved-by must be a pull request reference like '#620'`) and,
written by hand, by the ledger gate itself (`malformed provenance:
govern-archived-record-edits: moved_by is '#TBD'`). Both were measured, not
assumed.

`#0` RATHER THAN A PREDICTED NUMBER, AND THE REASON IS THIS PACKET'S OWN SCAR
TISSUE. Task 0.1 records the trap springing TWICE on this lane: this row's first
provisional `#785` became another lane's open pull request, and
`add-consent-custody-rederivation-record`'s `#757` was taken the same way while
that packet was in review. GitHub numbers pull requests from 1, so `#0` can never
be mistaken for a real pointer — a placeholder that reads as a placeholder beats
a plausible number that quietly turns into somebody else's work.

THE RE-STAMP IS A DIRECT ONE-FIELD EDIT AND NOT A RE-SEED. Once the number is
known, re-running the seeder is a MEASURED NO-OP: it stamps provenance only on
rows whose DERIVED keys moved, and after this commit this row's derived keys are
already correct. The landing lane edits `moved_by` at
`tests/sequenced_after/corpus-ledger.yaml:221` from `"#0"` to the real number and
re-runs `--ledger-diff`, which must report `per-change sweep ledger consistent
with the corpus`. `moved_on` is NOT re-stamped: it records when the row's derived
keys moved, which is today.

GATES AT THIS COMMIT. `validate-sequenced-after.py .` rc 0 — `archive-date
agreement passed (no archived row's moved_on predates its directory)` and
`archive-date-vs-commit agreement passed (every archived directory is named for
the UTC date of the commit that added it …)`, which is the gate re-proving the
clock arithmetic behind the `2026-09-09-` directory name. `--ledger-diff` rc 0 —
`per-change sweep ledger consistent with the corpus (189 rows)`.
`--strict-archive-dates` reports 124 legacy drifts, the same 124 `main` reports,
and THIS row is not among them: its `moved_on` IS its archive date under the
stronger reading too.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
…kit tree's citations by measurement rather than by sweep

THE RECORDS ROW: ONE ROW MOVED, NONE ADDED. Active changes goes 44 -> 43 and
Archived changes 150 -> 151; the row is lifted whole out of the active block and
placed at the TOP of the archived block, the shape
`refresh-install-repository-enumerations` used at `ca4a1558`. An ARCHIVED
preamble is prepended and it LEADS WITH THE WORD: Brett Heap's separate archive
word, UTC receipt `2026-09-09T12:15:01Z`, in session and first-hand to the lane,
verbatim "archive both", given in reply to the lane putting it to him that BOTH
halves of the matched pair carried an unticked `[OPERATOR] The archive word` —
two acts on two words, the ratifying approval of 2026-09-08 being the first and
this the second. Then the pinned-CLI run and its totals, the base correction
(`46059b77`, not `9a67d42c` — `main` moved thirteen commits), the 19 -> 21 count
with the reason it is not 18 -> 20, the three promoted blocks with their byte
sizes and the byte-identity result, the +237/-0 diff with no change outside the
three blocks, box 4.2's re-measured 5,815 characters, the pure-rename result and
its reason, and the five boxes that stay open with whose acts they are.

EXACTLY TWO BYTE-LEVEL CHANGES WERE MADE TO WHAT THE ROW ALREADY SAID, both path
repoints and neither a claim: the row's own link and its one citation of
`review/ratification-2026-09-08.md`. Proven, not asserted — a line-by-line diff
of the original body against the carried-forward body returns those two lines and
nothing else, the row's two dated amendments included.

THE SPECKIT TREE IS NOT SWEPT, AND THE REASON IS A MEASUREMENT OF THIS
REPOSITORY'S OWN PRACTICE, RE-TAKEN AT THIS BASE.
`specs/032-govern-archived-record-edits/` carries 27 live-path citations of the
packet. TWELVE sibling feature directories realize packets that have since
archived — 002, 003, 004, 007, 016, 018, 019, 020, 022, 023, 024, 026 — and
between them they carry 98 live-path occurrences of their own packet's id and
ZERO archive-path occurrences. NOT ONE WAS REPOINTED at its packet's archive. The
single repoint in the tree's history (`3d7b8f3b`, `specs/029`) moved ONE pointer
to a ratification record in a file whose only other citation was already in
archive form; it is a pointer fix, not a convention. Repointing 27 sites here
would put this tree out of step with all twelve of its siblings on no rule that
exists — openxFactory has NO citation gate; the pre-archive citation gate that
would refuse a live-path citation is OpsxFactory's.

AND MOST OF THE 27 ARE NOT POINTERS. Several sit inside git commands whose
PATHSPEC is evaluated over a commit range that PREDATES the move
(`git log 3504287..6871292 -- openspec/changes/govern-archived-record-edits`),
where the live path is the correct one and the archive path matches nothing.
Others sit inside dated `**Done 2026-09-08**` records of acts performed at that
path on that day. Rewriting either would turn a true record false — the same test
the requirement promoted two commits ago applies to an archived record, applied
here to a living one.

WHAT IS WRITTEN INSTEAD IS THREE DATED NOTES, EACH DOING WORK A SWEEP WOULD NOT.
`spec.md` takes the authoritative note: the word, the new archive path, the
substitution rule, and the three-part reasoning with its measurement.
`quickstart.md` takes a note saying its commands are NOT repointed BECAUSE
REPOINTING WOULD BREAK THEM — its own preamble directs them at a checkout of the
feature branch, where the packet is at the live path — plus the substitution
needed to re-run them on `main`, and the warning that its § 3 and § 5 results
must be taken against the base the run actually used, since `main` added a
requirement to this very capability mid-act. `tasks.md` T033 takes a CORRECTION,
because one assertion there genuinely became false at the move: "The change
directory is still `openspec/changes/govern-archived-record-edits/` … so
`openspec archive` was never run." It is quoted in place rather than rewritten,
and the record is stronger for it — T033's claim was about what THE REALIZATION
did, and the realization still ran no archive; a separate act on a separate
branch and a separate operator word did.

GATES AT THIS COMMIT. `validate-scope-globs.py .` rc 0.
`validate-manifest-digests.py .` rc 0 (189 per-file digests verify).
`pytest tests/sequenced_after tests/proposal-support tests/scope_globs -q` rc 0,
415 passed + 2 subtests. doc-health against `main` `46059b77` under identical
basenames with `--as-of 2026-09-09` pinned, the recipe re-proven main-vs-main at
ZERO differences at that sha first: the FINDING SET IS IDENTICAL, headline
unchanged at 10 critical / 9 error / 57 warning / 16 info, and the whole report
diff is THREE LINES, all word totals that moved because the promotion made 2,822
words canon (canon share 39.3% -> 39.5%). No finding line differs in either
direction.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
…move commit, and correct the Records-block counts the unbounded awk overstated

R1a — THE PURE-RENAME CLAIM WAS TRUE OF A COMMIT AND WRITTEN AS IF TRUE OF THE
PULL REQUEST. The archived row read "THE SEVEN PACKET FILES ARE PURE RENAMES
(`git diff -M --numstat` reports `0 0` on each)" with no commit named. That holds
at the move commit `faeabe22` — `git show -M --numstat faeabe2` reports `0 0` on
all seven, re-measured — and NOT over `origin/main..HEAD`, where rename detection
folds the pre-move ticks of `fd4589fa` into the rename and reports `212 4`
against `tasks.md`. The row now names the commit, states the `212 4` range figure
beside it, and says what those lines ARE: the ticks, written while the file sat
at its LIVE path. The other six packet files are `0 0` over the range as well
(measured: zero non-`0 0` entries), so `tasks.md` is the only one that differs
and the reason is the ordering this packet's own rule forced.

THE UNDERLYING CLAIM IS UNCHANGED AND IS THE STRONGER FOR THE CORRECTION. No
archived byte is edited anywhere in the pull request; that is proven PER COMMIT,
and the row now says so explicitly — a range diff cannot show it, which is
exactly why the range figure looked like a contradiction and is not one.

R1b — THE RECORDS-BLOCK COUNTS WERE COUNTED PAST THE END OF THE BLOCK. The
archived block ends at the `## Install Repo Pins` heading, and an awk run to
end-of-file picks up one further `- [` line, overstating the archived count by
one. Measured inside the real bounds: at base `46059b77` *Active changes* carries
44 rows and *Archived changes* 149; at this commit **44 -> 43 and 149 -> 150**.
ONE ROW MOVES AND NONE IS ADDED — the conclusion the miscount was offered to
support is untouched; only the numbers were wrong.

THE WRONG NUMBERS SURVIVE IN A COMMIT MESSAGE AND ARE CORRECTED IN THE FILE
RATHER THAN BY A REWRITE. `a793c256`'s message states "44 -> 43 and 150 -> 151"
from the unbounded count. That commit is pushed and is not rewritten; the row
itself now carries the corrected figures and says which commit message they
correct, so a reader who lands on either finds the other.

NOTHING ELSE CHANGES. No archived byte is touched by this commit — the only file
it edits is `README.md`, which is not under `openspec/changes/archive/`. The
ledger's `moved_by: "#0"` stays PROVISIONAL by design; the landing lane re-stamps
it at PR-open by a direct one-field edit at
`tests/sequenced_after/corpus-ledger.yaml:221` and the pull-request body carries
that obligation.

GATES RE-RUN, THE TWO THE REVIEW ASKED FOR. Pinned `--all --strict` rc 0 —
`Totals: 101 passed, 2 failed (103 items)`, 0 UNDISPOSITIONED, the two being
main's standing "take exit 2" exceptions. `--ledger-diff` rc 0 — `per-change
sweep ledger consistent with the corpus (189 rows)`.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a

@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 @openxfactory[bot]! 👋

Your private repo does not have access to Sourcery.

Please upgrade to continue using Sourcery ✨

…` to the real pull request `#845`

THE ACT TASK 0.1 DESCRIBES, PERFORMED AT PULL-REQUEST-OPEN. openxFactory PR
[#845](#845) was opened by
`openxfactory[bot]` on head `f7ed5956`, so the number this row's provenance
pointer needs now exists. The number was RESOLVED BEFORE IT WAS WRITTEN rather
than assumed: `gh api repos/opensoft/openxFactory/pulls/845` returns
`state=open`, `head_sha=f7ed5956afb126fb520271794cb6ba67789396db` — this branch's
exact head — `head_ref=change/archive-govern-archived-record-edits-2` and
`base=main`. That check is the whole point of the box: `moved_by` is
AUTHOR-SUPPLIED AND UNVERIFIED under the ledger's doctrine, only its `#<digits>`
shape ever checked, so nothing downstream will catch a wrong number and a reader
following the pointer is the only one who ever will.

A DIRECT ONE-FIELD EDIT, AND THE SEEDER IS DELIBERATELY NOT RUN. `--seed-ledger`
stamps provenance only on rows whose DERIVED keys moved; this row's derived keys
were made correct by the archive commit and have not moved since, so the
documented recipe would report a re-seed and change nothing — task 0.1 measured
exactly that ("`184 rows, 0 moved by #999`", a ZERO-LINE diff) and concluded that
a provenance-only correction is a hand edit. This is that hand edit: ONE field on
ONE line, `moved_by: "#0"` -> `"#845"`. `git diff --numstat` reports `1 1` and
nothing else in the file moves.

`moved_on` IS NOT RE-STAMPED, and that is the same distinction task 0.1 drew when
this row was last corrected. It records the date the row's DERIVED keys moved —
`state` active -> archived, which happened today at the archive commit — not the
date its provenance pointer was fixed. Both are 2026-09-09 here, so the field
would not visibly change; it is left alone on the principle rather than on the
coincidence.

THE ARCHIVED `tasks.md` CANNOT RECORD THIS AND IS NOT ASKED TO. Task 0.1's own
text anticipates the re-stamp and says the landing lane performs it, but that
file is now at
`openspec/changes/archive/2026-09-09-govern-archived-record-edits/tasks.md` and
the requirement this very packet promoted — *An archived record is edited only as
a bookkeeping correction under a recorded ruling* — refuses an edit to "a task
record or its tick state" there. Ticking or annotating 0.1 to note the re-stamp
would be precisely the edit the rule forbids, on the first packet it binds. SO
THE RECORD LIVES HERE, in the commit that makes the change, which is where a
`git log -- tests/sequenced_after/corpus-ledger.yaml` reader looks anyway. The
packet is frozen as captured; the ledger is a live file and carries its own
history.

`#0` WAS CHOSEN SO THAT THIS MOMENT WOULD BE SAFE. GitHub numbers pull requests
from 1, so the placeholder could never be mistaken for a real pointer in the
window between the archive commit and this one — unlike the `#785` and `#757`
guesses task 0.1 records, each of which became another lane's open pull request
while its packet was in review.

GATES. `scripts/validate-sequenced-after.py .` rc 0 — `archive-date agreement
passed (no archived row's moved_on predates its directory)` and
`archive-date-vs-commit agreement passed`. `--ledger-diff` rc 0 — `per-change
sweep ledger consistent with the corpus (189 rows)`.

Refs #845

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
brettheap
brettheap previously approved these changes Sep 9, 2026
…d-edits-2: union after #841

WHY THE MERGE. PR #841 archived `add-openspec-cli-pin` and moved ITS Records row
into the archived block and flipped ITS ledger row, in the same interval this
branch did the same for `govern-archived-record-edits`. Both archives inserted
their row at the TOP of the archived block, so `git merge-tree` conflicted on
`README.md`. Nothing else conflicted: their promotion lands in
`neutral-product-pin` and ours in `document-lifecycle`, and the two ledger rows
are distinct lines.

README RESOLVED AT THE UNION BY ROW-ID SETS OVER BOTH BLOCKS, not by line
counting. Every id `main` carries plus this change's archived row.
  base `46059b77`   active 44   archived 149
  ours `ecbec323`   active 43   archived 150   (moved `govern-archived-record-edits`)
  theirs `245ee85a` active 43   archived 150   (moved `add-openspec-cli-pin`)
  MERGED            active 42   archived 151
MERGED == UNION, asserted as SET EQUALITY on both blocks rather than eyeballed:
the merged active set equals the union active set (42) and the merged archived
set equals the union archived set (151). No id appears twice in either block and
no id appears in both blocks. The two removals were disjoint and so were the two
additions, which is why the union is 44-2 and 149+2. Ordering inside the archived
block is newest-first: `govern-archived-record-edits` (this branch, landing now),
then `add-openspec-cli-pin` (#841, already on main), then
`add-ideation-intent-plane`.

THE ROW'S OWN ARITHMETIC IS RECONCILED TO THE UNION IN THE SAME ACT, because
leaving it would reproduce exactly the stale-number defect the adversarial review
caught at R1. The archived row previously read "44 -> 43 and 149 -> 150", true at
`f7ed5956` and false here. It now states the base figures, says THIS change moves
exactly one id, and says the head reads 42 and 151 as the UNION OF TWO ARCHIVES
rather than the effect of one — naming #841 and this merge. The two earlier
commit messages carrying superseded arithmetic (`a793c256`'s "150 -> 151",
`f7ed5956`'s "149 -> 150") are named rather than rewritten.

THE LEDGER AUTO-MERGED AND WAS VERIFIED, NOT ASSUMED. Both rows are present and
distinct: `add-openspec-cli-pin` at `moved_by: "#841"` and ours at line 221
reading `state: archived`, `moved_by: "#845"`, `moved_on: "2026-09-09"` — the
re-stamp survives the merge byte for byte. No conflict markers. The three derived
totals are computed FROM the rows, so both moves are absorbed without a hand
edit: `--ledger-diff` reports `per-change sweep ledger consistent with the corpus
(189 rows)` on the merged tree.

NOTHING UNDER `archive/` CHANGES, ASSERTED RATHER THAN CLAIMED.
`git diff --cached --name-status origin/main -- openspec/changes/archive/`
returns exactly SEVEN entries, every one an `A`, every one ours — no `M`, no `D`,
no `R` anywhere in the archive tree. Their `add-openspec-cli-pin` packet is
already in `origin/main` and is untouched by this merge. The rule this packet
promotes still holds across the whole pull request: no archived byte is edited.

BRETT HEAP'S APPROVAL IS DISMISSED BY THIS PUSH AND IS AN ANCESTOR APPROVAL.
Review **5154498445** was given on `ecbec323`, which is a PARENT of this merge
commit; GitHub dismisses a review on push, so the pull request will show it
stale. The landing gate accepts it as an ANCESTOR APPROVAL: the approved tree is
reachable from this head, and what this commit adds beyond it is the merge of
`origin/main` plus the README union above — no change to the packet, the
promotion, the ledger row's values or any archived byte. The approval is not
re-read as covering anything it did not cover; it is recorded here as covering
the parent it was given on, and nothing else.

Lane: opsXfactory-1

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01SaFpsA8fXdGedCp8kcyK9a
@brettheap

Copy link
Copy Markdown
Contributor

Lane: opsxfactory-1 (opsXfactory-1)

LANDING — lane opsXfactory-1, session ee808615-4d8a-475f-bcb3-6f92a89909f0, 2026-09-09T13:35:45Z, PR #845 into openxFactory main (Rule 6 window ≤30 min; the ARCHIVE ACT of govern-archived-record-edits in openxFactory on Brett Heap's word "archive both" (2026-09-09, in session, first-hand to the lane): the change moves under openspec/changes/archive/ and its delta (one MODIFIED wholesale-replaced with all canon scenarios restated + two ADDED) promotes into openspec/specs/document-lifecycle/spec.md; the operator box 6.3 ticked citing the word before the move; the ledger row archived; the README Records row moves to its archived form; the first archive performed under the rule it promotes; Brett Heap's CLI approval PRR_kwDOTAvnrs8AAAABMztnjQ of 2026-09-09T12:53:28Z on ecbec32; merge on the admin route because the branch's last pusher is Brett's own identity). Please hold merges into openxFactory main until LANDED.

@brettheap
brettheap merged commit 6df2173 into main Sep 9, 2026
9 checks passed
@brettheap

Copy link
Copy Markdown
Contributor

Lane: opsxfactory-1 (opsXfactory-1)

LANDED — lane opsXfactory-1, 2026-09-09T13:36:01Z, PR #845 → 6df2173 (admin route inside the Rule 6 window; the archive act of govern-archived-record-edits — the delta is promoted canon in document-lifecycle; the F.3 arc in openxFactory is complete). Window closed.

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.

1 participant