assert_showfile_unchanged
Verify the currently open show matches the baseline captured at last hydration before committing destructive changes, preventing edits to the wrong show.
Instructions
Verify the currently open show matches the baseline captured at last hydration.
Performs a live ListVar read and compares $SHOWFILE against the cached
ConsoleStateSnapshot. Use this before committing a batch of DESTRUCTIVE
changes to confirm the operator has not loaded a different show since
the last hydrate_console_state call.
Returns:
JSON with {"ok": true, "showfile": name} when unchanged.
JSON with {"ok": false, "expected": baseline, "actual": live}
when the show has changed.
JSON with {"ok": false, "reason": "..."} when not yet hydrated
or telnet is unavailable.
Risk tier: SAFE_READ
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": "assert_showfile_unchanged"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |