Skip to content

[Phase 4] Agent handoff protocols #312

@frankbria

Description

@frankbria

Summary

Define protocols for agents to hand off work to other specialized agents.

Problem

Complex features require multiple agent types: implement → test → review. Currently no mechanism for coordinated handoffs.

Proposed Solution

Handoff Types

  • Sequential: Implementation → Test → Review pipeline
  • Parallel: Multiple agents on independent subtasks
  • Escalation: Agent creates blocker, different agent resolves

Context Passing

  • Structured handoff messages
  • File change summaries
  • Relevant context extraction
  • Blocker/question forwarding

Handoff Protocol

  1. Completing agent summarizes work done
  2. Context packaged for next agent
  3. Next agent loaded with relevant context
  4. Execution continues with role-appropriate focus

Acceptance Criteria

  • Sequential handoff: implement → test pipeline works
  • Context preserved across handoffs
  • Handoff audit trail
  • CLI visibility: cf work status shows handoff chain

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestphase-4Phase 4: Multi-Agent Coordination

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions