Skip to content
This project is under active development and subject to breaking changes. See the changelog for release notes.

Implementation Guardrails

These guardrails activate during the implementation phase to protect developer attention, prevent rework cycles, and ensure code quality.

Before starting work on a task, the work-item-workflow skill checks the developer’s workload:

You already have [N] tasks in progress:
- #[ID]: [title]
[F] Finish a task before picking up another (recommended)
[C] Continue and pick up another task

The default limit is 3 tasks in progress. The developer can ignore it, but the system flags it. Developers should work on one task at a time (ADR 0009); the framework enforces this via workflow.

Not every change needs all guardrails. The framework classifies tasks by impact and adjusts the level of ceremony:

ImpactCriteriaCeremony
LowTypo, log, formattingExecutes directly, no checkpoints
MediumNew function, local refactoringPlan + confirmation + automated review
HighNew service, schema, public APIMandatory ADR + approval + review + all checkpoints

By the time you reach implementation, you have already articulated what you want, why you want it, and how you will do it:

PhaseAgentWhat You DoRework It Prevents
VisionenvisionArticulate business pains and objectives”We built the wrong thing”
SpecificationspecifyDefine verifiable requirements”The requirement was ambiguous”
PlanningplanMake technical decisions with trade-offs”Why did we do it this way?”
DecompositiondecomposeValidate tasks and complexity”This task was more complex than expected”
ImplementationimplementExecute with comprehension checkpoints”It works but I don’t know why”

Isolated numerical estimates (story points, hours) are of little use without context. The framework focuses on the unknowns, not the knowns:

  • Known work: Tasks with established patterns and clear scope
  • Unknown work (risks): First time, external dependency, vague requirement, missing ADR
  • Scenarios: 2-3 approaches with explicit trade-offs (“if it goes well” vs “if risks materialize”)

When multiple phases run in the same session without cleanup, assumptions from the previous phase can contaminate the next one:

Each phase transition includes a structured cleanup that preserves key decisions while resetting working context. See Phase Cleanup Points for the full sequence.

The devsquad.sprint agent prepares planning by presenting scope options, not recommendations. The team decides what fits. The agent classifies items by readiness (ready / almost ready / not ready) with cited evidence, flagging:

  • Cross-feature dependencies that are easy to forget
  • Tasks that are bottlenecks (prerequisites for multiple others)
  • Gaps between spec and tasks that indicate future rework

Team Coordination

Multi-developer guardrails for parallel sessions and ADR synchronization. See Team Coordination.

Comprehension Checkpoints

How the agent verifies understanding before and after code generation. See Comprehension Checkpoints.