This example is the onboarding path for users who already have design docs or ADRs but do not yet have finished prompts.
It demonstrates:
- packet-local source material under
docs/ - a packet-local prompt template under
templates/ - prompt metadata for
references,required_reading,context_files, anddepends_on - deterministic
verify:contracts and generated checklist files - a runnable packet using the built-in
simulatedprovider
Structure
Inspect these first:
prompt_runner_packet.mdtemplates/from-adr.prompt.mddocs/adr-001-runtime-boundaries.mddocs/adr-002-recovery-contract.mdprompts/01_capture_runtime_boundaries.prompt.mdprompts/02_create_execution_checklist.prompt.md
What This Example Teaches
The workflow is:
- collect the source docs inside the packet
- choose a prompt template
- create prompts with explicit
required_reading - translate deliverables into
verify:entries - generate checklist views
- run and inspect packet-local state
Run It
From the project root:
bash examples/authoring_packet/setup.sh
mix prompt_runner list examples/authoring_packet
mix prompt_runner packet preflight examples/authoring_packet
mix prompt_runner packet doctor examples/authoring_packet
mix prompt_runner checklist sync examples/authoring_packet
mix prompt_runner run examples/authoring_packet
mix prompt_runner status examples/authoring_packet
bash examples/authoring_packet/cleanup.sh
Expected Outputs
After a successful run:
workspace/RUNTIME_BOUNDARIES.mdworkspace/EXECUTION_CHECKLIST.md
The packet-local runtime state is written to:
.prompt_runner/state.json.prompt_runner/logs/
Why It Exists
The other shipped examples show finished runnable packets. This one shows the missing authoring step: how to turn source docs into prompt files with explicit reading lists, dependencies, and verification contracts.