Repository navigation
test step 9 - #51
Merged
Merged
test step 9#51
Conversation
added 2 commits
August 1, 2026 21:54
…-crystallization.md Gate-Action: 20260802T015417Z
…defaults.md Gate-Action: 20260802T015423Z
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
The two edit-document gate actions on this branch carried acceptance-run probe lines (run3 outline/stale probes) into a real staged packet, and the outline lost its trailing newline. This strips the test scaffolding and restores the newline, keeping the model-proposed tightening of the dials register that the run applied and the human accepted. Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR updates the staged “recurrence crystallization” ideation docs and records the corresponding human gate-console edit actions as auditable gate-action records, aligning with the ideation dashboard’s traceability model.
Changes:
- Adds a new “run3” outline probe note to the recurrence crystallization staging doc.
- Refactors and clarifies the “dials and staged defaults” register header prose and tightens a few dial descriptions/source tags.
- Adds two new
gate-action-recordYAML entries documenting the humanedit-documentactions for both edited staging documents.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ideation/staging/recurrence-crystallization/recurrence-crystallization.md | Adds a new “run3” probe note under the open-questions area. |
| ideation/staging/recurrence-crystallization/dials-and-defaults.md | Streamlines metadata header text and slightly refines several register entries/reading rules. |
| ideation/dashboard/gate-records/ideation-staging-recurrence-crystallization-recurrence-crystallization/edit-document-20260802T015417Z.gate-action.yaml | New gate-action audit record for the staging doc edit (includes commit artifact + provenance). |
| ideation/dashboard/gate-records/ideation-staging-recurrence-crystallization-dials-and-defaults/edit-document-20260802T015423Z.gate-action.yaml | New gate-action audit record for the dials register edit (includes commit artifact + provenance). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
brettheap
added a commit
that referenced
this pull request
Sep 2, 2026
* Rule 7.7's gate MET on merged+deployed hermes-install #51; correct the stale unmerged/undeployed claims Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW * Mark 7.7's pre-ruling assessments SUPERSEDED so the ticked item does not contradict its own history (Copilot) Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNxTJoaJQkcDi2ybmLCZgW --------- Co-authored-by: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 28, 2026
…(plan 034 T047; R1Q2 (a)) Six new files, at the basenames openDox-code#50 (T034) and #51 (T035) proposed, but under tests/domain_profile/ rather than the proposed tests/ideation-dashboard/: that directory is inside the carve surface (the manifest's moved_paths:), where scripts/validate-carve-manifest.py refuses a new file no row declares (carve-file-undeclared), and F11.1 forbids adding the row. tests/domain_profile/ is outside the surface and is F11.1's own HOST_TESTS prefix. Each case's body is the moved source, verbatim; a path that named the leg's own tree now names the pinned leg's file, through carved_reach.source. From T034 (#50, 71b631bc): - test_outline_template_agreement.py: the outline model agrees with doc_health.families (1 case). - test_memory_gateway_roster.py: the roster is the promoted memory-gateway capability's own (3 cases). From T035 (#51, 80acead1): - test_workbench_manifest_validation.py: a saved manifest validates against the composed validator (3 cases, which skipped at the leg). - test_workbench_scoped_doc_health.py: scoped doc-health through the health check the host registers (3 cases). - test_session_worktree_book_scan.py: a session worktree never reaches a lifecycle book (2 cases). - test_doxbench_chat_ceiling.py: the browser ceiling equals the released maxLength, read from openDox-spec (1 case). Held, and named in the PR: #51's gitignore case (it skips wherever no aggregation checkout encloses the tree, and pytest-suite pins an exact skip count) and its three hermeticity route cases (two fail here, because tests/notebooklm/test_hermeticity_guard.py's layer-2 probe still asks find_spec("ideation_dashboard.workbench"), which the shed made None). Arc: neutral-product-standalone-operability Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
brettheap
added a commit
that referenced
this pull request
Sep 28, 2026
… guarded unittest runner (#1195) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## Update — review round 1 (commit `2ba81209`) Copilot found a real bug: a bare `find_spec("opendox.workbench")` ERRORS (doesn't skip) on a checkout where the openDox/openXdox gitlinks are genuinely uninitialized, because `carved_reach.install()`'s `_LegMissing` finder raises `CarveReachUnavailable` for a carved root name instead of returning `None`. Fixed with `try/except ImportError` around both lookups (`opendox.session_pr` and `opendox.workbench`), mirroring `runner_seams()`'s own guard exactly — reproduced with both legs hidden before and after (now skips cleanly instead of erroring). That fix exposed a second, separate, pre-existing bug in the recovered `tests/domain_profile/test_hermeticity_probe_routes.py`'s own negative control: its bare-unittest child inherits the OUTER pytest session's own hermeticity-guard PATH shim via `subprocess.run`'s default environment inheritance (this file's own 3 tests are collected under `tests/`, so that guard is already active). Previously masked because the OTHER bug above always made that same child report FAILED regardless. Fixed with `_bare_environ()` (PATH minus any entry under the system temp directory). Full details, including re-measurement of both fixes together across three directories, are in the commit message. Both CI (all 12 checks, including `pytest-suite` at 19m59s) and Copilot's next review round (`Findings: None`, prior finding marked "Resolved since last review") are green at this head. ## What was broken `tests/notebooklm/test_hermeticity_guard.py:87`'s layer-2 case probed `find_spec("ideation_dashboard.workbench")` to decide whether the dashboard package had arrived yet (pre-shed, self-healing design). The § 5.2 shed moved `workbench.py` and `session_pr.py` to the pinned openDox leg and repointed `tests/hermeticity.py`'s own `runner_seams()` to `find_spec("opendox.*")` accordingly — but this probe, one file over, was not repointed with it. It has answered `None` FOREVER since the shed instead of self-healing, so the case has been **skipping silently** rather than asserting anything: one of `pytest-suite.yml`'s `EXPECT_SKIPPED` skips (P1-G decision 5, "the find_spec probe goes silent"; surfaced concretely by plan 034 T047's re-measurement, which held the recovered route-cases test rather than land it, per T007 batch E's finding that it belongs in its own, separate, non-Arc PR — this one). ## The repair (4 commits) 1. **Repoint the probe** — `find_spec("ideation_dashboard.workbench")` → `find_spec("opendox.workbench")`, the same name the two imports three lines down already use and the same name `runner_seams()` itself already patches. 2. **Install the same carved reach in `tests/hermetic_unittest.py`.** `runner_seams()` can't find `opendox.workbench`/`opendox.session_pr` to patch unless the openDox leg's `src/` is already on `sys.path`. The pytest route gets that for free from `tests/conftest.py` (`carved_reach.install(tests=True)`, run before any test module imports anything); the guarded-`unittest` runner had no conftest to load it from, so it silently guarded **less** than the pytest route over the identical tree — measured before this fix: `python3 tests/hermetic_unittest.py tests/notebooklm/` **ERRORED** (`ModuleNotFoundError: No module named 'opendox'`) on exactly the case that needs it, rather than running it or skipping cleanly. `install_guard()` now calls the identical `carved_reach.install(tests=True)` before building the binary shim or reading `runner_seams()`. 3. **Add the recovered hermeticity route-cases test** (three cases, held at `p1/P1-K/held/test_hermeticity_probe_routes.py`, carried out of `tests/test_hermeticity.py` when that file moved to openDox-code by T035 — opensoft/openDox-code#51, landed `80acead1`). See "Where it landed, and why" below for the one adaptation from #51's text. 4. **Move `EXPECT_SKIPPED` 6 → 5** in `.github/workflows/pytest-suite.yml`, with the full accounting (including the two sibling files explicitly left alone) recorded beside the pin. ## Where the recovered test landed, and why Not at the pre-shed `tests/ideation-dashboard/`: that directory is a declared `moved_paths:` prefix in `docs/opendox-carve-manifest.yaml`, and `scripts/validate-carve-manifest.py` refuses (`carve-file-undeclared`) any file under a `moved_paths:` prefix that carries no manifest row — the same reason T034/T035's four sibling relocated cases land under `tests/domain_profile/` instead (T007 batch E finding 5). I measured this directly (committed the file at the original location first, in a scratch check, re-ran the validator, got the refusal; moved it, re-ran, got `OK`) and placed it at `tests/domain_profile/test_hermeticity_probe_routes.py` instead. That directory has no manifest row and no conftest of its own, so `REPO_ROOT` is computed locally (`Path(__file__).resolve().parents[2]`, the same pattern `tests/domain_profile/test_openxfactory_profile.py` already uses in this same directory) rather than imported `from conftest import REPO_ROOT` as #51's text does — that import resolved through `tests/ideation-dashboard/conftest.py`, which this directory doesn't have. The three test bodies are otherwise verbatim. It is **not** added to `docs/opendox-carve-manifest.yaml`'s `COMPOSITION_TESTS` — T007 batch E (openxFactory#1183) already reversed this file's provisional membership there after a Copilot finding (it pins nothing about the composition, and that set is a permanent allow-list) — and it is not an F11.1 surface. ## Scope discipline: two siblings left alone, on purpose While measuring, I found `tests/notebooklm/test_workbench_sweep_wiring.py` and `tests/notebooklm/test_sync_notebooklm_books.py` carry the **identical** stale-name defect (`find_spec("ideation_dashboard.workbench")` / `find_spec("ideation_dashboard.branch_session")`, both raised as a module-level `unittest.SkipTest` at import time). Both target modules (`opendox.branch_session`, `opendox.session_git`, `opendox.workbench`) exist at the pinned leg — I checked. Fixing them is real, valuable, low-risk follow-up work (each file's several test methods currently collapse into a single silent module-level skip), but it's outside this task's declared scope ("the hermeticity-probe repair" — the one file, the one runner, the one pin), so I left them alone and am flagging them here explicitly rather than quietly expanding the diff. This is also *why* `EXPECT_SKIPPED` moves to exactly 5 and not further: those two skips are still present in the new total. ## Measured (all three routes; no background runs left going) Isolated probe file, before → after (pytest route): ``` # before .s 1 passed, 1 skipped in 0.06s # after .. 2 passed in 0.04s ``` `tests/notebooklm/` (full directory), before → after (pytest route): ``` # before: 107 passed, 3 skipped, 30 subtests passed # after: 108 passed, 2 skipped, 30 subtests passed ``` (the 2 remaining skips are the two sibling files above, unchanged) `tests/hermetic_unittest.py` route, before → after, same directory: ``` # before: FAILED (errors=1, skipped=2) [ModuleNotFoundError: No module named 'opendox'] # after: OK (skipped=2) ``` Bare `python3 -m unittest discover` (the negative control), unchanged by design — still correctly detects the unguarded route: ``` FAILED (failures=1, errors=1) ``` The recovered test file itself, at its final location: ``` $ python3 -m pytest tests/domain_profile/test_hermeticity_probe_routes.py -q ... 3 passed in 2.48s ``` `scripts/validate-carve-manifest.py` at the final commit: `OK ... 456 file(s) in the declared surface with none undeclared`. Full local suite, all three routes, at HEAD (no background runs left going): - **pytest** (`python3 -m pytest tests/ -q -m "not postgres" --junitxml=pytest-report.xml`, matching `pytest-suite.yml` exactly): `selected=9238 passed=9216 skipped=20 failures=2 errors=0` in 1435s. Both numbers that aren't `5`/`0` are accounted for, not hand-waved: - **2 failures**, both in `test_dashboard_source_seal.py` ("reads nothing outside the render/serve unit"), both citing `.venv-hermetic/lib/.../yaml` — my own venv sits *inside* this scratch clone (CI's Python comes from `actions/setup-python`, outside the checkout). Reproduced **identically on `origin/main`** with none of this PR's 4 commits applied (`git checkout --detach origin/main`, same venv, same 2 failures, same file). Not this PR's doing. - **20 skipped, not 5** — 15 of the 20 are two more artifacts of running outside real CI, not of this PR: 13 are `find_openxfactory_validator`/ `find_cross_reference_validator` walking up for a directory literally named `openxFactory` (this scratch clone is named `repo`; confirmed by re-running the same lookups from a `git worktree` literally named `openxFactory` — both resolve non-`None` there), and 2 are `review_lane_pin`'s `TheFreshnessVerifier`/`TheVectorReplay` skipping for lack of `PINNED_CORE_CHECKOUT` (I have no token for the private `codeXfactory/codexFactory` cross-org checkout CI mints; both are documented in `pytest-suite.yml` itself as skipping under exactly this condition). The remaining **5** are real and match the pin exactly: the 2 conformance-gate self-gate tests that always skip in openxFactory's own checkout (`DOMAIN_SHAPED = (REPO_ROOT / "stack.yaml").is_file()` — always `False` here by construction), the 1 `test_set_domain_openxfactory_pin` LedgerxFactory guard this pin's own history already names as the surviving post-shed skip, and the 2 known `tests/notebooklm/` siblings from the section above. - **`tests/hermetic_unittest.py`**, run per-directory (its own documented usage — the whole `tests/` tree in one process hits pre-existing, unrelated `unittest.discover()` cross-package collisions with mixed package/non-package directories; verified identical with and without this PR's changes via `git stash`): 48/48 directories completed; the 6 directories with non-zero results (`avatar_runtime` and its two subpackages, `hermes_runtime_contracts` and its `postgres` subdirectory, `intent-compliance`) fail identically on `origin/main` with none of this PR's changes applied (`ModuleNotFoundError: No module named 'xfactory'` for the `avatar_runtime` case, checked directly) — this runner's own pre-existing gap in replicating pytest's import-path setup, not something this PR touches or changes. - **bare `python3 -m unittest discover`** (negative control), same per-directory method: most directories report `NO TESTS RAN` (this repo's suite is overwhelmingly pytest-style, not `unittest.TestCase`-style, which bare `unittest discover` simply can't see); `tests/notebooklm` is the one directory where the negative control matters and it fails as designed. ## Constraints honored - Fresh clone under scratch, never `/workspace/projects/xFactory/*`. - Checked `git diff --stat origin/main...` against the T047 branch (`p1/P1-K/oxf`, `build/034-p1k-t045-t046-host-wiring`) before editing: zero file overlap with any of the 25 files it touches. - No force-push; no closing keywords anywhere; explicit pathspecs on every commit; never `git add -A`. - Opened as **DRAFT**. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Fable 5.1 <[email protected]>
brettheap
added a commit
that referenced
this pull request
Oct 8, 2026
…entity bound by layer, the single-writer rows and the holder's batch-3 flags (plan 038) (#1263) Lane: openxfactory-4 (openXfactory-4-openDox_extraction) ## T002c: plan 038's third bookkeeping batch (plan 038) Bookkeeping: no `Arc:` line, and no `openspec/changes/` path. It encodes rulings already posted on #656 and landings already merged, each cited by comment id or merge commit, with no new decision. It follows #1251 and #1257 in form, and redoes nothing either did. #1257 landed as `c70bdbd9`, so this PR is not stacked; `origin/main` (`c9dfd4f8`) is merged into the branch, never rebased. **Realizes / Falsifier:** none (bookkeeping). The gates are listed under "Gates" below. ### What changed (specs/038-opendox-document-tool-self-maintenance/) **Ticks, each merge commit read through GraphQL (`pullRequest{mergeCommit{oid}}`) before it was written.** The sweep covered every PR merged since 2026-10-06T23:30Z in openDox-code, openXdox-code, openDox, openXdox, openDox-spec and openxFactory, re-run at 2026-10-08T16:16Z: - openXdox-code: T095 #46 → `e2340bb6`, T101 #48 → `8b0401a1`, T098 #51 → `fc1115d6`, T103 #49 → `6f259156`, T096 #53 → `34e1c1f2`, T100 #54 → `2a3d8c09`, T099 #47 → `4aa3070a`, T102 #52 → `e7815ac5`, T097 #50 → `4dab93fc`, T022 #41 → `aefd1091`. - openDox-code: T104 #94 → `d616da3e`, T072 #95 → `99220883` (the arc's first realization). - Follow-ons recorded on the task they follow: T021's openXdox-code#55 → `da736090`, and T096's openXdox-code#56 → `9720925e`. - T095's Landed line also records Copilot r4201411760 as the holder's READY note did (`6027382308`, accepted limit under `5988818366`; the fix rides T073). - Nothing is ticked whose PR has not merged. T029 and T073 (openXdox-code#44, #45) and T012/T013 (openDox-code#90) stay open. **New task T105** (R2-INV-P5, read-only, lane 3; holder `6027341795`, claimed `6027346843`): ticked on lane 3's DONE line (2026-10-07T00:28:59Z), its summary `6028122920`, the map `lane-coord-034/r2/R2-INV-P5.md`, and the holder's ruling `6028138991`. Verdicts: T041, T042 and T043 READY-WITH-NOTES; T045, T047, T048 and T049 blocked by plan order only. Placed under "Wave 1's readiness" before W1, with a row in the Phase 5 slice table. The task count is 91 and plan.md's two stale "79 tasks" cites now read 91 tasks and T001 to T105 (`6028364555` item 5). **The four slice notes** (`6028138991`; no requirement or falsifier changes), as implementation notes on T042, T043, T045 and T047, refined by the holder's batch-3 flags (`6028364555`) and the Copilot-thread ruling (`6064169640`): - T042: the token `RESET_CONFIRMATION` stays byte-identical, its wording may change; Files gain `docs/runtime.md` (R2-INV-P5 § T042: its two table arrays move with `identity.TABLES`, which `test_deploy_shape.py` holds); `RULED_TABLES` is encoded as the map words it. - T042's SQL column is `full_run` (`6064169640`, fix-now, resolving Copilot 4205521074): the words "quote it or" are gone from T042, and `data-model.md` gains one line saying the SQL column is `full_run` because PostgreSQL 16 reserves `full`. **Files and falsifiers:** - T073: Files gain `tests/test_host_plane.py` and the `opendox-snapshot-*` farm exclusion scoped to the `opendox_spec` owner; the falsifier gains the farm case (Copilot r4201411760, accepted at #46's landing, `6027382308`, reply 4201421102). plan.md's conftest and `test_host_plane.py` rows, and the T020, T026 and T095 Files chains, end with T073. - T015 and T016: Files gain `tests/test_capability_honesty.py` and `tests/test_lens_seed_actions.py` (`6027633398`), with the same-kind enumeration collateral pre-authorized in the minimal way and listed in each PR body, and `tests/test_default_profile.py` (`6023619783` item 1, corrected by `6026622117` item 2), with the chain T015 → T016. plan.md gains two single-writer rows. - T041, T046, T057: the `identity` bound is split by layer (`6027706377` item 1, refining `6018624750`). T041 narrows to the module's own serialized finding shape; T046 gains it on `health list --json`; T057 gains it on the HTTP Health response; FR-011's coverage row cites all three. - T022's falsifier gains the root-`.gitignore` source check (`6026275158` item 2); T102's gains the widened no-bypass scan (`6026275158` item 3); `6028364555` item 4. - T012's Ruled line: `6026275158` item 1 and `6026622117` item 1. - T072's Files name openDox-code#95, and T071's entry names its ratification record, openxFactory#1261 (a DRAFT PR that exists now). T015's PR does not exist yet, so its number is not named. **Qualifiers and counts:** "plan 034's" on spec.md (two places) and clarify-questions.md (one place), found by content, nothing else moved (`6027706377` item 2). tasks.md's header and plan.md each carry a revision paragraph. ### Ruled and Decisions Ruled (all on #656): `6027341795`, `6027346843`, `6027382308`, `6027633398`, `6027706377`, `6026275158`, `6026622117`, `6023619783`, `6028122920`, `6028138991`, `6028364555`, `6064169640`. Decisions: none new. ### Readings, disclosed - T042's Files wording follows R2-INV-P5 § T042 (the `docs/runtime.md` arrays move with `identity.TABLES`); the holder's `6028364555` item 2 words the cause as the `full` rename, and cites the same map section. - plan.md's `tests/test_default_profile.py` row says the chain "follows `default_profile.py`'s", as `6023619783` words it; T046 and T057 are not given the file in their own Files lines. - `6023619783` item 2 (T071's record header) is not in this batch's items and is not encoded here. - Lane 3's other R2-INV-P5 observations (moved #1144 line references, floor and census counts, T015's census line) stay informational and are not encoded (`6028364555` item 7). ### Gates - `python3 scripts/validate-openspec-cli-pin.py --all --strict` at the merged head `b236fa6c`: exit 0 (the one accepted exception is `add-chain-attestation`'s disposition, as on main). - doc-health (`scripts/doc-health.py --single-repo .`) at `b236fa6c` against `origin/main` `c9dfd4f8`, same clone: identical reports, 31 critical, 26 error, 69 warning, 19 info, zero differences after SHA normalization. - Local `python -m pytest tests/ -q -m "not postgres" -n 8` at `3e6feb6b`: 9206 passed, 7 skipped, 1 failed. The failure is `tests/hermes_runtime_contracts/test_validator_cli.py::test_release_mode_field_is_preserved_on_the_real_repository[--require-realization-realization]`, a 30 s subprocess timeout that fails identically on `origin/main` in the same clone. Later commits change only spec text and chain records. - CI at the head `b236fa6c`: every check SUCCESS (rollup SUCCESS, read through GraphQL), including `pytest-suite`, `doc-health-py314`, `openspec-cli-pin` and SonarCloud. The head adds only the merge of `origin/main` `c9dfd4f8` (the archive of amend-worker-input-budget-dispatch-wording, #1269) to `c675894d`, whose rollup was SUCCESS too. - Copilot: at `a9fc7e7b` two threads (4205521074 → fixed in `4263d665` on `6064169640`; 4205521173 → fixed in `c3409c03`). At `3e6feb6b` two threads (4221525148, the PR description, updated; 4221525277, the T020, T026 and T095 chains, fixed in `c675894d`). At `c675894d` and at the head `b236fa6c`: "Approval recommended", 0 open findings. All four threads are answered and resolved. ### NOT done No requirement text, no contract file and no `openspec/changes/` path is touched. No box is ticked in #1144. refs #656 🤖 Generated with [Claude Code](https://claude.com/claude-code) Lane: openxfactory-4 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Land this with a MERGE COMMIT, never a squash and never a rebase: every gate-action commit on this branch is one recorded human action, and the series is traceability evidence for medical FDA clearance (D18). Squashing would collapse that granularity and leave it only inside a forge artifact.