Skip to content

Stop redundant investigation after grounded memory retrieval - #32

Merged
anusbutt merged 1 commit into
mainfrom
fix/retrieval-first-agent-guidance
Aug 14, 2026
Merged

Stop redundant investigation after grounded memory retrieval#32
anusbutt merged 1 commit into
mainfrom
fix/retrieval-first-agent-guidance

Conversation

@anusbutt

@anusbutt anusbutt commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Outcome

Adds a concrete stopping rule to retrieval-first guidance. When a grounded claim already establishes historical reasoning and current state is consistent, agents must stop investigating and answer from the claim plus the minimal freshness check.

The guidance explicitly limits normal freshness checks to relevant current files, working-tree or HEAD changes, and contradictory evidence. It prohibits rerunning Git history, blame, historical diffs, broad searches, tests, or the original investigation merely for reconfirmation, while preserving explicit escalation conditions and mandatory provenance inspection.

Evidence

  • Installed TypeScript compiler completed successfully.
  • Focused skill contract suite passed: 10/10.

Checklist

  • Contract tests cover the stopping rule, prohibited reinvestigation, escalation conditions, and provenance-first skepticism.
  • Canonical agent guidance reflects the changed behavior.
  • Schema compatibility is unchanged.
  • Append-only and evidence guarantees remain unchanged.
  • Full test suite and package smoke were not rerun for this two-file guidance-only update.
  • No benchmark records, generated archives, secrets, or unrelated files are included.

Compatibility and recovery

No data model, diagnostics, validator behavior, or repository recovery steps change. Revert commit ef1714d to roll back.

@anusbutt
anusbutt force-pushed the fix/retrieval-first-agent-guidance branch from 3c6ff3d to ef1714d Compare August 14, 2026 12:25
@anusbutt
anusbutt merged commit 4ed059f into main Aug 14, 2026
6 checks passed
@anusbutt
anusbutt deleted the fix/retrieval-first-agent-guidance branch August 14, 2026 12:30
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