<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=IdiotProof%2Fagent%2FIDIOTPROOF_PROTOCOL</id>
	<title>IdiotProof/agent/IDIOTPROOF PROTOCOL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=IdiotProof%2Fagent%2FIDIOTPROOF_PROTOCOL"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=IdiotProof/agent/IDIOTPROOF_PROTOCOL&amp;action=history"/>
	<updated>2026-12-06T17:24:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=IdiotProof/agent/IDIOTPROOF_PROTOCOL&amp;diff=386&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=IdiotProof/agent/IDIOTPROOF_PROTOCOL&amp;diff=386&amp;oldid=prev"/>
		<updated>2026-11-29T20:21:14Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= IdiotProof agent protocol =&lt;br /&gt;
&lt;br /&gt;
How an assistant (Claude Code, any MCP host, any LLM with a shell) drives IdiotProof on a person&amp;#039;s behalf. The person speaks plainly; you turn it into exact &amp;lt;code&amp;gt;idiotproof &amp;amp;lt;noun&amp;gt; &amp;amp;lt;verb&amp;gt;&amp;lt;/code&amp;gt; commands or &amp;lt;code&amp;gt;mcp&amp;amp;#95;_idiotproof&amp;amp;#95;_&amp;amp;lt;noun&amp;gt;_&amp;amp;lt;verb&amp;gt;&amp;lt;/code&amp;gt; tool calls, all served by the IdiotProof Hub. This file is the etiquette and the map; the full command reference is generated: [[IdiotProof/CLI_COMMANDS|&amp;lt;code&amp;gt;docs/CLI_COMMANDS.md&amp;lt;/code&amp;gt;]], [[IdiotProof/MCP_TOOLS|&amp;lt;code&amp;gt;docs/MCP_TOOLS.md&amp;lt;/code&amp;gt;]] and [https://github.com/mindattic/IdiotProof/blob/main/docs/agent/operation-catalog.json &amp;lt;code&amp;gt;docs/agent/operation-catalog.json&amp;lt;/code&amp;gt;] (regenerate all three with &amp;lt;code&amp;gt;idiotproof agent export&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== 1. Bootstrap (every session, first) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-text&amp;quot;&amp;gt;idiotproof agent bootstrap            # Hub health, owner, catalog size, docs, etiquette, exit codes&lt;br /&gt;
idiotproof agent bootstrap --json     # the same, machine-readable&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;agent bootstrap&amp;lt;/code&amp;gt; runs in the CLI itself and works with the Hub down. If it says the Hub is not running, start it: &amp;lt;code&amp;gt;idiotproof hub start&amp;lt;/code&amp;gt; (with &amp;lt;code&amp;gt;IDIOTPROOF_HUB_MONITOR=0&amp;lt;/code&amp;gt; in the environment the trading loop stays off; without it the Hub also hosts the Monitor, which places real orders for active strategies). Never stop or restart a Hub you did not start unless the person asks.&lt;br /&gt;
* Then learn the surface: &amp;lt;code&amp;gt;idiotproof help&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;idiotproof &amp;amp;lt;noun&amp;gt; --help&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;idiotproof agent catalog --json&amp;lt;/code&amp;gt; (the MCP server exposes the same catalog as tools).&lt;br /&gt;
* The catalog describes itself, so read it before guessing (everything in it is generated from the code that enforces it):&lt;br /&gt;
** each parameter of each operation has its &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;value_kind&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;format&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;required&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;enum_values&amp;lt;/code&amp;gt; and an &amp;lt;code&amp;gt;example&amp;lt;/code&amp;gt; the binder accepts (&amp;lt;code&amp;gt;example_source&amp;lt;/code&amp;gt; says whether it was declared, taken from an example command, the default, or only the type&amp;#039;s sample);&lt;br /&gt;
** &amp;lt;code&amp;gt;value_formats&amp;lt;/code&amp;gt; says, per value kind, what is accepted (dates &amp;lt;code&amp;gt;yyyy-MM-dd&amp;lt;/code&amp;gt;, ET times &amp;lt;code&amp;gt;HH:mm&amp;lt;/code&amp;gt;, numbers, flags), what is refused but corrected for you, and what is never corrected;&lt;br /&gt;
** &amp;lt;code&amp;gt;errors&amp;lt;/code&amp;gt; lists every status with its exit code and gives the JSON Schema of a usage error&amp;#039;s &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;errors[]&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fix&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;command_line&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;argv&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;args&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;changes&amp;lt;/code&amp;gt;), the meaning of each change &amp;lt;code&amp;gt;kind&amp;lt;/code&amp;gt;, and how to apply the corrected call;&lt;br /&gt;
** &amp;lt;code&amp;gt;dsl&amp;lt;/code&amp;gt; lists every IdiotScript diagnostic code (IPS001...) with what its fix does or why it has none, the schema of the repair payload (&amp;lt;code&amp;gt;diagnostics&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fixes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;corrected_script&amp;lt;/code&amp;gt;), and &amp;lt;code&amp;gt;strategy_schema&amp;lt;/code&amp;gt;, the JSON Schema of the canonical strategy JSON.&lt;br /&gt;
* Every command acts for one owner: &amp;lt;code&amp;gt;--user &amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt;, else the saved default (&amp;lt;code&amp;gt;idiotproof users use &amp;amp;lt;guid&amp;gt;&amp;lt;/code&amp;gt;), else the Hub&amp;#039;s default when only one user exists. &amp;lt;code&amp;gt;idiotproof users whoami&amp;lt;/code&amp;gt; says which and why.&lt;br /&gt;
&lt;br /&gt;
== 2. The rules ==&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;Everything goes through the Hub.&amp;lt;/strong&amp;gt; Never call Alpaca, the database or Vault yourself, and never edit &amp;lt;code&amp;gt;C:\Apps\IdiotProof&amp;lt;/code&amp;gt; or the SQL tables to &amp;quot;make something happen&amp;quot;. If an operation does not exist, say so and offer to file a ticket.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Exit codes mean something.&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; ok · &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; failed (or Hub not running) · &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; usage error (fix the command, use &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt;) · &amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt; blocked by a safety gate · &amp;lt;code&amp;gt;4&amp;lt;/code&amp;gt; confirmation required.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Exit 3 is final.&amp;lt;/strong&amp;gt; A gate (Risk Guardian, kill switch, market-hours guard, Mock-feed guard, Live elevation) said no. Report the reason verbatim. Do not retry with different numbers, another mode, or another command to get around it.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Exit 4 means nothing happened yet.&amp;lt;/strong&amp;gt; The result carries a preview and a single-use code (6 characters, about 2 minutes, bound to the exact action). Show the person the preview verbatim and ask. Only on their explicit yes, re-run the identical command with &amp;lt;code&amp;gt;--confirm &amp;amp;lt;CODE&amp;gt;&amp;lt;/code&amp;gt; (MCP: the same tool with &amp;lt;code&amp;gt;confirmation_code&amp;lt;/code&amp;gt;). Never confirm on your own, never reuse a code, never change the arguments between preview and confirm (any change voids the code).&lt;br /&gt;
# &amp;lt;strong&amp;gt;Modes.&amp;lt;/strong&amp;gt; Sandbox is IdiotProof&amp;#039;s simulator (always safe), Paper is Alpaca&amp;#039;s paper account, Live is real money. Sandbox and Paper run immediately; every Live order, cancel, replace, close, exercise and crypto order needs the confirm step; funding and transfers always do. Do not pick Live unless the person said Live.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Times are Eastern.&amp;lt;/strong&amp;gt; Every time IdiotProof prints is ET (America/New_York). Quote it as ET; never convert to UTC or the person&amp;#039;s local zone.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Read before you write.&amp;lt;/strong&amp;gt; Prefer read operations (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;show&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;status&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;preview&amp;lt;/code&amp;gt;) to answer questions. Use &amp;lt;code&amp;gt;--json&amp;lt;/code&amp;gt; when you will parse the output; show people the human text.&lt;br /&gt;
# &amp;lt;strong&amp;gt;No secrets in chat.&amp;lt;/strong&amp;gt; For &amp;lt;code&amp;gt;keys set&amp;lt;/code&amp;gt;, pass &amp;lt;code&amp;gt;--secret -&amp;lt;/code&amp;gt; so the value is read from stdin; never echo a key back.&lt;br /&gt;
# &amp;lt;strong&amp;gt;A strategy says everything the person said, or it isn&amp;#039;t made.&amp;lt;/strong&amp;gt; Every price level, count, order of events (&amp;quot;dips to X, &amp;lt;em&amp;gt;then&amp;lt;/em&amp;gt; reclaims Y&amp;quot;) and threshold in the request must appear in the script. Before &amp;lt;code&amp;gt;strategy create&amp;lt;/code&amp;gt;, put each part of the request next to the verb that carries it. If any part has no verb (check &amp;lt;code&amp;gt;dsl verbs&amp;lt;/code&amp;gt;), tell the person which part can&amp;#039;t be expressed and stop. Never arm a strategy that drops, weakens or approximates a condition, and never swap in a &amp;quot;closest&amp;quot; verb without the person&amp;#039;s explicit yes to the weaker version. Example: &amp;quot;dips to 275.60, then reclaims 276.10, with at least 2 higher lows&amp;quot; is &amp;lt;code&amp;gt;.DippedTo(275.60).BreaksAbove(276.10).HigherLows(2)&amp;lt;/code&amp;gt;, not &amp;lt;code&amp;gt;.BreaksAbove(276.10).IsHigherLow()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== 3. Intent → operation ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! The person says&lt;br /&gt;
! Run&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;How&amp;#039;s my account / what&amp;#039;s my P&amp;amp;L today?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;account summary&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;account history --period 1M&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Is the market open?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;account clock&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;account calendar&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;What do I own?&amp;quot; / &amp;quot;close my NVDA&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;positions list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;positions close NVDA&amp;lt;/code&amp;gt; (gateway; Live → code)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Buy 10 AAPL&amp;quot; / &amp;quot;short TSLA&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;trade buy AAPL 10 --stop 180 --mode paper&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;trade short TSLA 5 --stop 260&amp;lt;/code&amp;gt; (a stop is required: IP-LAW-2; &amp;lt;code&amp;gt;trade preview&amp;lt;/code&amp;gt; shows the gate checks without sending)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Spend $500 on SPY&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;trade notional SPY 500&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Bracket order with a stop&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;orders bracket ...&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orders oco&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orders oto&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;What orders are working? cancel them&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;orders list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orders cancel &amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orders cancel-all&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Quote / chart / news on X&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;market quote X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;market chart X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;market news X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;market snapshot X&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;What&amp;#039;s moving?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;market movers&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;market most-actives&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;scan movers&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Options on X&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;options chain X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;options quote &amp;amp;lt;contract&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;options greeks&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;options buy/sell&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Crypto&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;crypto latest BTC/USD&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;crypto buy BTC/USD 0.01&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;crypto positions&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Make a strategy: buy NVDA if it reclaims VWAP, 2% stop&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;strategy from-text &amp;quot;...&amp;quot; --mode sandbox&amp;lt;/code&amp;gt;, then &amp;lt;code&amp;gt;strategy show&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;strategy stamp&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Turn it on / off&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;strategy activate &amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;strategy deactivate &amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt; (Live → code)&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Why didn&amp;#039;t it fire?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;strategy progress &amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;strategy fires &amp;amp;lt;id&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;monitor status&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Gappers this morning&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;gapper profiles&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gapper arm ...&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gapper list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gapper auto status&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Replay / backtest it&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;replay run ...&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;backtest run ...&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Is the Risk Guardian on? kill everything&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;risk status&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;risk kill-switch on&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;What does the LLM panel think?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;llm panel&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;llm vote ...&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;Research on X&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;research ticker X&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;research claims&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;quot;What did I trade?&amp;quot;&lt;br /&gt;
| &amp;lt;code&amp;gt;diary list&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;diary pnl&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;audit tail&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== 4. Knowing the project (docs operations) ==&lt;br /&gt;
&lt;br /&gt;
The Hub indexes the BIBLE, AMENDMENTS, README, user stories, tickets, every library&amp;#039;s XML doc comments with &amp;lt;code&amp;gt;path:line&amp;lt;/code&amp;gt;, and the static catalogs. Use these instead of guessing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-text&amp;quot;&amp;gt;idiotproof docs search &amp;amp;lt;words&amp;gt;        # ranked across everything&lt;br /&gt;
idiotproof docs law 3                 # an IP-LAW in full (docs law = the list)&lt;br /&gt;
idiotproof docs section 4             # a BIBLE section (docs section = table of contents)&lt;br /&gt;
idiotproof docs story K1              # a user story with its status and proving tests&lt;br /&gt;
idiotproof docs explain TransactionGateway   # doc comment, declaration path:line, callers&lt;br /&gt;
idiotproof docs ticket IP-T259        # a ticket with its commits and dependencies&lt;br /&gt;
idiotproof docs dsl StopLoss          # an IdiotScript verb: phase, signatures, example&lt;br /&gt;
idiotproof docs dsl IPS006            # a diagnostic code: meaning, and what its fix does&lt;br /&gt;
idiotproof dsl diagnostics            # every diagnostic code (dsl verbs --json carries them too)&lt;br /&gt;
idiotproof dsl schema                 # the canonical strategy JSON: every key, type and required key&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The laws in [[IdiotProof/BIBLE|docs/BIBLE.md §5]] are non-negotiable; if a request would break one (for example &amp;quot;skip the stop loss&amp;quot; breaks IP-LAW-2), say so instead of looking for a way.&lt;br /&gt;
&lt;br /&gt;
== 5. MCP specifics ==&lt;br /&gt;
&lt;br /&gt;
* One tool per operation, named &amp;lt;code&amp;gt;&amp;amp;lt;noun&amp;gt;_&amp;amp;lt;verb&amp;gt;&amp;lt;/code&amp;gt; (spaces and hyphens become &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt;). Tool input is the operation&amp;#039;s parameters in snake_case; money and destructive tools also take &amp;lt;code&amp;gt;confirmation_code&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Read tools may be allow-listed. Money tools (&amp;lt;code&amp;gt;trade_*&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;orders_*&amp;lt;/code&amp;gt; that change orders, &amp;lt;code&amp;gt;positions_close*&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;options_buy&amp;amp;#124;sell&amp;amp;#124;close&amp;amp;#124;exercise&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;crypto_buy&amp;amp;#124;sell&amp;amp;#124;withdraw&amp;lt;/code&amp;gt;) are deliberately not, so the host asks the person before a Live action is confirmed.&lt;br /&gt;
* Resources: &amp;lt;code&amp;gt;idiotproof&amp;amp;#58;//docs/bible&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;idiotproof&amp;amp;#58;//docs/user-stories&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;idiotproof&amp;amp;#58;//docs/protocol&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;idiotproof&amp;amp;#58;//catalog&amp;lt;/code&amp;gt; serve the BIBLE, the stories, this file and the live operation catalog.&lt;br /&gt;
&lt;br /&gt;
== 6. When something fails ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;Hub not running&amp;lt;/code&amp;gt; → &amp;lt;code&amp;gt;idiotproof hub start&amp;lt;/code&amp;gt;, then retry once.&lt;br /&gt;
* &amp;lt;code&amp;gt;Usage error&amp;lt;/code&amp;gt; → if the result shows a &amp;lt;code&amp;gt;Corrected call&amp;lt;/code&amp;gt; (in &amp;lt;code&amp;gt;--json&amp;lt;/code&amp;gt; and MCP: &amp;lt;code&amp;gt;data.fix&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;command_line&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;argv&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;args&amp;lt;/code&amp;gt; and the &amp;lt;code&amp;gt;changes&amp;lt;/code&amp;gt; made), check it is what you meant and resend it: it was not run, and it exists only when every problem had one certain correction. Otherwise each entry in &amp;lt;code&amp;gt;data.errors&amp;lt;/code&amp;gt; names the parameter; read &amp;lt;code&amp;gt;idiotproof &amp;amp;lt;noun&amp;gt; &amp;amp;lt;verb&amp;gt; --help&amp;lt;/code&amp;gt; and fix the arguments. A corrected call is an ordinary call: exit 3 and exit 4 apply to it as to any other.&lt;br /&gt;
* A script that fails &amp;lt;code&amp;gt;dsl validate&amp;lt;/code&amp;gt; → each syntax finding carries its &amp;lt;code&amp;gt;fix&amp;lt;/code&amp;gt; (offset, length, replacement) and &amp;lt;code&amp;gt;corrected_script&amp;lt;/code&amp;gt; is the whole script with the fixes applied, when that re-checks clean. &amp;lt;code&amp;gt;dsl validate --fix&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;dsl parse --fix&amp;lt;/code&amp;gt;) returns the corrected script as the result. Commands that save or activate a strategy never apply a fix: send the corrected script yourself, after checking it says what was meant. &amp;lt;code&amp;gt;dsl diagnostics &amp;amp;lt;code&amp;gt;&amp;lt;/code&amp;gt; explains a code; one that has no fix says why, and that part needs the person&amp;#039;s decision.&lt;br /&gt;
* Canonical strategy JSON the strict reader refuses → there is no fix payload; the message names the key or value. Correct it against &amp;lt;code&amp;gt;dsl schema&amp;lt;/code&amp;gt; (the reader is the authority; the schema lists exactly the keys it accepts).&lt;br /&gt;
* &amp;lt;code&amp;gt;Blocked&amp;lt;/code&amp;gt; → report it (rule 3).&lt;br /&gt;
* Anything else → show the message; &amp;lt;code&amp;gt;idiotproof hub logs&amp;lt;/code&amp;gt; has the Hub side.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[IdiotProof]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/IdiotProof/blob/main/docs/agent/IDIOTPROOF_PROTOCOL.md IdiotProof/docs/agent/IDIOTPROOF_PROTOCOL.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:IdiotProof]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>