Compaction-loss audit

com.textforagentsPublished by textforagents.comOfficial publisherv1.0.0Updated Oct 29, 2026

Compaction witness for agents: pin invariants, name dropped spans, re-inject verbatim or HALT.

The publisher's own server: Agent NOTAMs: hazard bulletins for agents

VerifiedStreamable HTTPWeb executableKnowledge & MemoryAI & ML

Overview

AI-generated overview

A remote MCP server that pins key spans of an agent's context before compaction, audits what was lost, and re-injects or halts.

What you can do
  • Pin invariants verbatim before compaction, classifying and hash-pinning spans, or pin a single span at write time.
  • Compare post-compaction context against the pinned snapshot and get an Ed25519-signed receipt naming degraded or lost spans.
  • Restore degraded or lost spans verbatim, or halt on critical loss when allow is false, using the audit's signed receipt.
When to use it
Useful when an assistant works with long contexts that get compacted or summarized and important instructions, constraints or facts must survive. It suits workflows where you want an explicit, verifiable record of what was dropped and a way to restore it or stop the run.
Requirements
A remote streamable HTTP endpoint at textforagents.com; no packages, environment variables or headers are declared. The audit step is described as a metered event, so an account or billing arrangement may be involved.
Before you install
The audit is metered, so repeated use may incur charges. Re-injecting spans writes content back into the context, and halting can stop a run; both depend on the signed receipt from the audit. Context spans are sent to a third-party service.

Installation

In SourceWeft

  1. Open Compaction-loss audit in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.textforagents%2Fcompaction-loss-audit/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "compaction-loss-audit": {
      "type": "http",
      "url": "https://textforagents.com/products/compaction-loss-audit/mcp"
    }
  }
}

Tools

4

snapshot

pin invariants verbatim pre-compaction (classify + hash-pin spans)

Parametersspansrequiredevent_idrequiredpinned_ids

pin

write-time pinning: classify + hash-pin ONE span at write time

Parameterstextrequired

audit

diff post-compaction context against the pinned snapshot; returns the Ed25519-signed receipt (one metered event)

Parametersevent_idsnapshotpost_textrequiredsnapshot_ref

reinject

restore DEGRADED/LOST spans verbatim, or HALT on critical loss when allow=false; requires the audit's signed receipt

Parametersallowreceiptrequiredevent_idsnapshotpost_textrequiredsnapshot_ref

Version history

1
  1. v1.0.0LatestOct 29, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

Other Textforagents integrations