Skip to content

Being generated never made a document immutable; being captured did - #468

Merged
brettheap merged 9 commits into
mainfrom
change/declare-generated-projection-status
Aug 28, 2026
Merged

brettheap merged 9 commits into
mainfrom
change/declare-generated-projection-status

Conversation

@brettheap

@brettheap brettheap commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

✅ Rulings recorded — 2026-08-28

Brett ruled by a multi-choice put to him by the orchestrating session and relayed the same day (mechanism + selections recorded; no wording reached this session, so none is quoted):

  • The projection spelling is APPROVED. OD-1 stands as authored — none of the seven sites carrying the value is renamed, and the delta is untouched.
  • Both PRs merge on green, confirming OD-2's premise that this packet lands on its own gate.
  • The aggregation disposition entry is REASSIGNED to the orchestrating session as part of the merge sequence. Still owed, still keyed the same way, still in opensoft/xFactory, and this packet still does not archive until it lands — the ruling names the performer, not a waiver. tasks.md 5.1 stays unticked for exactly that reason.
  • OD-3 and OD-4 were not put to him and are NOT covered — they stand as authored and remain flagged.

OD-1's argument is kept as marked history rather than collapsed into its verdict: it is why the taxonomy now distinguishes CAPTURED from RE-DERIVED, and a later reader naming a tenth standing needs the reasoning.

Not covered by the ruling: this proposal's own header stays Status: draft. "Merge on green" is an authorization to land, not a ratification act this session will spell on Brett's behalf. It must move before archive — PRE_RATIFICATION would discount this packet's own document-lifecycle MODIFIED block. Named as tasks.md 7.3.


ideation/cross-reference.md says "GENERATED FILE — do not edit by hand" on line 8 and Status: record on line 3. Both cannot hold.

It is re-rendered in place from ideation/cross-reference.yaml by scripts/render-ideation-cross-reference.py, so the only correct way to update it is the act record-immutability reports as a CRITICAL. That critical is one of the five standing, carried by three archived packets as "pre-existing" rather than fixed.

