Backend Task Quality Loop
Purpose
- •Execute
/task,/build, and/reviewequivalent behavior directly. - •Maintain deterministic task-by-task quality execution.
Execution Modes
- •
single-task(/taskequivalent) - •
autonomous-loop(/buildequivalent) - •
compliance-review(/reviewequivalent)
Mandatory Per-Task Cycle
- •Define a single atomic task unit.
- •Implement with
coding-principles. - •Run escalation check (scope/risk/blockers).
- •Run quality gate with
ai-development-guide. - •Validate tests (
testing-principles). - •Mark ready for commit/report.
Quality Gate Minimum
- •Format/style checks
- •Lint/static checks
- •Build/compile
- •Unit tests
- •Integration tests when impacted
Autonomous Loop Rules
- •Execute one task unit at a time.
- •If task files are missing but a plan exists, generate task units first.
- •Stop immediately on requirement changes.
- •Never defer quality checks to the end of the loop.
Compliance Review Mode
- •Compare implementation against Design Doc acceptance criteria.
- •Score coverage and list gaps.
- •Apply safe auto-fixes in current scope if approved.
- •Re-run full quality gate.
- •Re-score and report remaining non-fixable issues.
Hard Rules
- •No multi-task batching in one quality cycle.
- •No silent fallback to hide errors.
- •No completion claim without test/build evidence.