TDD pipeline protocol for complex multi-file implementations. Invoke this when a task meets the complexity threshold below.
Use this protocol when the task meets at least two of the following:
For small changes (a bug fix, a single-file addition, a config tweak) do not use this pipeline — just implement directly.
In the current conversation, produce a concrete implementation plan:
Do not begin writing tests or code until the plan is clear.
Write all tests before any implementation. Save them to the appropriate test files in the project.
Invoke the haiku-coder agent. Pass it explicitly:
Do not summarize or abbreviate the plan when passing it — haiku-coder has no prior context.
Once haiku-coder returns, review its output in the current conversation (where you have full context):