Does anybody knows if there's a way of using Junie...
# ai
f
Does anybody knows if there's a way of using Junie for task planning and then proceed with the implementation? Currently it creates its own plan, but there's no way I can change any of the steps.
m
I am asking Junie to first create the plan as a Markdown file with numbered and grouped tasks using Markdown to-do item markup. Then, in different “sessions,” I ask to implement one group of tasks and mark them as done. This way I can keep a record of finished tasks and continue after restarts or failures. It works quite well for feature implementation. After every block, I do a small code review and make sure the project builds and all tests run. Then I commit everything to the feature branch...
🙌 1
🚀 1
k
I am asking Junie to first create the plan as a Markdown file
yep plan -> implement workflow is super good
this is why we made a more managed version for iterating on a plan before proceeding, and the AI proactively prompting the user with clarifying questions https://docs.firebender.com/multi-agent/planning
m
I have learned meanwhile about kiro's specs and steering files and also github's spec-kit . How comparable is firebender to that ?
k
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
👍 1
👀 1
the debug mode is new; i'm working on documentation for it, but itll be under the
Fast, stay in the flow
section
would love to get your feedback on all of this! especially thoughts on agent skills, plan mode, and debug mode
👀 1