Skip to content

feat(insights): materialize run projection into queryable SQL tables - #2458

Merged
Sinity merged 11 commits into
masterfrom
feature/feat/materialize-run-projection
Jun 27, 2026
Merged

Sinity merged 11 commits into
masterfrom
feature/feat/materialize-run-projection

Conversation

@Sinity

@Sinity Sinity commented Jun 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

Materialize the run projection (Run / ObservedEvent / ContextSnapshot) from a
storage-free, recomputed-every-query view into three derived index.db read-model tables
(session_runs, session_observed_events, session_context_snapshots), recomputed by the
session-insight materializer exactly like session_profiles. This flips the run,
observed-event, and context-snapshot query units (#2006) from runtime_transform
(no exists, no sort, full-archive scan per query) to durable SQL lowerers with
exists-predicate and sort support. This is the keystone storage layer of the substrate
program (#2384): it gives the agent-work evidence vocabulary a durable, queryable home.

Problem

polylogue/insights/run_projection.py was explicitly "storage-free … without inventing a
new durable table before there is measured query pressure."
The pressure arrived from two
directions:

Solution

Run/ObservedEvent/ContextSnapshot become derived materialized read-models (rebuildable,
like session_profiles), NOT a new source of truth. The durable evidence stays
session_events + messages + topology_edges; the materializer recomputes the read-models
over them.

  • Schema (storage/sqlite/archive_tiers/index.py, common.py): three new tables with typed
    columns for SQL filtering (harness/role/status/kind/delivery_state/boundary/…) +
    a payload_json for lossless model hydration. New literal_check() DDL helper derives enum
    CHECKs from the run_projection Literal aliases via typing.get_args. INDEX_SCHEMA_VERSION
    10 → 11.
  • Materializer (storage/insights/session/rebuild.py + run_projection_rows.py + storage.py):
    build_session_insight_records computes compile_recovery_digest(session, session_links=()).run_projection
    (identical inputs to the old runtime query → byte-for-byte parity) and emits the three record
    lists; wired into the sync bulk write site, both async write sites, the full-rebuild DELETE
    set, and the materialization stamp loop.
  • Readers (storage/repository/insight/run_projection_reads.py, query store, mappers):
    query_runs/query_observed_events/query_context_snapshots hydrate stored rows back to the
    exact projection models.
  • feat(query): implement the full query DSL substrate #2006 lowerers (archive/query/metadata.py, storage/sqlite/archive_tiers/archive.py,
    archive/query/unit_results.py): descriptors flipped to sql + exists_supported=True; new
    per-unit field→column predicate clauses + EXISTS clauses + ArchiveStore terminal query_*
    methods mirroring the assertion unit; runtime-transform executor path removed (no second
    executor). Payload from_row reuses the prior row mapping so CLI/MCP/API/daemon payloads are
    unchanged.

Schema-Touching: re-ingest plan (no in-place upgrade)

Per docs/internals.md § Schema Versioning Model, this bumps INDEX_SCHEMA_VERSION 10 → 11, so
an existing index.db is rejected on open. There is no in-place upgrade — it is a
deletes-then-defines edit of the index DDL. Re-acquisition:

polylogue ops reset --database && polylogued run
  • This rebuilds index.db from source.db (NOT a provider re-acquire) — raw evidence is
    untouched.
  • The new derived tables, FTS, and all existing insights (profiles/work-events/phases) rebuild
    automatically via the insight materializer.
  • user.db (tags/marks/annotations/assertions) is unaffected.
  • Operator impact: one index rebuild from source; no source loss, no provider re-download.

Verification

nix develop -c devtools verify --quick          # ruff format+lint, mypy --strict, render all --check
nix develop -c devtools test tests/unit/insights/test_run_projection_materialization.py
nix develop -c devtools test tests/unit/storage/test_session_insight_refresh.py
nix develop -c devtools test tests/unit/cli/test_query_support_runtime.py   # #2006 query units
nix develop -c devtools render topology-projection && … render topology-status

Results:

  • devtools verify --quick → exit 0 (ruff format+lint, mypy --strict across 1571 files, render all --check, manifests, ci-workflows, doc-commands, test-infra-currency, test-clock-hygiene all green).
  • test_run_projection_materialization.py → 1 passed (stored rows hydrate equal to compile_recovery_digest(session, session_links=()).run_projection; typed-filter + re-materialization idempotence).
  • test_session_insight_refresh.py → 19 passed (sync + async rebuild write the new tables).
  • test_query_exec_laws.py → 74 passed (terminal rows, exists run/observed-event/context-snapshot(...), sort-by-time, SQL limit/offset).
  • Broad query-DSL + consumer sweep (test_query_metadata, test_query_expression, test_completions_contract, test_web_reader, test_facade_contracts, test_server_surfaces, test_pathology, test_transforms, …) → passing.

Follow-ups

Ref #2384 Ref #2006

Summary by CodeRabbit

  • New Features

    • Added support for querying and listing run, observed-event, and context-snapshot insights.
    • Expanded query filtering, sorting, and pagination for these insight views.
    • Updated query explanations and examples to reflect the new supported query paths.
  • Bug Fixes

    • Improved consistency between archived data, materialized insight tables, and query results.
    • Existing insight data can now be rebuilt and queried reliably after refreshes.

Sinity and others added 8 commits June 27, 2026 07:21
…RSION

Problem: the Run/ObservedEvent/ContextSnapshot projection
(polylogue/insights/run_projection.py) is computed at query time from the
recovery digest and has no durable storage, so it cannot back SQL filters,
EXISTS predicates, or sort-by-position. This is the storage keystone of #2384.

What changed:
- archive_tiers/common.py: add literal_check(column, *values), a non-null
  CHECK(column IN (...)) helper mirroring check() for typing.Literal closed
  vocabularies. Callers expand the Literal alias with typing.get_args, keeping
  the storage substrate free of an insights import.
- archive_tiers/index.py: add session_runs, session_observed_events, and
  session_context_snapshots derived read-model tables plus their indexes to
  INDEX_DDL, with typed enum columns sourced from the run_projection Literal
  aliases and a payload_json column for lossless model hydration. Extend the
  insight_materialization insight_type CHECK with runs / observed_events /
  context_snapshots. Bump INDEX_SCHEMA_VERSION 10 -> 11.

These are rebuildable derived read-models, not new source-of-truth: a version
mismatch rejects index.db and it is rebuilt from source.db on reset+ingest.

Verification: in-memory executescript over INDEX_DDL creates all three tables,
the harness CHECK rejects out-of-vocabulary values, and the extended
insight_materialization CHECK accepts the three new types;
`devtools verify --quick` green (ruff/mypy/render-all-check).

Ref #2384

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6
…ds on rebuild

Problem: the run projection had no durable rows, so the materializer never
emitted Run/ObservedEvent/ContextSnapshot read-models alongside profiles,
work-events, and phases.

What changed:
- timeline/records.py: add SessionRunRecord / SessionObservedEventRecord /
  SessionContextSnapshotRecord. Each wraps its source pydantic model
  (ProjectedRun / ObservedEvent / ContextSnapshot) so typed columns and the
  lossless payload are projected from one source of truth.
- storage/insights/session/run_projection_rows.py: build_session_*_records()
  from a RunProjection (position = enumerate order; search_text from the model
  fields) plus pass-through hydration helpers.
- storage/insights/session/storage.py: column lists, insert-value binders
  (canonical ObjectRef/EvidenceRef .format() for ref columns, model_dump JSON
  for payload_json), and sync single + bulk replace writers.
- storage/sqlite/queries/session_insight_run_projection_writes.py: async
  replace writers over the shared replace_insight_rows helper.
- storage/insights/session/rebuild.py: extend SessionInsightRecordBundle with
  the three record lists + counts; compute the projection in
  build_session_insight_records via compile_recovery_digest(session,
  session_links=()).run_projection (always >=1 run, fails loudly on bad
  evidence); wire the bulk writers into the sync write site and both async
  write loops; clear the three tables in the rebuild DELETE phases; stamp
  runs / observed_events / context_snapshots in insight_materialization.

Verification: mypy --strict clean on all touched modules; `devtools verify
--quick` green; topology projection/status regenerated for the two new modules.

Ref #2384

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6
Problem: the materialized session_runs / session_observed_events /
session_context_snapshots rows had no read surface, so nothing could query them
back into Run/ObservedEvent/ContextSnapshot models.

What changed:
- query_models.py: RunProjectionListQuery — one selection shape for all three
  tables (typed filters: session_id, run_ref, harness, role, status, kind,
  delivery_state, boundary, inheritance_mode; query substring; sort
  position|recency; limit/offset).
- sqlite/queries/mappers_run_projection.py: row -> record mappers that parse
  payload_json back into the pydantic model and re-wrap it with the row's
  materialization metadata (lossless).
- sqlite/queries/session_insight_run_projection_reads.py: list_runs /
  list_observed_events / list_context_snapshots with filter + sort + limit/offset.
- sqlite/query_store_insight_run_projection.py + query_store.py: query-store
  mixin wired into SQLiteQueryStore.
- repository/insight/run_projection_reads.py + repository/__init__.py:
  query_runs / query_observed_events / query_context_snapshots repository
  readers (hydrated models) and *_records variants, wired into SessionRepository.

Test: tests/unit/insights/test_run_projection_materialization.py builds a
fixture Session, materializes the three record sets, writes them through the
async writers into an in-memory archive, reads them back, and asserts the
hydrated ProjectedRun/ObservedEvent/ContextSnapshot equal
compile_recovery_digest(session, session_links=()).run_projection — plus typed
filter and re-materialization idempotence checks.

Verification: `devtools test` parity suite (1 passed);
tests/unit/storage/test_session_insight_refresh.py (19 passed) exercises the
full sync+async rebuild writing the new tables; `devtools verify --quick` green.

Ref #2384

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6
The 10→11 bump materializes the run projection into session_runs,
session_observed_events, and session_context_snapshots. Update the tier
version table and add the version-11 narrative entry with the re-ingest
expectation (polylogue ops reset --database && polylogued run).

Co-Authored-By: Claude <[email protected]>
…2006)

