Repository navigation
Propose lifecycle NotebookLM hybrid imports - #29
Conversation
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Adds an OpenSpec change proposal that formalizes “hybrid” NotebookLM analysis notebooks (one Canon release line + one brainstorm/staged origin folder) and defines a governed, source-membership-based return path for newly created NotebookLM sources back into the origin folder.
Changes:
- Introduces a new OpenSpec change (
add-lifecycle-notebook-hybrid-imports) with proposal, design rationale, tasks, and a spec delta forlifecycle-notebook-projection. - Updates the staged hybrid analysis process doc to describe the new “import new sources” workflow and seed-source exclusions.
- Adds/updates live import evidence notes for the
test-canonexperiment.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| openspec/changes/add-lifecycle-notebook-hybrid-imports/tasks.md | Task checklist for documenting, implementing, testing, and gathering live evidence for hybrid imports. |
| openspec/changes/add-lifecycle-notebook-hybrid-imports/specs/lifecycle-notebook-projection/spec.md | Spec delta defining hybrid notebooks, source-return rules, seed exclusions, provenance fields, and review gates. |
| openspec/changes/add-lifecycle-notebook-hybrid-imports/proposal.md | Change proposal narrative, scope, and impact statement for adopting hybrid imports. |
| openspec/changes/add-lifecycle-notebook-hybrid-imports/design.md | Design decisions explaining why origin-folder routing, membership-based return, and id-based idempotence are used. |
| openspec/changes/add-lifecycle-notebook-hybrid-imports/.openspec.yaml | OpenSpec change metadata. |
| ideation/staging/lifecycle-notebook-hybrids/hybrid-analysis-process.md | Updates operational process doc to reflect the new import mode and rules (target-path based, seed skips). |
| ideation/brainstorm/notebooklm-import-test/notebooklm-ideas-2026-07-09.md | Updates live evidence note describing non-manual-renaming behavior for source return. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - updates `docs/lifecycle-notebook-projection.md` and its OpenSpec spec to | ||
| include hybrid creation, source return, and review gates. |
| Import note: this source was not titled with `[export:brainstorm]` or | ||
| `[export:staged]` when pulled. The automated `--import-exports` importer would | ||
| ignore it until the source title is changed to the export-tagged form. | ||
| Import note: this source was not manually renamed. It represents the intended |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c13bac1122
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| source plus export title means "pull this back"; ordinary notes and untagged | ||
| converted sources stay local to the notebook. | ||
| The importer skips managed seed sources from the original hybrid build: | ||
| `00 [charter]`, `[brainstorm]`, `[staged]`, `[draft]`, `[ratified]`, |
There was a problem hiding this comment.
Exclude the hybrid charter title from imports
This skip list does not match the seed charter that this workflow tells operators to create (00 [hybrid charter] Read me first earlier in the same file). For any hybrid built from these instructions, --import-new-sources would not classify the first source as seed context, so the charter falls into “everything else” and gets written back into the brainstorm/staged origin as new L1 material. Please add the hybrid-charter title/prefix here or align the creation instructions with the excluded title.
Useful? React with 👍 / 👎.
| idea target. The origin target SHALL be either a brainstorm folder under | ||
| `ideation/brainstorm/<topic>/` or a staged folder under | ||
| `ideation/staging/<topic>/`. Hybrid notebooks SHALL be derived analysis |
There was a problem hiding this comment.
Preserve imports for file-backed brainstorm hybrids
This new contract only permits brainstorm origins that are folders, but the staged workflow still lets operators build hybrids from a single ideation/brainstorm/<topic>.md file, and the repo has active brainstorms in that shape. When one of those file-backed hybrids produces new sources, there is no origin folder for the required import destination, so --target-path either rejects the canonical source path or creates a new sibling folder that is no longer the brainstorm that created the notebook. Please either define a file-origin return path or remove file-backed brainstorm hybrids from the workflow.
Useful? React with 👍 / 👎.
|
@codex review |
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
openspec/changes/add-lifecycle-notebook-hybrid-imports/design.md:11
- This design doc shows origin folders as
ideation/..., but the operator runbook inhybrid-analysis-process.mduses repo-qualifiedopenxFactory/ideation/...for--target-path. Use one path form throughout to avoid ambiguity about whether--target-pathis repo-qualified or repo-relative.
ideation/brainstorm/<topic>/ -> Status: brainstorm
ideation/staging/<topic>/ -> Status: staged
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 82bf8aa70f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| titles SHALL include `00 [charter]` and titles beginning `[brainstorm]`, | ||
| `[staged]`, `[draft]`, `[ratified]`, `[standard]`, `[spec]`, or | ||
| `[grounding]`. |
There was a problem hiding this comment.
Add the hybrid charter to seed exclusions
For hybrids built with the current staged process, the charter source is named 00 [hybrid charter] Read me first, but this new managed-title list only covers 00 [charter] plus status prefixes. An importer and tests following this delta/task list will treat the hybrid charter as a new non-seed source and write it back into the origin folder on the first source-return run, even though the requirement above says the hybrid charter is seed context. Include the hybrid charter title/prefix in the exclusion list.
Useful? React with 👍 / 👎.
| idea target. The origin target SHALL be either a brainstorm folder under | ||
| `ideation/brainstorm/<topic>/` or a staged folder under | ||
| `ideation/staging/<topic>/`. Hybrid notebooks SHALL be derived analysis |
There was a problem hiding this comment.
Preserve file-based brainstorm origins
For brainstorms that remain single files under ideation/brainstorm/ (the current ideation convention and several existing active topics), this new requirement narrows valid hybrid origins to folders only. Those file-based hybrids would have no conforming return target for imported sources, even though the staged hybrid process this change promotes allows a brainstorm file or folder; either define file-origin import behavior or require a migration to topic folders before hybrids can be created.
Useful? React with 👍 / 👎.
…aged The contents grant made the morning's uncounted exact-head approval on PR #29 count retroactively with auto-merge enabled; the admin AI stopped without mutating and the session agent disabled auto-merge immediately, so the first autonomous merge remains a deliberate recorded event. Also records the branch-reset discovery (nightly resets from main — the rehearsal's README overflow vanished, which is why the envelope held). Co-Authored-By: Claude Fable 5 <[email protected]>
Brett ratified add-merge-master-credential-contract (codexFactory 2c4fbe7, pin aac73d6); doc-health-nightly and merge-master-approval read back active; PR #29 unchanged at the flip. Auto-merge stays off until Brett's deliberate final consent after the fresh-head approval counts. Co-Authored-By: Claude Fable 5 <[email protected]>
Full sequence live-verified with Brett watching: dismissal on head update, fail-closed park while checks ran, counted fresh-head approval, deliberate auto-merge consent, merge 72fce71e. Finalizer dispatch 403 (actions:write) recorded as the remaining unattended-loop defect. Co-Authored-By: Claude Fable 5 <[email protected]>
…o tests that asserted nothing All nine non-satisfied audit rows are closed. Suite 1077 -> 1115. THE MUTATION ROUND EARNED ITS PLACE. Thirty perturbations; two of them killed no test, and both were real: - #15 stripped the backticks from `contract-v1.45` in BOTH canon and the block. `test_no_unit_boundary_falls_inside_a_versioned_token` SURVIVED, because it only asserted the token was ABSENT from the ledger — and when a boundary moves on both sides at once, the two halves still match, nothing is reported, and the negative assertion holds. A negative cannot see a symmetric break. The test now asserts POSITIVELY on canon's own derivation: each of the three tokened sentences is exactly ONE body unit with its whole token inside it. - #29 dropped the `kinds` filter from `_units`. Every U-class test SURVIVED, because each re-filters by kind afterwards. Added `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, which parses the arm's OWN stated numerator and denominator out of the finding it emits ("does not carry N of the M body units") and requires `_units` to agree — measured 17 of 28 on #329 where the unfiltered helper gives 24 of 36. After both fixes: 28 of 30 mutants killed, 0 survivors. The two N/A rows are pure test-body assertions with no fixture to perturb, and are recorded as N/A rather than counted as kills. ROWS CLOSED - A3 § 3.3, the one TRUE hole — `merge-gut`. A four-bullet scenario merged away with two bullets carried: the ledger names exactly the two uncarried, the scenario arm is quiet, no marker defect. The companion declares those two in a `Removed from canon` marker (one of them cites `openxFactory`, so its span needs a longer fence) and goes silent — and the silence is PROVEN caused by removing the marker and watching the noise return. - A5 § 3.4 — prefix and both-ends widening (T033), plus the real #351 instance end to end (T014). - A6 § 3.5 — `tokens`: `.openspec.yaml`, `promotion_fidelity.py` and `contract-v1.45` (period between digits, the shape F1 lacked), a three-item bullet list, and a FOUR-sentence dated note restated with its THIRD sentence amended, reported ONCE. - A7 § 3.6 — `rewrap`: a complete restatement re-wrapped at varying widths, one paragraph mid-sentence and one bullet after its `**THEN**`. Returns [], and is shown NOT skipped. - A10 § 3.7c — the form anchor read off the REAL packet file: its two `- ` template bullets are not marker-form. This is what the row claimed and nothing asserted. - A11 § 3.7d — `fence`: the same clause named with a double-backtick fence (suppresses the whole unit) and with a single backtick (names a fragment, suppresses nothing, clause reported). The pair is what makes the rule falsifiable. - A15 § 3.10 — `name-order`: `add-zz-first` DECLARES and is therefore the later writer while sorting LAST by name. The finding lands on its path and names `add-aa-second`'s DELTA as the basis, so the substitution is visible in the finding. Under name-ascending ordering the roles invert and the test fails. - A18 § 3.13 — determinism over all thirteen trees, non-empty first. ONE TASK EXPECTATION WAS WRONG AND IS CORRECTED, not worked around: tasks.md T042 predicted the single-backtick marker would ALSO be reported as a marker defect. It is not, and should not be — the delta reports a marker only where it names a unit the block STILL CARRIES; a name matching no canon unit declares nothing and is silent, per `suppression()`'s three-way resolution. The test asserts the correct behaviour and the fence README explains why. NO MODULE CHANGE. `git diff --stat <merge-base> -- scripts/ openspec/ .github/` is empty. Mutants #26, #27 and #30 edit the module deliberately and are reverted in the same working step, never committed. Co-Authored-By: Claude Opus 5 <[email protected]>
#329 reconstructed from history, nine audit gaps closed, no behaviour added (#426) * Speckit F2 specify: the regression-fixture catalogue is an audit first, then six gaps `add-modified-block-currency-check` § 3 (3.1-3.13) is this feature's whole scope. F1's implementation review found F1 already realizes every scenario of the ratified delta with a test, so F2 is an AUDIT of those 97 tests against § 3 item by item, plus RED-first tests for what the audit finds gapped — and no behaviour added to the module. The two histories § 3.1 and § 3.2 ask for were VERIFIED RECOVERABLE before this spec was written, and both reconstructions were run through the family: - #351 — `add-doxchat-model-intake`'s pre-repair block and the canon of 2026-08-25, both at bcfc26a (parent of the repair f68261f, merged 87d0b95 / PR #358). The scenario arm names exactly `The menu offers a routing rule` and `A fourth provider verb is proposed`; the ledger carries the repair commit's clauses, the reverted `every loaded editor` line, and canon's badges bullet — which the block's replacement contains verbatim as a strict prefix, the REAL instance of the widening mechanism. - #329 — `add-release-inventory-drift-check`'s pre-archive delta and canon, both at d5f447e (parent of the archive 38b548d, merged b03b999 / PR #331). One of eight scenarios restated, seven brought by its own ADDED requirement, file-level count flat at eight on both sides, seven titles named. Nothing needs synthesizing for 3.1 or 3.2. Zero [NEEDS CLARIFICATION]: every candidate ambiguity is settled by the packet, the delta, an orchestrator decision or measured evidence, and each is recorded in Assumptions A1-A9 with what settles it. A1 and A2 are the two that shape every assertion — the human's "six clauses" live inside THREE normative sentence units, and the rendered ledger truncates each unit, so full clause text is asserted on the units the comparison returns rather than on the rendered string. Co-Authored-By: Claude Opus 5 <[email protected]> * Speckit F2 plan: 18 audit rows over 14 items, and both histories recovered before the plan was written `contracts/coverage-audit.md` is the deliverable of this phase and the single home for the § 3 -> F1-test mapping. Taken from the LANDED test file, not from F1's plan, its hand-off, or its spec's Out of Scope, all three of which disagree about what F1 covers (research R10; the hand-off wins, being later and consistent with decision D4). 18 rows for 14 items — § 3.7 carries eleven distinct obligations and needs five of them. 10 satisfied, 1 satisfied-and-extended, 4 partial, 3 gapped. Six new fixture trees and two unit-level assertions close the seven non-satisfied rows. Measured, not assumed (research R2), by building both reconstructions and calling the family on them: - fixture A (#351 @ bcfc26a): 2 findings. One `warning` naming exactly `The menu offers a routing rule` and `A fourth provider verb is proposed`; one `info` listing 11 of canon's 25 units — 3 body sentences carrying the repair commit's five body clauses, the reverted `every loaded editor` line, the drifted hosted-plane line, and canon's badges bullet, which the block's replacement contains as a STRICT PREFIX. That last is § 3.4's mechanism in the real history, and F1 had no end-to-end case for it. - fixture B (#329 @ d5f447e): 2 findings. One `warning` naming all seven omitted titles; one `info` listing 17 of 28 units. Canon 8 scenarios, delta FILE 8 scenarios, fires anyway. Two readings that shape every assertion, both promoted to research items rather than left to the implementer: § 3.1's "six body clauses" are five human-named clauses lying inside THREE normative sentence units (R3), and the ledger truncates each unit at 140 characters, so full clause text is asserted on the units the comparison returns and the rendered finding is asserted on its quoted prefixes (R4). `data-model.md` § 4 makes that the U/F assertion discipline every test obeys. Four decisions taken here and flagged for veto beside the five given: O1 one new test file rather than growing F1's 1400-line one; O2 the re-spelled finding classifiers pinned by a PARTITION invariant instead of a cross-file import; O3 a reconstruction freezes the REQUIREMENT verbatim, not the 279 KB file; O4 the delta side is copied WHOLE, because § 3.2's flat count lives in its ADDED section. Constitution gate IV caught one real violation while running: quickstart.md carried a host-absolute worktree path. Rewritten repo-relative. Co-Authored-By: Claude Opus 5 <[email protected]> * Speckit F2 tasks: 61 tasks, 28 of them tests, and a two-stage RED for the assertions that carry the feature RED-first is the point of this feature, so the convention is written down rather than assumed. A fixture test written before its fixture fails by ERROR, which proves nothing about the assertion — so the rows that carry the feature use a two-stage RED: stage 1 the test errors with no fixture; stage 2 the fixture is built and then PERTURBED in the one way that matters (the omitted scenario restored, the widened bullet replaced by canon's, the gutted merge bullets carried, the note's third sentence un-edited, a re-wrapped paragraph altered) and the test must fail on its ASSERTION. T058's mutation round re-runs every stage 2 mechanically. Two tasks record honestly that they have NO pre-state RED — T033's containment widenings and T051's scope snapshot are green the moment they are written, so their evidence is the mutation round and the task says so instead of claiming a RED that did not happen. Phase order follows the audit's severity rather than § 3's numbering: US1 the two reconstructions (MVP, and a legitimate terminal state), US2 the audit (independent of every fixture, so it can go first if the reconstructions stall), US3 the merge-gut — the one TRUE hole, where a refactor could silently permit an undeclared bullet deletion — then US4's four narrowings, then US5. T053 is an OPEN DEFECT SLOT, per orchestrator decision D1: if a fixture found the family behaving other than the ratified delta states, it gets its own task, its own RED and its own PR line as a defect, never a fixture adjustment. If nothing fired the task says so and says what was checked. T052 makes D1 mechanically checkable — `git diff --stat origin/main -- scripts/ openspec/ .github/` must be empty — and T002 blocks everything on the base still being unmoved, because an audit of a file that has since moved is worse than no audit. Co-Authored-By: Claude Opus 5 <[email protected]> * Speckit F2 analyze: zero CRITICAL, six findings, and the validation guide validated nothing The pass earned its keep on F1. Four of `quickstart.md`'s `-k` selectors were written on TREE names — `history_351`, `history_329`, `merge_gut`, `containment` — none of which appears in any test name tasks.md writes. Every one of those commands would have selected zero tests and exited 5, so the guide's three most important steps validated nothing. Selectors rewritten against the real names, and T056 now checks that each picks a non-zero count. F2 is the defect this repo keeps paying for, caught in its own plan: plan.md carried a second inventory of test NAMES, five already drifted from tasks.md's spelling and four tasks.md tests missing from it. The inventory is deleted; tasks.md is the one home for the figure (62 tasks, 29 [TEST], 30 functions). F4 is the one that mattered most for correctness. FR-002 and FR-008 were carried only by T059's prose, and FR-002's other half — that a `satisfied` verdict is ACTUALLY satisfied — was checked by nothing: T024 proves a cited test name exists, not that it asserts what the row claims. T059 is now four numbered concrete steps, including a spot-check of every one of the ten `satisfied` rows against the cited test body, and FR-008's count check as a literal grep with a declared exception list. F6: T037's "RED stage 2" asserted that a test STILL PASSES, which is not a RED. It conflated two properties — the mask governs where units END, and says nothing about whether two units are equal. T034 and T036 each get a real stage 2 (strip the backticks from `contract-v1.45`; un-edit the note's third sentence), and the conflated property becomes T037a. F3 and F5 are small: US2's acceptance covered `gapped` but not `partial` although four rows are partial, and T022 left `<repo root>` unexpanded. Recorded and NOT fixed, because it cannot be: the audit's ten `satisfied` verdicts rest on a human reading of F1's test bodies. If one is wrong, this feature ships a hole it believes it closed. plan.md says so in those words. Also recorded: origin/main advanced nine commits since the 19e3f6b branch point, and the diff over every audit input is EMPTY, so the base holds. Not rebased. T002 re-runs that diff before any other task. Suite unchanged at 1077 — nothing is implemented this round, by instruction. Co-Authored-By: Claude Opus 5 <[email protected]> * Plan review fixes: two of my own `satisfied` verdicts were wrong, and I quoted a hedge the packet does not contain Seven blockers and sixteen nits from the coordinator's plan review, all applied. Two of them are findings against this feature's own audit, and both are the exact failure its closing note predicted — a row citing a test whose NAME matched the obligation and whose BODY did not discharge it. B6 — A15 (§ 3.10) re-verdicted `partial`. F1's cited test_no_date_folder_or_created_field_decides_the_ordering says in its OWN docstring that its fixture "sorts BEFORE … by name and by any date a fixture could carry, and the declaration points the same way", so it cannot be the test § 3.10 asks for; its structural grep forbids date readers and forbids NOTHING about folder or change-id name, which the delta prohibits in the same breath. A build sorting the ratified group by b.change passes every F1 test. New tree `modified-block-currency-name-order` + T043a/T043b: `add-zz-first` is the DECLARER and therefore the later writer, so it sorts LAST by name and the test fails under name-ascending ordering. Test-only. N8 — A10 (§ 3.7c) re-verdicted `partial`. Its cell claimed "the anchor is asserted against this packet's OWN delta prose" and nothing was: F1's fenced-example test asserts over a fenced block written in its own test body, and the packet sets its two templates out as `- ` BULLETS, which are carriage units the fenced exemption never reaches. T043c reads the real file. B4 — research.md and plan.md QUOTED § 3.2 as hedging "reconstruct … if recoverable, else synthesize faithfully and say so". grep over the ratified packet finds no such words; the phrasing came from the session brief. Removed everywhere, attributed to decision D2 where it lives, and T021 reworded so the fixture README states the true history positively — caught pre-commit, rewritten inside archive commit 38b548d, recoverable at its parent d5f447e — instead of denying a revert no ratified document asserted. B7 — measured the classifier collision rather than assuming O2 worked: the obvious key `"declaration"` matches 3 findings across TWO classes (one marker defect, both blocks of the mutual-declaration pair). T008 now names five keys, each a fragment of one arm's f-string, verified to partition all 24 findings over the eight trees with none in two classes and none in zero. B3 — ten tests had no stage-2 perturbation and T058's prose list never reached them. T011's evidence line now names five perturbations for five tests, and T058 is a 30-row table: perturbation, test that MUST fail. Rows 27 and 30 touch scripts/ and say so — applied in the working step, never committed. B1 — the audit cited a whole superseded task numbering after tasks were renumbered. Every last-column id re-mapped and verified to exist; T023 now checks task-id VALIDITY and the verdict tallies, not just item coverage. B2 — T024 and quickstart § 6 harvested `test_[a-z0-9_]+` over the whole audit, which eats the MODULE basename `test_modified_block_currency` from the prose path: permanently red, and T004 would have sent the implementer to "fix the audit" for a defect in the harvester. Backticked spans only, plus a >30 floor so a regex matching nothing cannot pass. B5 — the provenance template could not satisfy T044: the SHA sat on line 42 and line 3 read "Not synthesized". SHA hoisted into line 3; T044's SYNTHESIZED match is case-sensitive and whole-word; "two lines" vs "three" reconciled. Nits: real byte sizes (228,041 and 50,505, not "279 KB … comparable"); f68261f CLAIMS six body clauses and NAMES five, so the five named are what is asserted; `_units` mirrors the ledger's kind filter (unfiltered gives 24/36 on #329 vs the ledger's 17/28); T058 not T060 is the mutation round; T037 out of the [TEST] list; the count-exception list gets ONE home in data-model.md § 4 with T035's "exactly two body units" added; quickstart § 4 selector reaches T037a and the new tests; T022 discriminates shallow-vs-disagree with `git rev-parse --is-shallow-repository` per test_ideation_readiness.py; A12 clause 7's silence comes from whole-scenario suppression, not from the survivor; T051 drops its duplicate of F1's FAMILY_NOTES assertion; T049/T050 assert non-empty first; the nine-commit figure is re-measured at T002 rather than quoted. N11 — F1's four residues (plus a docstring that undercounts its own fixture) appended to specs/019-modified-block-currency-family/tasks.md, which is where F1's owner reads. No issue filed. Audit now: 18 rows, 8 satisfied / 1 extended / 6 partial / 3 gapped; nine rows for F2 to close. 66 tasks, 31 [TEST], 32 test functions, seven new trees. Co-Authored-By: Claude Opus 5 <[email protected]> * F2 phases 1-3: #351 and #329 frozen in their own text, and nine mutants killed The two defects that motivated `add-modified-block-currency-check` can no longer regress silently. Both fixtures are REAL TEXT recovered from this repository, not shapes: - #351 @ bcfc26a (parent of the repair f68261f, merged 87d0b95 / PR #358). One `warning` naming exactly `The menu offers a routing rule` and `A fourth provider verb is proposed`; one `info` listing 11 of canon's 25 units. - #329 @ d5f447e (parent of the archive 38b548d, merged b03b999 / PR #331). One `warning` naming all seven omitted titles; one `info` listing 17 of 28; canon 8 scenarios and delta FILE 8 — flat, and the family fires anyway. `test_the_reconstructed_fixtures_are_the_history_they_claim` re-derives both from git rather than trusting the files: the delta side byte-for-byte, the canon side scoped to the requirement section, with shallow-vs-disagree told apart by `git rev-parse --is-shallow-repository` per test_ideation_readiness.py. STAGE-2 RED EVIDENCE — nine perturbations applied, each named test failed, all reverted; no mutant survived: 1 restore `The menu offers a routing rule` into the 351 block -> T010 failed 2 delete the broker-lane sentence from the 351 CANON -> T012 failed 3 restore `every loaded editor MUST remain usable` -> T013 failed 4 un-widen the 351 badges bullet to canon's verbatim -> T014 failed 5 rename the 351 fixture repo dir -> T015 failed 6 corrupt one byte of the 351 delta fixture -> T022 failed 7 restore one omitted scenario into the 329 block -> T017 failed 8 add an eighth scenario to the 329 delta FILE -> T019 failed 9 carry canon's `Four of the seventeen` sentence in the block -> T020 failed T014 closes audit row A5(b) on the REAL instance: canon's badges bullet is a strict PREFIX of the block's replacement, and the test checks that prefix relation in its own body rather than claiming it in a docstring — so a fixture edit that broke the premise cannot leave the test passing while testing nothing. That is the packet's § 6.4 residue, the finding PR #358's manual verification reported, and F1 had no end-to-end case for it. Phase 2's harness carries decision O2's partition invariant, and it is measured rather than assumed: `test_the_naive_declaration_key_would_collide` records as an executable fact that keying the marker class on `"declaration"` reaches the mutual-declaration ORDERING finding too, so a later session cannot "simplify" the five keys back into a collision. `_units` mirrors `_arm_ledger`'s kind filter, without which a U-class assertion reads 24 of 36 on #329 where the ledger reads 17 of 28. Suite 1077 -> 1089. The one RED remaining is deliberate: test_the_tree_enumeration_finds_every_tree requires all seven new trees and five are still to come. Co-Authored-By: Claude Opus 5 <[email protected]> * F2 phases 5-8: seven trees, 38 tests, and the mutation round found two tests that asserted nothing All nine non-satisfied audit rows are closed. Suite 1077 -> 1115. THE MUTATION ROUND EARNED ITS PLACE. Thirty perturbations; two of them killed no test, and both were real: - #15 stripped the backticks from `contract-v1.45` in BOTH canon and the block. `test_no_unit_boundary_falls_inside_a_versioned_token` SURVIVED, because it only asserted the token was ABSENT from the ledger — and when a boundary moves on both sides at once, the two halves still match, nothing is reported, and the negative assertion holds. A negative cannot see a symmetric break. The test now asserts POSITIVELY on canon's own derivation: each of the three tokened sentences is exactly ONE body unit with its whole token inside it. - #29 dropped the `kinds` filter from `_units`. Every U-class test SURVIVED, because each re-filters by kind afterwards. Added `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, which parses the arm's OWN stated numerator and denominator out of the finding it emits ("does not carry N of the M body units") and requires `_units` to agree — measured 17 of 28 on #329 where the unfiltered helper gives 24 of 36. After both fixes: 28 of 30 mutants killed, 0 survivors. The two N/A rows are pure test-body assertions with no fixture to perturb, and are recorded as N/A rather than counted as kills. ROWS CLOSED - A3 § 3.3, the one TRUE hole — `merge-gut`. A four-bullet scenario merged away with two bullets carried: the ledger names exactly the two uncarried, the scenario arm is quiet, no marker defect. The companion declares those two in a `Removed from canon` marker (one of them cites `openxFactory`, so its span needs a longer fence) and goes silent — and the silence is PROVEN caused by removing the marker and watching the noise return. - A5 § 3.4 — prefix and both-ends widening (T033), plus the real #351 instance end to end (T014). - A6 § 3.5 — `tokens`: `.openspec.yaml`, `promotion_fidelity.py` and `contract-v1.45` (period between digits, the shape F1 lacked), a three-item bullet list, and a FOUR-sentence dated note restated with its THIRD sentence amended, reported ONCE. - A7 § 3.6 — `rewrap`: a complete restatement re-wrapped at varying widths, one paragraph mid-sentence and one bullet after its `**THEN**`. Returns [], and is shown NOT skipped. - A10 § 3.7c — the form anchor read off the REAL packet file: its two `- ` template bullets are not marker-form. This is what the row claimed and nothing asserted. - A11 § 3.7d — `fence`: the same clause named with a double-backtick fence (suppresses the whole unit) and with a single backtick (names a fragment, suppresses nothing, clause reported). The pair is what makes the rule falsifiable. - A15 § 3.10 — `name-order`: `add-zz-first` DECLARES and is therefore the later writer while sorting LAST by name. The finding lands on its path and names `add-aa-second`'s DELTA as the basis, so the substitution is visible in the finding. Under name-ascending ordering the roles invert and the test fails. - A18 § 3.13 — determinism over all thirteen trees, non-empty first. ONE TASK EXPECTATION WAS WRONG AND IS CORRECTED, not worked around: tasks.md T042 predicted the single-backtick marker would ALSO be reported as a marker defect. It is not, and should not be — the delta reports a marker only where it names a unit the block STILL CARRIES; a name matching no canon unit declares nothing and is silent, per `suppression()`'s three-way resolution. The test asserts the correct behaviour and the fence README explains why. NO MODULE CHANGE. `git diff --stat <merge-base> -- scripts/ openspec/ .github/` is empty. Mutants #26, #27 and #30 edit the module deliberately and are reverted in the same working step, never committed. Co-Authored-By: Claude Opus 5 <[email protected]> * F2 closing: the audit is self-checking, T053 fired nothing, and two verdicts of my own were wrong All 66 tasks complete. Suite 1077 -> 1115 (+38). `openspec validate --all --strict` 75/0, unchanged. Scope diff against the merge-base: empty. THE AUDIT NOW READS ITSELF. Three tests in the new file open contracts/coverage-audit.md and fail on it: every backticked test name it cites must be defined (floor of thirty harvested, so a regex matching nothing cannot pass); all fourteen § 3 items must appear in the `§ 3 item` column with exactly one bolded verdict per row and the four tallies matching the row bodies; and every T0NN in the last column must exist in tasks.md. That third test exists because this audit shipped once citing a whole superseded task numbering. Appending the closing ledger broke two of those three immediately — the ledger cites F2's own tests, and its table repeats the row ids with unbolded verdicts in a different layout, so the harvest and the row count both went wrong. Fixed by reading both test files and by selecting main-table rows on the presence of a BOLDED verdict. A self-check that cannot survive its own file being extended is not a self-check. T053 — NOTHING FIRED, and the scope of that claim is written down rather than implied: the scenario and ledger arms on real historical text; marker suppression in all three branches of its resolution; the `Merged into` titles-only rule; the fence rule in both directions; basis substitution under a declaration; the sentence mask on three token shapes; normalization over a fully re-wrapped block; skip-vs-quiet; determinism and the advisory band over all thirteen trees. No module defect. What was found is F1 DOCUMENTATION residue, already appended to F1's tasks.md. T059's adversarial pass, run rather than described. Its one finding went the other way: tasks.md T042 predicted a marker defect the module correctly does not emit. A name matching no canon unit declares nothing and is silent, per `suppression()`'s three-way resolution. The task was wrong, the module is right, and the task is corrected in place rather than the fixture bent to match it. Also corrected in place: T052 compared against `origin/main`, which had moved 18 commits past this branch's base — so the scope check reported that branch's own progress as 13 files and 2,443 deletions this feature had supposedly made. It now uses `$(git merge-base HEAD origin/main)`, and against that it is empty. The count-exception list in data-model.md § 4 is now the real list, grown by what implementation actually needed: T024's thirty-name floor, T023's eighteen rows and four tallies, T043c's exactly-two template bullets, and the comparison that parses the ledger arm's OWN numerator and denominator out of the finding it emits. 38 count-shaped lines in the test file, every one on that list. pr-body.md states plainly what this does NOT do: it does not close #330, and it proposes no severity flip. STOPPING HERE. No PR opened. Co-Authored-By: Claude Opus 5 <[email protected]> * Implementation-review fixes: a mutation row named the wrong killers, and the count-exception list did not cover its own file Six findings from the implementation review, all documentation. No test, fixture or module byte changed; suite still 1115. 1. Mutation table row 29 named `T012, T020` as killers of "drop the `kinds` filter from `_units`". BOTH SURVIVE that mutation — each re-filters by kind after calling the helper, which is exactly why the mutant survived its first run. The killer is the test the survival forced into existence, `test_the_u_class_helper_reads_the_same_set_as_the_ledger_arm`, and only that one. The row now says so, and says why. 2. Four sites still diffed against `origin/main` — quickstart.md's two scope commands, plan.md's evidence row, and spec.md's SC-010 — while only tasks.md and pr-body.md had been corrected to the merge-base. That branch advances independently, so its tip reports its own progress as 13 files and 2,443 deletions this feature never made. All four now use `$(git merge-base HEAD origin/main)`, and SC-010 states the reason so the next reader does not "simplify" it back. 3. F1's residue header said "Four findings" over five numbered items. 4. The count-exception list was an ENUMERATION of individual assertions, and it did not cover its own file: ~20 of the 38 count-shaped lines mapped to no row, including `len(holders) == 1` — the assertion that kills mutant #15. A list that does not cover the file makes T059 step 2's claim false, and a per-line list goes stale on the next test. Reworded to six declared SHAPES: per-arm cardinality (the ledger's promoted at-most-one rule), vacuity floors, fixture-premise guards, the count that IS the rule, figures parsed out of the arm's own finding, and the audit's structural claims. T059 step 2 now points at the shapes. 5. The #329 tree is deliberately STALE `doc-health` text, and nothing said so. Its canon says "seventeen check families" and its delta restatement says "nineteen" while `families.FAMILIES` registers 22 — so a whole-family sweep over that tree draws 3 `family-enumeration` warnings (the enumeration omitting `duplicate-packet`, `family-enumeration` and `modified-block-currency`, plus both numerals). Measured, not assumed. Inert today: nothing sweeps fixture trees and `test_the_real_corpus_reads_zero_on_both_halves` reads the repository's canon. The README now carries the warning AND the instruction not to refresh the text — its staleness is the historical fact the fixture exists to freeze. 6. T009's signature was missing the `repo` parameter the helper actually takes. pr-body.md refreshed to the final numbers: 1115 tests, 75/75 validate, 7 new trees, 28/30 mutants with 0 survivors plus the reviewer's 10/10, the audit's closing table, and the honesty note that the eight remaining `satisfied` verdicts rest on a human reading of F1's test bodies — if one is wrong, this change ships a hole it believes it closed. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: brettheap <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]>
…, § 8.2, § 8.5) and the RULED four-part floor complete (#1124) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). **`split-opendox-two-layer-product` `tasks.md` AMENDMENT #8 — FIVE ticks (§ 3.7, § 4.5a, § 5.4, § 8.2, § 8.5), and the four-part floor complete.** Branched from the landed `main` at **`fc837dff`** (#1120's squash); `origin/main` merged in at `38f826c2`. **Ledger 59 `[x]` / 12 `[ ]` / 1 `[~]` → 64 / 7 / 1 of 72.** One file. **Exactly five marker changes — § 3.7, § 4.5a, § 5.4, § 8.2 and § 8.5.** Rule 6 applies. > **THE RULED FOUR-PART FLOOR IS COMPLETE.** § 8.2 carries one evidence line per part, and no part stands in for another. ## § 5.4 — FLOOR PART 2 ticks, and the blocker the box itself named is discharged Its own STATUS said (a), (b) and (c) had landed at **#1080 → `4b53ea99`**, and that **clause (d)'s LEG half was blocked on the BUILD arc** — both legs running a named file list under `--noconftest` **with no JUnit and no triple**. Both halves of that blocker are gone. The BUILD arc landed (§ 3.5 on `openDox-code` #25, § 3.6 on #26, both `[x]`), and clause (d)'s **three** pins are in place — *per destination, never as one cross-repository equality*, which is the clause's own rule: | leg | pin | evidence | | --- | --- | --- | | `openDox-code` | `MIN_SELECTED 1076` · `MIN_PASSED 1073` · `EXPECT_SKIPPED 3` | **#29 → `373b05aa`**, run `35398182026` | | `openXdox-code` | `MIN_SELECTED 539` · `MIN_PASSED 533` · `EXPECT_SKIPPED 6` | **#25 → `ab04453d`**, run `35399041710` | | `openxFactory` | its own `pytest-suite.yml` | already pinned — the model the clause names | **Verified in each leg's own workflow rather than taken from the report**: both files carry those pin variables *and quote clause (d) verbatim*, so the shape is the clause's rather than an approximation of it. **Four of four is the clause set, so the box closes.** > **Residue registered, not resolved**: all three of `openDox-code`'s report-producing commands run **named file lists under `--noconftest`**, so `collect_ignore` never applies there, and **26 of the 61 `test_*.py` on disk are collected by no required command**. That does not touch clause (d), which pins what the required job *does* collect — it is booked because a reader could mistake the pinned triple for a statement about the whole tree, and it is not one. ## § 4.5a — ticks on the exit line the box asked for **`OK — 17 of 17`, exit 0**, at `openXdox-code` `3ee8cd31` with the runner at `openxFactory` `eb1880cb` (`#656` `5736681367`), over the BUILD at **#23 → `3ee8cd31`** with admissions rows at **#1091 → `eb2d4569`**. **The bare-checkout precondition is written INTO the evidence line as procedure, not left as a caveat**: the git-pinned `opendox` dependency (`pyproject.toml:106`) must be installed first, or the run exits **2** with `conformance-adapter-unresolvable` before the corpus is reached. > This is **the box's own standard applied to itself**. Its existing parenthetical already refused an abbreviated form of this very command — ***"a command that cannot be run is not exit evidence"*** — when the missing piece was `--dest-root`. The missing piece is now an install rather than a flag, and **the standard does not change with the shape of what is missing.** ## § 3.7 — FLOOR PART 3 ticks: all three destinations pass at a LANDED head *"EVERY DESTINATION PASSES IT"* is the box's own word, and all three now do — **`openxFactory`'s own adapter at `eb1880cb`** (*the only mechanical proof the home corpus has no privileged route*, which is why the box names it separately), **`openXdox-code` at `3ee8cd31`** (`5736681367`), and **`openDox-code` at `93ccc3dd`** — `OK — 17 of 17`, exit 0, transposed and faithful, #31 merged 01:11:53Z (`#656` **`5738152229`**, the re-read AT MAIN). **The pass is quoted at the LANDED commit, not the candidate, on purpose.** `5738117973` recorded the same pass at candidate `776d2a80`, and itself superseded `5736880991` at `474144ef` — **three heads for one destination in a day**. *A pass at a candidate head is a pass at a commit that no longer exists on `main`.* This packet has now had a reader mistaken for a pass, a candidate mistaken for a landing, and a wrong token mistaken for absence, all on this one box. **The durable figure is the corpus digest, not the transposition's revision**: the revision moved again (a fourth distinct value, as it does on every build) while the **key/sha256 table digest `744c9183…` held for the fourth time**. That is what a later reader recomputes. > **Residue registered, not resolved** (`5738108117`): the `core.excludesFile` switch, the corpus-mirroring fixture, the enumerated skip diagnostic. ## § 8.2 — the four-part floor ticks, one evidence line per part **(1) carve manifest** `#865 → 1716748` (454 rows at `carve_commit b075fd9`) · **(2) test mapping** § 5.4 above · **(3) conformance corpus green in every destination** § 3.7 above · **(4) snapshot-equivalence** § 5.5 on the gated runner `#1105 → 0296747` with `#1110` and `#1115`, and per RULED **Q-P4 (a)** that line also says § 4.4's domain profile reproduces `openxFactory`'s own vocabulary. > Listed with their own artifacts because the box's standing objection is that **"none of these is 'the tests passed'"** and that no part substitutes for another. Two single-instrument alternatives were rejected on the record; **a tick quoting one artifact four times would be the same mistake wearing a different hat.** ## § 8.5 — TICKED on HOLDER RULING `5738064190` Amendment #7 reported two destination halves missing. **They were missing from the *ledger*, not the corpus.** All four are named now — § 6.1 `openXdox-spec` **#15 → `f088b097`**, § 6.3 `openDox-spec` **#13 → `3b7f80c4`**, § 6.4 **#12 → `edeed08c`**, § 6.5 **#14 → `66d59778`** — plus § 6.2's forward half at `openDox-spec` **#15 → `8fe8c4c7`**. **Clause (a) is closed**: amendment #7 reported two destination halves missing — **they were missing from the *ledger*, not the corpus**. All four are named (§ 6.1 `openXdox-spec #15 → f088b097`, § 6.3 `openDox-spec #13 → 3b7f80c4`, § 6.4 `#12 → edeed08c`, § 6.5 `#14 → 66d59778`), plus § 6.2's forward half (`#15 → 8fe8c4c7`) and the aggregation side (`xFactory #454 → 0b0c88f4`). **Clause (b) is RULED — Reading B** (`#656` `5738064190`): *"first"* means **before this packet's own archive (§ 8)**, the only ordering the ratified text states (`specs/ideation-dashboard/spec.md:88-90` orders *this change* against the five, not the five among themselves) and the one § 6.2's own box already names, *"Sequenced BEFORE § 8"*. **Reading A — before the other four — is refuted by the record**: § 6.2's `#1066` merged **20:24:53Z**, LAST of the five (`#1056` 10:50:06Z, `#1057` 13:31:51Z, `#1060` 17:30:27Z, `#1065` 17:54:08Z). **The box's wording is sharpened** to *"…on its own evidence **before this packet's own archive (§ 8)**"*. The word *"first"* was **the ledger's own** — absent from the ratified source sentence at `proposal.md:476` and from every `specs/` delta — so the ruling settled *which evidence line satisfies a box*, not what a requirement means. > Both readings are kept on the page with the merge times that decided between them. **A ledger that shows only the reading that won teaches nothing about why the other lost**, and this box will be read again by someone facing the same kind of call. ## Five follow-up landings, none moving a box * **§ 3.6** — `openDox-code` **#30 → `5c867137`** takes the seven findings #26 registered plus eight cases; **follow-up 2 in flight** (linked-worktree descriptor binding, RULED `5736683962`; `RefusedError` → 409; fallback narrowing; mismatched-DB cases). * **§ 5.5** — **#1115 → `4101fbe9`** takes the eight hardening items; two residues registered (`:608` wording, `sys.pycache_prefix`, `5736824535`). * **§ 3.7 openDox side** — `openDox-code` **#31** open at `4b9714d0`. * **Q-A2** — folded into `openXdox-code` #25; opened and closed in one line, which is the only honest way to record something that never reached the page while it was open. * **§ 5.6 Phase 0 has landed, and it landed itself** — `codexFactory` **#491 → `b21f0100`** regenerated the floor block (62 → 63) at 22:50:17Z, and the repin **#1122 → `38f826c2`** advanced the pinned decision core to it at **2026-09-19T00:53:37Z**. *Corrected against the report, which had #1122 open with auto-merge armed: it is merged and on `main`. An armed auto-merge can land without anyone watching, so its state is worth reading rather than inferring.* ## Gates `openspec validate … --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean** · `verify-opendox-pin.py` **OK**. **AFTER THIS HEAD — REGISTERED, NOT PUSHED** (comment `5738349034`; all of it folds at amendment #9, because this amendment's head-moving budget is closed and none of it shows a tick is wrong): § 5.6's registered residue is CLOSED and **PHASE 0 IS COMPLETE** — `openxFactory` **#1123 → `8184d74a`** landed **01:27:44Z**, after `codexFactory` #491 → `b21f0100` and `openxFactory` #1122 → `38f826c2`; the `opensoft/xFactory` aggregation re-sync (**R-5**) is registered for Brett's word, and Phase 1 still waits on this packet's own archive (RULED **Q-D1 (a)**). § 3.6 follow-up #2 landed — `openDox-code` **#32 → `d816cf06`**, `mergedAt` **01:30:28Z**. The assembly roots now name every landed leg — `opensoft/openXdox` **#12 → `9be407bd`**, `opensoft/openDox` **#10 → `d05e204e`** — and the `dox-v1.0` / `xdox-v1.0` cuts are **Brett's act** (runbook § 9 Phase 6), which is why **§ 3.8 and § 4.6 stay `[ ]` here**. Copilot's one finding (`r4051734088`, the same discussion at all three heads) is **answered by measurement and resolved**: the install step it asked § 4.5a for is checked in — `openXdox-code` `.github/workflows/validate.yml:58-59`, `python -m pip install -e ".[test]"` against `pyproject.toml:106`'s pinned `opendox` — and it does not falsify the exit line the box ticked on. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…closes, and § 7.4's clause (iii) is evaluated and refused (#1125) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Refs #656 (stays OPEN). **`split-opendox-two-layer-product` `tasks.md` AMENDMENT #9 — NO TICKS: five STATUS records, one text fold, and one evaluation that comes back NO.** Branched from the landed `main` at **`3e3b4587`** (#1124's squash). **Ledger unchanged at 64 `[x]` / 7 `[ ]` / 1 `[~]` of 72.** One file, **zero marker changes**. Rule 6 applies. > **The one thing in here that is a DECISION and not a record**: § 7.4's clause (iii) was evaluated against the landed runtime and **refused**. The conservative direction needs no ruling to stand; ticking it would. ## § 7.4 — clause (iii) evaluated, and the box still does not tick The blocker § 3.5 named — its item (4), the `OPENDOX_SERVED_DATABASE` declaration — **has landed**: `openDox-code` **#30 → `5c867137`** (2026-09-18T22:12:50Z). Measured in that diff, not taken from the report: compose sets `OPENDOX_SERVED_DATABASE: ${OPENDOX_PG_DB:-opendox}` from the same value the bundled server takes (it had shipped as `${OPENDOX_PG_DB:-}` beside a service declared `POSTGRES_DB: ${OPENDOX_PG_DB:-opendox}`, so the guard was a no-op in exactly the shape it was added for); the migration Job compares the declaration against `current_database()` and **refuses** when they differ; the `managed-database` overlay must name the managed database in its own literal. **That is one instance bound to one declared database. It is not a tenant.** | the box's word | what exists at `openDox-code` `d816cf06` | | --- | --- | | *"The per-tenant install"* | no `config/` path **at all** — none of the `config/clients/<client>/` per-client instance trees `design.md` § D7 names as part of *"the shape openDox copies (Q2)"* | | (D) *"no second tenant to **describe**"* | no tenant identifier anywhere; the two overlays are `dev` and `managed-database` — an environment and a provider shape | | Q3's boundary | stated as a **reason**: `migrations/0001…sql`:100-104 invents *"no organization or tenant table"* because the boundary is physical; `:79-82` puts coordination *"in a database every tenant install has"*; `overlays/dev/kustomization.yaml`:1-2 calls itself *"the shape a real one (a QA cluster, a tenant install) takes"* | **Both readings are written into the box rather than one being quietly chosen.** *Reading A (structural)* — (iii) is satisfied when the realization exhibits the per-tenant shape, and it now does. *Reading B (install)* — (iii) is satisfied by a **committed tenant install**, this packet's own words (`design.md` § D7: *"a committed TENANT INSTALL is a profile artifact, which is what reconciles Q3's commissioned descendants with the standard's own laziness rule"*), and nothing satisfies it today. **This amendment takes B.** Ticking on A is the **holder's** call under the § 8.5 clause (b) precedent — no ratified requirement's meaning moves either way, only which evidence line satisfies a ledger box. **What remains is not this lane's**, which the ruling narrowed to (E): the `dox` workload set's per-tenant declaration is `opsXfactory-3`'s (claim `5638511222`); the DNS reach widening is `opsXfactory-4`'s ACTIVE `add-governed-dns-administration` (OQ-E word `5649809425`); (A)'s Non-goal contradiction stays recorded for a later act that CLAIMS the delta; and a committed tenant install would be authored in the `[OmI]` `[Opsx]` install repositories, not in `openDox-code`. **Measured on the way** (`design.md`:708-712): *"in both cases"* means **Case A / Case B** — Opensoft operates it under the operator vault, or the tenant operates it under its own provider — **not** the two products. The box's one-line summary reads either way, so it is written down. ## §§ 3.8 / 4.6 — the roots land; what the boxes ask for is the TAG, and there is none | root | pin advance | gate | | --- | --- | --- | | `opensoft/openDox` **#10 → `d05e204e`** (01:38:50Z) | `code` `0b4e8bbf` → **`d816cf06`**, `spec` `a8f5eb73` → **`8fe8c4c7`** | `validate` pass, SonarCloud pass | | `opensoft/openXdox` **#12 → `9be407bd`** (01:38:39Z) | `code` `2529c10a` → **`ab04453d`**, `spec` `ae59dfa5` → **`f088b097`** | `validate` pass, SonarCloud pass | **The green is not vacuous**: a negative control on each root moved the gitlink with the pin left behind and exited **1** with `pin-gitlink-mismatch` AND `pin-digest-mismatch`. **Measured: zero tags in either root.** The cut is **Brett's act** — runbook § 9 Phase 6, *"BRETT'S ACT, ALWAYS"*; no workflow makes these tags and neither root has a `release-tag-gate`. **RULING NEEDED: `#656` comment `5738327369`.** RULED OQ-N still stands — § 3.8 cannot close inside § 3. **Registered, not taken — a three-repository lockstep**: advancing `openxFactory` to openDox's new root needs `openxFactory`'s `openDox` gitlink, `openxFactory`'s `contracts/opendox-pin.yaml` and the **`opensoft/openXdox` ROOT's** `contracts/opendox-pin.yaml` in ONE landing (`verify-opendox-pin.py` check 5 reads the third as a blob at whatever commit the `openXdox` gitlink names). All three read `c4c5014d` today, measured. *The third file is in the ROOT and not in `openXdox-code`, which carries no `contracts/` directory at all.* ## § 5.6 — the residue closes, and the superseded sentence keeps its clocks `openxFactory` **#1123 → `8184d74a`** (01:27:44Z) closes the residue, so **Phase 0 is three landings**: `codexFactory` #491 → `b21f0100`, `openxFactory` #1122 → `38f826c2`, and this. **R-5** (the `opensoft/xFactory` re-sync) is registered for Brett's word in the same RULING NEEDED; **Phase 1 still waits on this packet's archive**, RULED Q-D1 (a). > The old sentence is **kept**, not corrected in place, and its three clocks are the reason: written at #8's head `0cba2113` (**01:15:13Z**), superseded at **01:27:44Z**, landed in #8's squash `3e3b4587` at **01:45:50Z** — *already eighteen minutes stale at the moment it landed*. A ledger that lands slower than the estate moves will do this again. ## § 3.6 and § 4.5a **§ 3.6** — follow-up 2 landed: `openDox-code` **#32 → `d816cf06`** (01:30:28Z), triple **1099 / 1096 / 3** measured in `validate.yml`:2027-2030 rather than taken from the report; the `#29`/`#31` hygiene PR is registered as residue, not an obligation. *Amendment #8's "open as a DRAFT at head `b7d9d7a9`" stays true of that head — a dated claim, not a stale one.* **§ 4.5a** — the install command Copilot asked for on #1124 (`r4051734088`, answered at `4051845755`, thread resolved) is folded in: `openXdox-code` `.github/workflows/validate.yml`:58-59, **`python -m pip install -e ".[test]"`**, Python 3.12, against `pyproject.toml`:106's pinned `opendox`. **A named precondition is not yet a procedure** — the box's own standard, applied to the box. `openspec validate … --strict` **valid** · `proposal-support.py verify` **ok** · `validate-sequenced-after.py --ledger-diff` **clean** (222 rows) · `verify-opendox-pin.py` **OK**. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…rc edits at the committed pins (#1183) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Bookkeeping only (T007 batch E). Records, in #1144's (`add-neutral-product-standalone-operability`) `tasks.md`, every path phase 1 has actually moved, edited or found for F11.1's `COMPOSITION_TESTS` named set (introduced by batch A, `5817152735`, Ruled R1Q2 (a), R1Q22 (a)), now that the full committed-pin measurement is in. Brett ruled this batch's own landing shape on `#656` comment `5856475254` ("P1-K's three questions", finding 3: *"It lands as a bookkeeping PR with batch E, before T047"*), and his speed-up ruling (`5857365170`) named it as one of three things authored ahead of its last inputs ("Draft ahead in phase 1"). **Every input is now landed and MEASURED; no red is unaccounted for — but the guard-code mechanism for one class of them is a separate, still-UNRESOLVED question this PR does not answer (see item 4 below).** T034 (openDox-code#50 → `71b631bc`), T035 (openDox-code#51 → `80acead1`), T039 (openDox#13 → `663ac683`, pinning `code` to `2d116415`) and T044 (openXdox-code#33 → `6158151e`) have all landed. P1-K's writer (openxFactory#1181) then ran `pytest tests/ -q -m "not postgres"` at those committed pins: 266 failed, 1 collection error with #1181's host wiring alone and nothing else (run T1); 8886 passed, 6 skipped, 0 failed, 0 errors at #1181's fixing commits merged with `main` `e369cb25` (run T4, head `f79a72f3`) — the same 6 skips `main` has. Every one of the 267 committed-pin reds is one of the causes below — that inventory is closed. What is NOT closed: 7 of those causes are arc edits this PR admits but cannot yet route through F11.1's guard (item 4); that gap is unresolved bookkeeping, left for T045/T093/T094 or a further ruling, not silently assumed solved. (T044 supplies no composition-test path: its declared exclusion, at the triple 885/881/4, is entirely openXdox-code's own.) **What this PR adds**, as one continuation paragraph after batch A's, at 11.1 / F11.1: 1. **Four paths join `COMPOSITION_TESTS`** — batch A's original two, unchanged, plus P1-K's two, each re-described here at the fuller cause its writer's measurement found: - `tests/ideation-dashboard/test_authoring_classify_derivation.py::test_the_gate_reaches_the_corpus_only_through_the_two_public_names` — at the pinned leg it binds no name out of the adapter package (`bound == []`, was `["home_corpus"]`), plus a new assertion on the two public names it takes from the interface module instead (`sorted(interface) == ["DocumentId", "home"]`). - `tests/ideation-dashboard/test_doxbench_status_exemption.py` — TWO edits, not one: (i) the dependence-on-the-carved-rail assertion moves from "exactly one import" to `seam_lines == []`, plus a new assertion naming the rail's only readers; (ii) a separate collection error the committed-pin run alone found (an import the local conftest can't resolve), fixed by lending two names onto that conftest inside a `try`/`finally` that removes them again straight after. Both files stay in `tests/ideation-dashboard/`, are edited, not moved or created, and each pins something openDox- or openXdox-owned, so both are compositions in the deep sense, not only the structural one. 2. **Six more paths — T034's two, T035's four — do NOT join `COMPOSITION_TESTS`, correcting this batch's own earlier, WRONG proposal.** This batch's first draft put all six destinations under `tests/ideation-dashboard/`, naming each in `COMPOSITION_TESTS`. **P1-K's writer's measurement found that proposal INFEASIBLE, not merely unwise**: `scripts/validate-carve-manifest.py` REFUSES `carve-file-undeclared` for any NEW file under `tests/ideation-dashboard/` — the carve's `moved_paths:` surface already covers the whole directory, closed to undeclared arrivals. The six land under `tests/domain_profile/` instead (same basenames, verified directly on #1181's head), which needs no `COMPOSITION_TESTS` entry at all: `tests/domain_profile/` is already `HOST_TESTS`, F11.1's SECOND declared surface, covering every path under it unconditionally, new or edited. - `tests/domain_profile/test_outline_template_agreement.py` — T034's outline case. - `tests/domain_profile/test_memory_gateway_roster.py` — T034's three memory-gateway cases. - `tests/domain_profile/test_workbench_manifest_validation.py` — T035, 3 cases. - `tests/domain_profile/test_workbench_scoped_doc_health.py` — T035, 3 cases. - `tests/domain_profile/test_session_worktree_book_scan.py` — T035, 2 of its 3 proposed cases. `test_worktree_container_is_gitignored_in_the_aggregation_repo` is HELD OUT: it SKIPS wherever no aggregation checkout exists (every CI run), and landing it would move `pytest-suite`'s `EXPECT_SKIPPED` from 6 to 7. Held, not decided against. - `tests/domain_profile/test_doxbench_chat_ceiling.py` — T035's one moved case, plus one it adds fresh. T035 (openDox-code#51 → `80acead1`) moves nine cases and adds one fresh across these four destinations, not eleven — the corrected count, after holding one case out. 3. **T035's fifth destination, `test_hermeticity_probe_routes.py`, still does NOT join anything here** — reaffirming this batch's SECOND answer to T035's open question (reversed from its first, on an earlier Copilot finding at this PR — see the branch's commit history; do not re-admit without re-deriving the reasoning). It pins nothing about the composition; it lands as a plain, non-`Arc:`-trailered openxFactory test in its own PR (T066's precedent), unclaimed as of this writing. P1-K's writer's measurement found it already: two of its three cases fail today and the third passes, all through `tests/notebooklm/test_hermeticity_guard.py:87`'s stale `find_spec("ideation_dashboard.workbench")` probe — a separate `EXPECT_SKIPPED` question that PR must answer, not this one. 4. **Seven paths sit on NO F11.1 surface at all, and each is an ADMITTED arc edit, not a composition test.** `5856475254` items 1-2 name the first two; P1-K's writer's committed-pin measurement found the other five. Every one is admitted IN PRINCIPLE — no further ruling is needed before T047 lands them — but each still needs a GUARD-CODE mechanism this PR records the NEED for and does not itself supply: - `scripts/route_extension.py` — openDox-code#40 (T010, `0f10b1f5`) changed the blob from `34802071…` to `7781665d…` (62817 bytes, `sha256:d81124e62dba9df33abe44f3eb467188c98156f002cc7a92e297cd689da87515`), so both carved replicas of the route-extension seam were stale. **260 of the 267 committed-pin reds share this ONE cause** (`AttributeError: module 'route_extension' has no attribute 'collect_handler_contributions'`), across 11 files including both `COMPOSITION_TESTS` paths above (an ordinary edit inside a composition each already admits, not a new cause). T047's resync (`4303e67c`) cures every one. openxFactory's copy is a `not_moved / replicated_at_destination` row (`docs/opendox-carve-manifest.yaml:2993-2996`) whose ONLY field is `evidence:` — verified directly on #1181's resync commit: the row is LEFT UNTOUCHED, no `edits:` block added. R1Q22 (a) removes the need for a separate ruling before the resync; it does not by itself make F11.1's guard admit the path, and the row's `edits:` grammar (RULED Q-L7 (a)) would in any case only cover lines permitted to diverge from the blob AT THE CARVE COMMIT, narrower than a wholesale resync. openXdox-code's twin replica has already LANDED the same resync (openXdox-code#29, merged `d84b5048`), re-verified directly on that repo's `main` today at `6158151e`. - `scripts/sync-notebooklm-books.py` — its `--session-ref` path now calls `register_openxfactory()` before reaching `workbench.session_documents` (`4303e67c`, the same commit as the resync above). No carve-manifest row, no current surface. - `scripts/ideation_dashboard/dashboard_refresh_lane.py` and `tests/ideation-dashboard/test_dashboard_source_seal.py` (paired): two cases broke when openxFactory#1166 merged with T046 — `opendox_host.seams()` imports four modules the seal's `RENDER_UNIT_IMPORTS`/`RENDER_LEG_MODULES` didn't yet name. Fixed (`b05175f7`) by adding all four. **Red at ANY pin** — a standing gap #1166 left, found only because this measurement ran the whole suite. - `tests/openxdox_pin/test_openxdox_pin_verifier.py::test_ruling_q7_two_direct_upstreams_in_lockstep` — a snapshot literal that its own comment says moves on every pin bump. - `docs/opendox-carve-admissions.yaml` and `tests/carve_arrival/test_verify_carve_arrival.py` (paired): the arrivals registry gains `created:` entries for every file this PR newly places under a declared surface, and its own verifying suite moves with it. **UNRESOLVED, plainly**: no guard-code mechanism exists yet for any of these seven. F11.1's falsifier, as it stands, still checks only batch A's original two-path `COMPOSITION_TESTS` set (item 1 above widens it to four); it has no branch that admits a `route_extension.py`-shaped or `sync-notebooklm-books.py`-shaped edit at all. T045, T093 and T094 (or a further ruling, where a mechanism needs Brett's word) must choose how the guard admits these seven before T047 can pass F11.1 clean — this PR records only that each edit is admitted IN PRINCIPLE, and why, not the mechanism, and does not itself close that gap. 5. **A carried-over risk, recorded and not actioned** (T035's "Notes for the destinations," none of which blocked T035 itself): openxFactory's OWN `tests/hermeticity.py` runs the same `find_spec` seam-probe SHAPE T035 just retired in openDox-code's copy; it resolves today only because `scripts/ideation_dashboard/` still sits in this tree. No phase-1 task removes that directory, so nothing acts on this now — T035's own words are the flag for whichever future task does. Once T045, T093 and T094 land it, `COMPOSITION_TESTS` reads (unchanged in SIZE from batch A's own first proposal, though not in content): COMPOSITION_TESTS = { "tests/ideation-dashboard/test_extension_point_parity.py", # batch A "tests/ideation-dashboard/test_serve_column_split.py", # batch A "tests/ideation-dashboard/test_authoring_classify_derivation.py", # P1-K (#1181) "tests/ideation-dashboard/test_doxbench_status_exemption.py", # P1-K (#1181) } This bookkeeping amendment does not itself touch the executable Python in 11.1's falsifier — it still checks batch A's two-path `COMPOSITION_TESTS` set until T045, T093 and T094 land the widened one. No requirement or scenario text is touched, and no box is added or removed. Every fact above (blobs, byte counts, digests, PR/merge states, node-id counts) was verified directly against each repository and against P1-K's writer's `PROGRESS-T047.md`, not merely quoted from a PR body. **Review history** (so the next reader doesn't have to reconstruct it): six Copilot rounds so far, all found and fixed real issues — a stale description/count/heading (round 1); an overclaimed "no new declared surface" for the two admitted arc edits when no guard mechanism actually exists yet (round 2); an overbroad admission of a non-composition test into a permanent allow-list, reversed (round 3); a moved-versus-added case count (round 4, superseded outright by the committed-pin restructure above — those cases no longer join `COMPOSITION_TESTS` at all); this description having fallen out of sync with the task text's final classification (round 5); and this same round-5 review's second half — this description read "nothing is still open" where the guard-code mechanism for 7 admitted edits plainly is still open — fixed by qualifying the opening claim to the measurement only and adding an explicit UNRESOLVED callout at item 4 (round 6, this revision). Every thread replied to with evidence and resolved. **Ruled**: R1Q2 (a), R1Q22 (a), `5817152735`; the specific paths and edits, `5856475254` and T035's own hand-off (openDox-code#51); this batch's own landing shape, `5856475254` finding 3; drafted ahead per the speed-up ruling, `5857365170`. **Claim**: `#656` comment [5857465385](#656 (comment)). **Landed inputs, verified directly (not just quoted):** - T034 → openDox-code#50 → `71b631bc` - T035 → openDox-code#51 → `80acead1` - T039 → openDox#13 → `663ac683` (pins `code` to `2d116415`) - T044 → openXdox-code#33 → `6158151e` - P1-K → openxFactory#1181, committed-pin run T1 (266 failed/1 error) and run T4 (8886 passed/0 failed at head `f79a72f3`) - openXdox-code's route_extension.py resync → #29 → merged `d84b5048`; still present at `main` `6158151e` Validated from the openxFactory root, at this branch's head (merges current `main` `e369cb25` in): - `OPENSPEC_TELEMETRY=0 openspec validate add-neutral-product-standalone-operability --strict` → `Change 'add-neutral-product-standalone-operability' is valid` - `python3 scripts/validate-openspec-cli-pin.py --all` → `Totals: 110 passed, 1 failed (111 items)`; that one finding is the pre-existing dispositioned exception `add-chain-attestation` (accepted by Brett Heap, 2026-09-05) — 0 UNDISPOSITIONED failures, identical to `main`. - `python3 scripts/doc-health.py --single-repo .` → report **byte-identical** to the same run on `main` `e369cb25` (detached-HEAD comparison), 0 new regressions. This PR touches only `openspec/changes/add-neutral-product-standalone-operability/tasks.md`, so it lands under a Rule 6 `LANDING`/`LANDED` window; the holder's lander merges it. No `Arc:` trailer (R1Q20 (a)), no closing keyword. Batch E lands BEFORE T047. The holder posts READY. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
…57e2b8f2, with T045 and T046's host wiring (plan 034) (#1181) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Arc: neutral-product-standalone-operability **T047, and it stays DRAFT.** This PR is plan 034's task **T047**: phase 1's consumer pins, carrying the host wiring of **T045** and **T046** (slice P1-K) as T047's task text requires (*"openxFactory then moves both pin pairs in ONE PR, which also carries T045 and T046"*). Per `#656` comment `5856475254` finding 3, it lands after T007 batch E (#1183). Batch E has now landed as `b9742534`, and it is merged into this branch at `96ca2b06`. - **Plan**: `specs/034-opendox-standalone-operation/tasks.md` at `main`. The T045–T047, T090 and T092 lines are unchanged since `468863d1` (checked at `main` `e369cb25`). - **Claim**: T047, `#656` comment `5873306432` (P1-K's was `5852803348`). - **Ruled**: R1Q1 (a), R1Q2 (a), R1Q4 (a), R1Q9 (a) (`5817152735`); P1-K's three questions, all (a) (`5856475254`). - **Rule 6**: the net diff against `main` touches no `openspec/` path. The `openspec/` changes on the branch are all main's, merged in: batch B (#1194) at `f79a72f3`, and batch E (#1183) at `96ca2b06`. Both touch `openspec/changes/add-neutral-product-standalone-operability/tasks.md`. - **Landing order, done**: - Batch E has landed (`b9742534`). - opensoft/openXdox#20 has landed, squashed to `57e2b8f2`. - `1a32fe8d` re-points this PR's `openXdox` gitlink and `contracts/openxdox-pin.yaml` to that LANDED sha (runbook § 3 step 1: *"NEW_SHA must be on opensoft/openXdox main"*). - The PR stays DRAFT until the coordinator marks it READY. ## The pins: both pairs in ONE commit (`b4e701cb`) | pair | gitlink | pin file `commit:` | `digests.tree_sha256` | | --- | --- | --- | --- | | openDox | `dc7aa08f` → **`663ac683`** | same | `adc049c9…7cee` → **`ec826603…9d5d`** (28 records) | | openXdox | `069fe471` → `6495ba98` (`b4e701cb`) → **`57e2b8f2`** (`1a32fe8d`) | same | `3ad15b72…3b48` → `ff568ab3…8e31` → **`e52c1383a0fcc71a4abd7fa75821f6f2473c52ac1211e448acf0a2ba0c1a6390`** (29 records) | - `663ac683` is openDox root `main`, two commits ahead of `dc7aa08f`: - opensoft/openDox#12 (`36ded1cd`) changes only `contracts/CHANGELOG.md`; - opensoft/openDox#13 (`663ac683`, T039) moves `code` `d816cf06` → `2d116415` with `contracts/code-pin.yaml`. Nothing else changes. `dox-v1.0` still tags `dc7aa08f`, which is an ancestor of `663ac683`. - **`57e2b8f2` is opensoft/openXdox `main`, where #20 squash-landed.** - #20 moves `code` `e28930bf` → `6158151e`. That is openXdox-code `main` after #29–#33, which are T040–T044; T044 landed as #33 → `6158151e`. - #20 also moves `contracts/opendox-pin.yaml` `dc7aa08f` → `663ac683` (T090 step 5). - `b4e701cb` pinned #20's head at the time, `6495ba98`. - `1a32fe8d` re-points to the landing. Its tree is #20's final head, `4b7555f3`, whose two review commits change only `contracts/CHANGELOG.md` and `contracts/manifest.yaml` prose. So only the digest moves, and the derived `contracts/opendox-pin.yaml` is the same blob. - Every digest was recomputed three ways, with controls on the old values: `repo_shape.tree_digest`, an independent `ls-tree` + `sha256`, and the forge's tree listing. `57e2b8f2`'s digest was recomputed the same way. - **Why one commit and not "one commit each" (T090 step 6).** The runbook's § 4 comparison prints `DIFFERENT`: `openXdox@6495ba98 derives openDox 663ac683c04c…; this repository pins dc7aa08fe48c…`. So § 3 step 8 moves the openDox pair *"in the SAME commit"*. Each pair still moves as one unit (box 9.5). Split, the first commit would fail `verify-opendox-pin.py` check 5. **The holder confirmed the single commit** (answer 1 below). This PR therefore deliberately departs from T090 step 6's "one commit each". - The re-point, `1a32fe8d`, moves the openXdox pair alone. At `57e2b8f2`, § 4 prints `openXdox@57e2b8f2 derives openDox 663ac683…; this repository pins 663ac683…`, so the openDox pair does not move. - Both pin files are edited in place, keeping 216 and 154 lines. The openDox `migration:` triple keeps `range` and `reversible` (`2d116415`'s `migrations/` holds the same two files). Its `runbook` names the new code leg. The block is identical to openXdox's derived copy, which `tests/opendox_pin` asserts. - **Gates**: - At `96ca2b06`, `verify-openxdox-pin.py` prints `OK openxdox-pin verified: openXdox@57e2b8f2…, gitlink read from HEAD`, with digest `e52c1383…`. - `verify-opendox-pin.py` prints `OK … openDox@663ac683…, lockstep with openXdox confirmed`. - On the staged index before `1a32fe8d`, both printed `OK`, the openXdox one reading `gitlink read from the index`. - In the openXdox root, `make pins` and `make validate` exit 0 at `4b7555f3`, whose tree `57e2b8f2` carries. ## What else it carries | commit | what | F11.1 surface | | --- | --- | --- | | `b31829d3`…`c4dcaba8` | P1-K's host wiring (T045, T046): below, under "History" | HOST, HOST_TESTS, batch A's two COMPOSITION_TESTS | | `4303e67c` | `scripts/route_extension.py` resynced `34802071` → `7781665d` (62817 B, sha256 `d81124e6…87515`). `scripts/sync-notebooklm-books.py`'s `session_source_set()` calls `opendox_host.register_openxfactory()` first. A test holds that order. | named arc edits, `5856475254` items 1–2 (batch E) | | `7cd76cdb` | T034's 4 moved cases and 9 of T035's 13, in six files under `tests/domain_profile/` | HOST_TESTS | | `e54d8253` | 37 `created:` admissions in `docs/opendox-carve-admissions.yaml`, pinned in `tests/carve_arrival` | **none**: batch E admits it (answer 2) | | `a5898490` | the two batch-E composition tests, each moved to the seam phase 1 put in place | batch E's COMPOSITION_TESTS | | `b05175f7` | two tests that record the pins' own values: the openXdox pin suite's snapshot literal, and the seal's by-name leg modules (with the lane's `RENDER_LEG_MODULES`) | **none**: batch E admits it (answer 2) | | `f79a72f3` | merge of `main` `e369cb25` (batch B, #1194) | none (main's own change) | | `42a998dc` | `scripts/opendox_host.py` names the home seam as the one seam that overwrites, and says why that overwrite never reaches another host's home (Copilot, at `f79a72f3`). Two subprocess tests pin both cases. No behaviour change. | HOST, HOST_TESTS | | `16134cc9` | `register_seams()` checks every declared seam's take-back calls before anything is written, so a later refusal's take-back never meets a missing call (Copilot, at `42a998dc`). One parametrized test with four cases. No change at the pinned leg. | HOST, HOST_TESTS | | `1a32fe8d` | the re-point: the `openXdox` gitlink and `contracts/openxdox-pin.yaml` move `6495ba98` → `57e2b8f2`, #20's landing, with the new `tree_sha256`. The file keeps 154 lines. | PIN_PAIRS | | `96ca2b06` | merge of `main` `b9742534`: #1195 (the hermeticity probe; `EXPECT_SKIPPED` 6 → 5) and batch E (#1183) | none (main's own change) | | `091a32f9` | a clean-interpreter test of the standalone NotebookLM sync (Copilot, at `96ca2b06`). Loading the script imports neither `opendox` nor the host. The first `session_source_set()` installs the pinned reach, registers, and reads; the second reads the same documents through the same profile. It catches both planted breaks. The measurement is in comment `5880677597`. | HOST_TESTS | | `6de2b407` | `test_workbench_manifest_validation.py`'s import-time resolution answers None for `CarveReachUnavailable` (a leg not on disk), so its three cases skip rather than failing collection (Copilot, at `091a32f9`). Two tests pin it. | HOST_TESTS | **The `route_extension` row has no note to extend.** Batch E admits the resync *"provided the row's `note` is EXTENDED, never rewritten"*. The row (`docs/opendox-carve-manifest.yaml:2993`) is `not_moved / replicated_at_destination` with no `edits[]` entry at all, so it has no `note`. F11.1's content check refuses any other field change, so the manifest is untouched. Its `evidence` records the `carve_commit` blob, which is still true. Batch E records the unchanged row (answer 2). ## The falsifiers, at the COMMITTED pins T047's falsifiers are `make pins` in the openXdox root, `verify-opendox-pin.py` and `verify-openxdox-pin.py` (all above), and `pytest-suite`. Every run below is the `pytest-suite` step exactly: `pytest tests/ -q -m "not postgres"`, Python 3.12.3, the hash-pinned lock, node 24, `PINNED_CORE_CHECKOUT` at codexFactory `b21f0100`. It runs in a checkout named `openxFactory`, whose gitlinks are the committed pins, recursively initialized: openDox/code `2d116415`, openDox/spec `8fe8c4c7`, openXdox/code `6158151e`, openXdox/spec `f088b097`. This is the first run that can adjudicate `tests/snapshot_equivalence/`, and it passes 115 of 115. | run | tree | result | | --- | --- | --- | | T1a | the pins commit alone, `b4e701cb` (with P1-K's wiring) | **interrupted: 1 error during collection** | | T1 | the same, with `--continue-on-collection-errors` | **266 failed, 1 error**, 8547 passed, 6 skipped | | T3 | `b05175f7` | **8886 passed, 6 skipped, 0 failed, 0 errors**, 412 subtests (JUnit counts 9304 = 8886 + 6 + 412) | | T4 | `f79a72f3` (adds main `e369cb25`) | **8886 passed, 6 skipped, 0 failed, 0 errors**, 412 subtests | | CI | `f79a72f3` | `pytest-suite`: `8886 passed, 6 skipped`, read as `selected=9304 passed=9298 skipped=6 failures=0 errors=0`; floors met with margin 2254, `skipped==6`. All 12 checks pass. | | CI | `42a998dc` | `openxdox-consumer-gate` passes (105/105/0 and 1480/1480/0), and so do the other checks. | | CI | `16134cc9` | **All 12 checks pass.** `pytest-suite`: `8892 passed, 6 skipped` (the six added cases), read as `selected=9310 passed=9304 skipped=6 failures=0 errors=0`, with margin 2260 and `skipped==6`. `openxdox-consumer-gate`: 105/105/0 and 1480/1480/0. Copilot's review here has no findings. | | T5 | `96ca2b06` (head: the landed pin, with main `b9742534`) | **8896 passed, 5 skipped, 0 failed, 0 errors**, 412 subtests. The consumer gate chain: both verifiers `OK`, 105/105/0, 1480/1480/0. | | CI | `96ca2b06` | **All 12 checks pass.** `pytest-suite`: `8896 passed, 5 skipped`, read as `selected=9313 passed=9308 skipped=5 failures=0 errors=0`, with margin 2263 and `skipped==5`. `openxdox-consumer-gate` passes. | | CI | `6de2b407` (head) | **All 12 checks pass.** `pytest-suite`: `8899 passed, 5 skipped`, read as `selected=9316 passed=9311 skipped=5 failures=0 errors=0`, with margin 2266 and `skipped==5`. Copilot's review here: "Needs a closer look", with no findings and no open thread. | - **The skips are main's own, node for node.** - Through `16134cc9` there were 6. T4's skipped set equals the one from a run of `main` `468863d1` at the old pins. - At `96ca2b06` there are 5, `main`'s `EXPECT_SKIPPED: "5"` since #1195. The one case that left the set is #1195's own: `test_hermeticity_guard`'s in-process-runner case now asserts. No case entered it. - **`openxdox-consumer-gate`** (CI at `f79a72f3`, and locally at `b05175f7`): both verifiers print `OK`. The pin suites give 105 / 105 / 0 (margin 0). `tests/ideation-dashboard` gives 1480 / 1480 / 0 against floors of 1137 and exactly 0 (margin 343). - **The other PR gates** exit 0 at `b05175f7`: `validate-carve-manifest`, `validate-sequenced-after`, `validate-clearing-dispatch`, `validate-release-tag-gate`, `validate-signed-execution-chain --require-pinned-wallet-vocabulary`, `verify-openxwallet-pin` and `validate-former-id-arrival`. At `42a998dc` and at `16134cc9`, `validate-carve-manifest` (`456 file(s) in the declared surface with none undeclared`) and `validate-former-id-arrival --base main --head HEAD` pass again. At `16134cc9`, `tests/domain_profile` gives 74 passed, and the suites that import the host give 643 passed: the cli and serve column splits, route_extension, the source seal, the display facet and snapshot_equivalence. ## The red list, for batch E (#1183) Every red at the committed pins (T1), and what answers it. T1's 267 entries are 260 in A1, and 1 error and 6 failures in A2. One more red was hidden behind the collection error. The exact node ids are in the lane's `PROGRESS-T047.md`. At the head, the list is empty (T3, T4, and CI at `f79a72f3`). **A1. 260 reds, one cause.** Every one raises `AttributeError: module 'route_extension' has no attribute 'collect_handler_contributions'`. openxFactory's stale replica is found ahead of the leg's copy. `4303e67c` cures all 260, and no test is edited. The 260 are spread over these files: | reds | file | | ---: | --- | | 148 | `tests/ideation-dashboard/test_doxbench_routes.py` | | 52 | `tests/ideation-dashboard/test_gate_routes.py` | | 20 | `tests/ideation-dashboard/test_serve_column_split.py` | | 15 | `tests/ideation-dashboard/test_route_extension.py` | | 8 | `tests/ideation-dashboard/test_intent_feed.py` | | 5 | `tests/ideation-dashboard/test_snapshot_abstract_noninterference.py` | | 4 | `tests/ideation-dashboard/test_staging_seed.py` | | 3 | `tests/ideation-dashboard/test_shared_identity.py` | | 2 | `tests/ideation-dashboard/test_intent_plane_boundary.py` | | 2 | `tests/domain_profile/test_openxfactory_host_wiring.py` | | 1 | `tests/test_engineering_profile_display_facet.py` | **A2. The other seven: one collection error and six failures.** 1. **`tests/ideation-dashboard/test_doxbench_status_exemption.py`: a COLLECTION ERROR**, which in CI interrupts the whole suite. - Its `from test_doxbench_packet import …` executes openXdox-code `6158151e`'s `from conftest import assert_not_at_this_leg, carved_module_path`. In this process `conftest` is this directory's, which has neither name. - `a5898490` lends both names as refusals for that one import and takes them back. - **Batch E names this file, but does not yet record this edit.** 2. `tests/domain_profile/test_openxfactory_host_wiring.py::test_the_lanes_column_arrives_where_the_pinned_leg_binds_it` names the stale replica, as designed. `4303e67c` cures it. 3. `tests/ideation-dashboard/test_extension_point_parity.py::test_the_mixins_precede_simplehttprequesthandler_in_the_mro`: the same as item 2. 4. `tests/ideation-dashboard/test_authoring_classify_derivation.py::test_the_gate_reaches_the_corpus_only_through_the_two_public_names`: *"authoring.py binds [] out of the adapter package"* (T020/T021). The assertion becomes `bound == []`, and the two public names are asserted as `DocumentId` and `home` (`a5898490`). 5. `tests/openxdox_pin/test_openxdox_pin_verifier.py::test_ruling_q7_two_direct_upstreams_in_lockstep`. Its snapshot literal moves `dc7aa08f` → `663ac683`, and its comment says it *"is expected to move on every future bump"* (`b05175f7`). **Not an F11.1 surface.** 6. and 7. `tests/ideation-dashboard/test_dashboard_source_seal.py::test_the_render_leg_modules_are_what_the_render_unit_imports_by_name` and `::test_the_serve_leg_modules_are_what_the_serve_entry_imports_by_name`. - #1166's seal (on `main`) holds the render unit's by-name leg imports to an `ast` read of the entry and its host bootstrap. T046's `opendox_host.seams()` imports four more modules: `corpus_adapter`, `doxbench_packet`, `serve_wire` and `workbench`. - `b05175f7` adds the four to `RENDER_UNIT_IMPORTS` and to the lane's `RENDER_LEG_MODULES` (`scripts/ideation_dashboard/dashboard_refresh_lane.py`). The seal carries a leg's whole `src/`, so no sealed artifact changes. - This red is #1166 merging with the host wiring, and it appears at any pin. **Neither file is an F11.1 surface.** **Hidden behind item 1.** `tests/ideation-dashboard/test_doxbench_status_exemption.py::test_the_dependence_on_the_carved_rail_sits_at_exactly_one_line` could not run in T1, and it is red once the file collects. - It asserts exactly one import of `ideation_dashboard.doxbench_status_exemption` in the leg's `doxbench_packet.py`. - openDox-code `d816cf06` has that import once, at line 177. `2d116415` has none, because T027 removed it. - `a5898490` moves the pinned count from one to none, and asserts `_status_exemption()` as the one reader of the registered rail. **C. Where the proposed destinations would have been red.** - **The carve surface refuses a new file.** `tests/ideation-dashboard/` is inside the manifest's `moved_paths:`. So `validate-carve-manifest.py` refuses `carve-file-undeclared` for each of the six moved-case files at their proposed paths (measured). F11.1 forbids the row that would declare them. - So they land under `tests/domain_profile/`, with the proposed basenames. That directory is outside the surface and is F11.1's HOST_TESTS prefix. - Batch E's two T034 COMPOSITION_TESTS entries, `tests/ideation-dashboard/test_outline_template_agreement.py` and `…/test_memory_gateway_roster.py`, name files that cannot exist there. Batch E records the relocation (answer 2). - **Held: T035's three hermeticity route cases.** In openxFactory, two FAIL: `test_a_pytest_run_started_inside_a_conftestless_directory_is_guarded` (`1 passed, 1 skipped`, where `2 passed` is expected) and `test_the_bare_unittest_route_is_detected_as_unguarded` (the bare route exits 0). - The cause is `tests/notebooklm/test_hermeticity_guard.py:87`, which still asks `find_spec("ideation_dashboard.workbench")`. That is None since the shed, so the probe's layer-2 case silently skips, and it is one of the six `EXPECT_SKIPPED`. This is P1-G decision 5's "find_spec probe goes silent". - Measured: with `find_spec("opendox.workbench")`, the pytest route and the negative control pass. The `tests/hermetic_unittest.py` route then errors (`No module named 'opendox'`), because that runner installs no reach. - A repair touches that probe, `tests/hermetic_unittest.py`, and `EXPECT_SKIPPED` 6 → 5. None of the three is an F11.1 surface. These cases are now on #1195 (answer 2). - **Held: T035's `test_worktree_container_is_gitignored_in_the_aggregation_repo`.** It skips wherever no xFactory aggregation checkout encloses the tree, CI included, so it would move `EXPECT_SKIPPED` 6 → 7. Batch E records it as held (answer 2). ## The admissions (`e54d8253`) The coordinator's step 4: `docs/opendox-carve-admissions.yaml` gains 37 `created:` entries. Each `since` is the file's introducing commit, the leg's own squash landing, checked with `git log --diff-filter=A`. Each path is present at the new pin. - **`openxdox_code`, 24.** - openXdox-code#29 (T040), `d84b5048`: 15 files. The `base-repo` fixture is listed file by file, because the verifier matches exact paths (`if relpath in allow_created`). - #30 (T041), `5fbd188e`: 4. - #31 (T042), `4e16db95`: 4. - #33 (T044), `6158151e`: 1, the coordinator's entry, verbatim. - **`opendox_code`, 13, beyond the coordinator's list.** - 11 are the files openDox-code #33 and #37–#49 added after `d816cf06`. - 2 are openDox-code#31's (`93ccc3dd`). The arrival run at `d816cf06` already needed them as `--allow-created`, and no earlier bump admitted them. - **Kept** (answer 3). - **Derived, not run green.** At both new pins, `verify-carve-arrival.py --phase B` refuses `arrival-undeclared-edit` before it reaches the created-file walk. Phase 1's arc edits to carved files carry no declared-edit act (batch A's addendum to 11.1). So each list is the set of files added between the last pin where the run was green (openXdox-code `e28930bf`, which is OK with 34 admissions; openDox-code `d816cf06`) and the new pin. - **The pinning test.** `tests/carve_arrival`'s committed-admissions test records the fourteenth amendment, and pins all 37 by path and `since`, counted in the committed file. A moved `since` fails it, and so does a planted extra entry (both measured). `tests/carve_arrival` and `tests/carve_manifest` together: 409 passed. ## Copilot, on T047 Copilot raised eleven threads at `b05175f7`, `f79a72f3` and `42a998dc`. Each is answered and resolved, and two changed code: - **The home seam's overwrite** is answered in `42a998dc`. Its documentation changes, two tests are added, and there is no behaviour change. - **The take-back calls** are now checked before any write, in `16134cc9`. - **The `openXdox` gitlink and the openXdox-code replica** were already moved and resynced, in `b4e701cb` and openXdox-code#29. - **The pin-scope pair** is answered by this description. - **The admissions order** was already sorted: `c` < `d`. - **The two composition assertions** always sit on the new leg, because the pin move precedes them in this PR. - **The `route_extension` replica** stays byte-identical to both legs. The nested-scope point is recorded for openDox-code's owner. - **The arrival verifier** needs no manifest change (answer 2). ## The holder's answers (relayed by the coordinator, 2026-09-28) 1. **One commit for both pin pairs**, as the runbook requires (§ 3 step 8, § 4 `DIFFERENT`). `b4e701cb` is that commit. It deliberately departs from T090 step 6's "one commit each". 2. **Batch E (#1183) records the rest**: - the five paths edited outside every F11.1 surface, as admitted arc edits: - `docs/opendox-carve-admissions.yaml`; - `tests/carve_arrival/test_verify_carve_arrival.py`; - `tests/openxdox_pin/test_openxdox_pin_verifier.py`; - `tests/ideation-dashboard/test_dashboard_source_seal.py`; - `scripts/ideation_dashboard/dashboard_refresh_lane.py`; - the status-exemption collection fix; - the unchanged `route_extension` manifest row; - the relocation of the moved cases to `tests/domain_profile/`; - the held hermeticity and aggregation `.gitignore` cases. The hermeticity cases are now on #1195 (READY). This answers questions 2 to 5. 3. **Keep** the 13 `opendox_code` admissions. 4. **T092's phase-1 notes go to the T049 checkpoint bookkeeping**, not to this PR. ## History: P1-K (T045, T046) P1-K's measurements, from `b31829d3` to `c4dcaba8`, were verified with a local composition that points at openDox-code main, as a measurement only, never committed. - **The wiring.** - `profile_openxfactory.HANDLER_CONTRIBUTIONS = (LaneRoutes,)`, which `opendox_host.FACETS` forwards (T045). - One process-start call, `register_openxfactory()`, fills openDox-code phase 1's five seams (T046): the home corpus, the session-notebook scope `documents`, the scoped health check, the doxBench validators and the status-exemption rail. - It asserts that its profile is the registered one (R1Q4 (a)). It fills all five seams or none, and it takes back its own partial writes on a refusal. - **Tests.** `tests/domain_profile/test_openxfactory_host_wiring.py` held 28 tests at `c4dcaba8`. `42a998dc` adds two and `16134cc9` adds one parametrized test with four cases, for 34 cases. Batch A's two composition tests move with the facet. - **CI at `c4dcaba8`** (the current pins then): `8500 passed, 6 skipped`. - **The red list at openDox-code `main`**, then: comment `5853319553`. - **Copilot.** Five threads, each answered and resolved. The last review, at `c4dcaba8`, had no findings. ## Rulings Brett answered P1-K's three questions at (a), recorded in `#656` comment `5856475254` (2026-09-27T13:54:40Z): 1. The stale `route_extension.py` copies are resynced to openDox-code #40's, and batch E admits both as named arc edits. openxFactory's copy is resynced in T047's PR, which is `4303e67c` here. openXdox-code's was resynced in openXdox-code#29. 2. The NotebookLM sync's missing `register_openxfactory()` call goes in T047's PR, which is `4303e67c` here. 3. F11.1's `COMPOSITION_TESTS` arm lands as a bookkeeping PR with batch E, before T047. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>



Summary
Adds an OpenSpec proposal for lifecycle NotebookLM hybrid imports. The proposal governs temporary hybrid analysis notebooks built from one Canon release line plus one brainstorm/staged origin folder, and defines how new NotebookLM sources return to that origin folder as L1 notebook synthesis.
Scope
add-lifecycle-notebook-hybrid-importsOpenSpec proposal artifacts.test-canonimport evidence.Validation
OPENSPEC_TELEMETRY=0 openspec validate add-lifecycle-notebook-hybrid-imports --strictOPENSPEC_TELEMETRY=0 openspec validate --all --strictgit diff --checkNotes
Implementation support lives in codexFactory and has already been committed separately.