Team Workflow
LumenFlow scales from solo developers to teams. This guide covers team-specific practices.
Team Setup
Section titled “Team Setup”- Run
lumenflow initto scaffold configuration - Define lanes for your team structure
- Set WIP limits per lane
- Add team members to npm org (for CLI access)
Lane Strategies
Section titled “Lane Strategies”By Domain
Section titled “By Domain”By Team
Section titled “By Team”By Product Area
Section titled “By Product Area”Claiming Protocol
Section titled “Claiming Protocol”First Come, First Served
Section titled “First Come, First Served”Simple: whoever claims first, owns it.
Assigned
Section titled “Assigned”Pre-assign in the WU spec:
Only the assigned person can claim.
Team Discussion
Section titled “Team Discussion”For complex WUs, discuss before claiming:
- Review in standup
- Agree on approach
- Assign and claim
Handoffs
Section titled “Handoffs”If you need to hand off a WU:
Blocking and Unblocking
Section titled “Blocking and Unblocking”When stuck on external dependency:
This:
- Sets status to
blocked - Frees the lane for other work
- Documents the blocker
When unblocked:
Daily Standup
Section titled “Daily Standup”Use the backlog as the standup board:
Focus on:
- What’s blocked (help unblock)
- What’s nearing completion (coordinate)
- What to claim next (visibility)
WIP Enforcement
Section titled “WIP Enforcement”The CLI enforces WIP limits:
This prevents overload and encourages finishing work.
Review Practices
Section titled “Review Practices”Gates Replace PRs
Section titled “Gates Replace PRs”LumenFlow’s gates replace traditional code review:
- Format, lint, typecheck, test run automatically
- All must pass before completion
When to Add Human Review
Section titled “When to Add Human Review”Add human review for:
- Security-sensitive changes
- Architectural decisions
- Public API changes
Pair Programming
Section titled “Pair Programming”For complex WUs, pair instead of review:
- Pair claims together
- Both work in the worktree
- Gates validate as usual
- No separate review needed
Metrics
Section titled “Metrics”Track team health:
| Metric | Healthy | Concerning |
|---|---|---|
| WU cycle time | 1-3 hours | > 1 day |
| Gate pass rate | > 90% | < 80% |
| Blocked WU count | 0-1 | > 3 |
| WIP per lane | At limit | Consistently under |
Scaling to Multiple Teams
Section titled “Scaling to Multiple Teams”For larger organizations:
Or use separate repos per team, each with LumenFlow.
AI Agent Coordination
Section titled “AI Agent Coordination”Teams can delegate WUs to AI agents and coordinate multiple agents working in parallel.
Handoff Prompts
Section titled “Handoff Prompts”Generate a context-loaded prompt that an AI agent can use to pick up a WU:
This produces a prompt with the WU spec, code paths, acceptance criteria, and project context. Paste it into your AI agent to start work.
Delegation with Lineage
Section titled “Delegation with Lineage”For initiative work where you need auditable delegation tracking:
This records delegation lineage so you can trace which WUs were delegated from which parent:
Multi-Agent Orchestration
Section titled “Multi-Agent Orchestration”When an initiative spans multiple WUs, orchestrate across lanes using the same control plane whether the coordinator is a human, a local agent, or another compatible orchestration surface:
wu:brief and wu:delegate still generate the worker handoff material, but emitted prompts are not
the source of truth by themselves. Checkpoint mode may prepare handoffs without launching if the
selected runtime cannot auto-invoke workers, and mem:inbox only shows signal traffic. Reconcile
initiative truth against the orchestration surfaces plus WU status, worktree / branch presence,
gate outcomes, and stamps.
Next Steps
Section titled “Next Steps”- AI Agent Integration — Working with AI teammates
- Initiatives — Multi-phase project coordination
- Memory Layer — Context preservation and agent coordination
- CLI Reference — Team commands