Problem: the run / observed-event / context-snapshot query units were
runtime-transform lowerers — every query re-read each session and recomputed
compile_recovery_digest in Python, with no EXISTS support, no SQL filtering,
and no sort. Now that the projection is materialized (#2384), these units can
be SQL-backed terminal+exists units like assertion.

What changed:
- storage/sqlite/archive_tiers/archive.py: ArchiveRunQueryRow /
  ArchiveObservedEventQueryRow / ArchiveContextSnapshotQueryRow dataclasses;
  query_runs / query_observed_events / query_context_snapshots terminal methods
  (SELECT typed-filter columns + payload_json JOIN sessions, sort time->position,
  LIMIT/OFFSET, hydrate via Model.model_validate(payload_json)); per-unit
  field->column predicate clauses mirroring _assertion_field_predicate_clause;
  wired into _structural_predicate_clause dispatch and _exists_predicate_clause.
- surfaces/payloads.py: from_row classmethods on the three row payloads,
  reproducing the previous runtime _run_row/_observed_event_row/
  _context_snapshot_row mapping exactly (payload parity).
- archive/query/metadata.py: flip the three descriptors to lowerer_kind="sql",
  exists_supported=True, sql_query_method=...; full session-scoped field set;
  registry descriptions/examples updated; terminal_example added.
- archive/query/expression.py: STRUCT_UNIT grammar + exists-unit validation now
  derive from structural_query_units() (exists-supported descriptors); aggregate
  pipelines gated by aggregate_group_fields so the three units fail typed/narrow
  ("no aggregate lowerer") instead of reaching an unwired counts path; row
  sort-by-time stays supported.
- archive/query/predicate.py: QueryExistsUnit gains run/observed-event/
  context-snapshot.

Field->column maps (source of truth = metadata field registries):
- run: harness/role/status/confidence/provider_origin(+origin) -> enum cols;
  run/parent/agent/context_snapshot/transcript/lineage/evidence/native_*/cwd/
  branch/title -> LIKE; text -> search_text LIKE.
- observed-event: kind/delivery_state -> enum; summary/subject/object/evidence
  -> LIKE; text -> search_text.
- context-snapshot: boundary/inheritance_mode -> enum; run/segment/evidence/
  metadata -> LIKE; text -> search_text.

Aggregate (count/group-by) is intentionally left unsupported for these units.

Verification: devtools verify --quick (ruff/mypy --strict/render-all-check);
updated query-DSL contract tests in tests/unit/cli/test_query_expression.py
(terminal rows + exists selectors + sort-by-time + limit/offset pagination,
all via materialized rows), tests/unit/archive/test_query_metadata.py,
test_query_unit_renderer_metadata.py, test_click_app.py, test_command_aux_runtime.py,
facade/MCP/web-reader row tests (now materialize before querying). Payload
parity preserved against the prior runtime output for the fixtures.

Ref #2006 Ref #2384

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6
Problem: with run/observed-event/context-snapshot now lowered to SQL (#2006),
the in-Python runtime-transform path in unit_results.py was a dead second
executor for those units.

What changed:
- archive/query/unit_results.py: delete the runtime executors
  (_query_runs/_query_observed_events/_query_context_snapshots), their match
  helpers (_run_matches/_observed_event_matches/_context_snapshot_matches and
  the per-field/summary matchers), the row builders (_run_row/_observed_event_row/
  _context_snapshot_row — their mapping now lives in the payload from_row
  classmethods), _iter_filtered_summaries, _build_runtime_transform_envelope,
  _runtime_query, the _RuntimeQuery protocol, _SUMMARY_SCAN_BATCH_SIZE, and the
  runtime dispatch branch in query_unit_rows. query_unit_rows now always builds
  the SQL envelope. _bool_param/_epoch_ms are retained (used by
  query_unit_session_filters).
- archive/query/metadata.py: drop the now-unused runtime session-scope helpers
  (_RUNTIME_SESSION_SCOPED_STRUCTURAL_FIELDS and the runtime_transform branch of
  _session_scoped_field_info).

There is no second executor for these units: a grep for the removed runtime
functions returns only test method names.

Verification: mypy --strict clean across polylogue+tests (1571 files); ruff
clean; render all --check clean; tests/unit/cli/test_query_unit_renderer_metadata.py,
tests/unit/archive/test_query_metadata.py, tests/unit/cli/test_command_aux_runtime.py
(40 passed).

Ref #2006

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6
…tion

The runtime-transform text matcher searched every ref/identifier on each
run/observed-event/context-snapshot; the materialized search_text columns
dropped most refs, silently narrowing text: results. Broaden the search_text
builders to the same field coverage (parent/agent/context/transcript/lineage/
evidence/subject/object/segment/snapshot refs) so text: is equivalent on the
SQL path, not narrower. Re-materialization picks this up.

Co-Authored-By: Claude <[email protected]>
The run/observed-event/context-snapshot units now read SQL rows from
session_runs/session_observed_events/session_context_snapshots. The fixture
wrote sessions directly without materializing insights, so those tables were
empty and the terminal-row tests returned no rows. Rebuild insights in the
fixture, mirroring a real post-ingest archive.

Co-Authored-By: Claude <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Jun 27, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Sinity, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 40 minutes. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0a33470d-d996-4171-a8d7-4c869e6e5ce5

📥 Commits

Reviewing files that changed from the base of the PR and between d6bc175 and 5546ccc.

📒 Files selected for processing (6)
  • docs/search.md
  • polylogue/storage/insights/session/rebuild.py
  • polylogue/storage/insights/session/run_projection_rows.py
  • polylogue/storage/sqlite/archive_tiers/archive.py
  • polylogue/storage/sqlite/queries/session_insight_run_projection_reads.py
  • tests/unit/cli/test_query_expression.py
📝 Walkthrough

Walkthrough

Adds SQL-backed run, observed-event, and context-snapshot projection tables, rebuild/write/read paths, and query-DSL support for the new units. Updates repository/store wiring, archive schema, and tests to use the materialized projections.

Changes

Run-projection SQL materialization and query support

Layer / File(s) Summary
Projection rebuild and persistence
polylogue/storage/insights/session/*, polylogue/storage/insights/timeline/records.py, docs/*.md, docs/plans/topology-target.yaml
build_session_insight_records now derives run-projection rows and the rebuild paths write them into the new session insight tables; the docs and topology metadata reflect the version 11 schema.
SQLite archive and query wiring
polylogue/storage/query_models.py, polylogue/storage/repository/*, polylogue/storage/runtime/__init__.py, polylogue/storage/sqlite/archive_tiers/*, polylogue/storage/sqlite/queries/*, polylogue/storage/sqlite/query_store*.py, polylogue/surfaces/payloads.py, docs/plans/topology-target.yaml
New SQLite tables, mappers, read/write helpers, query-store/repository mixins, and payload hydration expose the run-projection records through SQL-backed list/query methods.
Query DSL and terminal execution
polylogue/archive/query/*, docs/openapi/search.yaml
run, observed-event, and context-snapshot become structural/exist-supported query units, and terminal execution now builds SQL envelopes instead of routing through runtime-transform logic.
API and CLI contract tests
tests/unit/api/test_facade_contracts.py, tests/unit/archive/test_query_metadata.py, tests/unit/cli/*, tests/unit/daemon/test_web_reader.py, tests/unit/mcp/test_server_surfaces.py
Tests now materialize the derived tables and assert the updated descriptor, lowering, pagination, explain, and surface behavior for the new query units.
Run-projection parity test
tests/unit/insights/test_run_projection_materialization.py
The parity test writes compiled run-projection rows into SQLite, reads them back, and compares the hydrated rows with the compiled projection output.

Sequence Diagram(s)

sequenceDiagram
  participant rebuild_session_insights_sync
  participant build_session_insight_records
  participant run_projection_rows
  participant replace_session_runs_bulk_sync
  participant replace_session_observed_events_bulk_sync
  participant replace_session_context_snapshots_bulk_sync
  participant session_runs
  participant session_observed_events
  participant session_context_snapshots
  rebuild_session_insights_sync->>build_session_insight_records: derive run_projection
  build_session_insight_records->>run_projection_rows: build_session_run_records / build_session_observed_event_records / build_session_context_snapshot_records
  rebuild_session_insights_sync->>replace_session_runs_bulk_sync: run_records
  replace_session_runs_bulk_sync->>session_runs: replace rows
  rebuild_session_insights_sync->>replace_session_observed_events_bulk_sync: observed_event_records
  replace_session_observed_events_bulk_sync->>session_observed_events: replace rows
  rebuild_session_insights_sync->>replace_session_context_snapshots_bulk_sync: context_snapshot_records
  replace_session_context_snapshots_bulk_sync->>session_context_snapshots: replace rows
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related issues

Possibly related PRs

  • Sinity/polylogue#2011 — It changes the same exists(...) predicate lowering path that this PR expands for run, observed-event, and context-snapshot.
  • Sinity/polylogue#2234 — It centralizes terminal SQL execution metadata and aggregate handling in the same query-unit pipeline this PR updates.
  • Sinity/polylogue#2161 — It modifies the same terminal query-unit grammar and expression handling that this PR extends for the new SQL-backed units.

Suggested labels

type:refactor, area:storage, area:parser, area:schema

Poem

🐇 I dug new rows beneath the moon,
for runs and snapshots, humming soon.
SQL carrots lined in tidy stacks,
with query hops and no loose tracks.
The burrow hums, the tables gleam —
a cozy, materialized dream.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 23.29% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main change: materializing run projection into SQL queryable tables.
Description check ✅ Passed The description is largely complete and matches the template well, covering summary, problem, solution, verification, and follow-ups.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/feat/materialize-run-projection

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.

github-actions Bot pushed a commit that referenced this pull request Jun 27, 2026

@coderabbitai coderabbitai 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.

Actionable comments posted: 7

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@polylogue/storage/insights/session/rebuild.py`:
- Around line 1127-1135: The empty-target branch in
rebuild_session_insights_async currently performs a global delete when
session_ids is empty, which diverges from rebuild_session_insights_sync and
turns a no-op into data loss. Update the async early-return path in
rebuild_session_insights_async so it matches the sync behavior: return
_empty_rebuild_counts() immediately without deleting any tables, and keep the
deletion logic only for the non-empty rebuild flow handled by the
session-specific helpers.

In `@polylogue/storage/insights/session/run_projection_rows.py`:
- Around line 57-66: The observed-event search text builder in
observed_event_search_text is missing event.event_ref, so
session_observed_events.search_text cannot match text: queries by observed-event
id after projection. Update observed_event_search_text to include
event.event_ref in the _join_search_text inputs alongside kind, summary,
delivery_state, run_ref, subject_ref, object_refs, and evidence_refs so the
materialized search haystack covers that identifier.

In `@polylogue/storage/query_models.py`:
- Around line 245-267: Validate the RunProjectionListQuery sort field at
construction time so only supported values are accepted. The current canonical
query shape silently falls back to position ordering in _order_by unless sort is
exactly "recency", so add a guard in RunProjectionListQuery to reject any
unsupported value (e.g. a typo) before the SQL readers use it. Keep the allowed
values explicit and ensure the check is tied to RunProjectionListQuery and the
_order_by path that consumes it.

In `@polylogue/storage/sqlite/archive_tiers/archive.py`:
- Around line 3996-3999: The `sort == "time"` branches in the archive tier query
builders still order by per-session `position`/`run_ref`, which interleaves rows
across sessions instead of following session chronology. Update the `order_by`
logic in the affected query paths to sort by the session timestamp field for
time-based sorting, and keep the existing non-time ordering separate so
pagination and result ordering stay deterministic across multiple sessions.

In `@tests/unit/cli/test_query_exec_laws.py`:
- Around line 157-162: The rebuild fixture still uses a bare sqlite3.connect()
call instead of the canonical database opener. Update the test setup around
rebuild_session_insights_sync to use open_connection() for index_db so the
rebuild step exercises the same write PRAGMAs and sibling-tier attachment path
as the rest of the updated tests. Keep the rebuild_session_insights_sync call
and commit flow the same, but source the connection from open_connection()
rather than sqlite3.connect().
- Around line 152-163: This fixture still depends on wall-clock timestamps
because search_workspace() seeds created_at/updated_at with
datetime.now(timezone.utc), so the new derived run-projection assertions can
vary run to run. Update the test setup around rebuild_session_insights_sync and
search_workspace() to use the shared frozen_clock fixture for all timestamp
generation instead of datetime.now/time-based calls, keeping the fixture
deterministic.

In `@tests/unit/daemon/test_web_reader.py`:
- Around line 2673-2679: The test in
test_session_list_accepts_exists_supported_unit_query only checks that
/api/sessions accepts the query, which would pass even if filtering is ignored.
Update this test to seed a run-backed session matching runs where role:subagent,
then assert the response from _get_json_ex on /api/sessions includes that
session and excludes non-matching ones. Use the existing helpers in
test_web_reader and verify the returned session list, not just the status/ok
field.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 298389c1-4ae8-4181-962f-71e3d47fa0bf

📥 Commits

Reviewing files that changed from the base of the PR and between 24fe22e and d6bc175.

📒 Files selected for processing (36)
  • docs/internals.md
  • docs/openapi/search.yaml
  • docs/plans/topology-target.yaml
  • docs/schema.md
  • docs/topology-status.md
  • polylogue/archive/query/expression.py
  • polylogue/archive/query/metadata.py
  • polylogue/archive/query/predicate.py
  • polylogue/archive/query/unit_results.py
  • polylogue/storage/insights/session/rebuild.py
  • polylogue/storage/insights/session/run_projection_rows.py
  • polylogue/storage/insights/session/storage.py
  • polylogue/storage/insights/timeline/records.py
  • polylogue/storage/query_models.py
  • polylogue/storage/repository/__init__.py
  • polylogue/storage/repository/insight/run_projection_reads.py
  • polylogue/storage/runtime/__init__.py
  • polylogue/storage/sqlite/archive_tiers/archive.py
  • polylogue/storage/sqlite/archive_tiers/common.py
  • polylogue/storage/sqlite/archive_tiers/index.py
  • polylogue/storage/sqlite/queries/mappers_run_projection.py
  • polylogue/storage/sqlite/queries/session_insight_run_projection_reads.py
  • polylogue/storage/sqlite/queries/session_insight_run_projection_writes.py
  • polylogue/storage/sqlite/query_store.py
  • polylogue/storage/sqlite/query_store_insight_run_projection.py
  • polylogue/surfaces/payloads.py
  • tests/unit/api/test_facade_contracts.py
  • tests/unit/archive/test_query_metadata.py
  • tests/unit/cli/test_click_app.py
  • tests/unit/cli/test_command_aux_runtime.py
  • tests/unit/cli/test_query_exec_laws.py
  • tests/unit/cli/test_query_expression.py
  • tests/unit/cli/test_query_unit_renderer_metadata.py
  • tests/unit/daemon/test_web_reader.py
  • tests/unit/insights/test_run_projection_materialization.py
  • tests/unit/mcp/test_server_surfaces.py

Comment on lines +57 to +66
def observed_event_search_text(event: ObservedEvent) -> str:
return _join_search_text(
event.kind,
event.summary,
event.delivery_state,
event.run_ref.format(),
_ref_text(event.subject_ref),
*(ref.format() for ref in event.object_refs),
*(ref.format() for ref in event.evidence_refs),
)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Add event_ref to the observed-event text haystack.

Line 57 is the only source for session_observed_events.search_text, and the SQL read path later implements query.query as search_text LIKE ?. Because event.event_ref never enters that haystack, text: searches by observed-event id stop matching after materialization.

Suggested fix
 def observed_event_search_text(event: ObservedEvent) -> str:
     return _join_search_text(
+        event.event_ref.format(),
         event.kind,
         event.summary,
         event.delivery_state,
         event.run_ref.format(),
         _ref_text(event.subject_ref),
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
def observed_event_search_text(event: ObservedEvent) -> str:
return _join_search_text(
event.kind,
event.summary,
event.delivery_state,
event.run_ref.format(),
_ref_text(event.subject_ref),
*(ref.format() for ref in event.object_refs),
*(ref.format() for ref in event.evidence_refs),
)
def observed_event_search_text(event: ObservedEvent) -> str:
return _join_search_text(
event.event_ref.format(),
event.kind,
event.summary,
event.delivery_state,
event.run_ref.format(),
_ref_text(event.subject_ref),
*(ref.format() for ref in event.object_refs),
*(ref.format() for ref in event.evidence_refs),
)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@polylogue/storage/insights/session/run_projection_rows.py` around lines 57 -
66, The observed-event search text builder in observed_event_search_text is
missing event.event_ref, so session_observed_events.search_text cannot match
text: queries by observed-event id after projection. Update
observed_event_search_text to include event.event_ref in the _join_search_text
inputs alongside kind, summary, delivery_state, run_ref, subject_ref,
object_refs, and evidence_refs so the materialized search haystack covers that
identifier.

Comment on lines +245 to +267
@dataclass(frozen=True, slots=True)
class RunProjectionListQuery:
"""Canonical selection for materialized run-projection read-models.

One query shape covers ``session_runs``, ``session_observed_events``, and
``session_context_snapshots``; each reader honours only the filter fields
that map to its table columns and ignores the rest. ``sort`` selects
``position`` (default) or ``recency`` ordering.
"""

session_id: str | None = None
run_ref: str | None = None
harness: str | None = None
role: str | None = None
status: str | None = None
kind: str | None = None
delivery_state: str | None = None
boundary: str | None = None
inheritance_mode: str | None = None
query: str | None = None
sort: str = "position"
limit: int | None = 50
offset: int = 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Reject unsupported sort values in the canonical query shape.

_order_by only special-cases "recency" and falls back to position ordering for everything else, so a typo like "recent" silently returns the wrong order instead of failing fast. Validate sort here before the SQL readers see it.

Proposed fix
 `@dataclass`(frozen=True, slots=True)
 class RunProjectionListQuery:
@@
     query: str | None = None
     sort: str = "position"
     limit: int | None = 50
     offset: int = 0
+
+    def __post_init__(self) -> None:
+        if self.sort not in {"position", "recency"}:
+            raise ValueError(f"Unsupported run-projection sort: {self.sort}")
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
@dataclass(frozen=True, slots=True)
class RunProjectionListQuery:
"""Canonical selection for materialized run-projection read-models.
One query shape covers ``session_runs``, ``session_observed_events``, and
``session_context_snapshots``; each reader honours only the filter fields
that map to its table columns and ignores the rest. ``sort`` selects
``position`` (default) or ``recency`` ordering.
"""
session_id: str | None = None
run_ref: str | None = None
harness: str | None = None
role: str | None = None
status: str | None = None
kind: str | None = None
delivery_state: str | None = None
boundary: str | None = None
inheritance_mode: str | None = None
query: str | None = None
sort: str = "position"
limit: int | None = 50
offset: int = 0
`@dataclass`(frozen=True, slots=True)
class RunProjectionListQuery:
"""Canonical selection for materialized run-projection read-models.
One query shape covers ``session_runs``, ``session_observed_events``, and
``session_context_snapshots``; each reader honours only the filter fields
that map to its table columns and ignores the rest. ``sort`` selects
``position`` (default) or ``recency`` ordering.
"""
session_id: str | None = None
run_ref: str | None = None
harness: str | None = None
role: str | None = None
status: str | None = None
kind: str | None = None
delivery_state: str | None = None
boundary: str | None = None
inheritance_mode: str | None = None
query: str | None = None
sort: str = "position"
limit: int | None = 50
offset: int = 0
def __post_init__(self) -> None:
if self.sort not in {"position", "recency"}:
raise ValueError(f"Unsupported run-projection sort: {self.sort}")
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@polylogue/storage/query_models.py` around lines 245 - 267, Validate the
RunProjectionListQuery sort field at construction time so only supported values
are accepted. The current canonical query shape silently falls back to position
ordering in _order_by unless sort is exactly "recency", so add a guard in
RunProjectionListQuery to reject any unsupported value (e.g. a typo) before the
SQL readers use it. Keep the allowed values explicit and ensure the check is
tied to RunProjectionListQuery and the _order_by path that consumes it.

Comment on lines +3996 to +3999
if sort == "time":
order_by = f"r.position {order_direction}, r.run_ref {order_direction}"
else:
order_by = "r.session_id, r.position, r.run_ref"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Use session timestamps for sort="time" here.

Line 3997, Line 4043, and Line 4089 sort only by per-session position, so multi-session queries interleave all “position 0/1/2...” rows instead of ordering by session chronology. That makes the new time-sort support return and paginate deterministically wrong results whenever more than one session matches.

Proposed fix
-        if sort == "time":
-            order_by = f"r.position {order_direction}, r.run_ref {order_direction}"
+        if sort == "time":
+            session_time = f"COALESCE(s.sort_key_ms, s.created_at_ms, s.updated_at_ms, 0)"
+            order_by = f"{session_time} {order_direction}, r.position {order_direction}, r.run_ref {order_direction}"
         else:
             order_by = "r.session_id, r.position, r.run_ref"
-        if sort == "time":
-            order_by = f"e.position {order_direction}, e.event_ref {order_direction}"
+        if sort == "time":
+            session_time = f"COALESCE(s.sort_key_ms, s.created_at_ms, s.updated_at_ms, 0)"
+            order_by = f"{session_time} {order_direction}, e.position {order_direction}, e.event_ref {order_direction}"
         else:
             order_by = "e.session_id, e.position, e.event_ref"
-        if sort == "time":
-            order_by = f"c.position {order_direction}, c.snapshot_ref {order_direction}"
+        if sort == "time":
+            session_time = f"COALESCE(s.sort_key_ms, s.created_at_ms, s.updated_at_ms, 0)"
+            order_by = f"{session_time} {order_direction}, c.position {order_direction}, c.snapshot_ref {order_direction}"
         else:
             order_by = "c.session_id, c.position, c.snapshot_ref"

Also applies to: 4042-4045, 4088-4091

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@polylogue/storage/sqlite/archive_tiers/archive.py` around lines 3996 - 3999,
The `sort == "time"` branches in the archive tier query builders still order by
per-session `position`/`run_ref`, which interleaves rows across sessions instead
of following session chronology. Update the `order_by` logic in the affected
query paths to sort by the session timestamp field for time-based sorting, and
keep the existing non-time ordering separate so pagination and result ordering
stay deterministic across multiple sessions.

Comment on lines +152 to +163
# Materialize derived insight read-models (session_profiles, work events,
# and the run-projection tables session_runs/session_observed_events/
# session_context_snapshots) so the SQL-backed run/observed-event/
# context-snapshot query units have rows to return, mirroring a real
# post-ingest archive.
from polylogue.storage.insights.session.rebuild import rebuild_session_insights_sync

with sqlite3.connect(index_db) as insight_conn:
insight_conn.row_factory = sqlite3.Row
rebuild_session_insights_sync(insight_conn)
insight_conn.commit()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use frozen_clock for this fixture.

search_workspace() still seeds created_at/updated_at from datetime.now(timezone.utc) at Line 66. Now that this fixture also materializes the derived run-projection tables, the new assertions remain wall-clock dependent unless those timestamps come from the shared frozen clock. As per coding guidelines, "Tests must use the frozen_clock fixture instead of calling datetime.now, datetime.utcnow, time.time, or time.monotonic directly, unless the file is explicitly allowlisted."

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/unit/cli/test_query_exec_laws.py` around lines 152 - 163, This fixture
still depends on wall-clock timestamps because search_workspace() seeds
created_at/updated_at with datetime.now(timezone.utc), so the new derived
run-projection assertions can vary run to run. Update the test setup around
rebuild_session_insights_sync and search_workspace() to use the shared
frozen_clock fixture for all timestamp generation instead of
datetime.now/time-based calls, keeping the fixture deterministic.

Source: Coding guidelines

Comment on lines +157 to +162
from polylogue.storage.insights.session.rebuild import rebuild_session_insights_sync

with sqlite3.connect(index_db) as insight_conn:
insight_conn.row_factory = sqlite3.Row
rebuild_session_insights_sync(insight_conn)
insight_conn.commit()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

Use open_connection() for the rebuild step.

This is the only new materialization path in the PR still using bare sqlite3.connect(...). That skips the canonical write PRAGMAs and sibling-tier attachment applied by open_connection(), so this fixture is no longer exercising the same rebuild path as the other updated tests.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/unit/cli/test_query_exec_laws.py` around lines 157 - 162, The rebuild
fixture still uses a bare sqlite3.connect() call instead of the canonical
database opener. Update the test setup around rebuild_session_insights_sync to
use open_connection() for index_db so the rebuild step exercises the same write
PRAGMAs and sibling-tier attachment path as the rest of the updated tests. Keep
the rebuild_session_insights_sync call and commit flow the same, but source the
connection from open_connection() rather than sqlite3.connect().

Comment on lines +2673 to +2679
def test_session_list_accepts_exists_supported_unit_query(self, workspace_env: dict[str, Path]) -> None:
"""run/observed-event/context-snapshot now lower to exists session selectors."""
expression = quote("runs where role:subagent")
with _running_server(workspace_env) as (_, base_url):
status, body = _get_json_ex(base_url, f"/api/sessions?query={expression}")
assert status == 400
assert body.get("ok") is False
assert "terminal run rows" in str(body.get("detail") or body.get("message") or "")
assert status == 200
assert body.get("ok") is not False

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Assert filtered results here, not just acceptance.

A 200/ok != False response would still pass if the query were ignored or lowered incorrectly. Please seed a matching run-backed session and assert that /api/sessions?query=runs where role:subagent actually returns the filtered session set.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/unit/daemon/test_web_reader.py` around lines 2673 - 2679, The test in
test_session_list_accepts_exists_supported_unit_query only checks that
/api/sessions accepts the query, which would pass even if filtering is ignored.
Update this test to seed a run-backed session matching runs where role:subagent,
then assert the response from _get_json_ex on /api/sessions includes that
session and excludes non-matching ones. Use the existing helpers in
test_web_reader and verify the returned session list, not just the status/ok
field.

Sinity and others added 2 commits June 27, 2026 11:28
…parity

Adversarial review of #2458 found the broadened search_text diverged from the
removed runtime text matcher: run dropped confidence and wrongly added
native_session_id/native_parent_session_id; observed-event wrongly added
kind/delivery_state/run_ref. Match the runtime text haystack exactly (no more,
no less) so text: behaviour is equivalent, not over/under-matching.
context-snapshot already matched. Re-materialization picks this up.

Co-Authored-By: Claude <[email protected]>
#2458 made these units SQL-backed over the materialized run-projection tables.
search.md still described them as runtime-transform terminal-only sources that
reject sort and cannot be exists selectors. Update the pipeline-stage notes, the
structural-predicate field table (add the three units), and the unit narrative to
the SQL reality: sort/limit/offset + exists selectors + full session filter
surface, with group-by/count aggregation still typed-unsupported.

Co-Authored-By: Claude <[email protected]>
@Sinity

Sinity commented Jun 27, 2026

Copy link
Copy Markdown
Owner Author

Adversarial review + perf/re-ingest validation (independent agents)

Correctness review ran a field-by-field diff of the new SQL _*_field_predicate_clause lowerers against the removed runtime matchers. Findings and dispositions:

  • search_text / text: parity (fixed — 5b6e2f6). The broadened search_text diverged from the runtime text haystack: run dropped confidence and wrongly added native_session_id/native_parent_session_id; observed-event wrongly added kind/delivery_state/run_ref. Now matches the runtime text field set exactly (verified against the removed _run_field_matches/_observed_event_field_matches haystacks); context-snapshot already matched.
  • LIKE wildcard semantics (deliberately unchanged). _like_clause treats %/_ as LIKE metacharacters, so text:50% wildcards where the runtime did a literal Python substring. This is the established, parameterized (injection-safe) semantic shared by every SQL unit (message/action/block/assertion); making the new units consistent with their siblings is preferred over exact parity with the removed path for this edge case. Escaping would be a cross-cutting change to the shared helper — out of scope here. Flagging for the record.
  • Verified sound: rebuild idempotence (DELETE-then-insert across sync + both async + empty-rebuild branches), payload_json round-trip (model_dump→model_validate lossless), EXISTS JOIN correlation, session-scoped field routing.

Docs (fixed — 0e571fc). docs/search.md still described these units as runtime-transform / sort-rejecting / non-exists — now corrected to the SQL reality (sort/limit/offset + exists selectors + full session filter surface; group by | count still typed-unsupported).

Perf + re-ingest validation (360-session synthetic archive, cross-version timing):

  • Materialization adds +30% to a full insight rebuild (~1.73 ms/session; compile_recovery_digest is 0.59 s of the 0.62 s — the 3 bulk table writes are 0.04 s). Linear floor on the ~24 K production archive ≈ +42 s to a full re-ingest. Acceptable: full rebuilds only run on version-bump re-ingest; the daemon's incremental path pays this only for changed sessions; and the work moves out of every read into once-per-rebuild (net read-latency win). No gating/incrementalization needed.
  • Re-ingest path confirmed end-to-end: v10 index.db rejected under v11; polylogue ops reset --database preserved user.db; re-acquire + rebuild repopulated all three tables (360 runs / 568 observed-events / 360 context-snapshots). Note: reset --database re-acquires from the original source artifacts on disk (it also drops source.db), matching the docs/internals.md "re-acquire from source" wording.

Recommend a one-time observation of the real full re-ingest rebuild time after deploy, since compile_recovery_digest cost scales with session size (synthetic sessions are small).

Ref #2384 Ref #2006

…et, sort validation

CodeRabbit review of #2458:
- query_runs/observed_events/context_snapshots sort="time" ordered by per-session
  position only, interleaving every session's position-0 rows. Order by the owning
  session's source_updated_at first, then session_id, position. Adds a multi-session
  regression test (native ids whose alphabetical order differs from chronological).
- rebuild_session_insights_async treated an empty (non-None) session_ids list as a
  global wipe of the derived tables; the sync path no-ops. Align async to a no-op so
  only session_ids is None performs a full rebuild.
- _order_by silently fell back to position ordering on an unknown sort value; reject
  anything other than position/recency with a typed error.

Co-Authored-By: Claude <[email protected]>
@Sinity

Sinity commented Jun 27, 2026

Copy link
Copy Markdown
Owner Author

CodeRabbit dispositions (commit 5546ccc)

  • ✅ Cross-session sort by time (archive.py): was ordering by per-session position only, interleaving every session's position-0 rows. Now ORDER BY COALESCE(source_updated_at,''), session_id, position across all three units. Added a multi-session regression test (test_terminal_run_sort_by_time_orders_across_sessions) using native ids whose alphabetical order differs from chronological, so the old behaviour fails it.
  • ✅ session_ids=[] global delete (rebuild.py async): aligned to the sync path — an empty (non-None) target list is now a no-op, not a wipe of the derived tables. Only session_ids is None does a full rebuild.
  • ✅ Unsupported sort value (_order_by): now raises a typed error for anything other than position/recency instead of silently falling back to position.
  • ↩️ Add event_ref to the observed-event haystack — declining. search_text backs the DSL text: predicate, whose contract (feat(query): implement the full query DSL substrate #2006) is parity with the removed runtime matcher; that matcher's observed-event text covered summary + subject/object/evidence refs only, NOT event_ref. Adding it would re-introduce the over-matching just fixed in 5b6e2f6. The RunProjectionListQuery reader's free-text query shares this column but is not yet wired to any surface; when it is, ref lookups go through the typed event_ref/run_ref filters, not free-text.
  • ↩️ frozen_clock / open_connection() in the test fixture — minor test-hygiene on search_workspace; deferring to keep this PR's test change minimal (the fixture's datetime.now seeding predates this PR and the lint passes). Noted for a follow-up.

devtools verify --quick green (mypy --strict); 363 query/materialization tests pass incl. the new sort regression.

@Sinity
Sinity merged commit a5182b1 into master Jun 27, 2026
15 checks passed
@Sinity
Sinity deleted the feature/feat/materialize-run-projection branch June 27, 2026 10:22
Sinity added a commit that referenced this pull request Jun 27, 2026
…ions (#2464)

## Summary

The run-projection materializer (#2458) crashes on any real archive that
contains subagent lineages: `UNIQUE constraint failed:
session_runs.run_ref`, aborting the entire insight rebuild. This makes
the run-projection writers `INSERT OR REPLACE` so a
`run_ref`/`event_ref`/`snapshot_ref` shared across sessions collapses to
a single row.

## Problem

`session_runs.run_ref` (and the `event_ref`/`snapshot_ref` PKs) are
**global** primary keys, but run refs are **not** globally unique: a
subagent's run is emitted twice —

- as the **child session's own main run** (`run:<child_session_id>`),
and
- as the **parent session's subagent run** (also
`run:<child_session_id>`).

In a full insight rebuild both land in one `executemany`, violating the
PK. Synthetic fixtures (distinct ids per session) never hit this; it
fires immediately on a real archive. Discovered live while migrating the
production 16,398-session archive to index v11 — the very first full
materialization aborted on it.

## Solution

`build_insert_sql(..., or_replace=True)` and a matching `or_replace`
flag on the async `replace_insight_rows` helper; the three
run-projection writers (sync single + bulk, async) opt in. The shared
run collapses to one row, last write wins. This is deterministic: the
bulk rebuild flattens records in stable session-page order
(`iter_session_id_pages_sync`, ordered by `session_id`), so the same
archive always yields the same winner.

Follow-up (not blocking): make the canonical winner *semantically*
preferred (the child's `main` run over the parent's `subagent` view)
rather than order-determined.

## Verification

- New regression test `test_run_ref_collision_across_sessions_upserts`
reproduces the parent+child shared-`run_ref` collision through
`replace_session_runs_bulk_sync`; asserts no crash and one row for the
shared run. Fails (IntegrityError) without the fix.
- `pytest tests/unit/insights/test_run_projection_materialization.py` →
2 passed.
- `mypy --strict` clean on the changed files.
- Confirmed against the real production archive: the full 16,398-session
materialization that aborted now completes.

Ref #2458

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved session data saving so repeated writes update existing
records instead of failing or creating duplicates.
* Fixed an edge case where shared run references across sessions are now
handled safely during bulk updates.
* Session run, observed event, and context snapshot syncing now uses
replace-on-conflict behavior for more reliable persistence.

* **Tests**
* Added coverage for cross-session run reference collisions to verify
the new update behavior works correctly.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude <[email protected]>
Sinity added a commit that referenced this pull request Jun 27, 2026
…2458) (#2466)

## Summary

`rebuild_session_insights_sync`/`_async` now commit per chunk instead of
once
per call, and the full-rebuild path message-budget chunks like the
incremental
path. This bounds the rebuild WAL to roughly one message-budget chunk
and
removes the empty-insight window, without regressing correctness.

## Problem

The full-rebuild path (`session_ids is None`) cleared every per-session
insight
table upfront and rebuilt the entire archive inside ONE transaction,
committing
once at the end. On the production archive (16,398 sessions / 28.8 GB)
this held
the write lock for many minutes and grew a **~6 GB WAL**, blocking
readers for
the whole window. The full path also paginated by a fixed `page_size`
(50)
rather than by message budget, so a page of a few giant sessions was
unbounded
in RSS and per-chunk WAL. (The incremental `session_ids` path already
message-budget-chunked but still committed once per call.)

## Solution

`polylogue/storage/insights/session/rebuild.py`:

- **Commit per chunk** in the shared rebuild loop (sync) — bounds the
WAL to one
  message-budget chunk. The async sibling mirrors this, gated on
`transaction_depth == 0` so a nested-savepoint caller is never committed
out
  from under (its `replace_*` helpers already commit at depth 0).
- **Full path message-budget chunks**: gather all `session_ids`,
`_load_message_counts_*`, then
`_chunk_session_ids_by_message_budget_sync`
  instead of fixed `iter_session_id_pages_sync(page_size)`. Added
  `_load_message_counts_async` for parity.
- **No empty-window regression**: dropped the upfront global DELETE of
the
per-session insight tables (`session_profiles`,
`session_latency_profiles`,
  `session_work_events`, `session_phases`, `session_runs`,
`session_observed_events`, `session_context_snapshots`). The per-session
bulk
writers already DELETE-by-session + INSERT (upsert), so processed
sessions get
fresh rows while not-yet-processed sessions keep their OLD rows visible
until
  their chunk runs.
- **Orphan cleanup**: new `_delete_orphan_session_insights_sync/_async`
delete
per-session insight rows whose `session_id` is no longer in `sessions`,
run
after the chunk loop. The write profile sets `foreign_keys=ON` (so a
session
  DELETE normally cascades — every per-session insight table is
`REFERENCES sessions(session_id) ON DELETE CASCADE`), but an FK-disabled
mutation path could leave orphans, so the prune is explicit for safety.
- Aggregate tables (`thread_sessions`, `threads`, `session_tag_rollups`)
and the
`'thread'` markers are still cleared+rebuilt in the comparatively small
aggregate phase, which keeps its own final transaction
(clear-all-then-upsert
there inherently can't commit per-chunk without a thread-level empty
window;
  its WAL footprint is aggregate-sized, not per-session).
- Updated the #1607 comment block to the new model (per-chunk commit,
upsert
  keeps old insights visible, orphan cleanup, resumability).

Resumability: a crash mid-rebuild leaves a mix of fresh and stale
per-session
insights (never an emptied archive); the next rebuild/incremental
convergence
completes it.

Tests: the prior progress/atomicity tests encoded the old
single-transaction
"cleared `<table>`" guarantee and were already failing against the
schema-v11
run-projection tables. Updated
`test_session_insight_rebuild_progress.py` and
`tests/unit/cli/test_insights.py` to assert the new model (per-table
orphan-prune heartbeats, no upfront wipe, failure preserves prior
profiles via
upsert). Added
`test_full_rebuild_commits_incrementally_and_prunes_orphans` proving:
intermediate committed state is visible from a second connection
(incremental
commit), every still-existing session keeps a visible profile at every
chunk
boundary (no empty window), and a deleted session's orphan profile is
pruned.

## Verification

- `nix develop -c devtools verify --quick` → `exit_code: 0` (ruff
format/check,
  mypy --strict, render all --check, topology/layering/manifests/etc).
- `nix develop -c devtools test
tests/unit/storage/test_session_insight_refresh.py
tests/unit/storage/test_session_insight_rebuild_progress.py`
  → `24 passed`.
- `nix develop -c devtools test
tests/unit/pipeline/test_run_stages_runtime.py
tests/unit/demo/test_demo_seed_verify.py
tests/unit/pipeline/test_resilience.py`
  → `34 passed` (async materialize + demo seed paths).
- `nix develop -c devtools test tests/unit/cli/test_insights.py
tests/unit/core/test_insight_readiness.py
tests/unit/core/test_facade_api.py
tests/unit/core/test_sync_surface_runtime.py`
  → `79 passed` after updating the stale progress assertion.
- `nix develop -c devtools test tests/unit/maintenance/test_registry.py`
→ `14
  passed` (empty-archive full-rebuild branch).

Ref #2458

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_014pcNXbmmzXHFrpARz48gN6

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Full session insight rebuilds now run in smaller chunks, improving
progress visibility and reducing the chance of large, disruptive
rebuilds.
* Rebuilds now preserve existing insight data until replacement data is
ready, so interrupted runs are less likely to leave results empty.
* Orphaned insight rows are cleaned up after rebuilds, helping keep
insight counts and listings accurate.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
@github-actions github-actions Bot mentioned this pull request Jul 5, 2026
Sinity pushed a commit that referenced this pull request Jul 11, 2026
Automated release PR opened by release-please. See
[docs/release.md](docs/release.md).
---


## [0.2.0](https://github.com/Sinity/polylogue/compare/v0.1.0...v0.2.0)
(2026-07-11)


### Added

* **analytics:** delegation enabling primitive + view (1vpm.1 phases
1-2) ([#2607](https://github.com/Sinity/polylogue/issues/2607))
([09dc46c](https://github.com/Sinity/polylogue/commit/09dc46c26648e7b90de3acf03e3efbf82f10dafc))
* **analyze:** add corpus-wide sanitized portfolio report
([#2437](https://github.com/Sinity/polylogue/issues/2437))
([#2451](https://github.com/Sinity/polylogue/issues/2451))
([d101a37](https://github.com/Sinity/polylogue/commit/d101a37c989177dc9d8a2b49a241a7a4818697ac))
* **archive:** preserve structured session evidence
([#2496](https://github.com/Sinity/polylogue/issues/2496))
([e55c675](https://github.com/Sinity/polylogue/commit/e55c675aaeee8c565c7cd1bb7276af7fccc2866d))
* **browser-capture:** add gated post commands
([#2494](https://github.com/Sinity/polylogue/issues/2494))
([79a8ac0](https://github.com/Sinity/polylogue/commit/79a8ac097aa68304bdb5b3e53ef1c1a7d6556afd))
* **browser-extension:** capture retry queue, receiver health probe,
popup outcomes
([#2671](https://github.com/Sinity/polylogue/issues/2671))
([67f522b](https://github.com/Sinity/polylogue/commit/67f522bd54762ad9a387ab4eadde1850806b4059))
* **capture:** acquire assistant-produced file bytes at capture time
([#2669](https://github.com/Sinity/polylogue/issues/2669))
([8db8d60](https://github.com/Sinity/polylogue/commit/8db8d60b34565f23ced411b786b252b6a4473b00))
* **cli:** add full message read export
([0d63cd6](https://github.com/Sinity/polylogue/commit/0d63cd6cc2c3aac5055535c7f9e30fe8a273a356))
* converge dogfood branch state
([#2504](https://github.com/Sinity/polylogue/issues/2504))
([d40d00a](https://github.com/Sinity/polylogue/commit/d40d00a312e5530a76e3e1ba29f3ddc37ce89d82))
* **coordination:** render subagent exchanges
([#2545](https://github.com/Sinity/polylogue/issues/2545))
([a35bd6d](https://github.com/Sinity/polylogue/commit/a35bd6d97eafef647cf016998437c49d5aca98bc))
* **cost:** price current Opus 4.7/4.8 flagships
([#2445](https://github.com/Sinity/polylogue/issues/2445))
([fbb8f09](https://github.com/Sinity/polylogue/commit/fbb8f09187ae013b6a27db01e2961440f507cacb))
* **demo:** enrich demo cost and fix profile token-lane round-trip
([#2446](https://github.com/Sinity/polylogue/issues/2446))
([05f8c98](https://github.com/Sinity/polylogue/commit/05f8c980c5c516bec358abcdd841edbf742c1e07))
* **demo:** give demo session a canonical repo for repos_touched
([#2447](https://github.com/Sinity/polylogue/issues/2447))
([b73f01d](https://github.com/Sinity/polylogue/commit/b73f01db8e2f008bee5801f17a297d80867a105d))
* **demo:** Incident 14:32 constructs — source outage, cross-material
duplicate, compaction omission
([#2674](https://github.com/Sinity/polylogue/issues/2674))
([8c15e86](https://github.com/Sinity/polylogue/commit/8c15e86127ba15454c667ccae0c7c1318d0050cc))
* **demo:** materialize session insights in no-daemon seed
([#2439](https://github.com/Sinity/polylogue/issues/2439))
([21951de](https://github.com/Sinity/polylogue/commit/21951de986200babb056d1f9c77ad17758ec4fad))
* **demo:** one-command receipts proof, enforced public-claims gate,
corpus v2 ([#2662](https://github.com/Sinity/polylogue/issues/2662))
([529fc43](https://github.com/Sinity/polylogue/commit/529fc43979d7e3292252529925ba2009a4ddfa23))
* **demo:** package claim evidence reproduction
([678f3d6](https://github.com/Sinity/polylogue/commit/678f3d6805b664ef47b1d8350ed81549a01bb9e0))
* **devtools:** accept bead: owners in coverage-manifest gap records
([#2611](https://github.com/Sinity/polylogue/issues/2611))
([10a1212](https://github.com/Sinity/polylogue/commit/10a1212f4b17b9359494949dccb032456f26c4ef))
* **devtools:** add bench ingest-throughput wall-clock benchmark
([#2490](https://github.com/Sinity/polylogue/issues/2490))
([d415412](https://github.com/Sinity/polylogue/commit/d415412d7d68008a92296f6f6dd29f53b4cb7a10))
* **devtools:** add claim-vs-evidence demo report
([af4915d](https://github.com/Sinity/polylogue/commit/af4915d11bea6c81eda0da5521932a9c7d150890))
* **devtools:** add cost reconciliation probe
([153dab3](https://github.com/Sinity/polylogue/commit/153dab3eaf721b82ffce37ac14174d12e91abc1d))
* **devtools:** add full-body read package projection
([0e83712](https://github.com/Sinity/polylogue/commit/0e837125aa425a8c6f8015cbeeb1b5231a01ebb6))
* **devtools:** catch subcommand/flag drift in verify doc-commands
([#2442](https://github.com/Sinity/polylogue/issues/2442))
([0d5a3bb](https://github.com/Sinity/polylogue/commit/0d5a3bb6ee3c18e1abc4690a249aa465d0ce5e9d))
* **devtools:** classify affordance surface usage
([fb4eab8](https://github.com/Sinity/polylogue/commit/fb4eab84989d6eee4aaab86f8eb0e05d7dcfba95))
* **devtools:** compare Claude usage grains
([2abe147](https://github.com/Sinity/polylogue/commit/2abe1478401ffe117df71e0c019a62f7a2152945))
* **devtools:** Demo Finding Packet contract + registry lint
([#2589](https://github.com/Sinity/polylogue/issues/2589))
([4e49b6c](https://github.com/Sinity/polylogue/commit/4e49b6ccd03a63ffed2b50a878a882131f79801e))
* **devtools:** enforce production writer ownership
([#2682](https://github.com/Sinity/polylogue/issues/2682))
([f314e81](https://github.com/Sinity/polylogue/commit/f314e812ec64b43bd50be04a8f825fc9402f7c14))
* **devtools:** expose cost probe residual metadata
([a6ecbaf](https://github.com/Sinity/polylogue/commit/a6ecbaf0a6d3aa7eba2da525cad14dca056a6a4c))
* **devtools:** instrument ingest with cpu/memory/io/stage metrics
([#2491](https://github.com/Sinity/polylogue/issues/2491))
([52b5bc0](https://github.com/Sinity/polylogue/commit/52b5bc038a0bd959563cf61db4a1e0fd15001ea3))
* **devtools:** show Claude lineage in cost residuals
([76f56a4](https://github.com/Sinity/polylogue/commit/76f56a46263278ec089d389dae54769e5854c702))
* **devtools:** show logical usage grain in cost probe
([77543d4](https://github.com/Sinity/polylogue/commit/77543d449515b036954216cb6349b5c6ed5eb7ee))
* **devtools:** summarize Codex state outlier flags
([ab72066](https://github.com/Sinity/polylogue/commit/ab72066dc528bedc06b1e1b6da01554ac0dec629))
* **devtools:** timestamp-doctrine lint for durable-tier DDL
([#2601](https://github.com/Sinity/polylogue/issues/2601))
([6c12e92](https://github.com/Sinity/polylogue/commit/6c12e92348d6e67db212462573ff939110996395))
* **export:** add fail-closed sanitized shareable export
([#2381](https://github.com/Sinity/polylogue/issues/2381))
([#2433](https://github.com/Sinity/polylogue/issues/2433))
([f5ab219](https://github.com/Sinity/polylogue/commit/f5ab2195558823fd01d6db432a32e1768d6ba930))
* **export:** add sanitized spans-jsonl bundle leg
([#2434](https://github.com/Sinity/polylogue/issues/2434))
([#2455](https://github.com/Sinity/polylogue/issues/2455))
([c4b6771](https://github.com/Sinity/polylogue/commit/c4b677181847375d9636cb9448e3accbf4688595))
* **export:** redact Windows paths and emails in sanitized export
([#2444](https://github.com/Sinity/polylogue/issues/2444))
([c05e83e](https://github.com/Sinity/polylogue/commit/c05e83ee9d1c2a8605f48f2d640749c0ddae62db))
* **forensics:** price origin-reported usage
([f859356](https://github.com/Sinity/polylogue/commit/f859356a56dde0229e846c6aa838b21e60ecd74c))
* **insights:** add usage timeline read model
([56f38ef](https://github.com/Sinity/polylogue/commit/56f38ef6653f9e2937983d9554270188ef1adae8))
* **insights:** deterministic agent-workflow pathology detectors
([#2448](https://github.com/Sinity/polylogue/issues/2448))
([72d0623](https://github.com/Sinity/polylogue/commit/72d0623ea331f5348ceb7c6fde61e7c6ce41d200))
* **insights:** expose pathology distribution via API + MCP tool
([#2383](https://github.com/Sinity/polylogue/issues/2383))
([#2449](https://github.com/Sinity/polylogue/issues/2449))
([e7a39b3](https://github.com/Sinity/polylogue/commit/e7a39b37fb0de39ba103bb4633bce8d4ba90da23))
* install and monitor harness hooks
([#2644](https://github.com/Sinity/polylogue/issues/2644))
([7e6123c](https://github.com/Sinity/polylogue/commit/7e6123cac3e5ed3c365ff9abb4fafe04deec3b9c))
* integrate archive convergence and capture platform
([#2534](https://github.com/Sinity/polylogue/issues/2534))
([3498981](https://github.com/Sinity/polylogue/commit/349898106783020294e52e30d3a2296021094940))
* **lineage:** surface a completeness signal on composed reads
([#2603](https://github.com/Sinity/polylogue/issues/2603))
([c06ca60](https://github.com/Sinity/polylogue/commit/c06ca601c3e35eae8408425c3c6b27092aab3ea4))
* **maintenance:** bound index replay selections
([d98f126](https://github.com/Sinity/polylogue/commit/d98f1262c6df6b3c274d723a80850fe56594cffa))
* **maintenance:** replay source rows into index tier
([a549285](https://github.com/Sinity/polylogue/commit/a549285140be52fde995ff826cd9d8b1073d9589))
* **mcp:** add filtered message tail paging
([f64920f](https://github.com/Sinity/polylogue/commit/f64920f22bc8234af2bb506130c6bf5c418f0da9))
* **mcp:** expose postmortem bundle and sanitized export as agent tools
([#2443](https://github.com/Sinity/polylogue/issues/2443))
([66fb40a](https://github.com/Sinity/polylogue/commit/66fb40af5c4a7aeb8cde44b6b605414602e0d60c))
* normalize session lineage and correct cross-provider cost accounting
([#2469](https://github.com/Sinity/polylogue/issues/2469))
([7412b69](https://github.com/Sinity/polylogue/commit/7412b69a9b64863a1bf4df11d7feeb99f61262ff))
* **parsers:** capture Claude server_tool_use web request counts
([#2486](https://github.com/Sinity/polylogue/issues/2486))
([badd731](https://github.com/Sinity/polylogue/commit/badd73180f1e33db3bcf26db02800f4648e4a965))
* **query:** add Terminal pipeline stage; route verbs through one
executor ([#2006](https://github.com/Sinity/polylogue/issues/2006))
([#2463](https://github.com/Sinity/polylogue/issues/2463))
([fb9073c](https://github.com/Sinity/polylogue/commit/fb9073cfc801a6b4d8150e6998c96b966e39047c))
* **query:** attach evidence units to session results
([f76e700](https://github.com/Sinity/polylogue/commit/f76e7006f3d6fcda7206ff7bc67b572421f15e59))
* **query:** attach related units to session queries
([#2495](https://github.com/Sinity/polylogue/issues/2495))
([4a9c7a0](https://github.com/Sinity/polylogue/commit/4a9c7a07a12787a2b71a13f588b1b4dc835747a5))
* **query:** expose action followup classification
([c68c278](https://github.com/Sinity/polylogue/commit/c68c278ef9c5f212ca49c4a9d70215910aca1f4c))
* **query:** expose action outcome predicates
([8b0595d](https://github.com/Sinity/polylogue/commit/8b0595dcc29f88c04679f8da307a66d5a43b462c))
* **query:** expose projection unit completions
([03f9ffb](https://github.com/Sinity/polylogue/commit/03f9ffb727072ed87fd6b576dcf41784134f0682))
* **query:** select fields for attached projection units
([867b1d0](https://github.com/Sinity/polylogue/commit/867b1d0482aca870053b188648b2a1d92170efc0))
* **read-package:** expose handoff freshness metadata
([d7aa9e8](https://github.com/Sinity/polylogue/commit/d7aa9e81a5a662236f86d938a06f750f9e9a7b57))
* **read:** add projection render specs
([#2503](https://github.com/Sinity/polylogue/issues/2503))
([ce2f62a](https://github.com/Sinity/polylogue/commit/ce2f62ac65e6e7c29558a74f1dd10ba78d0999e2))
* **storage:** block content-hash citation anchors with typed resolver
([#2588](https://github.com/Sinity/polylogue/issues/2588))
([6974706](https://github.com/Sinity/polylogue/commit/6974706611cb18695a1b85924193724c8b3f93dd))
* **storage:** classify attachment acquisition debt separately from
source blobs ([#2586](https://github.com/Sinity/polylogue/issues/2586))
([b536fc3](https://github.com/Sinity/polylogue/commit/b536fc3aa57ed92b3b6ec2300e97d7bb3b0af247))
* **storage:** persist raw revision authority evidence
([#2681](https://github.com/Sinity/polylogue/issues/2681))
([2032b2c](https://github.com/Sinity/polylogue/commit/2032b2cb26c6000b2f7db7d07efb4a2176546bf1))
* **usage:** expose all-origin logical token rollups
([8ca374e](https://github.com/Sinity/polylogue/commit/8ca374e59b7863e7414b473a85bb73886e98eb92))
* **usage:** label logical model rollup grain
([a336b86](https://github.com/Sinity/polylogue/commit/a336b864c670397b941a757ede80ac1df430692d))
* **usage:** report pricing provenance lanes
([57263f9](https://github.com/Sinity/polylogue/commit/57263f9c8831221ad44842259b68f9a5ab012292))
* **web:** evidence-cockpit IA — four-verb navigation, landing view,
session evidence strip
([#2675](https://github.com/Sinity/polylogue/issues/2675))
([79fb50d](https://github.com/Sinity/polylogue/commit/79fb50d9450f24a52cb84c7d060265c6ca70f2cd))


### Fixed

* **agent:** align quick raw-debt status
([28db963](https://github.com/Sinity/polylogue/commit/28db9636e2843cdd6ebcd43de73259a2c233e096))
* **agent:** allow active devloop backlog
([5816a75](https://github.com/Sinity/polylogue/commit/5816a7599067cb5347cedf16b25a9d801c3cf039))
* **agent:** include raw debt in quick devloop status
([d5589c4](https://github.com/Sinity/polylogue/commit/d5589c418635a8cfcf3525419b54857e0d6ba722))
* **agent:** keep devloop probes on quick status
([7bd0440](https://github.com/Sinity/polylogue/commit/7bd044094b22e6d98eeb4bc0ec4fc1d20383f8ee))
* **agent:** keep quick status off raw debt scans
([2743c46](https://github.com/Sinity/polylogue/commit/2743c46fd680349060154e26b1b008eb51afac4b))
* **agent:** resolve devloop repo roots dynamically
([#2505](https://github.com/Sinity/polylogue/issues/2505))
([79290e6](https://github.com/Sinity/polylogue/commit/79290e6e6ea718aad5de0bb5d015eeb91c42699a))
* **archive:** report evidence and convergence honestly
([#2502](https://github.com/Sinity/polylogue/issues/2502))
([7120bde](https://github.com/Sinity/polylogue/commit/7120bde619a1ffaaef6a82afcba13de904adf80f))
* **attachments:** acquire Claude extracted payloads
([60d93b6](https://github.com/Sinity/polylogue/commit/60d93b618e2d8cbd73dce8176ee2c9267fdfb8af))
* batch deep-read defects — convergence probes, conn leaks, reset gate,
parser ([#2543](https://github.com/Sinity/polylogue/issues/2543))
([9ed21a6](https://github.com/Sinity/polylogue/commit/9ed21a613d3f5c036434bc44a7f953321c240a17))
* **beads:** add timestamp-aware guard against post-checkout/post-merge
revert
([209c9db](https://github.com/Sinity/polylogue/commit/209c9db223286a70667c6a1fc64063d9d704df28))
* bound daemon HTTP archive-query concurrency, add per-request timeout
([#2628](https://github.com/Sinity/polylogue/issues/2628))
([f6c1da9](https://github.com/Sinity/polylogue/commit/f6c1da997bea64bc6cd9670d9cbb8f7e7439ec51))
* **browser-capture:** bound the outbound post-command queue (gnie
[#4](https://github.com/Sinity/polylogue/issues/4))
([#2568](https://github.com/Sinity/polylogue/issues/2568))
([28a263f](https://github.com/Sinity/polylogue/commit/28a263fcd217a4b611824edab6649d6705e4be56))
* **browser-capture:** report stale archived captures
([c972c84](https://github.com/Sinity/polylogue/commit/c972c843400b3fde9504f409fbebe9295bd64123))
* **browser-capture:** require an auto-minted bearer token by default
([#2571](https://github.com/Sinity/polylogue/issues/2571))
([f39a7fb](https://github.com/Sinity/polylogue/commit/f39a7fb6c19899a8a134c8db846723fc276c0861))
* **browser-extension:** bound asset acquisition by wall-clock and
failure streaks
([#2672](https://github.com/Sinity/polylogue/issues/2672))
([73a0654](https://github.com/Sinity/polylogue/commit/73a0654aa115ae6e6af597f122dfbaa35c950507))
* **chatgpt:** strip inline citation markers; keep injected context
messages ([#2668](https://github.com/Sinity/polylogue/issues/2668))
([9f54f7f](https://github.com/Sinity/polylogue/commit/9f54f7faf6e06d4da95e387f69588629fbb90056))
* classify blockless thinking messages as reasoning
([#2634](https://github.com/Sinity/polylogue/issues/2634))
([bdc7b73](https://github.com/Sinity/polylogue/commit/bdc7b73ad8500319cf2c8c9084856be9a3beb840))
* **cli:** bound daemon fast-path probes
([f458002](https://github.com/Sinity/polylogue/commit/f458002985838c379074cd6f1e321395f581eddb))
* **cli:** bound root find row output
([54dd217](https://github.com/Sinity/polylogue/commit/54dd217a0b9733d8c050a5b306c578eae09143c4))
* **cli:** compact ops status JSON by default
([62862df](https://github.com/Sinity/polylogue/commit/62862dfaabbd4b3ef1c425a6a963332932b9a8cd))
* **cli:** count queried analyze results from search scope
([2726f5a](https://github.com/Sinity/polylogue/commit/2726f5a5a186299b336d3bb49cbc5c6fbcc6ae47))
* **cli:** honor JSON format for select
([#2517](https://github.com/Sinity/polylogue/issues/2517))
([3baa238](https://github.com/Sinity/polylogue/commit/3baa238f87b2e2f12be1f5aaa24093dcd208470a))
* **cli:** mark analyze totals as partial during convergence
([37e192b](https://github.com/Sinity/polylogue/commit/37e192b346e5ce45f1d2e00f73a4580b5ffabf54))
* **cli:** resolve exact refs before root search
([08d3a5b](https://github.com/Sinity/polylogue/commit/08d3a5b8867f70f7e4acd16a9ece60fc69eb122e))
* **cli:** route structured queries without FTS
([c58f93e](https://github.com/Sinity/polylogue/commit/c58f93e2b7b63612d0766585277ae933ae32436e))
* **cli:** warn when empty results may be partial
([41b7e74](https://github.com/Sinity/polylogue/commit/41b7e7409573cdb5fbe11b303e082a6b1aff856a))
* **codex:** omit inline image data from tool text
([6d3871f](https://github.com/Sinity/polylogue/commit/6d3871f871d9b592981ad758bbaec57cb7c675c3))
* **context:** coerce non-user assertion authors to candidate at one
chokepoint ([#2572](https://github.com/Sinity/polylogue/issues/2572))
([39f0765](https://github.com/Sinity/polylogue/commit/39f0765a536a1268f64890aae49d5c5576641423))
* **context:** enforce assertion guidance trust boundary
([#2677](https://github.com/Sinity/polylogue/issues/2677))
([ce65396](https://github.com/Sinity/polylogue/commit/ce65396c2c80da8a652feaf71748cec6f5a15549))
* **convergence:** classify stale raw parse failures
([884efb5](https://github.com/Sinity/polylogue/commit/884efb5f92d76b065bedc1d22cf8dc836fe31201))
* **convergence:** restore append-only raw blob spans
([cbb27fb](https://github.com/Sinity/polylogue/commit/cbb27fbd030ca78ff03b7947860ed106243ac081))
* **coordination:** compact agent status projections
([#2656](https://github.com/Sinity/polylogue/issues/2656))
([#2656](https://github.com/Sinity/polylogue/issues/2656))
([de7f2b9](https://github.com/Sinity/polylogue/commit/de7f2b90960f6fc9af2733c2625ed6af81280aa8))
* **coordination:** resolve logical caller identity
([#2665](https://github.com/Sinity/polylogue/issues/2665))
([#2665](https://github.com/Sinity/polylogue/issues/2665))
([cfa0839](https://github.com/Sinity/polylogue/commit/cfa0839d2b7d34dc7673f7d0cd777b1f2523d37e))
* **core:** consolidate 6 divergent _parse_archive_datetime copies
([#2567](https://github.com/Sinity/polylogue/issues/2567))
([f54e87e](https://github.com/Sinity/polylogue/commit/f54e87ea123bf89ae7a9c52be0fefc04d338ee7e))
* **cost:** bill subscription output credits at 5x input rate
([#2484](https://github.com/Sinity/polylogue/issues/2484))
([3c1bbb3](https://github.com/Sinity/polylogue/commit/3c1bbb3f3248a2013edb3d8933539add2587723c))
* **cost:** count Codex cumulative tokens per session, not per model
([#2489](https://github.com/Sinity/polylogue/issues/2489))
([22d8bb5](https://github.com/Sinity/polylogue/commit/22d8bb50789d6ebec0fe59ae26eec16920c506d0))
* **cost:** flag paid models missing a catalog cache rate instead of $0
([#2487](https://github.com/Sinity/polylogue/issues/2487))
([e851b33](https://github.com/Sinity/polylogue/commit/e851b33deed3a79f560704c00104349098fcd6e1))
* **cost:** keep Codex message token lanes disjoint
([#2647](https://github.com/Sinity/polylogue/issues/2647))
([8c9dfbb](https://github.com/Sinity/polylogue/commit/8c9dfbb0044ea73a1629731b14347d2ac56d3388))
* **daemon:** align browser capture spool watching
([3b90e9e](https://github.com/Sinity/polylogue/commit/3b90e9e33eb1e66f50e019a822a18622bc4f57ca))
* **daemon:** back off filtered retry paths
([c92ecd5](https://github.com/Sinity/polylogue/commit/c92ecd5f99588d3d4ac0ddf780d71343dbde759c))
* **daemon:** back off no-op catch-up chunks
([95fe147](https://github.com/Sinity/polylogue/commit/95fe1475b1012ac5b301e7a728b2cd2cb081a94e))
* **daemon:** back off no-op retry batches
([c982135](https://github.com/Sinity/polylogue/commit/c982135f96f41169651aac7f29fa8a5c9cf673fa))
* **daemon:** bound ordinary revision replay
([#2689](https://github.com/Sinity/polylogue/issues/2689))
([8030555](https://github.com/Sinity/polylogue/commit/803055541011a3057477d9a4ac9c6396b06890c8))
* **daemon:** close two stored-XSS bug classes in the web shell (2n39)
([#2569](https://github.com/Sinity/polylogue/issues/2569))
([7002c9f](https://github.com/Sinity/polylogue/commit/7002c9f2e818a96b82b5681bcf90bc23c8b84b41))
* **daemon:** decode session route ids
([42c3ed6](https://github.com/Sinity/polylogue/commit/42c3ed6fd4f01cfa1c8962d310a19ba2131647e2))
* **daemon:** default /api/provider-usage to headline detail, not full
([#2560](https://github.com/Sinity/polylogue/issues/2560))
([3306866](https://github.com/Sinity/polylogue/commit/33068663ab6c4e6ce10ada7f94881bb017e989e6))
* **daemon:** enable authority-safe raw convergence
([#2688](https://github.com/Sinity/polylogue/issues/2688))
([df559d8](https://github.com/Sinity/polylogue/commit/df559d8b3047f3db096a01e5c6b0ee6d7a2937ba))
* **daemon:** Host-admission gate, receiver hardening, spool governor
([#2559](https://github.com/Sinity/polylogue/issues/2559))
([bfd247d](https://github.com/Sinity/polylogue/commit/bfd247d5646c66786eacb8351874625eb2ba9b3a))
* **daemon:** mark active index rebuilds not ready
([cc4698a](https://github.com/Sinity/polylogue/commit/cc4698a885c84be2956e2ede650c0dd4870232e3))
* **daemon:** route web facets through facade
([2e02aa8](https://github.com/Sinity/polylogue/commit/2e02aa8e1fe794219b72b3257989e3fc9cab9138))
* **daemon:** serialize archive writers across runtime loops
([#2676](https://github.com/Sinity/polylogue/issues/2676))
([29e5b45](https://github.com/Sinity/polylogue/commit/29e5b45524b850d4bbdb28e1ba9731ab82377317))
* **daemon:** share bounded embedding readiness
([19e493b](https://github.com/Sinity/polylogue/commit/19e493b5785f62b570d71c8c3f8ae456abd6eadc))
* **debt:** classify empty Claude raw artifacts
([16c42ef](https://github.com/Sinity/polylogue/commit/16c42efb0d5ec2062749feabd0f1dd5c665cbf9c))
* **debt:** mark parsed raw materialization repairable
([3afc6e1](https://github.com/Sinity/polylogue/commit/3afc6e15ffe10c62ce65f30ff34637e5a8bd6f3b))
* **demo:** add acknowledgment-window sensitivity
([8a12256](https://github.com/Sinity/polylogue/commit/8a12256ad9f22939e6d86740a8a2b927f8f9bc98))
* **demo:** calibrate failure acknowledgment markers
([ca76f2d](https://github.com/Sinity/polylogue/commit/ca76f2df1071c71d93cce0a63e35195f35cc9695))
* **demo:** explain claim classifier decisions
([b4bb351](https://github.com/Sinity/polylogue/commit/b4bb351147880f7a650b1e8a168e6e05b6f3183b))
* **demo:** expose claim evidence samples by origin
([c75dc47](https://github.com/Sinity/polylogue/commit/c75dc4737e8dddcf863f81701ccba08c9ef2e62b))
* **demos:** close generated shelf over repository inputs
([#2651](https://github.com/Sinity/polylogue/issues/2651))
([#2651](https://github.com/Sinity/polylogue/issues/2651))
([c6aa6a0](https://github.com/Sinity/polylogue/commit/c6aa6a05d2a64309a2dbed52bbdda75d495e1441))
* **demo:** show claim evidence follow-up previews
([aef35bf](https://github.com/Sinity/polylogue/commit/aef35bfbb5340d015c9eae555f2adcf306d2978d))
* **demo:** split ambiguous failure follow-ups
([1d9187d](https://github.com/Sinity/polylogue/commit/1d9187d532b6fcafdfe33bfe41113e20f4eb24b8))
* **demo:** split failure outcomes by handler class
([6e35892](https://github.com/Sinity/polylogue/commit/6e35892a1d5b32f50b00cfdc0ad0d1cf73b5e042))
* **demo:** state claim sample frames explicitly
([4640501](https://github.com/Sinity/polylogue/commit/46405011f667290b3b2a5cdcb719805453f457d8))
* **demo:** stratify claim evidence samples by origin
([2ce5e2f](https://github.com/Sinity/polylogue/commit/2ce5e2f433bcfc677eb64053cfb5b9b0e0ffb6dd))
* **devloop:** enforce demo shelf currentness
([943aebd](https://github.com/Sinity/polylogue/commit/943aebd8945d6d5928c45c9397f4e0687173d618))
* **devtools:** align Claude cost probe to cache horizon
([e5d39c0](https://github.com/Sinity/polylogue/commit/e5d39c08f6b38e4edcda0ad4d82de1e85cd52e14))
* **devtools:** detect squash-equivalent worktrees
([#2501](https://github.com/Sinity/polylogue/issues/2501))
([f41e078](https://github.com/Sinity/polylogue/commit/f41e078903edd6327459a609364aeb9755f6a6ac))
* **devtools:** generate demo shelf navigation
([7aba1c8](https://github.com/Sinity/polylogue/commit/7aba1c8bf9d8765b948d198d20b30624e6ae93de))
* **devtools:** keep dev-loop daemon source-only
([c37cb0d](https://github.com/Sinity/polylogue/commit/c37cb0dc390c539e0a121993d1e970d7977c9587))
* **devtools:** key verify's stall detector off test-event progress
([#2581](https://github.com/Sinity/polylogue/issues/2581))
([85fa450](https://github.com/Sinity/polylogue/commit/85fa4505585b46c37b6c03c10121babf201e0e77))
* **docs:** repair generated pages links
([#2500](https://github.com/Sinity/polylogue/issues/2500))
([a9985f4](https://github.com/Sinity/polylogue/commit/a9985f4115d057c7de0842c1a23414492b3c1efe))
* **embed:** account for skipped catchup sessions
([f316d4b](https://github.com/Sinity/polylogue/commit/f316d4b10f9cd2ecd08b37a0128587dd61fea13f))
* **embed:** align status text fields
([6a4b4ca](https://github.com/Sinity/polylogue/commit/6a4b4ca4bba681f9177e72bc580e0f4eddb4e9e3))
* **embed:** avoid false zero cost in status detail
([510fe18](https://github.com/Sinity/polylogue/commit/510fe188f8ecf90cb77c1b1084c4a8303a692f68))
* **embed:** bound archive backfill windows
([1963a01](https://github.com/Sinity/polylogue/commit/1963a0129022162b1ea519fcb4e48e52483f2017))
* **embed:** bound archive pending windows after eligibility
([47cb6f9](https://github.com/Sinity/polylogue/commit/47cb6f9fcd1e509b03ab16d77104596ded6d49e8))
* **embed:** bound default archive status counts
([2562cd4](https://github.com/Sinity/polylogue/commit/2562cd4dc343bbe9091ac6811ea4d8ceffa080d2))
* **embed:** bound exact archive detail status
([d7403e2](https://github.com/Sinity/polylogue/commit/d7403e2ad6e1735a193035337be872dc90437e0d))
* **embed:** count only prose in embedding stats
([#2519](https://github.com/Sinity/polylogue/issues/2519))
([4601922](https://github.com/Sinity/polylogue/commit/46019227d125ae113d5bdad8fc7496d28ace082d))
* **embeddings:** count exact prose in pending windows
([6ae15a9](https://github.com/Sinity/polylogue/commit/6ae15a909ed107bb1d75f251f05d0c6a27f335b9))
* **embeddings:** detect same-count message edits
([d07627e](https://github.com/Sinity/polylogue/commit/d07627ebeffb41100d4da82a1390dd8645d4dcae))
* **embeddings:** preserve unknown status counts
([#2661](https://github.com/Sinity/polylogue/issues/2661))
([69990dc](https://github.com/Sinity/polylogue/commit/69990dcc873c2fc0a9c900861bb10db94b75f434))
* **embeddings:** report manual backfill progress
([3eb5efa](https://github.com/Sinity/polylogue/commit/3eb5efaa4fa7f53960a1fd50386c505f6bde1275))
* **embeddings:** reselect stale clean archive sessions
([b998ec4](https://github.com/Sinity/polylogue/commit/b998ec4cfc28cde2606c89631a451b3b0133fd47))
* **embeddings:** stop retrying terminal provider errors
([108d71f](https://github.com/Sinity/polylogue/commit/108d71f3e5abe826fd2f937b3010a3679ff7b002))
* **embed:** distinguish session and prose coverage
([c1c1b1a](https://github.com/Sinity/polylogue/commit/c1c1b1a4144cc6c27164e8ef56884fe0cec4897c))
* **embed:** emit structured backfill results
([#2518](https://github.com/Sinity/polylogue/issues/2518))
([2993141](https://github.com/Sinity/polylogue/commit/299314105b0747a3d16a9d1b187ab3b6cc4b3df4))
* **embed:** expose preflight min-message floor
([#2506](https://github.com/Sinity/polylogue/issues/2506))
([12e7cdf](https://github.com/Sinity/polylogue/commit/12e7cdfd2fa877b8c094d5a4560c68e3ceb7dc94))
* **embed:** keep backfill windows under message cap
([#2516](https://github.com/Sinity/polylogue/issues/2516))
([18df4c4](https://github.com/Sinity/polylogue/commit/18df4c457445c016d29c7a1ceecbcfcfa1c4624c))
* **embed:** keep bounded backfill windows cheap
([3441570](https://github.com/Sinity/polylogue/commit/344157058cab0eb23a64b1a74324d2b9e9cfee6b))
* **embed:** keep partial vectors retrieval-ready
([#2515](https://github.com/Sinity/polylogue/issues/2515))
([aa13e1f](https://github.com/Sinity/polylogue/commit/aa13e1f73f85eefe347d9f8869d0a2e98825c25b))
* **embed:** keep status responsive during backfill
([33dae38](https://github.com/Sinity/polylogue/commit/33dae38e0e39a86a4b7ab01f0c097a8f3fe940f3))
* **embed:** make status backfill actions executable
([9ec46c8](https://github.com/Sinity/polylogue/commit/9ec46c89dcaccecff10892961472e3ab77d23891))
* **embed:** persist archive backfill runs in ops
([093fd81](https://github.com/Sinity/polylogue/commit/093fd814455174299f0a7718b7485b30bcf3bf68))
* **embed:** report archive catchup session counts
([7eb514e](https://github.com/Sinity/polylogue/commit/7eb514e955006da5f9ead6db307f20338542dec4))
* **embed:** report archive embedding metadata fast
([b187f5d](https://github.com/Sinity/polylogue/commit/b187f5d1f65c14d969506853cc7ee501909416ba))
* **embed:** report archive embedding timestamp bounds
([1f0d6b8](https://github.com/Sinity/polylogue/commit/1f0d6b80f75f882da6ce56378770af4b0c69ad7c))
* **embed:** summarize uniform archive metadata fast
([6d3a84d](https://github.com/Sinity/polylogue/commit/6d3a84d3069247e6ca9bc79023ea98be73a4284c))
* **embed:** surface material catchup progress
([fc24f58](https://github.com/Sinity/polylogue/commit/fc24f58b53560c21074d6b40dc766244ea6a7c27))
* **embed:** treat completed sessions as embedded
([#2514](https://github.com/Sinity/polylogue/issues/2514))
([6cd054d](https://github.com/Sinity/polylogue/commit/6cd054d652cffcdf27860e769e9a15451cddd08b))
* **extension:** make capture popup readable
([1bfb0a3](https://github.com/Sinity/polylogue/commit/1bfb0a3138da769fc62a7c274321c29331afa62e))
* **extension:** stop automatic page capture
([a35d521](https://github.com/Sinity/polylogue/commit/a35d5210110b6df6a5adfdbee93ce35c4f79387f))
* **fts:** chunk missing-row repair
([6406558](https://github.com/Sinity/polylogue/commit/6406558618b2a0e216b5e131bfbc5f83a1b8f3d1))
* harden cloud bootstrap for sandbox lanes
([#2631](https://github.com/Sinity/polylogue/issues/2631))
([c68585b](https://github.com/Sinity/polylogue/commit/c68585b8bf3a8e83f57faa364fff108a23ed504a))
* **hermes:** make state database imports reproducible
([#2639](https://github.com/Sinity/polylogue/issues/2639))
([#2639](https://github.com/Sinity/polylogue/issues/2639))
([9e92b6b](https://github.com/Sinity/polylogue/commit/9e92b6b6d7656f315dd491b8f5f59049d104e868))
* **import:** keep newer session body on stale reimport
([9beac9a](https://github.com/Sinity/polylogue/commit/9beac9a5300125eb0f4362d8c8ce41ab033db6ac))
* **ingest:** finalize live raw parse state
([#2663](https://github.com/Sinity/polylogue/issues/2663))
([938c671](https://github.com/Sinity/polylogue/commit/938c671e5c5c68454b77592d84c0c726f53819e7))
* **ingest:** preserve richer browser captures
([c907759](https://github.com/Sinity/polylogue/commit/c9077590a279037c530dd309f37b886f9052c594))
* **ingest:** publish full results after raw completion
([#2664](https://github.com/Sinity/polylogue/issues/2664))
([0cccef1](https://github.com/Sinity/polylogue/commit/0cccef1df3b8618c6e6dbe3e3a4b6860ab8cebc3))
* **insights:** add text_derived provenance markers to forensic payloads
([#2579](https://github.com/Sinity/polylogue/issues/2579))
([90d3e31](https://github.com/Sinity/polylogue/commit/90d3e31747de58f3a7cd354866504ca4ec49ea2c))
* **insights:** audit every registered product, not just contracted ones
([#2573](https://github.com/Sinity/polylogue/issues/2573))
([7b5f846](https://github.com/Sinity/polylogue/commit/7b5f846f57073d931737962dcabc17d5ef962dc0))
* **insights:** render None, not 0.0, for averages over empty backing
rows ([#2585](https://github.com/Sinity/polylogue/issues/2585))
([f8f3e40](https://github.com/Sinity/polylogue/commit/f8f3e40a5b7f548e6a9530d3e9f48c9964345e79))
* **insights:** scope run-projection row refs
([#2539](https://github.com/Sinity/polylogue/issues/2539))
([b9d01d7](https://github.com/Sinity/polylogue/commit/b9d01d7aa34a9ee106c5122dbb8f4d2f1a8bd457))
* **insights:** stop laundering weak temporal provenance into
provider_ts ([#2558](https://github.com/Sinity/polylogue/issues/2558))
([89b14e5](https://github.com/Sinity/polylogue/commit/89b14e5876749fdc66f26745ce507ba76ebc788a))
* **insights:** treat run projections as optional cache
([40f22dd](https://github.com/Sinity/polylogue/commit/40f22dd804ab9dbfa610a8111ce0c5cd981b3dd0))
* **insights:** upsert run-projection rows on cross-session ref
collisions ([#2464](https://github.com/Sinity/polylogue/issues/2464))
([15f4f21](https://github.com/Sinity/polylogue/commit/15f4f21b63f662f13fb4f16b5379d7dfaad17627))
* **lineage:** hold one read transaction across composition
([#2594](https://github.com/Sinity/polylogue/issues/2594))
([0861717](https://github.com/Sinity/polylogue/commit/0861717015066fe602d363df2440afadec7deea3))
* **lineage:** iterative transcript composition, remove effective depth
cap ([#2542](https://github.com/Sinity/polylogue/issues/2542))
([1e4a694](https://github.com/Sinity/polylogue/commit/1e4a694382a7a76ec7b2391f9309d02ab1a595cf))
* **logging:** forward exc_info/extra in stdlib logger shim
([#2548](https://github.com/Sinity/polylogue/issues/2548))
([ee1a51c](https://github.com/Sinity/polylogue/commit/ee1a51cb69bb9bfcba7fd577a843c655a42e1e7a))
* **maintenance:** clear session insight debt
([5ab2352](https://github.com/Sinity/polylogue/commit/5ab23525d17df4ef5f5e295b90aeae3fcfa1f982))
* **maintenance:** ignore parsed raw sidecars
([#2511](https://github.com/Sinity/polylogue/issues/2511))
([1d5d112](https://github.com/Sinity/polylogue/commit/1d5d1126943648d18bfcb2c55520942e0f807347))
* **maintenance:** make index rebuilds plannable and FK-clean
([#2522](https://github.com/Sinity/polylogue/issues/2522))
([41d4bb4](https://github.com/Sinity/polylogue/commit/41d4bb4a7be28376c1ace1e46e3ca31f0962c879))
* **maintenance:** replay parsed raw rows after index reset
([#2508](https://github.com/Sinity/polylogue/issues/2508))
([d1bbb3e](https://github.com/Sinity/polylogue/commit/d1bbb3e02bfb09d55ba0e2ef6a1f69be5db37408))
* **maintenance:** resume interrupted raw materialization
([#2510](https://github.com/Sinity/polylogue/issues/2510))
([b55ea52](https://github.com/Sinity/polylogue/commit/b55ea528e9c3d856c9ef2bf144b8ccba5a1e01b3))
* make partial resume profiles explicit
([#2635](https://github.com/Sinity/polylogue/issues/2635))
([186daf2](https://github.com/Sinity/polylogue/commit/186daf287ae2b04994f7f6afe5b0564b6f947584))
* **mcp:** report split-tier embedding stats
([c70081b](https://github.com/Sinity/polylogue/commit/c70081b69728b678a66371bf43e24d00eb6c267b))
* **mcp:** stop silently capping aggregate totals
([29c020d](https://github.com/Sinity/polylogue/commit/29c020d4b2f3dd58f3135c8ce5ff810a45d3a020))
* **ops:** point index resets at source replay
([e84c2ae](https://github.com/Sinity/polylogue/commit/e84c2aef8a75f8ae196643b2364e869f234350f6))
* parse ChatGPT recipient-addressed tool calls as TOOL_USE, not raw text
([#2629](https://github.com/Sinity/polylogue/issues/2629))
([7688d10](https://github.com/Sinity/polylogue/commit/7688d103d5393e9bc3d6b249bcd6daa656eee58a))
* **parsers:** keep asset-only chat turns
([607d79b](https://github.com/Sinity/polylogue/commit/607d79bddcff4f95eb046f0f80857d2ca656a515))
* **read:** degrade bounded reads to content
([4eb337b](https://github.com/Sinity/polylogue/commit/4eb337b36d139e806ccd1feacba904b6eb60141f))
* **readiness:** classify explained raw join gaps
([d9bc786](https://github.com/Sinity/polylogue/commit/d9bc786b8619e2d7a0ea3c80fdecbbb4a838cda3))
* **readiness:** close verifier failures
([#2547](https://github.com/Sinity/polylogue/issues/2547))
([4b9389d](https://github.com/Sinity/polylogue/commit/4b9389d752b53742fc70df5364d221b16a292f9d))
* **readiness:** expose fast archive convergence state
([c9ded08](https://github.com/Sinity/polylogue/commit/c9ded089ca53d61baa883e5915a3b2248c621250))
* **readiness:** report materialization progress counts
([f5d848e](https://github.com/Sinity/polylogue/commit/f5d848e87cf8946e3d981cede9ff58401cdf7cb8))
* **read:** use session links for streaming lineage checks
([29ed6ea](https://github.com/Sinity/polylogue/commit/29ed6ea87a9f3df390b5f9987c0dbfcd43f0c4e9))
* repair 3 flagship CLI query bugs found in prod smoke test
([#2626](https://github.com/Sinity/polylogue/issues/2626))
([5d5edaf](https://github.com/Sinity/polylogue/commit/5d5edaf496d70b9372c7c2123c2e70a6ed4d34e6))
* restore deterministic archive contracts
([#2641](https://github.com/Sinity/polylogue/issues/2641))
([f6b396b](https://github.com/Sinity/polylogue/commit/f6b396bf63cbe43b6e7645e94b8aafa88a2fd0b0))
* route ops reset --session/--source through the mutation contract
([#2627](https://github.com/Sinity/polylogue/issues/2627))
([a075ce2](https://github.com/Sinity/polylogue/commit/a075ce290837f68af678f093b02f39fe42286d11))
* **search:** keep default find lexical
([faba5f3](https://github.com/Sinity/polylogue/commit/faba5f3950b308658dbbbfe9067488f65b606fcc))
* **search:** make FTS readiness cheap in fresh indexes
([a46be16](https://github.com/Sinity/polylogue/commit/a46be16d2b3a74241fe9f063f1052f4743493198))
* **security:** harden blob hash validation, drop misleading symlink
check ([#2599](https://github.com/Sinity/polylogue/issues/2599))
([b6b9fef](https://github.com/Sinity/polylogue/commit/b6b9fef2a05ed7d5a1272188ce852f74a133b637))
* **sources:** close CursorStore get-&gt;modify-&gt;put lost-update race
([#2615](https://github.com/Sinity/polylogue/issues/2615))
([fac493c](https://github.com/Sinity/polylogue/commit/fac493cb3cc37edfa58e939b367c78e069730304))
* **sources:** merge Claude Code stream sessions
([#2520](https://github.com/Sinity/polylogue/issues/2520))
([a651bb9](https://github.com/Sinity/polylogue/commit/a651bb95f1fc3595cff8f545ec3768831b858daf))
* **sources:** restrict append planning to JSONL streams
([#2691](https://github.com/Sinity/polylogue/issues/2691))
([fae9e0b](https://github.com/Sinity/polylogue/commit/fae9e0bb580caaac18f94b28674f104c5b9ca6b8))
* stamp focused test runs with git head
([#2632](https://github.com/Sinity/polylogue/issues/2632))
([4dabc85](https://github.com/Sinity/polylogue/commit/4dabc85dd05f6c0d710e6755853a2bf70b4b0a2f))
* **status:** gate readiness on raw materialization
([91bf2d7](https://github.com/Sinity/polylogue/commit/91bf2d7fb8a43601f5b046ccddb974f29c6b2beb))
* **status:** ignore stale rebuild attempts for readiness
([f2f1a21](https://github.com/Sinity/polylogue/commit/f2f1a2156dbcfc1bc6e4f23ed449dfb16d37cac5))
* **status:** preserve unknown embedding pending messages
([36446ec](https://github.com/Sinity/polylogue/commit/36446ecbf0c79497712f3149509d1e8ae1e65b03))
* **status:** project durable raw authority into readiness
([#2695](https://github.com/Sinity/polylogue/issues/2695))
([93af1a5](https://github.com/Sinity/polylogue/commit/93af1a53a8b68d6500c69ddfc6060d542c6d0d8d))
* **status:** show SQLite maintenance state
([f7d2539](https://github.com/Sinity/polylogue/commit/f7d2539a4380c8e7b3d86499f6eb9d248af70726))
* **status:** use fast materialization readiness
([80dd748](https://github.com/Sinity/polylogue/commit/80dd748cce2c4b0e86927605f1cf605fc57ad490))
* **status:** validate actions view readiness
([#2687](https://github.com/Sinity/polylogue/issues/2687))
([9018d58](https://github.com/Sinity/polylogue/commit/9018d5861a699d595da42a56d9df95ad5d4fdd24))
* **storage:** add offline index generation promotion
([#2685](https://github.com/Sinity/polylogue/issues/2685))
([a2bbd25](https://github.com/Sinity/polylogue/commit/a2bbd25d6a315791430e11191c3b2070cdfdbe2f))
* **storage:** compose forks on paginated, batch, and streaming reads
([#2485](https://github.com/Sinity/polylogue/issues/2485))
([8664ee8](https://github.com/Sinity/polylogue/commit/8664ee872286811f5094e125cbcf78559c6b7499)),
closes [#2470](https://github.com/Sinity/polylogue/issues/2470)
* **storage:** contain authority-ambiguous raw replay
([#2670](https://github.com/Sinity/polylogue/issues/2670))
([#2670](https://github.com/Sinity/polylogue/issues/2670))
([202a09c](https://github.com/Sinity/polylogue/commit/202a09c240bc56a74c7d078663aafc7c7f97e59c))
* **storage:** contain conflicting archive index identities
([#2680](https://github.com/Sinity/polylogue/issues/2680))
([36147f2](https://github.com/Sinity/polylogue/commit/36147f29c7255474071bce869e6942c02ce3e348))
* **storage:** enforce monotonic raw revision replay
([#2684](https://github.com/Sinity/polylogue/issues/2684))
([6a579d0](https://github.com/Sinity/polylogue/commit/6a579d09021c9b0ed128287ace51cdff077cd5b7))
* **storage:** gate embedding success write against config-change race
([#2616](https://github.com/Sinity/polylogue/issues/2616))
([16fdb0f](https://github.com/Sinity/polylogue/commit/16fdb0fcacba55f9640222a3e0e52984f6c414aa))
* **storage:** include timeless sessions in search --since filters
([#2578](https://github.com/Sinity/polylogue/issues/2578))
([97459e6](https://github.com/Sinity/polylogue/commit/97459e61d4fae716594eb871381f865a4f79593e))
* **storage:** include timeless work-events/phases in since/until
windows ([#2577](https://github.com/Sinity/polylogue/issues/2577))
([1b29fa5](https://github.com/Sinity/polylogue/commit/1b29fa52460cbeca78656be4536531cf66cb6d1f))
* **storage:** pair actions view by transcript rank, not tool_id
equality ([#2597](https://github.com/Sinity/polylogue/issues/2597))
([7b5a5aa](https://github.com/Sinity/polylogue/commit/7b5a5aa0589772ed9d7eb9632af1591cf22cdd33))
* **storage:** preserve semantic replay frontiers
([#2692](https://github.com/Sinity/polylogue/issues/2692))
([7d300a5](https://github.com/Sinity/polylogue/commit/7d300a59628742cf739706bd5ebe225daf9b4825))
* **storage:** preserve source evidence during reset
([#2537](https://github.com/Sinity/polylogue/issues/2537))
([1f629c9](https://github.com/Sinity/polylogue/commit/1f629c9d2d923789f0dbf7167ffb021b13b3707d))
* **storage:** remove unreachable blob-GC lease mechanism
([#2617](https://github.com/Sinity/polylogue/issues/2617))
([a263612](https://github.com/Sinity/polylogue/commit/a2636120495d1b87a8e5170c7d108144c3bc7f4b))
* **storage:** reserve blobs until durable references commit
([#2660](https://github.com/Sinity/polylogue/issues/2660))
([a0ef2fa](https://github.com/Sinity/polylogue/commit/a0ef2fa8d479a0168db36fe09f3752de6311b26e))
* **storage:** retire governed bundle raws
([#2693](https://github.com/Sinity/polylogue/issues/2693))
([304b840](https://github.com/Sinity/polylogue/commit/304b84019d7dfa0474a8db4685166849af16d297))
* **storage:** route ops-doctor orphan-blob repair through the safe GC
planner ([#2564](https://github.com/Sinity/polylogue/issues/2564))
([8e4efb7](https://github.com/Sinity/polylogue/commit/8e4efb72379f458d23524c00fb2de29346ce0e0b))
* **storage:** single-source FTS freshness DDL
([c769ea7](https://github.com/Sinity/polylogue/commit/c769ea7b7cd6b04da1d54314809d5a093a62471c))
* **storage:** slice provider usage on prefix-sharing forks
([4628cd3](https://github.com/Sinity/polylogue/commit/4628cd30f24ea72546ed2d53512d093e2aea8501))
* **storage:** stop epoch-pinning timeless rows in the query CLI unit
engine ([#2576](https://github.com/Sinity/polylogue/issues/2576))
([c67fd45](https://github.com/Sinity/polylogue/commit/c67fd45392a693428d504c95359c7e4bdfcd9a53))
* **storage:** stop replaying terminal raw revisions
([#2690](https://github.com/Sinity/polylogue/issues/2690))
([90cf639](https://github.com/Sinity/polylogue/commit/90cf639b151c0c16dbb74ff70f7132c09297f6e7))
* **storage:** stop scheduling governed replay debt
([#2694](https://github.com/Sinity/polylogue/issues/2694))
([63a6c75](https://github.com/Sinity/polylogue/commit/63a6c756326ba43238bee48b8de24eab657bfb17))
* **storage:** stop usage_timeline silently dropping timeless-session
usage ([#2575](https://github.com/Sinity/polylogue/issues/2575))
([a31d096](https://github.com/Sinity/polylogue/commit/a31d0968581d108fba5a6261d41e939e3e4907ab))
* **storage:** surface SQLite maintenance drift
([e50b923](https://github.com/Sinity/polylogue/commit/e50b923168de1e2ec8a7c81a4f11f30cc0c724de))
* **storage:** trigram-index the affordance-usage CLI-detection
substring scan
([#2622](https://github.com/Sinity/polylogue/issues/2622))
([f5c35e7](https://github.com/Sinity/polylogue/commit/f5c35e7021dceebfb2836e4c84377fe8e0bbd457))
* **storage:** trust stale FTS readiness rows
([05a30c0](https://github.com/Sinity/polylogue/commit/05a30c0a8c652669305675fc29f0bd4cf55ea808))
* **test:** repair full-verify baseline drift from 2026-07-05 commit
batch ([#2556](https://github.com/Sinity/polylogue/issues/2556))
([a836e4b](https://github.com/Sinity/polylogue/commit/a836e4bfc9d8830d30b0995efbee4e2ada71e3cd))
* **topology:** integrate hook service placement
([#2658](https://github.com/Sinity/polylogue/issues/2658))
([#2658](https://github.com/Sinity/polylogue/issues/2658))
([a8eb1bf](https://github.com/Sinity/polylogue/commit/a8eb1bf1a8af6fdf3257f022b49935b07ad5dc73))
* **types:** restore quick verification gate
([87ce471](https://github.com/Sinity/polylogue/commit/87ce4718768abe247bc54bc03fda7f0db7a78752))
* **usage:** reconcile Codex tokens from disjoint rollups
([cae61ed](https://github.com/Sinity/polylogue/commit/cae61ed8ad5006e83374b72bfde7a252d82889bb))
* **verify:** restore quick gate currency
([3216c02](https://github.com/Sinity/polylogue/commit/3216c020660acef86db68f51239c343816c35a93))
* **web-shell:** correct total_sessions path, clear stuck status notice
([#2562](https://github.com/Sinity/polylogue/issues/2562))
([8506792](https://github.com/Sinity/polylogue/commit/850679209c6a551106d31104b640c728f70295f1))
* **web:** render truthful loading/stale/error states, not false
emptiness ([#2673](https://github.com/Sinity/polylogue/issues/2673))
([5479bea](https://github.com/Sinity/polylogue/commit/5479beabcb300049d9a2bbb50859d70b3742639d))
* word-boundary anchor the work-event text-signal keyword matcher
([#2630](https://github.com/Sinity/polylogue/issues/2630))
([7806b26](https://github.com/Sinity/polylogue/commit/7806b26e76f9307931d0150ca2bed35bd1d34566))


### Changed

* **cli:** avoid select setup on bounded output
([01e592e](https://github.com/Sinity/polylogue/commit/01e592e3db300e1420b7d209e68e9744c60d9f7b))
* **cli:** delegate session pages to daemon
([01847a3](https://github.com/Sinity/polylogue/commit/01847a36d52879bfef79d404413bf4d1a09b0102))
* **demo:** bound claim evidence report scans
([9045330](https://github.com/Sinity/polylogue/commit/90453304c1cf7e737459e1a83ea4ec8240d2d7b4))
* **demo:** bound claim evidence sampling before pairing
([8112fa2](https://github.com/Sinity/polylogue/commit/8112fa24373c5c8e8bbf64c69affd6686fa4b5d7))
* **devtools:** bound affordance detail reports
([898a6d1](https://github.com/Sinity/polylogue/commit/898a6d1868925a44a603fede6dc73e28379705a9))
* **embed:** avoid exact scans during window selection
([#2512](https://github.com/Sinity/polylogue/issues/2512))
([ba4655a](https://github.com/Sinity/polylogue/commit/ba4655afc2040bf0f59e015331032a487511cba5))
* **embed:** constrain archive block text lookup
([#2513](https://github.com/Sinity/polylogue/issues/2513))
([da18955](https://github.com/Sinity/polylogue/commit/da18955963ac32bc0c4f88443a0926d7a4abdb82))
* **embeddings:** batch archive vector writes
([660d01d](https://github.com/Sinity/polylogue/commit/660d01dbb9ceef95daff4b4613a05aecad1c7385))
* **embeddings:** stream pending prose windows
([ff6c4f9](https://github.com/Sinity/polylogue/commit/ff6c4f950960ee1848033e9faea1c99f5e3432a5))
* **embed:** index authored prose selection
([#2507](https://github.com/Sinity/polylogue/issues/2507))
([cdd0081](https://github.com/Sinity/polylogue/commit/cdd008167b4cfe03d08231b0200420b4353df957))
* **ingest:** batch commits by accumulated message count
([#2492](https://github.com/Sinity/polylogue/issues/2492))
([eaa4ad7](https://github.com/Sinity/polylogue/commit/eaa4ad7e23ac9238291b9d1902f9c13ec7963432)),
closes [#2391](https://github.com/Sinity/polylogue/issues/2391)
* **ingest:** batch session event writes
([6e681ff](https://github.com/Sinity/polylogue/commit/6e681ff40534daaac2479641d665c380cf560910))
* **ingest:** log slow write stage timings
([5da0be3](https://github.com/Sinity/polylogue/commit/5da0be374074fe6ad1fd46d911f3c5f1c38c549c))
* **ingest:** skip current root graph refreshes
([452f051](https://github.com/Sinity/polylogue/commit/452f051db880ad4d17156c981644b8b08f0241bd))
* **ingest:** skip unchanged thread refreshes
([cf6b41e](https://github.com/Sinity/polylogue/commit/cf6b41ef7a344e4577d37ba7158dadef1ddc1f33))
* **insights:** aggregate cost rollups from usage rows
([bb2f84f](https://github.com/Sinity/polylogue/commit/bb2f84ff871fb6717c94c733ddd3b963570509b1))
* **insights:** bound async giant-session rebuilds
([#2540](https://github.com/Sinity/polylogue/issues/2540))
([3de0079](https://github.com/Sinity/polylogue/commit/3de00794ef058d68ec8707c6a977f391504b8f95))
* **insights:** bound insight-rebuild WAL via per-chunk commits (Ref
[#2458](https://github.com/Sinity/polylogue/issues/2458))
([#2466](https://github.com/Sinity/polylogue/issues/2466))
([2eee22a](https://github.com/Sinity/polylogue/commit/2eee22a9fbfe9f177bc895f64c3271917044a91b))
* **insights:** bound usage timeline event scans
([b9f4253](https://github.com/Sinity/polylogue/commit/b9f4253cae00dfdd621281ef5ce3e1ebedbb8862))
* **maintenance:** batch raw materialization replay
([#2509](https://github.com/Sinity/polylogue/issues/2509))
([4a39c0c](https://github.com/Sinity/polylogue/commit/4a39c0c31fa07d76e314773cf69a7e191ff474d9))
* **maintenance:** replay rebuild rows source-first
([#2524](https://github.com/Sinity/polylogue/issues/2524))
([4a0ab58](https://github.com/Sinity/polylogue/commit/4a0ab5883a8fbcda0b558779d8066af04fc318d6))
* **maintenance:** report weighted rebuild run size
([#2529](https://github.com/Sinity/polylogue/issues/2529))
([ad1bf4e](https://github.com/Sinity/polylogue/commit/ad1bf4e177eafde709f0bc63f627b2d01bec2a90))
* **maintenance:** scope targeted index materialization
([90f1c5a](https://github.com/Sinity/polylogue/commit/90f1c5a493e1f583149fbf60ed78cdd1467e8532))
* **maintenance:** weight rebuild planning by raw payload
([#2528](https://github.com/Sinity/polylogue/issues/2528))
([3954534](https://github.com/Sinity/polylogue/commit/39545347c89f66e9e97ab63f59cbc206f625a185))
* **pipeline:** report raw ingest batch starts
([#2530](https://github.com/Sinity/polylogue/issues/2530))
([e15eda2](https://github.com/Sinity/polylogue/commit/e15eda24e6118ce7c1631da3b618c07666f1205a))
* **read-package:** run artifacts in process
([ed7cafb](https://github.com/Sinity/polylogue/commit/ed7cafbf4e8bff88a94089bf4629355a3af7651f))
* **read:** avoid full-session pagination loads
([a17e3af](https://github.com/Sinity/polylogue/commit/a17e3af95dd601f07ca0aa2b946f8efaa750b2c5))
* **read:** bound exact-session temporal handoffs
([478d6a7](https://github.com/Sinity/polylogue/commit/478d6a77cf1cea1d63c180701d49099ad2cfacc3))
* **read:** stream exact markdown file exports
([a9dc3f2](https://github.com/Sinity/polylogue/commit/a9dc3f274abb92c10830b5d2dcd82f5e291cb905))
* **read:** stream messages file exports
([177523a](https://github.com/Sinity/polylogue/commit/177523aab8c9407f319eed77361fad965f0ac56b))
* **status:** keep full status off exact scans
([4399db6](https://github.com/Sinity/polylogue/commit/4399db6360c27cb1e87e316fac6604470588f576))
* **storage:** append thread membership suffixes
([adc2541](https://github.com/Sinity/polylogue/commit/adc25412e5d57865e5325fc4cef9274e100bac2f))
* **storage:** avoid redundant thread refresh churn
([af0c1cc](https://github.com/Sinity/polylogue/commit/af0c1cc1c48c37f2ba37f80fd525ad934ff3142e))
* **storage:** bound revision census memory
([#2686](https://github.com/Sinity/polylogue/issues/2686))
([3fe7837](https://github.com/Sinity/polylogue/commit/3fe7837c83377017341958d544c62f79587bff0b))
* **storage:** cache composed lineage during graph repair
([51ddf75](https://github.com/Sinity/polylogue/commit/51ddf75a82adf1b248fdda287c12b4f5eb962043))
* **storage:** clean empty lineage tails by session
([#2525](https://github.com/Sinity/polylogue/issues/2525))
([b2936ba](https://github.com/Sinity/polylogue/commit/b2936ba8dddd90b94c5c708f8be4569e16171344))
* **storage:** reduce graph resolve refresh churn
([#2526](https://github.com/Sinity/polylogue/issues/2526))
([7b9f4e0](https://github.com/Sinity/polylogue/commit/7b9f4e0419875801d7cc26653b6f4858e7e3a2d4))
* **storage:** time delayed prefix re-extraction
([#2527](https://github.com/Sinity/polylogue/issues/2527))
([04ecfe0](https://github.com/Sinity/polylogue/commit/04ecfe0ec26910fa6abb3221aa4607ede15d81e9))
* **storage:** use session-scoped block lookup for signatures
([#2532](https://github.com/Sinity/polylogue/issues/2532))
([89b20c3](https://github.com/Sinity/polylogue/commit/89b20c33584a2a8aebef8798b1a425a1ce4d5ad9))
* **usage:** add headline detail for usage reports
([c1067fb](https://github.com/Sinity/polylogue/commit/c1067fb45cc1cf93fb6a9dd5ccd6bc03c79477a7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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