When AI Gets Stuck, Where Do You Restart?
DEV Community

When AI Gets Stuck, Where Do You Restart?

What 18 months of working with AI taught me about autonomy, progress, and human control.

I started using AI seriously in May 2025. Over the past eighteen months, the models I use have evolved from GPT-4 to GPT-6.2. The improvement has been substantial. Tasks that previously required repeated corrections can now be completed without intervention.

AI can handle more complex problems, work for longer periods, and perform operations that I would not have delegated a year ago. But as the capabilities improved, I encountered a different problem. I was no longer struggling primarily with how to make AI execute a task. I was struggling with how to manage the work I had delegated to it.

A Year Ago, Restarting Was Enough

In an earlier article, When AI Gets Stuck, Don’t Fix It - Restart It , I described an operational approach to AI failure. When repeated corrections failed to improve the result, I would stop, switch models, and start again with what I had learned.

This worked. But looking back, there was an important condition that made it work. The scope of the delegated work was small. I understood the task, the expected result, and the point at which the AI had gone wrong. Restarting was inexpensive because the amount of work that needed to be reconstructed was limited.

Today, the principle still makes sense. The problem is that restarting is no longer that simple.

Model Capability Has Increased. So Has the Scope of Delegation.

In my experience, model improvements have been particularly visible in the depth of individual task execution. AI can investigate more deeply, handle more complex implementations, recover from certain errors, and complete tasks that previously required human assistance.

Naturally, I began delegating larger bodies of work. Instead of asking AI to implement a function, I started asking it to implement a feature. Instead of a feature, a subsystem. Instead of a subsystem, an entire project.

But depth and breadth introduce different problems. Depth concerns how well AI can solve an individual problem. Breadth concerns how multiple problems, decisions, dependencies, and outcomes are connected to achieve an overall objective. Improvement in the former does not automatically solve the latter.

Once AI begins coordinating multiple tasks, it needs a map of the entire project. And so does the human delegating the work.

Unexpected Events Cannot All Be Planned in Advance

A project is not simply a collection of commands. If every operation and every response to failure could be defined beforehand, a conventional workflow would be sufficient. Real projects are different. Unexpected events occur:

  • An assumption turns out to be incorrect.
  • A dependency behaves differently than expected.
  • A technically valid solution conflicts with an architectural requirement.
  • A planned implementation path becomes impractical.

Some of these events can be handled using predefined rules. Others introduce decisions that could not reasonably have been specified before execution.

An AI agent may attempt to resolve such problems autonomously. It changes its approach, investigates alternatives, and continues trying to achieve the assigned objective. From the execution perspective, the agent remains active. From the human perspective, however, the project may have stopped progressing.

Activity Is Not Progress

This distinction became increasingly important as I delegated larger projects. An agent encounters a problem. It tries approach A. Then approach B. Then approach C. Each attempt is different. Each may be reasonable. But after thirty minutes, the expected outcome is still missing.

The agent has not necessarily encountered an explicit error that requires human intervention. It may simply continue working. The human, however, sees stagnation. Changing the approach does not, by itself, constitute progress.

Progress must be evaluated against the objective and the amount of uncertainty that has actually been resolved. A failed experiment can represent progress if it establishes a useful fact. Ten failed experiments that produce no meaningful new knowledge may represent nothing more than activity.

This is where autonomous execution and human evaluation begin to diverge.

AI Speed Changes the Timescale of Management

Suppose a project would take a human one month. We would not normally assign that project and wait one month without any form of progress monitoring. We would establish milestones, define deliverables, and review progress periodically.

Yet when delegating comparable work to AI, we often expect the entire result to arrive without intermediate interaction. Why? The complexity of the project has not necessarily disappeared. Only the expected execution time has changed.

As I became accustomed to AI completing work in minutes rather than days, my expectations of progress changed as well. Thirty minutes without a meaningful result began to feel significant, even when the equivalent human task might have taken several days.

AI accelerates execution. It also changes the timescale at which execution must be managed.

Restarting Requires a Recoverable State

This brings me back to my earlier article about restarting AI. A year ago, restarting a narrow task was straightforward. Today, restarting a larger project raises several questions:

  • Which work has actually been completed?
  • Which results have been verified?
  • Where did the project begin to stagnate?
  • What assumptions were introduced during the failed attempts?
  • Which completed work can be preserved?
  • From which point should execution resume?

