docs: add hand-off-session design · Entire

docs: add hand-off-session design

6e7eceb→main·

alishakawaguchi·3mo ago·1 file·+191 added/-0 removed

Changes

1

Hand-Off Session Design

Date: 2026-04-08

Goal: Build an Entire-focused skills repo modeled after obra/superpowers, starting with a cross-agent hand-off-session skill that works across Codex, Claude, OpenCode, Cursor, and Gemini.

Repository Model

Follow the superpowers repository shape directly:

Initial repo layout:

README.md
skills/hand-off-session/
commands/
.codex/
.opencode/
.claude-plugin/
lib/
tests/

Skill Scope

The first skill is hand-off-session.

It is intended to support agent switching across:

The primary workflow is:

  1. User is working with one agent.
  2. User wants to continue the same work in another agent.
  3. The skill reads Entire metadata from the current repo.
  4. The skill understands the session or checkpoint context.
  5. The receiving agent gets enough context to continue without the user manually reconstructing it.

Source Data

The skill reads from repo-local Entire metadata under:

.entire/metadata/<session-id>/

Observed files include:

The transcript data is rich and noisy, so it should be consumed internally by the skill, not displayed by default.

Session And Checkpoint Model

The source of truth is the Entire CLI model in entire cli.

Accurate relationship model:

Operationally:

Design implication:

UX Model

The command name should be consistent everywhere:

hand-off-session

Natural language examples:

Explicit slash-command entry points should be used where the platform supports them.

Supported interaction forms:

Selection behavior:

Output Model

The skill must not print raw transcript content by default.

Instead, it should:

  1. Read prompt.txt, full.jsonl, and checkpoint metadata privately.
  2. Build internal understanding from those files.
  3. Return only a compact user-facing summary confirming understanding.

Default visible output:

Optional visible outputs when explicitly requested:

Raw transcript lines should only be shown when the user explicitly asks for them.

Target-Agent Behavior

The skill should support target-specific handoff modes:

The underlying session resolution and understanding should stay the same. Only the final handoff framing can vary slightly per target platform.

Guardrails

Non-Goals For V1

Implementation Strategy

Match superpowers structurally while avoiding behavior drift across agents: