Handoff
Write a compact handoff of the current conversation so a fresh agent can continue
the work. If the user described what the next session will focus on, tailor the
document to that.
Resolve every .agents/projects/ path from the repository root; never read or write
project artifacts in a global agent-installation directory.
Process
Identify the active project. Read its CONTEXT.md, LINKS.md, todo, lessons, and
any spec, tickets, review, or ADRs this conversation used.
Done when standing artifacts and the next-session purpose are known.
Record newly confirmed project facts, links, remaining work, and user corrections
in the standing artifacts they belong in. Redact API keys, passwords, and personally
identifiable information.
Done when durable knowledge from this session lives in those files rather than only
in the handoff.
Generate a short random hex id and write
.agents/projects/<project>/handoffs/<id>.md using the structure below. Point at
existing artifacts by path or URL. Describe code by its types and behaviours. Name
the skills the next agent should invoke. Tell the user the path.
Done when a fresh agent can continue from the document plus the artifacts it points
at, without this conversation, and the user has the path.
Document
# Handoff: <next session purpose>
## Next session
<What the next agent should do, scoped to the stated purpose.>
## Suggested skills
- <skill-name>: <why this session needs it>
## Pointers
- `.agents/projects/<project>/CONTEXT.md`
## Session outcome
<What this session accomplished that the standing artifacts do not already record.>
## Open
<Blockers, unresolved decisions, and in-flight work described by behaviour.>
Done when
- Standing artifacts hold the durable facts, remaining work, and corrections from this
session.
.agents/projects/<project>/handoffs/<id>.md is tailored to the next session and
contains only what those artifacts do not.
- The user has the path.
1---2name: handoff3description: Compact the current conversation into a project handoff so a fresh agent can continue the work.4---56# Handoff78Write a compact handoff of the current conversation so a fresh agent can continue9the work. If the user described what the next session will focus on, tailor the10document to that.1112Resolve every `.agents/projects/` path from the repository root; never read or write13project artifacts in a global agent-installation directory.1415## Process16171. Identify the active project. Read its `CONTEXT.md`, `LINKS.md`, todo, lessons, and18 any spec, tickets, review, or ADRs this conversation used.1920 Done when standing artifacts and the next-session purpose are known.21222. Record newly confirmed project facts, links, remaining work, and user corrections23 in the standing artifacts they belong in. Redact API keys, passwords, and personally24 identifiable information.2526 Done when durable knowledge from this session lives in those files rather than only27 in the handoff.28293. Generate a short random hex id and write30 `.agents/projects/<project>/handoffs/<id>.md` using the structure below. Point at31 existing artifacts by path or URL. Describe code by its types and behaviours. Name32 the skills the next agent should invoke. Tell the user the path.3334 Done when a fresh agent can continue from the document plus the artifacts it points35 at, without this conversation, and the user has the path.3637## Document3839```md40# Handoff: <next session purpose>4142## Next session4344<What the next agent should do, scoped to the stated purpose.>4546## Suggested skills4748- <skill-name>: <why this session needs it>4950## Pointers5152- `.agents/projects/<project>/CONTEXT.md`5354## Session outcome5556<What this session accomplished that the standing artifacts do not already record.>5758## Open5960<Blockers, unresolved decisions, and in-flight work described by behaviour.>61```6263## Done when6465- Standing artifacts hold the durable facts, remaining work, and corrections from this66 session.67- `.agents/projects/<project>/handoffs/<id>.md` is tailored to the next session and68 contains only what those artifacts do not.69- The user has the path.