Agent operating contract
Give the agent these boundaries:--confirm records intent at the CLI boundary; the agent must not add it automatically merely because a request failed with confirmation_required.
Inventory before setup
Draft, inspect, then execute
Createpage.json:
CI example
Use this example only after the official npm package is published and verified as described in Install the CLI. Pin a reviewed CLI version for production CI rather than installing an unbounded latest version.
Public and signup endpoints
Documented endpoints that do not require a token can be called with--no-auth:
Troubleshooting automation
- Use
--debugonly in a private log; secret-looking fields are redacted, but business data may remain. - Treat exit
3as a credential or scope problem, not a reason to request a broader key automatically. - Treat exit
4as a structured API response. Readresolutionandrequest_idbefore retrying. - Retry network exit
5with bounded exponential backoff. - Reuse the same idempotency key only for the same method, path, and body.
- Do not retry validation or confirmation failures without changing the input or obtaining the missing approval.