v0.4 to v0.5
v0.5 adds convention mode and a real public API without removing legacy mode.
What Stays The Same
runner_config.exsstill works.prompts.txtstill works.commit-messages.txtstill works.run_prompts.exsstill works.- multi-repo commits still work.
What Is New
PromptRunner.run/2PromptRunner.plan/2PromptRunner.validate/2PromptRunner.run_prompt/2mix prompt_runner ...- directory-based convention loading
- CLI state in
.prompt_runner/ - scaffold generation from convention prompts
Recommended Upgrade Path
If you already use legacy config
Keep it.
Only adopt convention mode if it removes real workflow friction.
If you are starting fresh
Use convention mode first:
mix prompt_runner run ./prompts --target /repo
Generate explicit files later only if you need them:
mix prompt_runner scaffold ./prompts --output ./generated --target /repo
Embedded Production Use
Do not rely on Mix in production code.
Use:
Use the CLI or Mix task for local developer workflows.