dream-worker 0.1.0

Hook-enforced discipline for LLM coding agents: worktree isolation, tool-call budgets, TOML test plans, verification gates.
Documentation
  • Coverage
  • 8.33%
    2 out of 24 items documented0 out of 6 items with examples
  • Size
  • Source code size: 8.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1m 3s Average build duration of successful builds.
  • all releases: 1m 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • architect-minder

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

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