Skip to content

chore: Implement relocated_lineage + quarantined states for block ancho… - #5287

Merged
Sinity merged 2 commits into
masterfrom
batch/polylogue-20260920-113313-2c6a1782/integration
Sep 20, 2026
Merged

Sinity merged 2 commits into
masterfrom
batch/polylogue-20260920-113313-2c6a1782/integration

Conversation

@Sinity

@Sinity Sinity commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Batch polylogue-20260920-113313-2c6a1782 on base ce302dc0e73c.

polylogue-xl25 Implement relocated_lineage + quarantined states for block anchor resolver

  • A fork-replay fixture (parent session forked/resumed, content originally anchored in the parent now composed into the childs read view) resolves relocated_lineage with the specific inheritance edge ci

@coderabbitai

coderabbitai Bot commented Sep 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: d0b60a61-1d95-4667-99d6-4ee8d799c404

📥 Commits

Reviewing files that changed from the base of the PR and between ce302dc and f340c28.

📒 Files selected for processing (2)
  • polylogue/storage/block_anchor.py
  • tests/unit/storage/test_block_anchor.py

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 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-20T12:04:19.330668Z f340c28 PR opened
🔒 Security Review ✅ Completed 2026-09-20T12:03:23.849270Z f340c28 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.

@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: f340c283f5

ℹ️ 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/block_anchor.py Resolved
Comment thread polylogue/storage/block_anchor.py Resolved
Comment thread polylogue/storage/block_anchor.py Resolved
Comment thread polylogue/storage/block_anchor.py Resolved
Comment thread polylogue/storage/block_anchor.py Resolved
Comment thread polylogue/storage/block_anchor.py Resolved
@Sinity
Sinity merged commit e78e2d0 into master Sep 20, 2026
3 checks passed
@Sinity
Sinity deleted the batch/polylogue-20260920-113313-2c6a1782/integration branch September 20, 2026 12:05
Sinity added a commit that referenced this pull request Sep 22, 2026
`resolve_block_anchor` returns `relocated_lineage` with a concrete message
id and position when it finds the hash in a composed lineage view reached
through a named inheritance edge. The public ref-resolution boundary classified
only `ok` and the two `drifted_*` states as resolved, so it reported
`resolved=false` with a caveat for an anchor that did resolve and clients
could not consume the relocation at all.

The finding is anchored in `storage/block_anchor.py`; the boundary that
consumes it lives in `operations/ref_resolution.py`, so this is a one-line
change outside `polylogue/storage/`.

Anti-vacuity: the new assertions in the existing `relocated_lineage` fixture
read `resolved=false` with a non-empty caveat when the state is dropped from
the set again; the absent-hash case in the same test keeps `missing`
unresolved. Raised by PR #5287 review.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01ToWqpkXotr573DiQex5vcy

(cherry picked from commit f480e5c)
Sinity added a commit that referenced this pull request Sep 22, 2026
`resolve_block_anchor` returns `relocated_lineage` with a concrete message
id and position when it finds the hash in a composed lineage view reached
through a named inheritance edge. The public ref-resolution boundary classified
only `ok` and the two `drifted_*` states as resolved, so it reported
`resolved=false` with a caveat for an anchor that did resolve and clients
could not consume the relocation at all.

The finding is anchored in `storage/block_anchor.py`; the boundary that
consumes it lives in `operations/ref_resolution.py`, so this is a one-line
change outside `polylogue/storage/`.

Anti-vacuity: the new assertions in the existing `relocated_lineage` fixture
read `resolved=false` with a non-empty caveat when the state is dropped from
the set again; the absent-hash case in the same test keeps `missing`
unresolved. Raised by PR #5287 review.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01ToWqpkXotr573DiQex5vcy

(cherry picked from commit f480e5c)
@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

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

Resolving the fixed, stale and refuted threads; tracked threads stay open.

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