mit einem Klick
iterate
Execute a complete iteration cycle: planning → batch execution → documentation → review setup. Follows file-based orchestration with TDD/ATDD, work logs, and quality gates.
Menü
Execute a complete iteration cycle: planning → batch execution → documentation → review setup. Follows file-based orchestration with TDD/ATDD, work logs, and quality gates.
Delegate task to specialist agent when expertise required: Initialize as specialist (Planning Petra, Backend Benny, Architect Alphonso, etc.) OR spawn sub-agent if available. Use when task requires specialized knowledge in agent's core focus area.
Test-first bug fixing: Write failing test that reproduces bug → Fix code → Test passes. Systematic, verifiable approach prevents regression and wastes no time on trial-and-error deployments.
Architect Alphonso conducts rigorous code review and architecture-fit analysis: ADR compliance, test coverage, architectural patterns, security. Outputs review document with APPROVED/REDIRECT/BLOCKED status.
Mid-execution self-monitoring checkpoint (Ralph Wiggum Loop): Detect warning signs (drift, confusion, gold-plating), course-correct before completion. Mandatory at 25% progress and before delegation.
Create functional specification for complex features: detailed requirements, user scenarios, constraints, acceptance criteria. Bridges strategic intent and implementation with MoSCoW prioritization and Given/When/Then scenarios.
Assess current implementation state: pending tasks, active work, progress metrics, blockers, and next recommended batch. Provides Planning Petra's executive view.
| name | iterate |
| description | Execute a complete iteration cycle: planning → batch execution → documentation → review setup. Follows file-based orchestration with TDD/ATDD, work logs, and quality gates. |
| version | 1.0.0 |
| type | orchestration |
| category | multi-agent-coordination |
Execute a complete iteration cycle following the file-based orchestration approach with Planning Petra coordinating specialist agents through TDD/ATDD workflow.
Acting as orchestrator in file-based agent collaboration, execute a batch:
Planning Petra: Assess current state
work/collaboration/inbox/ for pending tasksNEXT_BATCH.md if exists)Execute batch (specialist agents):
For each task in batch (priority descending):
a. Initialize as assigned agent (backend-dev, architect, frontend, etc.)
b. Start task using script:
python tools/scripts/start_task.py TASK_ID
c. Follow TDD/ATDD cycle:
d. Run all tests: ensure passing before proceeding
e. Complete task using script:
python tools/scripts/complete_task.py TASK_ID
(Validates result block exists and moves to done/{agent}/)
f. Create work log (directive 014) in work/reports/logs/<agent>/
If blocked: Use freeze script instead:
python tools/scripts/freeze_task.py TASK_ID --reason "Specific blocking reason"
Planning Petra: Update artifacts
docs/architecture/roadmap-*.md)NEXT_BATCH.md with next prioritiesProvide executive summary:
Review gate (conditional):
Before marking batch complete:
complete_task.py script (moved to done/<agent>/)freeze_task.pyPlanning Petra
↓ (identifies batch)
Specialist Agent(s)
↓ (executes with TDD)
Planning Petra
↓ (updates artifacts)
Architect Alphonso (if needed)
↓ (reviews & approves)
[Ready for next /iterate]
User: /iterate
Agent (Petra): Starting M2 Batch 2.3 (2 tasks: GenericYAMLAdapter + ENV support)...
Agent (Backend-Dev):
- Task 1: GenericYAMLAdapter [HIGH]
- Started: `python tools/scripts/start_task.py 2026-02-05-generic-yaml-adapter`
- RED: 24 failing tests written
- GREEN: Implementation complete, all tests pass
- REFACTOR: Extracted common patterns
- Completed: `python tools/scripts/complete_task.py 2026-02-05-generic-yaml-adapter`
- Result: 82% coverage, 3.5h (vs 5h estimated)
- Task 2: ENV variable support [HIGH]
- Started: `python tools/scripts/start_task.py 2026-02-05-env-support`
- RED: 20 failing tests written
- GREEN: Template expansion implemented
- REFACTOR: Security validations added
- Completed: `python tools/scripts/complete_task.py 2026-02-05-env-support`
- Result: 100% coverage, 1.5h (vs 2h estimated)
Agent (Petra):
✅ M2 Batch 2.3 COMPLETE (2/2 tasks, 5h actual vs 7h estimated)
✅ 44 tests passing (92% coverage)
✅ Work logs: work/reports/logs/backend-dev/2026-02-05-m2-batch-2.3.md
✅ Roadmap updated: M2 Tool Integration 100% complete
✅ Tasks properly completed using scripts (validation passed)
📊 Overall progress: 45% (M1-M2 done, M3-M4 remaining)
Next recommended batch: M3 Batch 3.1 - Telemetry Infrastructure (3 tasks)
Review gate: Significant architectural change (generic adapter approach)
✅ Created task: work/collaboration/inbox/2026-02-05-architect-m2-review.yaml
/status - Check current planning state before iteratingagents/prompts/iteration-orchestration.md for detailed reference and advanced workflowsagents/prompts/iteration-orchestration.md (comprehensive reference).github/agents/approaches/work-directory-orchestration.md.github/agents/directives/014_work_log_creation.md.github/agents/directives/016_acceptance_test_driven_development.md.github/agents/directives/017_test_driven_development.md.github/agents/directives/019_file_based_collaboration.md