Skip to content

Archive both doc-health floor packets: two blocks reach canon by digest, and the one act still owed is named (realized by #465 and #468) - #488

Merged
brettheap merged 6 commits into
mainfrom
change/archive-floor-packets
Aug 29, 2026
Merged

brettheap merged 6 commits into
mainfrom
change/archive-floor-packets

Conversation

@brettheap

@brettheap brettheap commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Archives clean-doc-health-floor (realized by #465) and
declare-generated-projection-status (realized by #468) on merged-plus-green
and promotes both deltas into canon. Record only — no code moves in this pull
request beyond the two self-gate ledger rows the archive act retires.

The two packets belong in one act: they are the two halves of Brett's
"lets do all 3 in order" commission, they were split only because one owes an
act in another repository, and each measured the other's defect from the
opposite end
— the floor packet's § 1.4 is the write-up of why an archived
draft discounts a delta, and the projection packet is the packet that would
have been silently discounted by it.

The merges, read out of git

Neither is taken off a pull-request page. Both merge commits were re-verified
here as ancestors of origin/main (git merge-base --is-ancestor, exit 0) and
as real two-parent merges by git cat-file -p.

packet pull request merged merge commit parents
clean-doc-health-floor #465 2026-08-28T10:47:25Z c79d6e54cf5093d18565f06afa1c2ea6216418de 0c0075df + a1067f08
declare-generated-projection-status #468 2026-08-28T11:25:39Z 4d3f540d7a8c762e1077751b040a4839ae14e35f c79d6e54 + cb67a02d

The order Brett directed is legible in the graph rather than only in the
prose:
#468's first parent IS #465's merge commit. In both cases the
realization RODE IN the proposing pull request, so merged and green are one
event and the argument and the act were reviewed together.

Green on both final heads, all four checks read back from the check-runs API at
this act:

head pytest-suite wallet-validation merge-master-approval copilot-pull-request-reviewer
a1067f08 (#465) success — run 33159846355, selected 7629, passed 7608, skipped 21, 0 failures, 0 errors success success success
cb67a02d (#468) success — run 33165034882, selected 7637, passed 7616, skipped 21, 0 failures, 0 errors success success success

Suite counts are read out of each job log, not off a summary.

Promotion, proved by digest per requirement

Every ### Requirement: block in each canon file was hashed either side of the
act and the two sets compared, so "zero deletions" is a measured fact about each
untouched requirement rather than an inference from a diff stat. Both deltas
are MODIFIED-only, so the prefix proof an ADDED-only archive can use is not
available here
— hence the per-block set comparison.

capability requirements scenarios lines diff blocks changing bytes
doc-health 39 → 39 (+0) 179 → 181 (+2) 2108 → 2127 +21 / −2 1 of 39 — Proposal supporting-document integrity checks; the other 38 byte-identical
document-lifecycle 17 → 17 (+0) 77 → 79 (+2) 762 → 777 +18 / −3 1 of 17 — Controlled document status taxonomy; the other 16 byte-identical

Zero requirements removed and zero added in either file — the counts hold
because each packet MODIFIES exactly one existing requirement and neither adds
one. Each promoted block is byte-identical to its delta body, the digest
computed from the archived specs/<capability>/spec.md and from canon
independently:

block canon before promoted after
Proposal supporting-document integrity checks 1390 B / 23 L / 4 sc — sha256:b0e1bc81916bd8ed865565544021670aeb0089fffa7e1955dd153edf0416081c 2628 B / 42 L / 6 sc — sha256:81267524a00f7ae9582347067687959a445997cc11bab3f07947067b7e2591b2
Controlled document status taxonomy 5912 B / 57 L / 8 sc — sha256:65dc437f12c73b48b4add97df28297313ebdbff2eba74cd2f9de8aace19b81de 7882 B / 72 L / 10 sc — sha256:04537b7fdb210a74a35038e35cba85e02bccc21bdac68e19efb80d1a926c4e53

The block canon replaces in doc-health is the one that pinned "active or
archived" twice, which was the whole point of the change. The
document-lifecycle block gains the ninth standing and splits its
generated-artifact scenario into a captured-once case and a re-derived case;
the rename half is DECLARED in the promoted text by its Merged into marker,
which is why the scenario-title arm read zero throughout.

Both archived specs/…/spec.md deltas are byte-identical to the authored files
(diff empty). Both .openspec.yaml files MOVED with their packets under
openspec 1.2.0 rather than being deleted — checked by blob id, not by presence:
fa04b8a7 and 6e750e85, both unchanged.

The Status move, and the ruling it cites

Both proposals read Status: draft on main. The edit was made BEFORE
openspec archive ran
, so it lands in the archived copies rather than being
retrofitted onto them: draft → ratified plus one Ratified: line each,
citing Brett's merge-and-archive ruling of 2026-08-28 — put as a multi-choice by
the orchestrating session and answered by selection.

The record spelling is used because no approving OpenSpec change exists to name,
and each line clears the three-way floor on all three axes: approver
(by Brett), date (2026-08-28), and a resolvable record path (each packet's
own § 6.1 / § 7.1, which record the selections). The two voices are kept
apart
— the selections as relayed are the record, nothing is quoted because no
verbatim wording reached the authoring sessions, and each line says what the
citation does NOT cover (the orchestrator decisions never put to him, and the
aggregation-root disposition below).

Why it could not be left at draft: promotion_fidelity.PRE_RATIFICATION is
{brainstorm, staged, draft}, so an archived proposal reading draft has its
deltas DISCOUNTED as design evidence. Each packet named this for itself before
the fact — floor § 6.3 and projection § 7.3 — and the floor packet's § 1.4 had
already measured the same defect against somebody ELSE's archived record.

The ledger-row decision

tests/doc-health/test_modified_block_currency_self_gate.py compares
_LEDGER_SUBJECTS with == rather than <=, deliberately, so a newly lossy
MODIFIED block cannot land unreported — which also means any block that leaves
the active set fails the gate until its row is removed
. Both packets added a
row on filing; both rows are removed here.

The decision is taken on each packet's own text, not on the gate's
convenience.
Each row wrote its own retirement condition when it was added —
"it retires when the packet archives and its block is promoted" — and both
halves were verified BEFORE the deletion rather than after:

  • the packets are at openspec/changes/archive/2026-08-29-clean-doc-health-floor/
    and …-declare-generated-projection-status/;
  • the blocks are promoted, proved by the digests in the table above;
  • the family excludes openspec/changes/archive/ in its reader, so no finding
    names any path either packet ever had.

Neither row records a lossy carriage. The floor row recorded a deliberate
narrowing
(the two units it reported as uncarried are the two occurrences of
the phrase "active or archived" the narrowing removes on purpose); the
projection row recorded a deliberate widening (a ninth standing, and the WHEN
of the split scenario). Both are the arm working as designed and saying so in
its own finding text. Carriage-ledger population 9 → 7, with no other subject
moving in either direction.
Each removal leaves a REMOVED … BY ITS ARCHIVE ACT comment in place of the row, per this file's own convention, so a later
reader can see which subject went and on what condition.

The floor moved by exactly two INFO and in no other line

Full scripts/doc-health.py --single-repo . run before and after the act, with
the finding lists diffed line by line rather than compared by count:

4 critical / 7 error / 41 warning / 13 info → 4 critical / 7 error / 41
warning / 11 info.

The only two lines that changed are the two modified-block-currency INFOs
naming the two active delta paths. Nothing else appeared, disappeared or moved.
Re-run after merging origin/main (e725e738): identical, 4 / 7 / 41 / 11, no
line moved.

Gates

  • OPENSPEC_TELEMETRY=0 openspec validate --all --strict — 79 → 78 → 77
    passed, 0 failed
    , validated after each archive; the active set lost two
    members and nothing else. 78 passed / 0 failed on the final head, main
    having since landed settle-aging-staging-topics.
  • python3 -m pytest tests/doc-health -q under set -o pipefail, exit read from
    $? — baseline 1330 passed, 0 failed (207.76s); after both archives
    1330 passed, 0 failed (243.03s). This branch adds and removes no test; the
    self-gate's SET moved with the corpus, which is what it exists to do.
  • main moved THREE times under this branch and every merge was re-run rather
    than assumed.
    After the first (e725e738): 1330 passed, 0 failed, and the
    doc-health floor identical at 4 / 7 / 41 / 11. After the second (93f883f4,
    which lands settle-aging-staging-topics — a THIRD active doc-health
    MODIFIED block): 1333 passed, 0 failed (187.32s), the three added tests
    being that packet's own. Its block needs no carriage-ledger row, measured
    rather than assumed: the self-gate read an exact set of SEVEN at that point and
    passes, so the family reports nothing against it. The one README conflict was
    a pure adjacency — that packet's new active entry landing where these two
    were removed — and was resolved by keeping BOTH sides, its entry verbatim and
    these two gone. Zero conflict markers; each of the three entries appears
    exactly once. After the third (3cebf83e, add-credential-escrow-checkout,
    whose OD-2 veto gave it a MODIFIED block of its own): 1333 passed, 0
    failed
    (177.23s), openspec validate --all --strict 79 passed / 0
    failed
    . That merge conflicted in the self-gate's docstring and its
    population narrative — both sides counting the same set from different
    starting points — and BOTH histories are kept in the resolved text rather than
    one overwriting the other: 9 while these two stood active, 10 once the veto
    added a row, 8 once these two archived. The row main added merged into
    _LEDGER_SUBJECTS without conflict and is untouched here. Final CI on the
    head db98e073: selected 7692, passed 7671, skipped 21, 0 failures, 0
    errors
    , and all four checks green.
  • The archive directories carry the UTC date prefix 2026-08-29 while the
    merges, the ruling and the packets' prose are all local 2026-08-28. That is the
    tool's convention and the house precedent —
    2026-08-27-harden-ideation-readiness-check was committed at local
    2026-08-26T23:14 and prefixed with its UTC date the same way.

The act owed in another repository landed first

declare-generated-projection-status § 5.1 requires a disposition entry at the
aggregation root, keyed (record-immutability, openxFactory, ideation/cross-reference.md) and citing that change — and says the packet "does
not archive until it lands". It landed on 2026-08-28, before this archive was
composed: aggregation commit 20aafc4b0ad9befbd6309363d6a52a8107403600
("Restore the dispositions register…"), carrying at
health/dispositions.yaml:239-249 family: record-immutability,
repo: openxFactory, path: ideation/cross-reference.md, severity: critical,
disposer: openxFactory ratify gate, adjudicated_by: Brett (ruling 2026-08-28, relayed by the orchestrating session), date: 2026-08-28,
cite: declare-generated-projection-status. It is the CITED-RESOLUTION case
that instrument exists to record, not a silencer: its own rationale says the
finding disappears because the document stopped being a record, nothing having
been edited to satisfy the family.

AN EARLIER REVISION OF THIS BODY AND OF § 5.1 SAID THE ENTRY DID NOT EXIST,
AND THE CORRECTION IS RECORDED RATHER THAN QUIETLY SWEPT.
That reading took
the SHARED CHECKOUT'S WORKING FILE, a tree thirteen or more commits behind that
repository's origin/main — so "measured rather than assumed" measured the
wrong artifact. In a checkout several sessions share, a working file is not
evidence of what the repository holds; git show origin/main:<path> is. § 5.1
and § 8.8 are ticked with the commit sha and the key, and both keep the wrong
first reading beside the correction, because the failure mode is worth more to
the next reader than a tidy record.

Follow-ups: dispositions, not blank boxes

Five follow-ups archive CARRIED, each with a written disposition and a named
owner rather than an empty checkbox:

  • floor § 5.1 — the staged-exit arm still reports only cited[0] where two
    ACTIVE changes are cited. Re-measured at this act: three staged-exit errors,
    each naming one proposal. Owed a cross-repository before/after no archive act
    can take.
  • floor § 5.2 — a staged fragment whose every cited exit has archived is now
    reported by nothing. Now a property of CANON rather than of an active delta,
    because this act promoted the requirement that created the silence.
    staged-candidate-aging named as the plausible owner, per Q2.
  • projection § 6.1 — a projection's generator and source are declared in
    prose and nothing checks it. Still a class of one; the census reads
    projection | 1.
  • projection § 6.2 — nothing stops a projection being re-classed to record
    to silence a real hand edit. The honest remedy is --check-mode regeneration
    in CI, which deserves its own change.
  • projection § 6.3 — the four remaining record-immutability criticals are
    the append-discipline collision govern-openspec-corpus-membership already
    owns. Re-measured: all four still fire, none is a projection.

And the number the floor packet asked to be read: status-validity went 4
errors → 0
at the realization, but location-conformance stayed at 3 —
the fix working, not failing. The forcing document cites two changes and the arm
reported cited[0] off a sorted list, so the archived id won on alphabetical
order and hid a performable remedy behind an impossible one. The row is
re-pointed at the active proposal and correctly stays an error, because that
move CAN be performed.

🤖 Generated with Claude Code

brettheap added 2 commits August 28, 2026 21:30
…they argued for reach canon as evidence rather than as discounted drafts

Archives clean-doc-health-floor (realized by #465, merge c79d6e5) and
declare-generated-projection-status (realized by #468, merge 4d3f540) on
merged-plus-green, both re-verified here as ancestors of origin/main and as
real two-parent merges rather than read off a pull request page.

The Status edit was made BEFORE openspec archive ran, on Brett's
merge-and-archive ruling of 2026-08-28, so it lands in the archived copies
rather than being retrofitted: draft -> ratified plus one record-citing
Ratified: line each. promotion_fidelity.PRE_RATIFICATION is
{brainstorm, staged, draft}, so an archived proposal reading draft would have
had its own delta discounted as design evidence -- which is the defect the
floor packet measured against somebody else's archived record.

Promotion proved by per-requirement digest, not by diff stat: doc-health
39 -> 39 requirements and 179 -> 181 scenarios with exactly one block changing
bytes and 38 of 39 byte-identical; document-lifecycle 17 -> 17 and 77 -> 79
with exactly one changed and 16 of 17 byte-identical. Both promoted blocks are
byte-identical to their delta bodies. Both .openspec.yaml files moved by blob
id rather than being deleted.

The two modified-block-currency ledger rows retire on the conditions the rows
themselves stated, verified before deletion: population 9 -> 7, no other
subject moving. The doc-health floor moves by exactly those two INFO lines and
in no other line -- 4/7/41/13 -> 4/7/41/11.

STILL OWED, and named rather than left to be found: the aggregation-root
disposition entry declare-generated-projection-status section 5.1 requires does
not exist. It must land before this is merged.
Copilot AI lite review requested due to automatic review settings August 29, 2026 01:36

@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 ✨

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.

Pull request overview

Archives the two doc-health floor packets (clean-doc-health-floor and declare-generated-projection-status) and promotes their MODIFIED requirement blocks into canon, updating the README index and retiring the corresponding modified-block-currency self-gate ledger rows.

Changes:

  • Retires the two _LEDGER_SUBJECTS entries for the archived packets and updates the gate narrative to reflect the 9 → 7 subject set.
  • Promotes the two canon requirement blocks: doc-health staged-material rule becomes “ACTIVE-only”, and document-lifecycle taxonomy adds projection plus split scenarios.
  • Moves both packets from “Active changes” to “Archived changes” in README.md and adds the archived packet artifacts under openspec/changes/archive/....

Reviewed changes

Copilot reviewed 8 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/doc-health/test_modified_block_currency_self_gate.py Removes the two self-gate ledger subjects and updates assertions/narrative for the new population.
README.md Moves the two packets from Active to Archived and records their archive/promotion details.
openspec/specs/document-lifecycle/spec.md Canon update: adds projection status, adds projection standing rule, and splits the generated-artifact scenario set.
openspec/specs/doc-health/spec.md Canon update: staged-material integrity checks now key only on ACTIVE proposals/changes and add scenarios for archived citations.
openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md Archive record: updates checklist items and records the still-owed aggregation-root disposition obligation.
openspec/changes/archive/2026-08-29-declare-generated-projection-status/specs/document-lifecycle/spec.md Archived delta body for the promoted document-lifecycle requirement block.
openspec/changes/archive/2026-08-29-declare-generated-projection-status/proposal.md Archive record: updates header to Status: ratified with a Ratified: citation.
openspec/changes/archive/2026-08-29-declare-generated-projection-status/.openspec.yaml Archived packet metadata (origin/approval record) carried with the archive.
openspec/changes/archive/2026-08-29-clean-doc-health-floor/tasks.md Archive record: updates checklist items and documents the archive act measurements.
openspec/changes/archive/2026-08-29-clean-doc-health-floor/specs/doc-health/spec.md Archived delta body for the promoted doc-health requirement block.
openspec/changes/archive/2026-08-29-clean-doc-health-floor/proposal.md Archive record: updates header to Status: ratified with a Ratified: citation.
openspec/changes/archive/2026-08-29-clean-doc-health-floor/.openspec.yaml Archived packet metadata (origin/approval record) carried with the archive.
Suppressed comments (1)

openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:286

  • This adds a host-absolute path (/home/brett/projects/...) into a committed file. The repository constitution explicitly forbids host-absolute paths; use repo-relative wording or describe the location conceptually (e.g., “the aggregation root’s health/dispositions.yaml”).

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

Copilot AI review requested due to automatic review settings August 29, 2026 01:56

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.

Pull request overview

Copilot reviewed 8 out of 12 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:285

  • This introduces a host-absolute path (/home/brett/projects/xFactory/...) into a committed artifact. The repo constitution explicitly forbids host-absolute paths in committed files (use repo-relative paths or runtime resolution), and the absolute location is also not portable for other contributors.

Use a repo-relative reference (or explicitly say “aggregation root checkout: health/dispositions.yaml”) instead of embedding a machine-specific /home/... path.

Comment on lines 33 to 37
### Requirement: Controlled document status taxonomy
Every governance document SHALL carry a `Status:` header drawn from the
controlled taxonomy: `brainstorm`, `staged`, `draft`, `ratified`, `standard`,
`superseded`, `retired`, `record`. Document genre SHALL NOT be encoded in the
`superseded`, `retired`, `record`, `projection`. Document genre SHALL NOT be encoded in the
status value; an optional `Kind:` header carries genre.
…packets

# Conflicts:
#	README.md
#	tests/doc-health/test_modified_block_currency_self_gate.py
Copilot AI review requested due to automatic review settings August 29, 2026 02:17

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.

Pull request overview

Copilot reviewed 8 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (1)

openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:287

  • This introduces a host-absolute path (/home/brett/...) in a committed file. The repo constitution explicitly forbids host-absolute paths in committed content (use repo-relative paths or runtime resolution), and this reference will be wrong for other developers/CI environments.

brettheap added 2 commits August 28, 2026 22:38
… not evidence, so section 5.1 ticks against origin/main

The aggregation-root disposition declare-generated-projection-status section
5.1 requires -- keyed (record-immutability, openxFactory,
ideation/cross-reference.md) and citing this change -- landed 2026-08-28 at
aggregation commit 20aafc4b, health/dispositions.yaml:239-249. The first
reading called it missing because it read the shared checkout's WORKING file,
thirteen-plus commits behind that repository's origin/main.

Sections 5.1 and 8.8 tick with the commit sha and the key, and both keep the
wrong first reading beside the correction: the failure mode is worth more to
the next reader than a tidy record.
Copilot AI review requested due to automatic review settings August 29, 2026 02:42

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.

Pull request overview

Copilot reviewed 8 out of 12 changed files in this pull request and generated no new comments.

Suppressed comments (3)

openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:285

  • Committed files must not contain host-absolute paths. This tasks.md embeds /home/brett/..., which is machine-specific and violates the repo rule to use repo-relative paths or runtime resolution (e.g., an env var for the aggregation-root checkout).

This issue also appears in the following locations of the same file:

  • line 314
  • line 319
    openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:314
  • Committed files must not contain host-absolute paths. This line hardcodes /home/brett/...; use runtime resolution (e.g., $AGGREGATION_ROOT) instead so the archive record remains portable.
    openspec/changes/archive/2026-08-29-declare-generated-projection-status/tasks.md:319
  • Committed files must not contain host-absolute paths. The git -C /home/brett/... example is not portable; use a variable/placeholder for the aggregation-root checkout path.

@brettheap
brettheap merged commit 82a2808 into main Aug 29, 2026
4 checks passed
@brettheap
brettheap deleted the change/archive-floor-packets branch August 29, 2026 02:59
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