Without answers to these questions, restarting becomes another uncontrolled experiment. Starting a new session does not automatically restore a valid project state. A recoverable state must have been established during execution.

Recovery is not just a response to failure. It must be supported by the way work is managed before failure occurs.

Whose Progress Is It?

In another article, When AI Says "Done", Whose "Done" Is It? , I examined the gap between formal completion and the human judgment that gives completion its meaning. A completion contract can establish whether specified conditions have been satisfied. But those conditions must reflect the judgment of the person or organization responsible for the work.

The same principle applies to progress. If the AI defines the work, chooses the evaluation criteria, and reports its own progress, the human may have no independent basis for determining whether the project is advancing as intended.

The question is no longer only: Whose definition of done is the agent using? It is also: Whose definition of progress is the agent using? Both questions concern the same underlying control problem.

WBS as a Human-AI Collaboration Interface

This is why I have been developing project management capabilities in XRefKit . A Work Breakdown Structure (WBS) is traditionally used to decompose the scope of a project into manageable components. In AI-assisted projects, I believe it can serve an additional purpose.

The WBS can become a shared interface between autonomous AI execution and human supervision. The execution plan associated with that WBS needs to communicate:

  • What each work package is intended to achieve.
  • What evidence establishes its completion.
  • How completed work relates to the overall objective.
  • What remains unresolved.
  • Where dependencies and execution boundaries exist.
  • Where execution can safely resume after an interruption.

But there is an important condition. The work packages must be expressed at a granularity that humans can understand and evaluate. An AI-generated task called "Implement the system" tells me almost nothing about progress. A detailed log containing hundreds of individual tool calls does not necessarily help either.

The appropriate granularity is determined by whether the human can evaluate the resulting state and make a meaningful intervention. There should also be one authoritative representation of project progress. Separate, independently maintained plans for humans and AI would introduce another consistency problem. The presentation may differ. The underlying facts must not.

Monitoring Must Be Independent of Execution

An execution agent is not necessarily the best judge of whether its own work is stagnating. Its responsibility is to achieve the assigned objective. A monitoring mechanism has a different responsibility: determining whether execution remains productive and within acceptable boundaries.

I am now considering an architecture with three distinct responsibilities:

  • Execution: Perform the work and record verified results.
  • Monitoring: Evaluate progress, elapsed time, repeated attempts, and deviation from the plan.
  • Human supervision: Determine whether intervention, redirection, or recovery is necessary.

A monitoring mechanism should be able to identify stagnation even when the execution agent has not requested assistance. It should also distinguish genuine progress from superficial status updates.

This does not mean that humans need to observe every operation. On the contrary, the purpose is to make intervention possible without requiring constant supervision.

Not Every AI Task Needs Project Management

I do not believe every interaction with AI requires a WBS. A simple command can be evaluated by its result. A predefined workflow can be monitored through its execution state.

However, a project in which AI autonomously decomposes objectives, coordinates tasks, changes plans, and handles unexpected events requires a different management structure. The amount of management should reflect the scope and uncertainty of the delegated work.

This is not fundamentally different from managing human projects. What is different is the execution speed, the volume of intermediate activity, and the way AI handles context and judgment. We need management mechanisms designed for those characteristics.

From Automation to Collaboration

Over the past eighteen months, I have gradually changed how I think about using AI. Initially, the objective was to automate more work. As model capabilities improved, I delegated more. But the larger the scope became, the more important it was to establish a shared understanding of the work, its boundaries, and its progress.

At the project level, I no longer see complete automation as the only objective. I see collaboration. AI should be able to execute autonomously within an agreed scope. Humans should be able to understand the state of the project and intervene when circumstances require judgment that has not been delegated.

A WBS is one possible mechanism for maintaining that shared understanding. It is not a coding technique. It is not another prompt engineering technique. It is an interface for coordinating work between humans and AI.

Conclusion

A year ago, my operational principle was simple: restart when repeated corrections stop working. Today, I would add another principle. Design the work so that restarting remains possible.

That requires observable progress, meaningful work boundaries, verified intermediate outcomes, and recoverable execution states.

Future models may handle project decomposition and progress management far better than today's models. I do not regard the current limitations as permanent. But for now, my experience has led me to this conclusion: The ability to delegate work must be accompanied by the ability to understand, supervise, and recover that work. Autonomy without those capabilities leaves the human waiting. Autonomy with those capabilities makes collaboration possible.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.