Skip to content

fix(recall,guard): actionable truncation markers; truncated demanded reads keep the gate armed (#239) - #248

Merged
CryptoJones merged 1 commit into
mainfrom
fix/239-actionable-truncation
Aug 14, 2026
Merged

fix(recall,guard): actionable truncation markers; truncated demanded reads keep the gate armed (#239)#248
CryptoJones merged 1 commit into
mainfrom
fix/239-actionable-truncation

Conversation

@CryptoJones

Copy link
Copy Markdown
Owner

Implements #239 as specced: actionable marker in compact_recall (names note + exact recall-note call), incomplete-consult tracking in guard (per-turn, cleared at turn start), detection in verify_consult off the demanded-note path only, fail-open on any parsing surprise. Guard block message now asks for max_chars: 8000 up front. Tests cover armed-until-full-read, the max_chars un-wedge, and non-demanded reads being untouched. 946 passed; ruff clean. Version 8.3.2.

Closes #239

🤖 Generated with Claude Code

…reads keep the gate armed (#239)

The marker now names the note and the exact recall-note follow-up call;
a guard-demanded note that comes back truncated records as an incomplete
consult that _has_consulted_git_rules refuses to credit, with the fix
printed verbatim. Deterministic un-wedge: truncated:false, a section
drill-down, or max_chars at the 8k API cap always counts. Non-demanded
reads are never touched.

Closes #239

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@CryptoJones, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 29 minutes

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

How can I continue?

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 reviews.

How do review 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 refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 3f3c71cc-85ae-4a5a-a48b-67ab85d88f78

📥 Commits

Reviewing files that changed from the base of the PR and between 5748bfe and aacd8c8.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (9)
  • CHANGELOG.md
  • pyproject.toml
  • src/omind/__init__.py
  • src/omind/guard.py
  • src/omind/recall.py
  • src/omind/verify.py
  • tests/test_guard.py
  • tests/test_server.py
  • tests/test_verify.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.

@CryptoJones
CryptoJones merged commit 2e25388 into main Aug 14, 2026
15 of 16 checks passed
@CryptoJones
CryptoJones deleted the fix/239-actionable-truncation branch August 14, 2026 16:25
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.

fix(recall): truncation markers are dead ends and a truncated read satisfies the gate

1 participant