Skip to content

fix(storage): resume candidate construction from generation-local membership - #4285

Merged
Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-b5l.1
Aug 26, 2026
Merged

Sinity merged 1 commit into
masterfrom
feature/packet/polylogue-b5l.1

Conversation

@Sinity

@Sinity Sinity commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

Makes candidate-construction resume derive pending work from generation-local membership (polylogue-b5l.1): a new candidate_source_membership table in the index tier records the source seal copied in at inactive-generation creation, with pending/committed status, so resume computes sealed-source minus committed membership instead of consulting an ops cursor or re-scanning source.

Review notes

  • Schema convergence verified rather than assumed: the new table is added to INDEX_DDL without an INDEX_SCHEMA_VERSION bump, which is correct here — initialize_archive_tier takes the _initialize_archive_tier_ddl ("ddl_reapply") path for any non-empty database, so existing archives gain the table through ordinary CREATE TABLE IF NOT EXISTS semantics on reopen. The table starts empty and is populated at generation creation, so no reparse and no DerivedDeltaClass entry is warranted.
  • No test assertions removed (the production-lines-removed flag is the refactor inside index_generation.py).

Verification

  • Focused membership/generation tests green in-lane; +142/−34 across 3 files. Lane quick gate env-blocked (known class); gate rerun at harvest. No live state mutated.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BQsaB1NBY8mTR6yZByfMA

@Sinity
Sinity enabled auto-merge (squash) August 26, 2026 19:42
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

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

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 69c274c0-a2b3-4aab-9c7c-124a6cc8fdd3


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@Sinity
Sinity merged commit 53998c2 into master Aug 26, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-b5l.1 branch August 26, 2026 19:43

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b1aaebcdfc

ℹ️ About Codex in GitHub

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

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

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread polylogue/storage/index_generation.py Resolved
Comment thread polylogue/storage/index_generation.py Resolved
Comment thread polylogue/storage/index_generation.py Resolved
Sinity added a commit that referenced this pull request Sep 3, 2026
…route

parse_one_source_path refused every non-session path-rule verdict before
the decoded-session-evidence check, so a workflow journal that decodes as
a session was never parsed there while the live batch route admitted it.
A non-session verdict is now overridden only for a declared, parseable
(not raw-only) path rule whose content proves a session.

Tests: live-source fixtures use the current parser fingerprint (#4587)
and return the cursor write result; Codex appended messages record no
parent coordinate (#4510); the 804 proof's resume oracle is the sealed
membership minus what the interrupted generation committed (#4285).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

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

Resolving these threads.

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