# dream-worker
Rust types for the Dream Worker Discipline TOML test plan schema and default
budget constants consumed by the reference shell hooks.
Full methodology, the seven rules, and the reference hook scripts:
<https://github.com/architect-minder/dream-worker>
## Example
```rust
use dream_worker::{parse_plan, AgentType};
let src = r#"
[agent]
type = "implementation"
scope = "src/foo.rs:10-50"
[success]
compile = true
tests = ["tests/it::foo"]
[budget]
tool_calls = 15
output_tokens = 20000
"#;
let plan = parse_plan(src).unwrap();
assert_eq!(plan.agent.ty, AgentType::Implementation);
```
## License
MIT