Repository navigation
feat(devtools,storage): mutation campaigns, schema dispositions, durability harness - #4318
Conversation
The merged lane left three typing defects that mypy rejects against a clean master. `_ConnectionProxy.__exit__` took `*args: object` and forwarded them to `sqlite3.Connection.__exit__`, which wants the three exception parameters. The `os.fsync`/`replace`/`unlink` patches used a `(self._hit(...), real(...))[1]` tuple to sequence a call that returns None, which reads as using the value of a None-returning call. The fixture parameter was unannotated in four tests. Named exception parameters, plain functions in place of the tuple sequencing, and `DurabilityFaultRegistry` on the fixture parameter. No behaviour changes.
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2bf7d1e82e
ℹ️ 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".
…jections (#4326) ## Summary Integration batch: three lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-fnm.5 | bounded topic-pack retrieval workflow (`polylogue/product/workflows.py`) | | polylogue-doh42 | named analyze projections on the CLI | | polylogue-jnj.2 | clone-support attestation and workload-artifact publication | ## Problem These lanes finished but never published: the pre-push gate was resolving an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the landing discipline is one PR per coherent batch. ## Solution Merged onto `integration/batch-07` with no cross-lane file overlap. Integration surfaced one missing declaration: `docs/artifact-publication.md` was added without a `DOCS_REFERENCE_ENTRIES` row, so the generated docs map could not reach it and `render docs-surface` refused the tree. Registered under operations and regenerated `docs/README.md`. ## Verification `devtools verify --quick` → `quick gate exit=0` (was `render docs-surface: unindexed documentation: docs/artifact-publication.md`). `devtools test tests/unit/cli/test_analyze_projections.py tests/unit/devtools/test_clone_support.py tests/unit/infra/test_workload_artifacts.py tests/unit/product/test_topic_pack_workflow.py` → `93 passed, 3 warnings in 382.77s`. Red-flag scan on the aggregate: two flags, both read and both benign. `new production module without a test` for `polylogue/product/workflows.py` is a stem-matching miss — it is imported and exercised by `tests/unit/product/test_topic_pack_workflow.py` (73 new lines). `assertion polarity change` is five new `pytest.raises` error-case tests in clone support and topic-pack validation, which add coverage. ## Residual risk Five of the eight lanes in this batch were dropped and remain unintegrated: - `polylogue-ofry` — **semantics.** Removes every reader and writer of `ArchiveHistorySidecar` while `history_sidecars` stays in the durable source DDL with migrations 009 and 021 still referencing it, and touches no migration or lifecycle file. It also deletes a six-test file (281 lines) and replaces it with two tests (103 lines), so sidecar snapshot persistence, ambient-edit replay stability, transient-discovery-failure handling, and non-codex passthrough lose their coverage. - `polylogue-9l5.6` — **semantics.** Registers a new `tool_episodes` insight with no `RigorContract` row and no field contracts for `exit_code`/`is_error`; `verify insight-honesty` refuses. That declaration encodes evidence-and-inference boundaries and has to be authored deliberately, not patched at harvest. - `polylogue-3utv.1` — **lane defect.** `test_implemented_daemon_routes_have_contract_metadata` fails on its own branch (`1 failed, 115 passed`): its new contract test does not account for `POST /api/demo/augment`, which already exists on master. - `polylogue-nrlsl` — **lane defect.** `test_parsers_local_agent.py` fails on its own branch (`2 failed, 30 passed`); the Hermes configured-directory case resolves an unrelated `.sqlite` alongside the intended state database. - `polylogue-wvji` — **merge conflict** in `browser-extension/src/background.js`, which #4318 split into a separate module. Needs a rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…bility harness (#4318) ## Summary Integration batch 4: seven lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-9lbwu | bind ranked cursors and complete filtered reads | | polylogue-ehva4 | warm the quick-gate analysis | | polylogue-kdsvs | compose the extension background worker from adapters | | polylogue-ntwtk | record the derived-artifact freshness law | | polylogue-rrxe4.9 | add consequence-shaped mutation campaigns | | polylogue-18zzd | add the durability crash-point harness | | polylogue-20eld | add six-tier schema dispositions | ## Problem These lanes finished but never published: the pre-push gate resolved an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the repo lands one PR per coherent batch. ## Solution Merged onto `integration/batch-04`; all seven merged without conflict. Integration surfaced a defect no individual lane's gate had caught: the durability-fault harness had ten mypy errors against a clean master — `_ConnectionProxy.__exit__` typed `*args: object` but forwarding to `sqlite3.Connection.__exit__`, three `os` patches sequencing a `None`-returning call through a `(hit, real())[1]` tuple, and four unannotated fixture parameters. Repaired in `2bf7d1e82` with no behaviour change. ## Verification `devtools verify --quick` green on the merged branch (was 10 mypy errors before the repair). `devtools test tests/infra/test_durability_faults.py tests/unit/storage/test_schema_disposition.py tests/unit/devtools/test_verify_mutation_freshness.py tests/unit/devtools/test_consumer_reachability.py tests/unit/devtools/test_verify.py` → `56 passed`. ## Residual risk `polylogue-1vpm.6` was dropped from this batch. It adds a 135-line `delegation_work_evidence_materializer` whose only test change is one line registering the stage name, so the module itself is untested; the red-flag scan reports `new production module without a test` and the gap is recorded on `polylogue-1vpm`. The diff reads as 7,716 lines mostly because `browser-extension/src/background.js` was split into `background/runtime.js` (~3,500 lines moved, not rewritten). The scan's other flags were checked individually and are benign: `_build_cursor` is moved within its file rather than deleted; the removed test assertion is a `KEEP-WIRED` → `KEEP` value rename accompanied by added assertions; the polarity flag is new `pytest.raises` in new tests; the gate edit is polylogue-rrxe4.9 adding its mutation-freshness step to `devtools/verify.py`. Lanes were verified together, not individually re-verified after merge beyond the gate and their own tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…jections (#4326) ## Summary Integration batch: three lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-fnm.5 | bounded topic-pack retrieval workflow (`polylogue/product/workflows.py`) | | polylogue-doh42 | named analyze projections on the CLI | | polylogue-jnj.2 | clone-support attestation and workload-artifact publication | ## Problem These lanes finished but never published: the pre-push gate was resolving an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the landing discipline is one PR per coherent batch. ## Solution Merged onto `integration/batch-07` with no cross-lane file overlap. Integration surfaced one missing declaration: `docs/artifact-publication.md` was added without a `DOCS_REFERENCE_ENTRIES` row, so the generated docs map could not reach it and `render docs-surface` refused the tree. Registered under operations and regenerated `docs/README.md`. ## Verification `devtools verify --quick` → `quick gate exit=0` (was `render docs-surface: unindexed documentation: docs/artifact-publication.md`). `devtools test tests/unit/cli/test_analyze_projections.py tests/unit/devtools/test_clone_support.py tests/unit/infra/test_workload_artifacts.py tests/unit/product/test_topic_pack_workflow.py` → `93 passed, 3 warnings in 382.77s`. Red-flag scan on the aggregate: two flags, both read and both benign. `new production module without a test` for `polylogue/product/workflows.py` is a stem-matching miss — it is imported and exercised by `tests/unit/product/test_topic_pack_workflow.py` (73 new lines). `assertion polarity change` is five new `pytest.raises` error-case tests in clone support and topic-pack validation, which add coverage. ## Residual risk Five of the eight lanes in this batch were dropped and remain unintegrated: - `polylogue-ofry` — **semantics.** Removes every reader and writer of `ArchiveHistorySidecar` while `history_sidecars` stays in the durable source DDL with migrations 009 and 021 still referencing it, and touches no migration or lifecycle file. It also deletes a six-test file (281 lines) and replaces it with two tests (103 lines), so sidecar snapshot persistence, ambient-edit replay stability, transient-discovery-failure handling, and non-codex passthrough lose their coverage. - `polylogue-9l5.6` — **semantics.** Registers a new `tool_episodes` insight with no `RigorContract` row and no field contracts for `exit_code`/`is_error`; `verify insight-honesty` refuses. That declaration encodes evidence-and-inference boundaries and has to be authored deliberately, not patched at harvest. - `polylogue-3utv.1` — **lane defect.** `test_implemented_daemon_routes_have_contract_metadata` fails on its own branch (`1 failed, 115 passed`): its new contract test does not account for `POST /api/demo/augment`, which already exists on master. - `polylogue-nrlsl` — **lane defect.** `test_parsers_local_agent.py` fails on its own branch (`2 failed, 30 passed`); the Hermes configured-directory case resolves an unrelated `.sqlite` alongside the intended state database. - `polylogue-wvji` — **merge conflict** in `browser-extension/src/background.js`, which #4318 split into a separate module. Needs a rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…bility harness (#4318) ## Summary Integration batch 4: seven lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-9lbwu | bind ranked cursors and complete filtered reads | | polylogue-ehva4 | warm the quick-gate analysis | | polylogue-kdsvs | compose the extension background worker from adapters | | polylogue-ntwtk | record the derived-artifact freshness law | | polylogue-rrxe4.9 | add consequence-shaped mutation campaigns | | polylogue-18zzd | add the durability crash-point harness | | polylogue-20eld | add six-tier schema dispositions | ## Problem These lanes finished but never published: the pre-push gate resolved an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the repo lands one PR per coherent batch. ## Solution Merged onto `integration/batch-04`; all seven merged without conflict. Integration surfaced a defect no individual lane's gate had caught: the durability-fault harness had ten mypy errors against a clean master — `_ConnectionProxy.__exit__` typed `*args: object` but forwarding to `sqlite3.Connection.__exit__`, three `os` patches sequencing a `None`-returning call through a `(hit, real())[1]` tuple, and four unannotated fixture parameters. Repaired in `2bf7d1e82` with no behaviour change. ## Verification `devtools verify --quick` green on the merged branch (was 10 mypy errors before the repair). `devtools test tests/infra/test_durability_faults.py tests/unit/storage/test_schema_disposition.py tests/unit/devtools/test_verify_mutation_freshness.py tests/unit/devtools/test_consumer_reachability.py tests/unit/devtools/test_verify.py` → `56 passed`. ## Residual risk `polylogue-1vpm.6` was dropped from this batch. It adds a 135-line `delegation_work_evidence_materializer` whose only test change is one line registering the stage name, so the module itself is untested; the red-flag scan reports `new production module without a test` and the gap is recorded on `polylogue-1vpm`. The diff reads as 7,716 lines mostly because `browser-extension/src/background.js` was split into `background/runtime.js` (~3,500 lines moved, not rewritten). The scan's other flags were checked individually and are benign: `_build_cursor` is moved within its file rather than deleted; the removed test assertion is a `KEEP-WIRED` → `KEEP` value rename accompanied by added assertions; the polarity flag is new `pytest.raises` in new tests; the gate edit is polylogue-rrxe4.9 adding its mutation-freshness step to `devtools/verify.py`. Lanes were verified together, not individually re-verified after merge beyond the gate and their own tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…jections (#4326) ## Summary Integration batch: three lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-fnm.5 | bounded topic-pack retrieval workflow (`polylogue/product/workflows.py`) | | polylogue-doh42 | named analyze projections on the CLI | | polylogue-jnj.2 | clone-support attestation and workload-artifact publication | ## Problem These lanes finished but never published: the pre-push gate was resolving an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the landing discipline is one PR per coherent batch. ## Solution Merged onto `integration/batch-07` with no cross-lane file overlap. Integration surfaced one missing declaration: `docs/artifact-publication.md` was added without a `DOCS_REFERENCE_ENTRIES` row, so the generated docs map could not reach it and `render docs-surface` refused the tree. Registered under operations and regenerated `docs/README.md`. ## Verification `devtools verify --quick` → `quick gate exit=0` (was `render docs-surface: unindexed documentation: docs/artifact-publication.md`). `devtools test tests/unit/cli/test_analyze_projections.py tests/unit/devtools/test_clone_support.py tests/unit/infra/test_workload_artifacts.py tests/unit/product/test_topic_pack_workflow.py` → `93 passed, 3 warnings in 382.77s`. Red-flag scan on the aggregate: two flags, both read and both benign. `new production module without a test` for `polylogue/product/workflows.py` is a stem-matching miss — it is imported and exercised by `tests/unit/product/test_topic_pack_workflow.py` (73 new lines). `assertion polarity change` is five new `pytest.raises` error-case tests in clone support and topic-pack validation, which add coverage. ## Residual risk Five of the eight lanes in this batch were dropped and remain unintegrated: - `polylogue-ofry` — **semantics.** Removes every reader and writer of `ArchiveHistorySidecar` while `history_sidecars` stays in the durable source DDL with migrations 009 and 021 still referencing it, and touches no migration or lifecycle file. It also deletes a six-test file (281 lines) and replaces it with two tests (103 lines), so sidecar snapshot persistence, ambient-edit replay stability, transient-discovery-failure handling, and non-codex passthrough lose their coverage. - `polylogue-9l5.6` — **semantics.** Registers a new `tool_episodes` insight with no `RigorContract` row and no field contracts for `exit_code`/`is_error`; `verify insight-honesty` refuses. That declaration encodes evidence-and-inference boundaries and has to be authored deliberately, not patched at harvest. - `polylogue-3utv.1` — **lane defect.** `test_implemented_daemon_routes_have_contract_metadata` fails on its own branch (`1 failed, 115 passed`): its new contract test does not account for `POST /api/demo/augment`, which already exists on master. - `polylogue-nrlsl` — **lane defect.** `test_parsers_local_agent.py` fails on its own branch (`2 failed, 30 passed`); the Hermes configured-directory case resolves an unrelated `.sqlite` alongside the intended state database. - `polylogue-wvji` — **merge conflict** in `browser-extension/src/background.js`, which #4318 split into a separate module. Needs a rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…bility harness (#4318) ## Summary Integration batch 4: seven lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-9lbwu | bind ranked cursors and complete filtered reads | | polylogue-ehva4 | warm the quick-gate analysis | | polylogue-kdsvs | compose the extension background worker from adapters | | polylogue-ntwtk | record the derived-artifact freshness law | | polylogue-rrxe4.9 | add consequence-shaped mutation campaigns | | polylogue-18zzd | add the durability crash-point harness | | polylogue-20eld | add six-tier schema dispositions | ## Problem These lanes finished but never published: the pre-push gate resolved an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the repo lands one PR per coherent batch. ## Solution Merged onto `integration/batch-04`; all seven merged without conflict. Integration surfaced a defect no individual lane's gate had caught: the durability-fault harness had ten mypy errors against a clean master — `_ConnectionProxy.__exit__` typed `*args: object` but forwarding to `sqlite3.Connection.__exit__`, three `os` patches sequencing a `None`-returning call through a `(hit, real())[1]` tuple, and four unannotated fixture parameters. Repaired in `2bf7d1e82` with no behaviour change. ## Verification `devtools verify --quick` green on the merged branch (was 10 mypy errors before the repair). `devtools test tests/infra/test_durability_faults.py tests/unit/storage/test_schema_disposition.py tests/unit/devtools/test_verify_mutation_freshness.py tests/unit/devtools/test_consumer_reachability.py tests/unit/devtools/test_verify.py` → `56 passed`. ## Residual risk `polylogue-1vpm.6` was dropped from this batch. It adds a 135-line `delegation_work_evidence_materializer` whose only test change is one line registering the stage name, so the module itself is untested; the red-flag scan reports `new production module without a test` and the gap is recorded on `polylogue-1vpm`. The diff reads as 7,716 lines mostly because `browser-extension/src/background.js` was split into `background/runtime.js` (~3,500 lines moved, not rewritten). The scan's other flags were checked individually and are benign: `_build_cursor` is moved within its file rather than deleted; the removed test assertion is a `KEEP-WIRED` → `KEEP` value rename accompanied by added assertions; the polarity flag is new `pytest.raises` in new tests; the gate edit is polylogue-rrxe4.9 adding its mutation-freshness step to `devtools/verify.py`. Lanes were verified together, not individually re-verified after merge beyond the gate and their own tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…jections (#4326) ## Summary Integration batch: three lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-fnm.5 | bounded topic-pack retrieval workflow (`polylogue/product/workflows.py`) | | polylogue-doh42 | named analyze projections on the CLI | | polylogue-jnj.2 | clone-support attestation and workload-artifact publication | ## Problem These lanes finished but never published: the pre-push gate was resolving an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the landing discipline is one PR per coherent batch. ## Solution Merged onto `integration/batch-07` with no cross-lane file overlap. Integration surfaced one missing declaration: `docs/artifact-publication.md` was added without a `DOCS_REFERENCE_ENTRIES` row, so the generated docs map could not reach it and `render docs-surface` refused the tree. Registered under operations and regenerated `docs/README.md`. ## Verification `devtools verify --quick` → `quick gate exit=0` (was `render docs-surface: unindexed documentation: docs/artifact-publication.md`). `devtools test tests/unit/cli/test_analyze_projections.py tests/unit/devtools/test_clone_support.py tests/unit/infra/test_workload_artifacts.py tests/unit/product/test_topic_pack_workflow.py` → `93 passed, 3 warnings in 382.77s`. Red-flag scan on the aggregate: two flags, both read and both benign. `new production module without a test` for `polylogue/product/workflows.py` is a stem-matching miss — it is imported and exercised by `tests/unit/product/test_topic_pack_workflow.py` (73 new lines). `assertion polarity change` is five new `pytest.raises` error-case tests in clone support and topic-pack validation, which add coverage. ## Residual risk Five of the eight lanes in this batch were dropped and remain unintegrated: - `polylogue-ofry` — **semantics.** Removes every reader and writer of `ArchiveHistorySidecar` while `history_sidecars` stays in the durable source DDL with migrations 009 and 021 still referencing it, and touches no migration or lifecycle file. It also deletes a six-test file (281 lines) and replaces it with two tests (103 lines), so sidecar snapshot persistence, ambient-edit replay stability, transient-discovery-failure handling, and non-codex passthrough lose their coverage. - `polylogue-9l5.6` — **semantics.** Registers a new `tool_episodes` insight with no `RigorContract` row and no field contracts for `exit_code`/`is_error`; `verify insight-honesty` refuses. That declaration encodes evidence-and-inference boundaries and has to be authored deliberately, not patched at harvest. - `polylogue-3utv.1` — **lane defect.** `test_implemented_daemon_routes_have_contract_metadata` fails on its own branch (`1 failed, 115 passed`): its new contract test does not account for `POST /api/demo/augment`, which already exists on master. - `polylogue-nrlsl` — **lane defect.** `test_parsers_local_agent.py` fails on its own branch (`2 failed, 30 passed`); the Hermes configured-directory case resolves an unrelated `.sqlite` alongside the intended state database. - `polylogue-wvji` — **merge conflict** in `browser-extension/src/background.js`, which #4318 split into a separate module. Needs a rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…bility harness (#4318) ## Summary Integration batch 4: seven lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-9lbwu | bind ranked cursors and complete filtered reads | | polylogue-ehva4 | warm the quick-gate analysis | | polylogue-kdsvs | compose the extension background worker from adapters | | polylogue-ntwtk | record the derived-artifact freshness law | | polylogue-rrxe4.9 | add consequence-shaped mutation campaigns | | polylogue-18zzd | add the durability crash-point harness | | polylogue-20eld | add six-tier schema dispositions | ## Problem These lanes finished but never published: the pre-push gate resolved an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the repo lands one PR per coherent batch. ## Solution Merged onto `integration/batch-04`; all seven merged without conflict. Integration surfaced a defect no individual lane's gate had caught: the durability-fault harness had ten mypy errors against a clean master — `_ConnectionProxy.__exit__` typed `*args: object` but forwarding to `sqlite3.Connection.__exit__`, three `os` patches sequencing a `None`-returning call through a `(hit, real())[1]` tuple, and four unannotated fixture parameters. Repaired in `2bf7d1e82` with no behaviour change. ## Verification `devtools verify --quick` green on the merged branch (was 10 mypy errors before the repair). `devtools test tests/infra/test_durability_faults.py tests/unit/storage/test_schema_disposition.py tests/unit/devtools/test_verify_mutation_freshness.py tests/unit/devtools/test_consumer_reachability.py tests/unit/devtools/test_verify.py` → `56 passed`. ## Residual risk `polylogue-1vpm.6` was dropped from this batch. It adds a 135-line `delegation_work_evidence_materializer` whose only test change is one line registering the stage name, so the module itself is untested; the red-flag scan reports `new production module without a test` and the gap is recorded on `polylogue-1vpm`. The diff reads as 7,716 lines mostly because `browser-extension/src/background.js` was split into `background/runtime.js` (~3,500 lines moved, not rewritten). The scan's other flags were checked individually and are benign: `_build_cursor` is moved within its file rather than deleted; the removed test assertion is a `KEEP-WIRED` → `KEEP` value rename accompanied by added assertions; the polarity flag is new `pytest.raises` in new tests; the gate edit is polylogue-rrxe4.9 adding its mutation-freshness step to `devtools/verify.py`. Lanes were verified together, not individually re-verified after merge beyond the gate and their own tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
…jections (#4326) ## Summary Integration batch: three lanes with disjoint file sets, merged onto one branch and verified together. | lane | change | | --- | --- | | polylogue-fnm.5 | bounded topic-pack retrieval workflow (`polylogue/product/workflows.py`) | | polylogue-doh42 | named analyze projections on the CLI | | polylogue-jnj.2 | clone-support attestation and workload-artifact publication | ## Problem These lanes finished but never published: the pre-push gate was resolving an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the landing discipline is one PR per coherent batch. ## Solution Merged onto `integration/batch-07` with no cross-lane file overlap. Integration surfaced one missing declaration: `docs/artifact-publication.md` was added without a `DOCS_REFERENCE_ENTRIES` row, so the generated docs map could not reach it and `render docs-surface` refused the tree. Registered under operations and regenerated `docs/README.md`. ## Verification `devtools verify --quick` → `quick gate exit=0` (was `render docs-surface: unindexed documentation: docs/artifact-publication.md`). `devtools test tests/unit/cli/test_analyze_projections.py tests/unit/devtools/test_clone_support.py tests/unit/infra/test_workload_artifacts.py tests/unit/product/test_topic_pack_workflow.py` → `93 passed, 3 warnings in 382.77s`. Red-flag scan on the aggregate: two flags, both read and both benign. `new production module without a test` for `polylogue/product/workflows.py` is a stem-matching miss — it is imported and exercised by `tests/unit/product/test_topic_pack_workflow.py` (73 new lines). `assertion polarity change` is five new `pytest.raises` error-case tests in clone support and topic-pack validation, which add coverage. ## Residual risk Five of the eight lanes in this batch were dropped and remain unintegrated: - `polylogue-ofry` — **semantics.** Removes every reader and writer of `ArchiveHistorySidecar` while `history_sidecars` stays in the durable source DDL with migrations 009 and 021 still referencing it, and touches no migration or lifecycle file. It also deletes a six-test file (281 lines) and replaces it with two tests (103 lines), so sidecar snapshot persistence, ambient-edit replay stability, transient-discovery-failure handling, and non-codex passthrough lose their coverage. - `polylogue-9l5.6` — **semantics.** Registers a new `tool_episodes` insight with no `RigorContract` row and no field contracts for `exit_code`/`is_error`; `verify insight-honesty` refuses. That declaration encodes evidence-and-inference boundaries and has to be authored deliberately, not patched at harvest. - `polylogue-3utv.1` — **lane defect.** `test_implemented_daemon_routes_have_contract_metadata` fails on its own branch (`1 failed, 115 passed`): its new contract test does not account for `POST /api/demo/augment`, which already exists on master. - `polylogue-nrlsl` — **lane defect.** `test_parsers_local_agent.py` fails on its own branch (`2 failed, 30 passed`); the Hermes configured-directory case resolves an unrelated `.sqlite` alongside the intended state database. - `polylogue-wvji` — **merge conflict** in `browser-extension/src/background.js`, which #4318 split into a separate module. Needs a rebase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA
|
Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):
Resolving these threads. |
|
Closing out open Codex review threads on this PR (evidence checked against master at ef10e59):
Resolving the fixed, stale and refuted threads; tracked threads stay open. |
|
Closing out open Codex review threads on this PR (evidence checked against master at 45fa567):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
|
Closing out open Codex review threads on this PR (evidence checked against master at 0914f89):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
|
Closing out open Codex review threads on this PR (evidence checked against master at bf68918):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
|
Closing out open Codex review threads on this PR (evidence checked against master at bf68918):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
|
Closing out open Codex review threads on this PR (evidence checked against master at c950478):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
|
Closing out open Codex review threads on this PR (evidence checked against master at c0dda6f):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Summary
Integration batch 4: seven lanes with disjoint file sets, merged onto one branch and verified together.
Problem
These lanes finished but never published: the pre-push gate resolved an interpreter without the project's dependencies, so nothing reached a PR. Per-lane PRs are also the wrong unit — the repo lands one PR per coherent batch.
Solution
Merged onto
integration/batch-04; all seven merged without conflict. Integration surfaced a defect no individual lane's gate had caught: the durability-fault harness had ten mypy errors against a clean master —_ConnectionProxy.__exit__typed*args: objectbut forwarding tosqlite3.Connection.__exit__, threeospatches sequencing aNone-returning call through a(hit, real())[1]tuple, and four unannotated fixture parameters. Repaired in2bf7d1e82with no behaviour change.Verification
devtools verify --quickgreen on the merged branch (was 10 mypy errors before the repair).devtools test tests/infra/test_durability_faults.py tests/unit/storage/test_schema_disposition.py tests/unit/devtools/test_verify_mutation_freshness.py tests/unit/devtools/test_consumer_reachability.py tests/unit/devtools/test_verify.py→56 passed.Residual risk
polylogue-1vpm.6was dropped from this batch. It adds a 135-linedelegation_work_evidence_materializerwhose only test change is one line registering the stage name, so the module itself is untested; the red-flag scan reportsnew production module without a testand the gap is recorded onpolylogue-1vpm.The diff reads as 7,716 lines mostly because
browser-extension/src/background.jswas split intobackground/runtime.js(~3,500 lines moved, not rewritten). The scan's other flags were checked individually and are benign:_build_cursoris moved within its file rather than deleted; the removed test assertion is aKEEP-WIRED→KEEPvalue rename accompanied by added assertions; the polarity flag is newpytest.raisesin new tests; the gate edit is polylogue-rrxe4.9 adding its mutation-freshness step todevtools/verify.py.Lanes were verified together, not individually re-verified after merge beyond the gate and their own tests.
🤖 Generated with Claude Code
https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA