# Multi-Session Agent Handoff Protocols

Category: Agent Orchestration
Stack: HandOff Skills, run-log.md, State Serialization

## Overview
Structured handoff templates allowing one agent session to summarize architectural state for the next session without loss.

## The Problem
When context windows fill up or sessions end, newly initialized agents lose track of architectural decisions and restart work unnecessarily.

## Production Rule
Serialize task progress into an explicit run-log file at the end of each session. Have new agents read the handoff file before executing new commands.

## Code / Specification
File: `handoff_template.md`

```workflow pattern
# Agent Handoff Summary
- Completed: Implemented Pydantic models for contract schemas
- Working File: app/schemas/contract.py
- Failing Test: tests/test_validation.py::test_date_overlap
- Next Immediate Step: Update regex parser to handle Q3 fiscal year notation
- Git Branch: feature/contract-schemas
```
