Repository navigation
Archive align-demote-to-round-trip-rule; discharge parent 4.2 with a driven round-trip test - #217
Conversation
…mote green) The release-realization archive gate is satisfied: the code is merged on the implemented target as PR #215 and green there — `tests/ideation-dashboard` 3240 passed / 6 skipped / exit 0, `openspec validate --all --strict` 62/62, doc-health byte-identical to its baseline, and the realization proof is a DRIVEN demote whose fragment came back carrying the returned proposal's real text, `Status: staged`, and the five filled provenance slots. That last one matters more than the counts: this defect was invisible to every grep and only ever yielded to driving the verb. MECHANICS, following the corpus: * `OPENSPEC_TELEMETRY=0 openspec archive align-demote-to-round-trip-rule -y` from the openxFactory root — the bare CLI, not `proposal-support.py archive`. The wrapper exists to package `supporting-docs.tar.gz` + manifest, and `docs/release-realization-flow.md` scopes that to a change that OWNS `supporting-docs/`. This one has none (ad_hoc origin, born from a review finding), so the wrapper would have added a synthetic empty bundle and its own "no unchecked tasks" precondition for no benefit. * The change folder MOVED to `openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/`, matching the `<YYYY-MM-DD>-<slug>` pattern. * The delta promoted into `openspec/specs/ideation-dashboard/spec.md`: the CLI stripped the `## ADDED Requirements` wrapper and appended the bare `### Requirement:` block with its seven scenarios at end of file, which is what the three most recent archives did. `--all --strict` now reads 61 items rather than 62 — the change left the active set and its requirement landed inside a capability already counted. * README's row moved from "Active changes:" into the "Archived changes:" block, with the link repointed at the archive path and a closing "Realized … and archived …" sentence. TWO PLACES PRECEDENT DIFFERED FROM THE BRIEF, resolved and recorded rather than quietly followed: Realization evidence does NOT go in the proposal's front matter. All three recent archive commits leave `proposal.md` a pure rename and record realization inline in `tasks.md` as `(DONE <date> — …)` prose citing the PR, the shas and the named checks. This follows that: §6.2 carries the evidence, including the fourth commit `79ed72e` — a Copilot catch that this change's own work made necessary, since the `--execute` summary claimed every moved file landed in `openspec/` and the outline restore added a topic-ROOT destination to `ex.moved`. The README convention is genuinely split, and I took the older of two. The two prior archives relocate the row into "Archived changes:"; the most recent one (`3c9eeb2`) instead left a short "ARCHIVED" stub sitting inside the "Active changes:" list, where it still is. That reads as a slip rather than a new convention — an ARCHIVED row inside a list of active changes is self-contradictory — so this relocates. ONE DELIBERATE DEVIATION. The "APPROVED BUT NOT YET REALIZED … none of it is built … Nothing here should be read as shipped" banner is REWRITTEN to state realization, not carried through the rename. No archived change in the corpus has ever had one — the convention arrived after the three most recent archives — so there was no precedent either way, and archiving a record whose first paragraph is false is the more expensive break. The rewritten block says it replaced the banner and why; `tasks.md` §6.3 records the same. Tasks: 25 of 26 ticked. 7.2 stays open on purpose and is precedented — `add-client-identity-roster` archived carrying fifteen open items — because its two items are Brett's rulings rather than work, and ticking them would claim a decision nobody made. Three further open items the realization surfaced are recorded there too rather than filed silently: `corpus.parse_status` still carries the pseudo-line blindness `_flip_status` just shed (measured harmless today, 0 of 1079 files, but it is doc-health's shared reader behind fifteen families); `plan_demotion` resolves the origin topic only from a possible's pick edge that the forward transition erases, so all six active changes with a declared staged origin report `origin_staging_id: None` and a real demote needs `--staging-topic` even though the `.openspec.yaml` origin block the transition itself writes would answer it; and a demote leaves its own `openspec/INDEX.md`, which carries no `Status:` header and so refuses the next whole-folder forward transition. Co-Authored-By: Claude Opus <[email protected]>
`add-staged-topic-outline-template` 4.2 calls itself "the one test that must not be
a shape assertion", and it was blocked because against the old mechanism the only
honest test would have asserted the inversion. `align-demote-to-round-trip-rule`
existed to remove that blocker; this takes the task up.
BOTH GATES DRIVEN, nothing constructed in between. The real
`proposal-support.py transition` runs forward, so "reached proposal" is the
mechanism's own doing: the fragment really moves into the change's
`supporting-docs/`, really gets flipped to `Status: draft` with a `Proposed by:`
line, really keeps its original bytes under `source-snapshots/`, the manifest
really records `transitioned_at`, and the topic folder is really emptied and
removed. Then the real console demote brings it back. So BOTH DATES are real —
`Raised` from the transition that raised it, `Demoted` from the demote that
returned it — rather than fixtures agreeing with themselves.
The assertions use two distinctive strings, one aspirational and one in-flight, so
neither a template placeholder nor a snapshot echo can pass for the real prior
text; the marked block is checked specifically, not just the file; the forward
transition's `Status: draft` is checked undone; and a second test takes a second lap
through both gates, because "nothing learned may be lost" has to survive more than
one use.
WHAT WAS ALREADY PINNED IS CITED, NOT REPEATED. The absent-destination restore, the
marked-section refresh, the five slots, `Raised` from a manifest, the
never-byte-replace guard and the CRLF drive all landed with the realizing change.
The one thing none of them did was reach proposal for real — they hand-built the
post-transition shape — and that is the whole of what 4.2 adds.
MUTATION-VALIDATED: disabling the marked-section refresh, disabling the outline arm
entirely, and making `Raised` unresolvable are each caught by both new tests. A
first pass at the outline-arm mutation silently hit an identically-indented
`if m.outline:` in `executable_plan` instead, changed only a declarative plan field,
and reported "NOTHING CAUGHT IT" — recorded in the harness comment because a
mis-aimed mutation and a real coverage gap produce identical output, and believing
the first one would have been the expensive mistake.
FOUR FINDINGS CAME OUT OF DRIVING IT, all recorded rather than worked around:
* `plan_demotion` resolves the origin topic ONLY from a possible's pick edge, and
the forward transition removes the staging folder that edge points at — so a
change that genuinely reached proposal reports `origin_staging_id: None` and the
demote needs `--staging-topic`. Measured on the real corpus, not inferred: all six
active changes with a declared staged origin report None. The `.openspec.yaml`
origin block the transition itself WRITES would answer this without a snapshot,
and nothing reads it. The refusal message anticipates the situation and the CLI
exposes the flag, so the test takes the operator's real path.
* A demote leaves its own `openspec/INDEX.md` in the topic, and that file carries no
`Status:` header — so a whole-folder forward transition of a returned topic
refuses outright ("governed Markdown lacks Status header") until the operator
names files explicitly.
* A demoted change's folder is gone, so re-raising is a change RE-CREATED and
transitioned into, not the same folder reopened.
* `Proposed by:` accumulates one line per lap, because the forward transition adds
it and the demote restores a copy that already has one.
AND ONE ASSERTION OF MINE WAS WRONG. The first draft claimed the FIRST lap's
proposal text also survived the second lap. The contract promises "the last
attempted `proposal.md`" — singular — so earlier text is SUPERSEDED in the marked
slot rather than lost by the demote. The code was right; the test now says so
explicitly, since the distinction is the whole difference between the guarantee and
a wish.
Gates, exit codes read directly: `pytest tests/ideation-dashboard -q` 3242 passed /
6 skipped / exit 0; `pytest tests/doc-health -q` exit 1 with exactly the four known
pre-existing `test_client_identity_composition.py` failures, diffed as a set;
`openspec validate --all --strict` 61/61 and the parent change strict-valid;
doc-health single-repo exit 0, finding counts unchanged and 0 new regressions — the
only movement is canon share 29.5% -> 29.6%, which is the archived change's promoted
requirement adding 821 canon words, i.e. the archive working.
The parent's 5.x gates stay unticked: they close when the parent completes.
Co-Authored-By: Claude Opus <[email protected]>
The two open rulings surfaced on the active README row for align-demote-to-round-trip-rule, and the origin-resolution defect corrected from six to 12-of-12 total. Co-Authored-By: Claude Sonnet <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Archives the realized align-demote-to-round-trip-rule change (moving its requirement text into the canonical ideation-dashboard spec and updating records), and discharges parent change task 4.2 by adding an end-to-end round-trip test that drives the real forward proposal-support.py transition and demote back.
Changes:
- Add driven round-trip tests ensuring a demoted fragment carries the actual prior
proposal.mdtext (including a second-lap scenario). - Move
align-demote-to-round-trip-rulefrom “Active changes” to “Archived changes” and record realization details in the archived change record. - Promote the “demote refreshes outline and never silently replaces it” requirement into
openspec/specs/ideation-dashboard/spec.md.
Reviewed changes
Copilot reviewed 6 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/ideation-dashboard/test_gate_console.py | Adds driven round-trip tests; extends demote helper to pass staging_topic. |
| README.md | Moves align-demote-to-round-trip-rule entry from Active to Archived with realization notes. |
| openspec/specs/ideation-dashboard/spec.md | Promotes the demote round-trip requirement text into the canonical spec. |
| openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/tasks.md | Updates archived task record: marks parent dependency discharged; adds realized/archived evidence and surfaced findings. |
| openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/specs/ideation-dashboard/spec.md | Records the requirement text in the archived change’s spec snapshot. |
| openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/proposal.md | Rewrites the banner to reflect realized+archived status and points to evidence. |
| openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/design.md | Adds archived design record capturing decisions and known bounds. |
| openspec/changes/archive/2026-08-19-align-demote-to-round-trip-rule/.openspec.yaml | Adds archived change packet describing its ad-hoc origin and approval metadata. |
| openspec/changes/add-staged-topic-outline-template/tasks.md | Marks task 4.2 complete and documents the new driven tests and findings. |
Suppressed comments (1)
tests/ideation-dashboard/test_gate_console.py:843
resandexare assigned but never used in this test. If the repo runs flake8/pyflakes, this will be anF841unused-variable failure. Since you only need the side effects, call_demote_and_execute(...)without capturing its return value.
res, ex = _demote_and_execute(root, reason="Second attempt.",
staging_topic=TOPIC)
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| _SUPPORT_SPEC = importlib.util.spec_from_file_location( | ||
| "proposal_support_for_round_trip", REPO_ROOT / "scripts" / "proposal-support.py") | ||
| support = importlib.util.module_from_spec(_SUPPORT_SPEC) | ||
| sys.modules[_SUPPORT_SPEC.name] = support | ||
| _SUPPORT_SPEC.loader.exec_module(support) |
| res, ex = _demote_and_execute(root, reason="Scope was wrong.", | ||
| staging_topic=TOPIC) |
The README row and the PR description disagreed about which PRs realized this change. Neither list was right, so neither was adopted: the answer was re-derived mechanically from gh pr view --json files, asking of every candidate whether it edits a file under openspec/changes/add-staged-topic-outline-template/. Eight PRs pass that test and are this change's own chain: #193, #195, #198, #208, #211, #217, #224, #227. The PR description omitted the first three - they predate the session handoff it was written from - and wrongly claimed #215, #221 and #222, which fail the test: each touches only its own change's documents and code, so each belongs to align-demote-to-round-trip-rule, refine-demote-round-trip-mechanics and align-status-reader-to-real-lines respectively, all three of which already have archive records carrying their own evidence. What #217 contributes here is task 4.2 and the archiving of the first of them, not the fix. The README row, the proposal banner and the tasks.md evidence section now state the two categories explicitly and name the test, so the chain can be re-derived rather than trusted. One exception is recorded rather than left to surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and 6.3 after the doxbench topic exited staging - a cross-change bookkeeping repoint that discharges no task here. Co-Authored-By: Claude Fable 5 <[email protected]>
The README row and the PR description disagreed about which PRs realized this change. Neither list was right, so neither was adopted: the answer was re-derived mechanically from gh pr view --json files, asking of every candidate whether it edits a file under openspec/changes/add-staged-topic-outline-template/. Eight PRs pass that test and are this change's own chain: #193, #195, #198, #208, #211, #217, #224, #227. The PR description omitted the first three - they predate the session handoff it was written from - and wrongly claimed #215, #221 and #222, which fail the test: each touches only its own change's documents and code, so each belongs to align-demote-to-round-trip-rule, refine-demote-round-trip-mechanics and align-status-reader-to-real-lines respectively, all three of which already have archive records carrying their own evidence. What #217 contributes here is task 4.2 and the archiving of the first of them, not the fix. The README row, the proposal banner and the tasks.md evidence section now state the two categories explicitly and name the test, so the chain can be re-derived rather than trusted. One exception is recorded rather than left to surprise a reader: #228 also edited this change's tasks.md, to repoint 5.3 and 6.3 after the doxbench topic exited staging - a cross-change bookkeeping repoint that discharges no task here. Co-Authored-By: Claude Fable 5 <[email protected]>
…apped, consumers re-pinned, retirement landed (#213) (#803) * Tick implement-omniworker-install-repo's twelve archive-gate boxes on evidence and five named successors On Brett Heap's word of 2026-09-08 ~12:2xZ, in session, verbatim "archive implement-omniworker-install-repo", recorded on openxFactory #591; and under his ruling of 2026-09-06, verbatim "Tick on the recording". Twelve of the fifteen boxes that were open at that word close here, and each one NAMES ITS KIND rather than leaving a reader to infer it. ON THE EVIDENCE, verified with gh/git on 2026-09-08 and not copied from earlier notes. 1.2 and 7.4: docs/omniworker-naming.md has read `Status: ratified` since this change's own landing squash 76434aa, unchanged by the two 2026-09-08 amendment passes (#784 6c9e362, #789 9581ed9). 7.1: OmniWorker-Install created 2026-09-05T16:15:48Z, private, main, seed c5d0f1f6; suites green at the new location (#1 eb0c9675, #2 d617e68e) and main green through #3 33eed467, #5 54daeb3c, #6 322ee4da, #7 187d75b6; the boundary validator's planted-secret cases all caught, plus #2's control that the same bytes outside an exempt path are still flagged. 7.2: xFactory #268 2f767ac8, OpsxFactory #228 6a0d9467, CloudPC-Install #17 bba9da8a all MERGED, with 4.5 and 4.6 called out as discharged WITHOUT an edit rather than counted silently. 8.1: xFactory #274 648c8bd3, the governed admission record, separate from the pin as the requirement demands. 8.2: OpsxFactory #233 83a91c58 ratified by #235 3e4cd248. ANSWERED BY THE ACT, which is 1.3's and 7.5's substance: OQ-2 (the seam accepted and mechanized through ${OMNIWORKER_ROOT}, Omnigent-Install #217 4f82cbd8), OQ-3 (the host still checks out the orchestrator, CloudPC-Install #17), OQ-4 (root schemas/, forced by hard-coded consumer paths), OQ-8 (the archive stays whole, recorded verbatim in Omnigent-Install's docs/omniworker-split.md), OQ-10 (PRIVATE, verified live). OQ-6 and OQ-7 were already RULED and are cited to design § D5's dated amendments. ON NAMED SUCCESSORS, five issues filed at this archive, all UNCLAIMED: #794 (OQ-1 — the execution-lane-enablement runbook stayed with the orchestrator BY DEFAULT, not by decision), #795 (OQ-5 / § 8.3, the runner label), #796 (OQ-9 / § 8.4, the three enumerations), opensoft/xFactory #346 and opensoft/CloudPC-Install #19 (the two halves of § 6.3, which cannot run until Part 2 lands). 6.3's note carries the measurement that made them necessary: no post-retirement run of any of the four lanes exists, ideation-organizer-worker has NEVER run, and the cataloger's red is PRE-EXISTING. 7.6 ticks as what it is — the archive's own gate statement — with the merged-plus-green evidence summarized per repository, and with what the gate does NOT claim stated in the same breath: two successor-named operator acts and § 5.2's DISPOSED clause. NOT DONE HERE. No box's ratified requirement sentence is rewritten; the state changes and the note is appended, which is this packet's own in-place amendment convention (#704, #773). 6.1, 7.3 and 8.5 are LEFT OPEN deliberately — they turn on opensoft/Omnigent-Install #213, which is not yet merged — so `proposal-support archive` still refuses this tree with "change has incomplete tasks", by design. No archive is performed by this commit, no spec delta is promoted, no README row moves and the sweep ledger is untouched. Task 2.3 stays [~]: its owed half is Brett Heap's web act, already named twice in the packet, and it does not block the archive gate. Refs #591, #680 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Close the last four boxes on Omnigent-Install #213's landing and one named successor (2.3) On Brett Heap's word of 2026-09-08 ~12:2xZ, "archive implement-omniworker-install-repo", and his word of ~12:10Z, "merge 213" — both recorded on openxFactory #591. Taken as a separate commit from the archive so proposal-support's output is the only thing in that one, which is the precedent 26c2661/3c06bf75 set. 6.1 CLOSED. Part 1 was Omnigent-Install #235 bbba916d (2026-09-07T12:12:15Z); Part 2 LANDED as Omnigent-Install #213 -> merge commit 9c9c9355 (2026-09-08T13:05:48Z, from head 6feafc2d) under a Rule 6 window, because it re-homed openspec/changes/add-worker-enrollment-broker-integration/ out of that repository. The OQ-6 hold recorded in the ratified text is SUPERSEDED by Brett's word, and the supersession is stated rather than glossed: add-worker-acr-push was byte-identical to main at the merge (tree 7bb94b12) so nothing was re-homed by side effect in that directory, but two of its four declared code_surface paths no longer exist in the repository that hosts it. The code_surface: amendment that leaves owed is design § D5's named cost of sequence (a); it is recorded on the PR and in that repository's docs/omniworker-split.md, and this packet neither performs nor discharges it. 7.3 MET ON ONE HALF, SUCCESSOR-NAMED ON THE OTHER, and the note refuses to conflate them. The retirement is merged in full (#235 + #213). The post-retirement re-run is NOT green because it has not run and could not have: § 6.3 sequences it after Part 2, which landed today. It closes on xFactory #346 and CloudPC-Install #19. 8.5 PERFORMED, and on the act that actually performed it rather than the one this box guessed. Read live at Omnigent-Install@main: the four scope items are gone and a paragraph names, links and quotes the boundary for OmniWorker-Install, doc index included. That landed in #235 bbba916d with Part 1 — a day before #213 completed the retirement — so the "if retirement is deferred" contingency never fired. 2.3 moves [~] -> [x] AS A RECORDING, NOT A DISCHARGE, on the coordinator's instruction and the tick-on-the-recording rule. Successor: #800. Its two existing OWED notes are left exactly as they stand. Three clauses of four were always done (ruleset 22342039, the two App secrets, the session-open-pr.yml mirror — that repository's only workflow). The fourth is measured in BOTH directions: the installation is repository_selection: all and a down-scoped `repositories: OmniWorker-Install` / `contents: read` token was really minted in CI (run 34041914618, re-proved 34042785728) — but authoring needs contents: write plus pull_requests: write, no run has asked for either, and all six OmniWorker-Install pull requests are authored by brettheap. Six PRs in, the route has never been exercised, which is the exact failure mode the box's last sentence names. Every one of the 40 boxes is now [x]; `openspec validate implement-omniworker-install-repo --strict` is clean through the pinned CLI. No ratified requirement sentence is rewritten anywhere in this commit. Refs #591, opensoft/Omnigent-Install#213 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Archive implement-omniworker-install-repo: the OmniWorker install boundary promoted into repo-boundary-governance canon On Brett Heap's separate word of 2026-09-08 ~12:2xZ, in session, verbatim "archive implement-omniworker-install-repo", recorded and claimed on openxFactory #591. THE EVIDENCE, CITED RATHER THAN ASSERTED. The packet's front matter declares target_release: repository-bootstrap and a code surface spanning FIVE repositories, two of them operator estates, and says what that means: under release-realization it archives on merged-plus-green realization evidence and never on landing. Ratified 2026-09-05, "ratify 680 and merge 16", PR #680 at head 9186661; ratifying commit 76434aa. Per repository: OmniWorker-Install created 2026-09-05T16:15:48Z private/main/seed c5d0f1f6, copy-first in #1 eb0c9675 and #2 d617e68e, suites and boundary validator green, main green through #3 33eed467 / #5 54daeb3c / #6 322ee4da / #7 187d75b6; Omnigent-Install pinned it across twelve groups (#214 544c6319 .. #235 bbba916d), archived that packet (#237 07bdc9c3), re-pinned routinely (#246 16963099) and retired in two parts, Part 1 bbba916d and Part 2 #213 -> 9c9c9355 on Brett's "merge 213"; xFactory #268 2f767ac8 (pin) and #274 648c8bd3 (the governed admission record, a separate act as the requirement demands); OpsxFactory #228 6a0d9467 and the fleet re-attestation #233 83a91c58 ratified by #235 3e4cd248; CloudPC-Install #17 bba9da8a and #18 349d539d. PERFORMED THROUGH THE PINNED CLI, never a bare openspec archive: python3 scripts/proposal-support.py . archive implement-omniworker-install-repo --date 2026-09-08 --yes, resolving @fission-ai/[email protected] from the content-addressed pin cache, integrity verified, no registry fetch. Archived as openspec/changes/archive/2026-09-08-implement-omniworker-install-repo/. ORIGIN RETAINED fired inside the archive (declaration unchanged since the ratifying commit 76434aa) and the retention arm passed against the archived path. NO SUPPORTING DOCS: the change has no supporting-docs folder, so nothing was packaged and nothing needed to be. WHAT WAS PROMOTED, COMPARED RATHER THAN EYEBALLED. One ADDED requirement, "OmniWorker install repository boundary", appended to openspec/specs/repo-boundary-governance/spec.md: 6,391 bytes, sha256 ad04308bd63ca30de4c1566f5b0a983d2a3ef274af1ff80370b62b9a844ca80a, extracted programmatically from delta and canon and hashed identical on both sides. 90 added, 0 removed; git diff --numstat and git diff -w --numstat are identical, so 0 lines changed by whitespace and no existing requirement is touched -- in particular "Install repository scope" is left alone, which is this capability's established collision-avoidance. The capability goes 9 -> 10 requirements. No file is added under openspec/specs/, so no codexFactory floor advance is owed. THE FROZEN FILES ARE PURE RENAMES. git diff -M reports 100% similarity and 0 changed lines on .openspec.yaml, design.md, proposal.md, tasks.md and specs/repo-boundary-governance/spec.md; tasks.md's two lawful tick commits (071dbe0, 2b9625c) land BEFORE this one so they are separable from the serializer's output. The README OpenSpec Records row moves active -> archived; proposal-support does not move it. WHAT THE ARCHIVE ADMITS RATHER THAN SMOOTHS. Section 6.3's post-retirement re-run has NOT run and cannot have -- the packet sequences it after a Part 2 that landed the same day -- so 7.3 says so and it closes on xFactory #346 and CloudPC-Install #19. Section 2.3 moved [~] -> [x] as a RECORDING, not a discharge (#800). Section 5.2's pre-act emptiness confirmation stays DISPOSED, not discharged. And the OQ-6 hold was SUPERSEDED, not satisfied: add-worker-acr-push was still active in Omnigent-Install when #213 landed -- byte-identical to main at the merge, tree 7bb94b12, so nothing was re-homed by side effect -- and its code_surface: amendment is owed in that repository, not here. NOT DONE HERE: no register is edited (contracts/manifest.yaml, contracts/README.md, contracts/releases/** untouched), no release is cut, no version is allocated or reserved, no tag is pushed, no scripts/ or tests/ code moves, and the per-change sweep ledger is seeded in a FOLLOWING commit because the real pull request number does not exist until the pull request does. Refs #680, #591, opensoft/Omnigent-Install#213 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * Seed the sweep-ledger row for implement-omniworker-install-repo (moved by #803) Taken AFTER the pull request existed, because the real number does not exist until it does, and on the tree that already carries the merge from origin/main, so main's own new row (adopt-configured-notebook-hosting-identity, #783) is carried and only this change's row moves. before the seed: per-change sweep ledger STALE (4 findings) — this change's row plus its three derived totals (active 40 != 39, archived 143 != 144, active_sole 18 != 17) after the seed: per-change sweep ledger consistent with the corpus (184 rows) the write: "184 rows, 1 moved by #803" — one row, state active -> archived, moved_by #680 -> #803, moved_on 2026-09-05 -> 2026-09-08; no other row's provenance is touched, and `class: sole` is unchanged because the promoted requirement is shared with nothing pytest tests/sequenced_after tests/proposal-support -q -m "not postgres": 245 passed, 2 subtests passed Refs #591 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR * The archive preface counts six successors, and names the one 8.5 actually ticks on Copilot finding, taken: the § 1 archive-amendment preface said "Five issues were filed at this archive" while the same file later records a SIXTH (#800, for task 2.3). The count is now SIX, #800 is listed, and 2.3 is named in the successor kind it belongs to — with its "recording, not a discharge" qualifier carried into the preface so the summary cannot read as a claim the App-authorship route was proved. A SECOND inconsistency of my own, in the same sentence, fixed while here: the preface grouped 8.5 with 6.1 and 7.3 as ticking on Omnigent-Install #213's merge. It does not. 8.5 ticks on #235 bbba916d — § 6.2 performed the scope link with Part 1, a day before Part 2 completed the retirement — which is what 8.5's own note says and what the live Omnigent-Install README shows. The preface now says so, and says that this corrects the box's ratified "as part of retirement" guess by note rather than by carrying it. No box's state changes and no ratified requirement sentence is touched; this is the preface's own prose. openspec validate --all --strict unchanged at 97 passed / 2 failed, the two pre-existing accepted exceptions. Refs #591 Lane: openxfactory-3 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_013pt7yAnJ2TUhvMfxuuFujR --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
Two-part completion of the demote round-trip thread, plus record corrections from review.
Commit 1 — Archive
align-demote-to-round-trip-ruleRealization evidence is merged and green (#215: 3240 passed, driven end-to-end proof), so the
release-realizationarchive gate is satisfied. The 7-scenario requirement promotes byte-faithfully intoopenspec/specs/ideation-dashboard/spec.md(verified: empty structural diff modulo one trailing newline);--all --strictreads 61 with the change gone from active. Precedent calls, each verified against the corpus: realization evidence recorded in tasks.md prose (the pattern all three prior archives use); bareopenspec archivesince the change owns no supporting-docs; the README row relocated to "Archived changes:" (zero archived changes sit in the Active block today — relocation is the settled convention); and the approved-not-realized banner rewritten to true realization statements rather than archived carrying false claims (no precedent existed either way; every claim in the rewrite independently verified). Brett's ratification line and the driven-evidence citations survive the rename intact. The archived §7.2 keeps two open rulings unticked (archiving with open items is precedented), and the README row now names them so they stay visible from an active surface.Commit 2 — Parent task 4.2: the round-trip test, driven both ways
add-staged-topic-outline-template4.2 — "the one test that must not be a shape assertion" — is discharged by driving the REALproposal-support.py transitionforward (fragment moved out, draft flip,source-snapshots/written,transitioned_atrecorded, topic emptied) and the real demote back: both dates are the mechanisms' own, and two long distinctive strings plus placeholder-absence assertions make an aspirational echo impossible. A second test takes a second lap and asserts the contract's direction — the LAST attempted proposal supersedes the first lap's text in the marked slot while the human's non-marked material survives. Existing realization coverage is cited rather than duplicated. Mutation-validated: refresh disabled, outline arm disabled, Raised unresolvable, and the reviewer's own unlisted mutation (re-applying the aspirational fragment — the exact original inversion) — all caught by both tests.Findings from driving the real corpus, recorded not filed silently
origin_staging_id: None(the mapping is built exclusively from possibles-register pick edges, which the forward transition deletes; nothing reads the.openspec.yamlorigin block the transition itself writes) — every real demote needs--staging-topicby hand.openspec/INDEX.mdlacks a Status header and blocks the topic's next whole-folder forward transition.Proposed by:accumulates one line per transition lap.All three reproduced independently in review; recorded in the archived §7.2 and on the README row for scoping.
Review record
Adversarial review verdict LAND: archive faithfulness, all four precedent calls, ratification survival, and the three defects each verified by command; the 4.2 assertion set attacked directly with no gap found. Two record corrections applied (commit 3): the two open rulings surfaced on the active README row, and the origin-resolution defect corrected from the understated "six" to the measured 12-of-12 total.
Gates (exit codes read directly)
python3 -m pytest tests/ideation-dashboard -q: 3242 passed, 6 skipped.python3 -m pytest tests/doc-health -q: 4 failed, 661 passed — exactly the known pre-existing set.openspec validate --all --strict: 61/61. Parent single: valid.🤖 Generated with Claude Code