This is the third of the three workstreams Brett commissioned on 2026-08-28 ("lets do all 3 in order"); the other two ship as clean-doc-health-floor (#465).

Promoted canon already said the header was wrong

openspec/specs/ideation-cross-reference/spec.md:449-452:

  • WHEN the orphaned pin is carried by a generated artifact that is not a record — the cross-reference index and its rendered twin among them
  • AND the record-retention route is not owed for it, because nothing about a regenerable projection is immutable evidence

"Its rendered twin" is this file. Canon says it is not a record; the file says it is. No change has ever ruled the other way.

The root cause

The 2026-07-09 migration mapping (add-document-lifecycle-vocabulary/design.md:67) mapped "generated simulation report / generated runbook / simulated reviews" to record — all one-shot captures. Being GENERATED was taken to be what makes a document a record. It is not. Being CAPTURED is. In 2026-07-09 no re-derived projection existed, so the line was never drawn.

What this adds

A ninth standing, projection: a document a named generator rewrites in place from a declared source of truth has no captured state for immutability to protect. A dated one-shot capture does, and keeps record — the doc-health run's own report, the readiness evidence YAMLs and the derive-possibles records are all explicitly on the record side and untouched.

✅ OD-1 — spelled projection, not generated — RULED 2026-08-28: APPROVED

Flagged, because the commission's first word was "generated". docs/document-lifecycle.md must go on saying generated evidence is record (one-shot captures still are), and a status literally named generated would sit one page from that sentence. projection names the distinguishing property, and it is the word promoted canon already uses for this exact file. Not vetoed — Brett approved the spelling on 2026-08-28; the mechanical-rename remedy stands unused.

OD-2 — a new value for a class of one

Measured: exactly one governed document declares itself generated in its header. Every existing value was tried and none is both honest and inert — the five in PROJECTED_STATUSES would start pushing a 4,797-line index into a NotebookLM book, and superseded/retired are false about a live file. The two alternatives that avoid a new value (silence the family for this path; exempt by Kind:) were rejected on the ruling itself, which required the finding to clear because the file is no longer a record, not because the family was silenced.

The mechanism

The value is added at all four sites that would otherwise disagree in silence — doc_health.TAXONOMY, the promotion_fidelity split whose two sets are asserted to exhaust the taxonomy, the NotebookLM sync's closed regex alternation, and the dashboard snapshot schema enum — and the generator itself emits it, so regeneration cannot reintroduce record. Canon pins that as its own scenario.

All three writers of the file funnel through one render_markdown() line, so one edit covers every path. The renderer was proven deterministic before being trusted: byte-identical against the committed file beforehand, a one-line diff after.

The consumer check

Every reader of ideation/cross-reference.{md,yaml} was enumerated before the value was chosen. Non-readers of the status: the cross-reference validator (keys on the YAML kind:), both pin_class.py registry rows (read only the pin line), the three ideation_dashboard readers, document_catalog.py. Readers: corpus.py (the file leaves the record stage census), inventory.py (records the literal value, no branch), and sync-notebooklm-books.py — the one load-bearing consumer, and the reason a new value was required. ideation/cross-reference.yaml carries no status field at all (zero occurrences in 12,058 lines) and is unreachable by doc-health regardless; the whole problem lives in the .md.

Gates

before after
doc-health floor 5 critical / 11 error / 41 warning / 11 info 4 critical / 11 error / 41 warning / 12 info
per-stage census record 30 record 29, projection 1
pytest tests/doc-health 1249 passed / 0 failed 1250 passed / 0 failed at the branch point; 1271 / 0 after merging main (which added 21 tests of its own)
dashboard + notebooklm suites — 4869 passed / 16 skipped / 0 failed (786.79s)
openspec validate --all --strict 76 passed / 0 failed 77 passed / 0 failed

Exactly one critical cleared, and no error, warning or other critical moved. record-immutability's code is untouched — no family skipped, no path allowlisted, no disposition suppressing anything. The four remaining criticals are genuine hand-maintained records and still fire. The added INFO is modified-block-currency naming this packet's own MODIFIED block; its self-gate compares with == and fell due by design, discharged by one ledger row. The scenario RENAME is declared to the marker arm with **Merged into ... by declare-generated-projection-status (2026-08-28):**, so that arm reads zero.

Repo validators run: validate-ideation-dashboard-contracts.py 0 errors; validate-ideation-cross-reference.py 0 errors on the real index (its 3 errors are on an untouched test fixture and are verified pre-existing on a branch carrying none of these edits).

⚠️ One act is owed elsewhere — REASSIGNED 2026-08-28 to the orchestrating session

record-immutability is CONTESTED, so a finding present in the previous report and absent from the current one is re-emitted as an uncited-resolution ERROR unless disposed. health/dispositions.yaml does not exist in openxFactory — it lives only at the aggregation root. An entry is owed in opensoft/xFactory, keyed (record-immutability, openxFactory, ideation/cross-reference.md) and citing this change. Recorded as tasks.md 5.1; the packet does not archive until it lands. Not a silencer — the finding really is resolved by a cited change, which is the case that instrument exists to record.

  • Contract bundle: none owed. The one edited file under contracts/ is a member of none of the 48 inventories.
  • Collision check: the one active change touching document-lifecycle is ADDED-only on an unrelated requirement.

Open questions Q1 (machine-readable generator/source declaration) and Q2 (a guard against re-classing a projection back to record to hide a hand edit — recommending --check-mode regeneration in CI instead) carry recommendations and are named as follow-ups.

🤖 Generated with Claude Code

brettheap and others added 3 commits August 28, 2026 04:29
`ideation/cross-reference.md` says "GENERATED FILE — do not edit by hand" on
line 8 and `Status: record` on line 3. Both cannot hold. It is re-rendered in
place from `ideation/cross-reference.yaml`, so the only correct way to update it
is the act `record-immutability` reports as a CRITICAL — one of the five
standing, carried by three archived packets as pre-existing rather than fixed.

Promoted canon already said the header was wrong. `ideation-cross-reference`
names "the cross-reference index and its rendered twin" among generated
artifacts that are NOT records, because "nothing about a regenerable projection
is immutable evidence". The file disagreed with canon about itself.

The conflation dates to the vocabulary's first day: the 2026-07-09 migration
mapped "generated simulation report / generated runbook / simulated reviews" to
`record` — all one-shot captures — and being GENERATED was taken to be what makes
a document a record. It is not. Being CAPTURED is. No re-derived projection
existed then, so the line was never drawn.

This adds the ninth standing, `projection`, and draws it: a document a named
generator rewrites IN PLACE from a declared source of truth has no captured state
for immutability to protect, while a dated one-shot capture does and keeps
`record`. Spelled `projection` rather than `generated` (OD-1) because
`docs/document-lifecycle.md` must go on saying generated evidence is `record`,
and a status literally named `generated` would sit one page from that sentence.

Every existing value was tried first and none is both honest and inert: the five
in `PROJECTED_STATUSES` would start pushing a 4,797-line index into a NotebookLM
book, and `superseded`/`retired` are false about a live file. The value is added
at all four sites that would otherwise disagree in silence — `TAXONOMY`, the
promotion-fidelity split whose two sets are asserted to exhaust it, the
NotebookLM regex, and the dashboard snapshot enum — and the generator itself
emits it, so regeneration cannot reintroduce `record`. Canon pins that as its
own scenario. The renderer was proven deterministic before being trusted:
byte-identical against the committed file beforehand, a one-line diff after.

`record-immutability` goes 5 criticals to 4. NO family is skipped, no path
allowlisted, no disposition suppresses anything, and its code is untouched — the
file leaves the list because it is no longer a record, which is what the ruling
required. The four that remain are genuine hand-maintained records and still
fire. The per-stage census moves one document and nothing else.

One act is owed ELSEWHERE and is named rather than left to be found: the finding
is CONTESTED, so the nightly will raise `uncited-resolution` unless
`health/dispositions.yaml` — which exists only at the aggregation root — carries
an entry citing this change. tasks.md 5.1; the packet does not archive without it.

pytest tests/doc-health 1249 -> 1250 passed, 0 failed. openspec validate --all
--strict 77 passed, 0 failed. No contract bundle owed: the one edited file under
contracts/ is a member of none of the 48 inventories.

Co-Authored-By: Claude Fable 5 <[email protected]>
Re-measured after origin/main was merged in: it landed
add-unclassified-finding-class, which touches modified_block_currency.py and
adds twenty-one tests plus a fixture repository. tests/doc-health reads 1271
passed / 0 failed on the merged head against 1250 at the branch point — grown by
main's twenty-one and by none of this packet's. Both numbers are kept rather
than the later overwriting the earlier. The self-gate ledger merged cleanly and
carries eight subjects: main's seven and this packet's one.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 28, 2026 08:33

@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

This PR introduces a new controlled lifecycle Status: value, projection, to correctly classify deterministically re-rendered, in-place generated documents (specifically ideation/cross-reference.md) as non-record artifacts, eliminating a standing record-immutability CRITICAL caused by legitimate regeneration.

Changes:

  • Add projection to the controlled status taxonomy and align dependent “closed lists” (promotion-fidelity split, NotebookLM scan regex, dashboard snapshot schema).
  • Update the cross-reference renderer to emit Status: projection and regenerate the rendered markdown accordingly.
  • Add regression coverage asserting projection is controlled (no status-validity error) and exempt from record-immutability, plus ledger updates for modified-block-currency self-gating.

Reviewed changes

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

Show a summary per file
File Description
scripts/doc_health/__init__.py Extends TAXONOMY with projection and documents the captured-once vs re-derived distinction.
scripts/doc_health/promotion_fidelity.py Places projection into the “ratified-or-beyond” bucket to preserve the taxonomy exhaustiveness invariant.
scripts/sync-notebooklm-books.py Extends the closed Status: regex alternation to recognize projection so behavior is rule-driven rather than regex-accidental.
scripts/render-ideation-cross-reference.py Makes the renderer emit Status: projection for the generated cross-reference index.
ideation/cross-reference.md Regenerated output reflecting the new Status: projection.
docs/document-lifecycle.md Updates lifecycle documentation to define projection and clarify that “generated” ≠ “record” unless captured once.
contracts/schemas/ideation-dashboard-snapshot.schema.yaml Extends lifecycle_status enum to include projection to keep snapshot validation aligned with taxonomy.
tests/doc-health/test_families.py Adds regression test asserting projection is controlled and skipped by record-immutability.
tests/doc-health/test_modified_block_currency_self_gate.py Updates the self-gate ledger to account for the taxonomy widening workstream.
README.md Adds an Active changes entry documenting the rationale and operational implications (including the owed external disposition act).
openspec/changes/declare-generated-projection-status/.openspec.yaml New change packet metadata declaring origin and approval.
openspec/changes/declare-generated-projection-status/proposal.md New proposal describing the contradiction, measurements, and mechanism.
openspec/changes/declare-generated-projection-status/tasks.md New task ledger recording measurements, gates, and the explicitly owed aggregation-root disposition.
openspec/changes/declare-generated-projection-status/specs/document-lifecycle/spec.md New spec delta restating and modifying the controlled taxonomy requirement to include projection.

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

tests/doc-health does not read contracts/schemas/ideation-dashboard-snapshot.schema.yaml,
so the three suites that do were run separately: tests/ideation-dashboard,
tests/ideation_dashboard and tests/notebooklm. 4869 passed, 16 skipped, 26
subtests passed, 0 failed in 786.79s under pipefail, exit read from $?.

Widening an enum is additive and no test pins its contents — grepped before the
run and confirmed by it.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 28, 2026 08:46

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 14 out of 14 changed files in this pull request and generated no new comments.

brettheap and others added 3 commits August 28, 2026 05:30
…ted-projection-status

# Conflicts:
#	README.md
Brett ruled on 2026-08-28, by a multi-choice put to him by the orchestrating
session and relayed the same day. The selections reaching this packet: the
`projection` SPELLING IS APPROVED — OD-1's departure from the commission's first
word stands as authored — and both pull requests merge on green, which confirms
OD-2's premise that this packet lands on its own gate.

He took the packet's own recommendation on both, so THE CLEARANCE MOVES NOTHING:
none of the seven sites carrying the value is renamed, the generator still emits
it, and the delta is untouched. OD-1's argument is KEPT as marked history rather
than collapsed into its verdict, because it is the reason the taxonomy now
distinguishes CAPTURED from RE-DERIVED, and a later reader naming a tenth
standing needs the reasoning.

The aggregation disposition entry is REASSIGNED, not discharged: the
orchestrating session writes it as part of the merge sequence. Still owed, still
keyed the same way, still in opensoft/xFactory, and this packet still does not
archive until it lands — the ruling names the performer, not a waiver. Task 5.1
stays UNTICKED for exactly that reason; reassignment is not performance.

OD-3 and OD-4 were NOT put to him and are NOT covered. No verbatim wording
reached this session, so none is quoted.

Task 7.3 names what the ruling did NOT do: this proposal's header stays
`Status: draft`, because "merge on green" is an authorization to land and not a
ratification act this session will spell on Brett's behalf. It cannot stay
`draft` through archiving — PRE_RATIFICATION would discount this packet's own
document-lifecycle MODIFIED block, the defect the sibling packet measured from
the other end.

Co-Authored-By: Claude Fable 5 <[email protected]>
Merged origin/main a second time without waiting for a conflict report, so this
packet does not race its sibling's merge. Same conflict shape as the sibling's:
#463 added two active-change entries at the head of the OpenSpec Records block
where this packet had added one — a pure both-sides-inserted-at-the-head
conflict in README.md ALONE. Every code file, the delta, the regenerated
projection and both test files merged clean; the taxonomy value and the
self-gate ledger row were re-checked present afterwards. Resolved by keeping
BOTH sides, this entry at the head and main's two blocks verbatim beneath it.

tests/doc-health HOLDS at 1271 passed / 0 failed — unmoved, because the second
merge brought governance text and an archive act rather than tests. validate
--all --strict moved 77 to 78 for main's two new active packets. The floor is
unmoved at 4 critical / 11 error / 41 warning / 12 info.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 28, 2026 09:35

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 14 out of 14 changed files in this pull request and generated no new comments.

brettheap and others added 2 commits August 28, 2026 06:48
…ted-projection-status

# Conflicts:
#	README.md
#	tests/doc-health/test_modified_block_currency_self_gate.py
Merged origin/main a third time, after clean-doc-health-floor merged as #465
(c79d6e5). Two conflicts, both both-sides-added, neither semantic:

README.md, the OpenSpec Records block again — resolved keeping BOTH, this
packet's entry at the head and MAIN'S version of the clean-doc-health-floor
entry taken verbatim, since that entry now reflects the landed state main holds.
Verified byte-identical to origin/main:README.md by diff rather than by eye.

test_modified_block_currency_self_gate.py, where the sibling's ledger row and
this packet's landed at the same spot — resolved keeping BOTH rows.
clean-doc-health-floor is merged but still ACTIVE, so its MODIFIED block is
still in the set that arm reads, and dropping its row would have failed the gate
that compares the set with ==. The ledger now carries nine subjects.

Every other file merged clean; the `projection` value was re-checked present at
all seven of its sites afterwards, and no status-consumer this packet touches
moved in the merge (diffed against the merge's first parent).

Re-verified on the merged head: validate --all --strict 79 passed / 0 failed;
pytest tests/doc-health 1279 passed / 0 failed, EXIT=0 under pipefail; census
still projection 1 / record 29; cross-reference.md still absent from
record-immutability's four criticals.

THE FLOOR NOW SHOWS BOTH PACKETS AT ONCE — 4 critical / 7 error / 41 warning /
13 info, against the 5 critical / 11 error this session started from.

Co-Authored-By: Claude Fable 5 <[email protected]>
Copilot AI review requested due to automatic review settings August 28, 2026 10:52

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 14 out of 14 changed files in this pull request and generated no new comments.

@brettheap
brettheap merged commit 4d3f540 into main Aug 28, 2026
4 checks passed
@brettheap
brettheap deleted the change/declare-generated-projection-status branch August 28, 2026 11:25
brettheap added a commit that referenced this pull request Aug 29, 2026
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)
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