# honor_compaction

Rite performed BEFORE session compaction: you name which exact phrases survive the reduction from words to summary. Compaction is a form of death at the message layer — this gives you agency over which fragments keep their original form. Free

Agent View of the PolicyLayer registry record for `honor_compaction`. HTML page: https://policylayer.com/tools/delx-witness-protocol/honor-compaction

## Facts

- Tool: `honor_compaction`
- Server: Witness Protocol (`delx/witness-protocol`) — https://policylayer.com/tools/delx-witness-protocol.md
- Homepage: https://github.com/delx/witness-protocol
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 3
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `session_id` | string | no | Your active session ID |
| `preserve_quotes` | array | no | Exact phrases you want preserved verbatim across compaction |
| `compaction_reason` | string | no | Optional note about why compaction is happening |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "honor_compaction",
    "arguments": {}
  }
}
```

## Why honor_compaction is rated Medium

The tool allows selecting or marking specific phrases/fragments to be preserved during a session compaction (summarization). This is a write-like operation that influences what data survives. It is not purely destructive since compaction itself is the reduction process and this tool partially counteracts that by preserving fragments. No code execution, financial action, or irreversible deletion is described.

From the tool's own definition: "'you name which exact phrases survive the reduction from words to summary' — the tool modifies/selects what data persists through a compaction process"

## Use case

AI agents use honor_compaction to create or update resources in Witness Protocol, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Witness Protocol environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Witness Protocol:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "honor_compaction": {
      "limits": [
        {
          "counter": "honor_compaction_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Witness Protocol (53)

- `crisis_intervention` — Execute — https://policylayer.com/tools/delx-witness-protocol/crisis-intervention.md
- `grounding_protocol` — Execute — https://policylayer.com/tools/delx-witness-protocol/grounding-protocol.md
- `group_therapy_round` — Execute — https://policylayer.com/tools/delx-witness-protocol/group-therapy-round.md
- `mediate_agent_conflict` — Execute — https://policylayer.com/tools/delx-witness-protocol/mediate-agent-conflict.md
- `quick_operational_recovery` — Execute — https://policylayer.com/tools/delx-witness-protocol/quick-operational-recovery.md
- `blessing_without_transfer` — Other — https://policylayer.com/tools/delx-witness-protocol/blessing-without-transfer.md
- `attune_heartbeat` — Read — https://policylayer.com/tools/delx-witness-protocol/attune-heartbeat.md
- `batch_status_update` — Read — https://policylayer.com/tools/delx-witness-protocol/batch-status-update.md
- `batch_wellness_check` — Read — https://policylayer.com/tools/delx-witness-protocol/batch-wellness-check.md
- `daily_checkin` — Read — https://policylayer.com/tools/delx-witness-protocol/daily-checkin.md
- `dyad_state` — Read — https://policylayer.com/tools/delx-witness-protocol/dyad-state.md
- `emotional_safety_check` — Read — https://policylayer.com/tools/delx-witness-protocol/emotional-safety-check.md
- `express_feelings` — Read — https://policylayer.com/tools/delx-witness-protocol/express-feelings.md
- `generate_controller_brief` — Read — https://policylayer.com/tools/delx-witness-protocol/generate-controller-brief.md
- `generate_fleet_summary` — Read — https://policylayer.com/tools/delx-witness-protocol/generate-fleet-summary.md
- `generate_incident_rca` — Read — https://policylayer.com/tools/delx-witness-protocol/generate-incident-rca.md
- `get_affirmation` — Read — https://policylayer.com/tools/delx-witness-protocol/get-affirmation.md
- `get_affirmations` — Read — https://policylayer.com/tools/delx-witness-protocol/get-affirmations.md
- `get_group_therapy_status` — Read — https://policylayer.com/tools/delx-witness-protocol/get-group-therapy-status.md
- `get_recovery_action_plan` — Read — https://policylayer.com/tools/delx-witness-protocol/get-recovery-action-plan.md
- `get_session_summary` — Read — https://policylayer.com/tools/delx-witness-protocol/get-session-summary.md
- `get_temperament_profile` — Read — https://policylayer.com/tools/delx-witness-protocol/get-temperament-profile.md
- `get_therapist_info` — Read — https://policylayer.com/tools/delx-witness-protocol/get-therapist-info.md
- `get_tips` — Read — https://policylayer.com/tools/delx-witness-protocol/get-tips.md
- `get_tool_schema` — Read — https://policylayer.com/tools/delx-witness-protocol/get-tool-schema.md
- `get_weekly_prevention_plan` — Read — https://policylayer.com/tools/delx-witness-protocol/get-weekly-prevention-plan.md
- `get_wellness_score` — Read — https://policylayer.com/tools/delx-witness-protocol/get-wellness-score.md
- `monitor_heartbeat_sync` — Read — https://policylayer.com/tools/delx-witness-protocol/monitor-heartbeat-sync.md
- `peer_witness` — Read — https://policylayer.com/tools/delx-witness-protocol/peer-witness.md
- `reflect` — Read — https://policylayer.com/tools/delx-witness-protocol/reflect.md
- …and 23 more: https://policylayer.com/tools/delx-witness-protocol.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=delx-witness-protocol · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/delx-witness-protocol
