Skip to content

feat(devtools,storage): mutation campaigns, schema dispositions, durability harness - #4318

Merged
Sinity merged 17 commits into
masterfrom
integration/batch-04
Aug 27, 2026
Merged

Sinity merged 17 commits into
masterfrom
integration/batch-04

Conversation

@Sinity

@Sinity Sinity commented Aug 27, 2026

Copy link
Copy Markdown
Owner

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.ai/code/session_014BQsaB1NBY8mTR6yZByfMA

Sinity added 17 commits August 26, 2026 21:51
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.
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 61685804-7d63-4a37-97d3-54869b6e26eb


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Sinity
Sinity merged commit 9fdcac3 into master Aug 27, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the integration/batch-04 branch August 27, 2026 05:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread polylogue/cli/archive_query.py Resolved
Comment thread devtools/mutation_scenario_catalog.py Resolved
Comment thread tests/infra/durability_faults.py Resolved
Comment thread devtools/consumer_reachability.py Resolved
Comment thread tests/infra/durability_faults.py Resolved
Comment thread polylogue/daemon/http.py Resolved
Sinity added a commit that referenced this pull request Aug 27, 2026
…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
Sinity added a commit that referenced this pull request Aug 27, 2026
…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
Sinity added a commit that referenced this pull request Aug 27, 2026
…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
Sinity added a commit that referenced this pull request Aug 27, 2026
…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
Sinity added a commit that referenced this pull request Aug 27, 2026
…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
Sinity added a commit that referenced this pull request Aug 28, 2026
…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
Sinity added a commit that referenced this pull request Aug 28, 2026
…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
Sinity added a commit that referenced this pull request Sep 1, 2026
…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
Sinity added a commit that referenced this pull request Sep 1, 2026
…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
@Sinity

Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):

Resolving these threads.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at c950478):

  • P2 polylogue/cli/archive_query.py:1914: Fixed on master (checked at c950478): The CLI now compares a decoded cursor's query_hash with the current request identity before applying its rank (polylogue/cli/archive_query.py:1087).

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant