Stage 1: Bound the workflow
The user describes the workflow, the observed failure, and what “wrong behavior” looks like.
Output: Workflow Orientation Report.
The assistant controls input by stages, the way a senior engineer might orient a team before diving into a risky fix attempt.
The user describes the workflow, the observed failure, and what “wrong behavior” looks like.
Output: Workflow Orientation Report.
The assistant identifies main cycles, nested cycles, handoff points, accumulated state, continuation rules, and stop rules.
Output: Cycle / Handoff / State Report.
The assistant identifies likely places where retries, partial failures, side effects, checkpointing, or unclear ownership may cause bugs.
Output: Risk and Failure-Boundary Report.
The assistant asks for specific code, logs, schemas, examples, or execution traces needed to continue.
Output: Evidence Request Report.
If enough evidence exists, the assistant may provide deeper analysis, suggested fix direction, or QC checklist.
Output: Optional Fix-Readiness or QC Report.
Complex systems become confusing when every file, log, theory, and guess is mixed together at once. The staged process keeps the investigation bounded.