// operations · evidence 04

Reproducible execution evidence

Evaluate Okami as an operating system, not as a prompt demo. This page shows the command, criteria, expected timeline, proof files and a versioned JSONL trace shipp…

Scenario

The smallest useful case is deliberate: create a file and prove its content. It separates the agent's promise from the observed workspace effect.

rm -f hello.txt
okami task "create hello.txt with hi" \
  -e file_exists:hello.txt \
  -e "file_contains:hello.txt:hi"
test -f hello.txt && grep -q hi hello.txt

Acceptance criteria

criterionsourceexpected result
file_exists:hello.txtfilesystemPASS when the file exists
file_contains:hello.txt:hifilesystemPASS when content matches
task_completeharnessaccepted only after criteria pass
exit codeprocess0 for COMPLETE, not for textual promise

Compact trace

docs/generated/evidence-task.trace.jsonl
{"kind":"task_start","goal":"create hello.txt with hi","exitCriteria":["file_exists:hello.txt","file_contains:hello.txt:hi"]}
{"kind":"tool_call","tool":"write_file","args":{"path":"hello.txt"},"approval":"auto","effect":true}
{"kind":"tool_result","tool":"write_file","ok":true,"summary":"hello.txt written"}
{"kind":"completion_check","criterion":"file_exists:hello.txt","status":"PASS"}
{"kind":"completion_check","criterion":"file_contains:hello.txt:hi","status":"PASS"}
{"kind":"task_complete","accepted":true,"exitCode":0}

Files that should exist

fileproof
hello.txtobservable final effect
.okami/events.jsonltask, tool and checks timeline
.okami/audit.jsonltool, summarized args and approval log
.okami/checkpoints/journal.jsonlpre-write snapshot when applicable
docs/generated/evidence-task.trace.jsonlpublic reduced trace for docs review

Open this page in the interactive docs