This directory contains canonical workflows for the shipped TBE v1.0.0 product surface.
Read repository content, render deterministic output, and write a file under a policy-allowed path.
wf1-safe-content-thread.json
./bin/tbe init
./bin/tbe run --thread examples/wf1-safe-content-thread.json --plan --json
./bin/tbe run --thread examples/wf1-safe-content-thread.json --dry-run --json
./bin/tbe run --thread examples/wf1-safe-content-thread.json --json
./bin/tbe replay --session .tbe/sessions/<wf1-session>.json --json- Plan shows policy allowance for
read_fileandwrite_file. - Dry-run simulates the write step without mutating files.
- Run completes with
status=allowed. - Replay reports
match=true.
Run exec under explicit command governance using policy command_rules.
wf2-controlled-exec-thread.jsonwf2-policy.json
./bin/tbe init
cp examples/wf2-policy.json .tbe/policy.json
./bin/tbe run --thread examples/wf2-controlled-exec-thread.json --plan --json
./bin/tbe run --thread examples/wf2-controlled-exec-thread.json --dry-run --json
./bin/tbe run --thread examples/wf2-controlled-exec-thread.json --json
./bin/tbe replay --session .tbe/sessions/<wf2-session>.json --json- Plan includes
execwithpolicy_allowed=true. - Dry-run records simulated exec evidence.
- Run completes with
status=allowed. - Replay reports
match=true.
Use the artifact registry with artifact:<name> references and deterministic replay.
wf3-artifact-pipeline-thread.json
./bin/tbe init
./bin/tbe run --thread examples/wf3-artifact-pipeline-thread.json --plan --json
./bin/tbe run --thread examples/wf3-artifact-pipeline-thread.json --dry-run --json
./bin/tbe run --thread examples/wf3-artifact-pipeline-thread.json --json
./bin/tbe replay --session .tbe/sessions/<wf3-session>.json --json- Named artifact references (
artifact:seed_textandartifact:reread_text) resolve deterministically. - Run completes with
status=allowed. - Replay reports
match=true.