Skip to content

fix: resolve Codex P1 findings in storage, intake and daemon routes - #5763

Merged
Sinity merged 10 commits into
masterfrom
batch/polylogue-20260928-211224-68083a7e/integration
Sep 28, 2026
Merged

Sinity merged 10 commits into
masterfrom
batch/polylogue-20260928-211224-68083a7e/integration

Conversation

@Sinity

@Sinity Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner

Batch polylogue-20260928-211224-68083a7e on base 89650e7c5495.

polylogue-1tyq5.170 Codex P1 residual not reached in run c999529c (4/9): g6227, pkede, rumwn, yi3s2

  • Every listed finding is fixed with a regression test that fails without the fix (fix SHA recorded), or refuted with current-code evidence.

polylogue-1tyq5.171 Codex P1 residual not reached in run c999529c (5/9): abwxk

  • Every listed finding is fixed with a regression test that fails without the fix (fix SHA recorded), or refuted with current-code evidence.

polylogue-1tyq5.172 Codex P1 residual not reached in run c999529c (6/9): sdfvf, uyb8j

  • Every listed finding is fixed with a regression test that fails without the fix (fix SHA recorded), or refuted with current-code evidence.

Sinity and others added 10 commits September 29, 2026 00:03
The embedding generation contract recorded the current source.db and
index.db inodes and compared them on every read. Index promotion swaps
index.db while embeddings.db stays in place, so every promotion made the
active and retained embedding generations unreadable (F767). The same
fields labelled a replacement candidate with the destination archive's
identities, a provenance the candidate's bytes cannot prove (F810). The
contract now holds only what the database proves; each vector is still
judged against the current index by its message derivation key.

The browser-smoke descriptor test imported the agentctl parser from the
ambient Sinnix checkout (F919). It is replaced by a hermetic projection
of the descriptor fields that parser consumes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…mports

Resolve the residual Codex findings from polylogue-abwxk:

- F175 fixed: annotation import crosses the exchange's acceptance fence
  (begin_unbound_write) after validation and before its first audit or
  user.db write, so a request answered timed-out or
  disconnected-before-acceptance cannot commit afterwards.
- F266 fixed: staged operations run as a task whose future settles only
  when the task finishes; cancellation is forwarded to the task, so
  shutdown waits for compute-phase cleanup instead of a cancelled proxy.
- F413 fixed: a completed insight rebuild's lifecycle state carries the
  final page's terminal summary as its declared result (indeterminate when
  absent). Ingest already reconstructs IngestResult from its receipt.
- F504, F868: regression tests for typed 5xx envelopes and the untyped
  404 fallback of an older daemon.
- F447: design sheet defines the scope-to-session mapping; regression
  test for one thread ID under two roots.
- F448: design sheet records S2/S3 as defect D7 with V9; not fixed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The export was written to a .sqlite-export work file and then copied by
write_from_path into a second .blob staging file, so two full-size copies
coexisted on the blob filesystem that capacity preflight budgets once.
BlobStore.write_from_writer stages the producer's bytes directly (F050).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eline

The baseline replayed ZIP acquisition payloads, whose whole-member branch
reads the complete uncompressed member into memory. It needs only each
unit's revision and size, so replay_zip_entry_acquisition_revisions
streams whole members through the same unit decisions (F071).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…page

The holder was released when the archive pass closed, before the page's
cursor, convergence and attempt publications, so each of those closes
checkpointed ops.db again. ingest_files now opens an ops page on the
registered generation and releases the holder at the page end (F116).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… census

lower_chatgpt_documents returns only admitted conversations, so a drifted
mapping record beside a valid one left the denominator and the valid
sibling reported OK. The census now counts rejected mapping candidates as
typed evidence and the check fails on them (F864).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…bles

The production operation composes the embedding owner once and passes
per-request limits (progress_callback, quiet, scope_limited) to the owner
call; the test doubles read them from compose and raised KeyError.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lylogue-20260928-211224-68083a7e/integration
…lylogue-20260928-211224-68083a7e/integration
…lylogue-20260928-211224-68083a7e/integration
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T22:40:07.788945Z 307cd2e PR opened
🔒 Security Review ✅ Completed 2026-09-28T22:43:25.063900Z 307cd2e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Sinity Sinity changed the title fix: Codex P1 residual not reached in run c999529c (4/9): g6227, pkede,… fix: resolve Codex P1 findings in storage, intake and daemon routes Sep 28, 2026
@Sinity
Sinity merged commit d140c70 into master Sep 28, 2026
3 of 4 checks passed
@Sinity
Sinity deleted the batch/polylogue-20260928-211224-68083a7e/integration branch September 28, 2026 22:41
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