Skip to content

fix(topology): re-derive Codex spawn parents when the projection moves - #5784

Merged
Sinity merged 7 commits into
masterfrom
batch/polylogue-20260928-232445-c81ded17/integration
Sep 29, 2026
Merged

Sinity merged 7 commits into
masterfrom
batch/polylogue-20260928-232445-c81ded17/integration

Conversation

@Sinity

@Sinity Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Batch polylogue-20260928-232445-c81ded17 on base fddc7a142007.

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 7 commits September 29, 2026 01:25
FairAdmissionScheduler, AdmissionUnit and AdmissionFailure had no production caller; acquisition fairness is FairIntakeDispatcher. Remove them with their tests and pin the scheduler names as retired intake route members.

admission.py is in the derived-identity closure, so this moves the derived schema identity.

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

A Codex child session archived before the state_5.sqlite export naming its
parent kept the inferred parent (or none): the projection writer only
reconciled the thread-state graph, and nothing revisited session_links or
sessions.parent_session_id. write_thread_state_projection now re-decides the
parent edge of every archived child whose projected parent changed, using the
same hook-authority rules as the save path.

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

Three review findings on the spawn-edge re-derivation:

- Children to re-derive are those whose active projected parent moved, not
  those whose edge keys changed. Superseded edges are retained, so an
  A -> B -> A export sequence added no key and left the child under B.
- A save retires parser claims of a parent the current parse no longer
  asserts. A full replace keeps contradicted rows, so a revised parser parent
  under a contradicting hook left the old claim beside the new one, and the
  next hook move recovered the old parent with its link type and branch point.
- Re-derivation refreshes the closure of every rewritten child once, with one
  seen set, instead of a descendant walk and an ancestor climb per child.

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

read_spawn_parents propagates a read failure instead of reporting silence, since its caller is mid-write. The re-derivation's descendant closure is seeded from the rewritten ids directly and declared in the derived-sweep census as producer-scoped.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lylogue-20260928-232445-c81ded17/integration
@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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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
🔒 Security Review ✅ Completed 2026-09-29T02:14:48.957933Z 89e125f 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 (6/9): sdfvf, uyb8j fix(topology): re-derive Codex spawn parents when the projection moves Sep 29, 2026
@Sinity
Sinity merged commit 6eef54f into master Sep 29, 2026
3 of 4 checks passed
@Sinity
Sinity deleted the batch/polylogue-20260928-232445-c81ded17/integration branch September 29, 2026 02:28
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