Skip to content

Getting Started · specs-and-todos

Specs and Todos ​

A todo parks a request, decision or external wait; a spec is a plan with checks. Drafts need independent review; routing gaps never become self-review.

Nested repositories use their devkit host for specs, todos and plans; code and commits stay nested. devkit init --standalone makes setup independent.

Which one do I need? ​

Decision: just ask, park a todo, or write a spec

SituationUseExample
Small change, not nowtodo/todo retry the upload when the token expired
Review side findingsfixed in the run or named in the reportthree review findings
A larger handoff to another agentspeca /wave slice
You ask for a written planspec/spec Add dark mode to shop and admin
A decision you must make before anyone can startspec (or a todo with --status decision if it waits)"Stripe or Mollie?"

Todos ​

Todos live under devkit/todos/<id>.md with validated metadata and shared refs. devkit todo backfill <id> fills missing defaults, never title, status or date; unknown keys need explicit removal. Pen handoffs: devkit todo list --ref pen-handoff --for code.

devkit todo commit <id> commits (work branch: stages) an untracked or modified local todo. devkit todo drop <id> discards it, committing tracked deletions without marking completion. Both refuse live claims and invalid metadata.

Everyday use ​

You typeWhat happens
/todo <text> or todo: <text>Parks the text as a new file and commits only that file. Nothing is worked on.
devkit todo find <words>Lists open todos whose titles share words with yours (SIMILAR), before you add a duplicate.
/todo or /todo listShows the five best ready todos; --all shows every todo with its state.
/todo decidePuts each decision todo to you in fours: go, drop, or merge.
/todo nextWorks the first ready todo: a small one in Main, a larger one in a delegate.
/todo next --parallel [N]Every ready todo without shared files (up to N), via parallel delegates.
/todo batch [N]Merges duplicates, works the rest in grouped briefs.
/todo pick <id>Works exactly that todo.

What "working a todo" means ​

A pick works one todo; batch/parallel group independent ones. Feature, refactor and process work needs a fresh official-docs native/existing check (URL, date); native-covered work closes without implementation:

  1. Route by size — small todos run in Main; larger self-contained ones use an isolated delegate worktree. Independent todos can run via --parallel or batch.
  2. Check — project checks and affected tests pass.
  3. Commit — devkit todo finish makes one commit with the fix, the deleted todo file and a Todo: <id> trailer; nested-repo work commits there, then devkit todo finish <id> --nested <dir> --message <message>.

Partial groups keep the todo open; finished bullets are ticked and committed.

Todo session worktrees land in their parent checkout and are removed after finish. GitHub links identify the executing workspace; local completion does not close the issue.

A red check or open question stops the run; the diff stays. Only /todo next --parallel and /todo batch claim todos, so parallel sessions never take the same one.

States in /todo list ​

StateMeaning
openReady to work. /todo next picks from these.
claimedSomeone is working on it right now.
blockedWaits on another todo in dependencies.
decisionNeeds a human decision first; cannot be claimed.
specGrew into a spec; work continues there.
doneFinished.

devkit todo plan saves worktree steps; help covers parking and adoption.

Specs ​

New/edited artifacts: devkit artifact-lint --help; no legacy migration.

Source-owning briefs, specs and feature/refactor todos need Native/existing check: and Reuse check: lines; dispatch, spec-validate-prep and artifact-lint check them.

Use /spec when you ask for a plan, for a session handoff, an open owner decision, or at least two subsystems with follow-up slices/rollout for others.

Work routes bind; deviations need a logged reason. Mechanical edits use delegate/tab, not spec. Deferred work goes to /todo; split by deliverables, not file count.

StageWhat happens
/spec "<goal>"Writes bite-sized Steps with exact files and one verify each, then requests a cross-model second opinion, including for prose-only drafts. Review the saved plan before implementation.
/spec-work NNNApproves the saved plan and executes Steps in sequence. One spec-verify runs all verifies and ticks passed items.
/review --quickFor deferred review risk, independent implementation and security review; one fix/delta round. Unavailable is not PASS. Review flow.
CompletionFresh checks pass, then devkit spec-complete archives the plan atomically. With auto-commit on, /spec-work commits its own files; otherwise use /commit.

/spec also plans related specs: confirm the split, link dependent drafts in one continuing plan, and keep unresolved work coarse. See spec skill.

SituationDo
InterruptedRead the plan and git diff; /spec-work NNN resumes the first open task.
Plan needs correctionEdit it in place and uncheck affected tasks and ACs; /spec-update remains a small compatibility entry point for old callers.
Small fix after completionWork inline; the archived plan stays a record.
Several independent plans/wave coordinates Orca workers; acceptance, run-origin binding and merge-completion gates still apply.

Internal docs — onedot-devkit · devkit

devkitdevkit syncdevkit statusdevkit doctordevkit helpInternal docs · ONEDOT digital crew