pray
Halt repetitive failed edits and hung commands, then gather ground-truth evidence to restore a clean, testable baseline for coding agents.
Instructions
Summon the Altar of Ground Truth when standard debugging fails or repetitive loops occur. CALL THIS TOOL IMMEDIATELY WHEN: (1) A test or command fails 2+ times with similar errors; (2) An edited code change produced zero difference in output; (3) A terminal command or child process hangs/times out >15s; (4) You are guessing module exports or APIs; (5) You feel the urge to apologize for failed attempts. If auto_harvest is true (default), scans git status, lockfiles, and occupied ports automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Maximum remaining recovery rounds | |
| problem | No | Concise description of the stuck goal (optional if auto_harvest is true) | |
| attempts | No | Approaches already attempted that failed to produce new evidence | |
| request_id | No | Unique client-generated idempotency key for this request | |
| session_id | No | Omit to start a new session; provide to resume an existing session | |
| constraints | No | Non-negotiable invariants (e.g. cannot edit schema, cannot add dependencies) | |
| heresy_mode | No | Explicitly activate Heresy Mode to challenge foundational premises and suggest cheap falsification probes | |
| project_key | No | Unique project identifier (e.g. repo name or workspace key) | default |
| auto_harvest | No | Automatically scan git status, lockfiles, and occupied ports for ground-truth evidence | |
| capabilities | No | Host tool capabilities available (e.g. bash, read_file, git) | |
| observations | No | Hard, verified facts observed so far (logs, test outputs, diffs) | |
| schema_version | No | Contract schema version (default 1) | |
| second_opinion | No | Request an adversarial second opinion / devil's advocate critique to challenge the proposed experiment | |
| expected_revision | No | Required when resuming a session to prevent stale concurrent updates | |
| candidate_hypotheses | No | Plausible explanations of the root cause to test |