The Story
Every prompt architecture needs a tool. Not a web UI, not a library — a CLI that a developer reaches for without thinking.stratt new task dev extract-logs → a valid YAML skeleton appears. stratt validate → schema, imports, constraints checked in one command. stratt publish → fingerprinted, pushed to R2, committed to Git. stratt run → chain executes with gate checkpoints where humans decide.
STRATT’s CLI is called the Commander’s Tool because it embodies Eva Stratt’s philosophy: relentless precision and zero deviation from protocol. Every command has defined exit codes. Every failure mode has a recovery path. Every publish is a saga with atomicity guarantees.
Key Messages
- “Seven commands, full lifecycle” —
new→validate→fingerprint→publish→run→deprecate→verify. No gaps. Every prompt unit state is reachable through the CLI. - “Exit codes are contracts” —
0success,1validation fail,2tampered,3broken import,4R2 error. Scriptable. CI-ready. No ambiguous failures. - “Gates are architectural, not optional” —
stratt runpauses at gate steps and waits for human judgment.--gate-mode autoexists for testing but requires conscious opt-in. Production chains always gate. - “R2-first-then-Git” — the publish saga writes to Cloudflare R2 before committing to Git. If R2 fails, nothing happens. If Git fails, R2 has the correct state. Partial publishes are impossible.