guard_status
Shows guardrail session state: diff stats, loop streaks, evidence, contract size, and last verify so you can check status at turn start, after compaction, or before declaring work done.
Instructions
Session dashboard: diff, loops, evidence, contract size, and the last verify.
Use it at the start of a turn, after a compaction, or before claiming the
work is done, when you need the current guardrail state in one block.
It takes no parameters. It returns text beginning with PC status: the
session name (PC_SESSION_ID, or default), git head, diff stats and
verdict, up to three loop streaks, the evidence count and last run, the
merged constraint count, discovered conventions files, and a final Nudge
line. Side effects: if .agent-guard/ is missing it is created, config.json
is seeded with the frozen defaults when that file is absent, and the first
contract read writes the twelve seed constraints to contract.json. It also
runs git for the diff. It does not append the journal or the evidence ledger.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "guard_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |