Skip to content

feat(memory): warn before repeating rejected approaches - #78

Open
ahrav wants to merge 4 commits into
stack/anti-memory-03-writersfrom
stack/anti-memory-04-surfacing
Open

feat(memory): warn before repeating rejected approaches#78
ahrav wants to merge 4 commits into
stack/anti-memory-03-writersfrom
stack/anti-memory-04-surfacing

Conversation

@ahrav

@ahrav ahrav commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

Search now surfaces relevant rejected approaches as bounded warnings before an agent repeats them. Warnings remain advisory, reserve one result slot when relevant, and report retrieval, surfacing, missed-warning, and lifecycle counters.

This final PR completes the anti-memory stack after PR #75, PR #76, and PR #77.

Design

  • Lexical and semantic retrieval share warn-only result semantics.
  • One reserved top-K slot prevents a relevant warning from being crowded out.
  • Rendering is bounded and strips warning text from positive memory surfaces.
  • Verification archives stale records, expires old records, and preserves explicit retirement.
  • Contract goldens cover plugin, Pi, and Rust tool schemas.

Validation

  • bun run check:all
  • 1,669 Rust tests passed; 48 skipped
  • Focused warning, lifecycle, counter, tool-contract, and rendering tests

Stack created with GitHub Stacks CLIGive Feedback 💬

@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 06983d3d-7545-4d57-8f87-4f9e1294108a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@ahrav ahrav changed the title stack/anti memory 04 surfacing feat(memory): warn before repeating rejected approaches Aug 27, 2026
@ahrav
ahrav marked this pull request as ready for review August 27, 2026 15:20
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

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