Plan behind gates
An initiative moves through intake, spec, architecture and breakdown, with research, explore and synthesis when you need them. You and your AI harness write the files, each phase waits for your approval, and the plan ends in tickets.
$ daiku init acme --no-git && cd acme
scaffolded daiku workspace in acme
$ daiku repo add webapp git@github.com:acme/webapp.git \
--path ~/src/webapp
added webapp — commit REPOS.json to share it
$ daiku change new "Customer accounts" --repo webapp
created room plan/
created change 1-customer-accounts (source #1)
synthesis skipped
$ daiku gate breakdown approved
daiku: breakdown requires intake to be approved (currently "draft")
daiku: breakdown approved: 1 artifact problem(s):
plan/specs/1-customer-accounts/tickets: no tickets
(pass --force to override)
$ daiku gate intake approved
1-customer-accounts: intake = approved
$ daiku gate research skipped --reason "new app"
1-customer-accounts: research = skipped
$ daiku gate explore skipped --reason "new app"
1-customer-accounts: explore = skipped
# write the functional spec and the architecture
$ daiku gate spec approved
1-customer-accounts: spec = approved
$ daiku gate architecture approved
1-customer-accounts: architecture = approved
$ daiku tickets new story "Add password reset" \
--repo webapp --requirements R1
created S-0001 plan/specs/1-customer-accounts/tickets/S-0001.md
# write the acceptance criteria
$ daiku gate breakdown approved
1-customer-accounts: breakdown = approved