ThumbGate Verification evidence
guide | long running agent context management

# Long-Running Agents Need Structured Memory, Not Raw Chat Logs

Slack's long-running multi-agent pattern points to director journals, critic reviews, and credibility-scored timelines. ThumbGate turns those context channels into pre-action checks before background agents, revenue loops, or investigations drift.

👍 Thumbs up reinforces good behavior
👎 Thumbs down blocks repeated mistakes

## Why this page exists

- Long-running agents should not rely on accumulated chat logs once requests and output grow across many rounds.
- Director journals keep structured working memory; critic reviews score evidence; timelines deduplicate and resolve conflicts.
- ThumbGate now exposes npx thumbgate long-running-agent-context-guardrails to gate missing structured memory before handoff or action.

## Why this helps ThumbGate

This maps directly to Ralph Loop, reply orchestration, background PRs, and revenue automation. The longer the loop runs, the more dangerous raw history becomes as the source of truth.

ThumbGate can sell the control layer: journal the decisions, review findings with evidence, score credibility, and block external actions when the agent is building on unreviewed memory.

## High-ROI context gates

- Require a director journal for observations, decisions, questions, hypotheses, and open risks.
- Require critic review with credibility scores before expert findings become shared memory.
- Checkpoint the critic timeline when duplicates, stale claims, or conflicts remain unresolved.
- CLI path: npx thumbgate long-running-agent-context-guardrails --request-count=80 --output-mb=3 --raw-chat-only --json.

## Where this creates revenue

This is an enterprise-quality story for teams moving from one-off assistants to persistent agents. ThumbGate hardens one long-running workflow and proves that it can maintain truth across sessions before the agent reaches production authority.

## FAQ

Why not just keep the whole chat history?

Because raw history grows until it wastes context, creates stale truth, and degrades reasoning. Structured memory keeps the useful state without passing every token forever.

What should a long-running agent persist?

Persist a director journal, critic-reviewed findings with credibility scores, and a deduplicated timeline that resolves conflicts by strongest evidence.