Need for Human Oversight in Task Execution
Hola muchachos,
I have another piece of feedback regarding the spec kit. Currently, the kit allows the LLM to execute all tasks in one go without human intervention. This WILL result in the LLM producing unnecessary code, since all LLM's loves to overdo things(which means Goodbye "clean code" and Hello "tons of code") and we don't want that in our codebases.
As it doesn't naturally pause for review. It's important to have a human review and approve each task before moving on, to ensure the LLM explains its actions and keeps the solution as simple and minimal as possible, rather than over-engineering or generating unnecessary code.
This human oversight is crucial to avoid overproduction and maintain clarity.
*I let an AI write the text for me, because I had tons of swear words ;-)
Finally I love Specify. You guys have done a beautiful job
I really appreciate that the system can fully complete tasks on its own, but I do agree about the “tons of code” concern. I think the core issue is that Spec-Kit sometimes generates more tasks than necessary. In my view:
- Spec-Kit creates a large number of tasks.
- More tasks mean longer execution times.
- The longer the tasks run, the greater the chance for the LLMs to drift off course.
Making the generated tasks more focused and concise would likely improve both efficiency and reliability.
I had the same thought. But the root cause seems to be the /specify phase. It most likely describes the "whole" project in the initial iteration and treats is as a "feature implementation", but in reality is multiple features. This then causes the plan and tasks to overboard and so on...
So, how do you take features "out" of the first iteration and have them ready for later iterations (feature additions)?
One solution might be having a PRD phase before /specify that allows to define multiple feature iterations: MVP to full project and also later Additions.
Thanks for the thoughtful replies! I agree that reducing task bloat helps but my concern isn’t just “too many tasks.” It’s autonomy without guardrails on mature/mission-critical codebases.
For large, long-lived solutions (think enterprise .NET), letting the LLM run a batch end-to-end without human checkpoints is risky. Even one overconfident step can introduce complexity debt or regressions. In these contexts, we need precision over speed.
What I’m asking for isn’t to block automation, it’s to add a human-in-the-loop mode so teams can choose safety when it matters: • --interactive (or similar): pause after each task, show diff + a short rationale, and wait for Approve / Revise / Skip / Stop. • --max-tasks N: hard cap to prevent long drift. • Simplicity guardrails: require a brief justification for new files/deps and flag “large diffs” for review. • --dry-run: plan + proposed diffs only, no writes. • Optional review checklist (e.g., keep it simple, no unnecessary deps, minimal surface area).
For small/greenfield repos, the current “run it all” flow is fine. For big/established ones, human approval per task is the difference between clean, minimal changes and “tons of code.”
Happy to help test an interactive mode if you’re open to it.
I think this depends on the target audience for Spec Kit. Is it for software engineers, project managers, beginners, seasoned, etc? Having the ability to choose when to be interactive, non-interactive, phase to phase, task to task, would be very helpful and allow the user to decide if they want to micro manage, oversee, one and done. I like your suggestion @GoranHalvarsson as it leans toward allowing the user decide what their role is in the project.
I hate mentioning my concern, because I really think @GoranHalvarsson has a good point and I like the suggestion.
One thing is where to put these parameters? - The most obvious place would be the initial setup "uvx ...", which then could bake the points into an initial constitution or so. But I would really see its place somewhere around the /plan, /tasks or maybe /implement command, since this is the place where these parameters are owned. It would also allows experimenting or explicitly working with different parameters for different sized features/specs.
Another thing is that my impression is that using spec-kit, we are still not at a point where we can "quarantee" the LLMs do not deviate from the constituation and I believe it would not be the same for new parameters. The consequence would be receiving issues about not working features, because 3 task limit was set, but 5 were implemented or so. Or the LLMs just works around the contraint by declaring 3 tasks and a whole set of subtasks.
While thinking about that I had several ideas to address this:
- Introduce a script for checking off a task and getting the next one to be able to handle the "--interactive" part (maybe using version control???)
- Define that one task cannot span multiple Requirements or some other way of avoiding tasks getting too large, just to make them fit to the task cap parameter
By the way: One point I would never use is --dry-run for implementation because it either is unprecise, the LLM just haluzinating a set of chenges that in reality do not comile, run or work, or wastes time and tokens with the LLM having to do everything again for the real run. Maybe having clean rollback points with the interactive mode and utilizing version control features is able to make the dry-run obsolete?
This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.
This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.