yep, just so we're on same page: kiro's specs / github spec-kit and there are a few others do something like:
1. project wide constitution
2. creating a spec (what/why)
3. implementation plan
4. breakdown of the plan into steps
5. execute the steps
we offer this and even patched some issues we've experienced with the process:
1. for project wide constitution/principles, you want your coding agent to progressively get context on this vs loading in all rules/principles at once. many people get this wrong and end up hurting the performance of the raw coding capability bc the default project doc is distracting/large.
a. we let you do project wide principles in the form of
rules
b. but we also have agent
skills, which let you specify
workflows that are needed to do various things in your codebase, but you don't necessarily want in context all the time because its not always going to be relevant
2. creating a spec
a. plan mode like I mentioned earlier
https://docs.firebender.com/multi-agent/planning
3. 4. and 5. implementation plan/breakdown/execution of plan into steps
a. we combines these to make the experience smoother. the agent itself will manage a long running TODO list
https://docs.firebender.com/multi-agent/todo-tracking. This ensures coherence where the agent implements everything you agreed to in the plan because its forced to "check off" each item
b. separately sub agents can very helpful here if some of the steps can be
parallelized. this is does two things: 1. faster 2. less context pollution in both the sub-agent worker and in the parent agent as the sub agent only gets the context it needs to implement the sub task, and the parent agent only needs context on any issues w/ attempting the implementation or a summary that it was done
Something not mentioned in a lot of spec driven development is debugging/recovering when implementations don't work after doing it. We have a new mode called
debug mode
where the agent will attach breakpoints, and phantom logs, with a bunch of hypothesis. then itll ask you repro the bug with exact steps, after you repro, itll query and debug the issue on its own. so this loop of code writing feels more complete:
plan => execute/implement => debug and fix