DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to stop a long AI coding session from losing grounded facts with Reverify

Hand off a long task to a file-backed state so a fresh context keeps verified facts.

Short answer: Run pip install reverify to install the tool; then run reverify rollover to hand the session off to a file and start a fresh one; run reverify ledger target.exe to see what is established and what is known false. All steps.

Authorization notice. Reverify is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer running a long analysis task in Claude Code, Codex, or Gemini CLI whose context keeps degrading after auto-compaction or repeated clears.

The problemAuto-summaries drop details and let unverified guesses carry forward, so long tasks drift and need restarts.

The outcomeVerified and refuted results are saved to a ledger on disk, and a new session resumes from the same grounded position without re-proposing known false claims.

What you need first

  • Python installed
  • Install with pip install reverify
  • A binary or source file you are authorized to analyze

Steps

  1. Run pip install reverify to install the tool.
  2. Run reverify rollover to hand the session off to a file and start a fresh one.
  3. Run reverify ledger target.exe to see what is established and what is known false.
  4. Run reverify ledger --hook to register the Claude Code SessionStart hook for compact, clear, and resume events.

Prompt for your agent

Using the reverify repo at 2akouwu/reverify, run reverify rollover to hand off the current session, then run reverify ledger <target> and confirm the established and known-false facts appear in the new session before continuing.

Caveat. The README says the rollover works in Claude Code, Codex, Gemini CLI and OpenCode, but the hook command is documented only for Claude Code, so other agents need their own setup.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for 2akouwu/reverify and "Stop a long AI coding session from losing grounded facts"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer