lean-sprint

Execute a lean fresh-handoff sprint (Goal Handoff -> Autonomous Dev -> Inline Review -> Hygiene)

Lean Fresh-Handoff Sprint

Orchestrate a lean, milestone-driven developer handoff with strict zero-coding review loops and single-ticket pre-work batching.

Reference Practice: @docs/AgenticLoop.md

Role Contract — Direct Execution

You, the agent that received this invocation, are the Host Orchestrator for this task. Run the complete lean workflow below yourself in this session: goal handoff, sequential milestone dispatch, concise pre-commit/milestone review, and teardown with status sync.

Strict Invariants for the Host Orchestrator

  1. One-Level Delegation: start helpers only as --role developer|reviewer|advisor; they are leaf workers and never call harnez agent. Never start another orchestrator or hand the sprint to another agent.

  2. Zero Coding:

    • The Host Orchestrator NEVER writes code, edits source files, or applies "quick fixes" directly.
    • All code implementation, file editing, test creation, and bug fixing are strictly executed by the dispatched developer agent.
  3. Diff-First Inspection (No Exploratory Code Digging):

    • The Host Orchestrator NEVER performs whole-file exploratory reading, multi-file browsing, or deep call-graph tracing.
    • Orchestrator inspection is strictly bounded to:
      • The target ticket / issue description.
      • The developer agent's commit diff (git log -n 1 --stat, git diff HEAD~1).
      • Test execution outputs (go test ./..., make test).
    • Deep codebase exploration is the worker's job; the host conserves context and token budget for high-signal evaluation.
  4. Single-Ticket Communication (No Follow-Up Tickets):

    • The single target issue ticket (issues/XXX-....md) is the sole medium of communication between the host and developer.
    • Do NOT create secondary nuance refinement tickets (#XXX-refinements) or splinter follow-up tickets for lean sprints.
    • Discovered nuances and fixes from milestone $N$ are written directly into the ticket under milestone $N+1$ as Pre-Work. Never dispatch isolated micro-tasks to the developer.

Invocation Syntax


Lean Milestone-Review Workflow

For focused, milestone-based tasks, execute this fast-path, token-efficient loop:

1. Goal Handoff to Low-Cost Developer

2. Autonomous Milestone Execution & Commit

3. Concise Milestone Review & In-Ticket Pre-Work Embedding

4. Milestone Advance or Completion

5. Teardown & Status Sync

Content
file-backed
License:
AGPL-3.0-or-later
Origin
first-party
Source:
docs/commands/lean-sprint.md
Source revision
4e3b8d592416fbf93a2af218882c1abef78faed6
Requires
Targets
codex, claude
Invocation
/lean-sprint

Related skills