Skip to content

feat(core): an optional session handoff file in the repository - #2495

Merged
braboj merged 2 commits into
mainfrom
feat/optional-handoff
Nov 19, 2026
Merged

braboj merged 2 commits into
mainfrom
feat/optional-handoff

Conversation

@braboj

@braboj braboj commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

A project may now keep a short handoff file in the repository at a natural boundary. It is optional: no file is required when unused, and no session has to end at a boundary.

The rule, as agreed on #2465:

At a natural boundary a project MAY keep a short handoff file in the repository: a "Now and next" section rewritten each session, and lasting facts only where no authoritative source (code, history, ADRs, issues) holds them.

Where Change
templates/core/docs.md new section "Session handoff" (docs-session-handoff): HANDOFF.md at the root, sections "Now and next" and "Lasting facts"; points at ADRs and issues, never copies them; never in an agent tool's own store
templates/core/agents.md both context-file skeletons' session line now names the handoff "if kept"
docs/architecture/08-crosscutting-concepts.md context-cost table, regenerated (about +164 words a root)

Why docs.md, not agents.md: agents.md reaches only the base-agents root; docs.md reaches all 39 roots, as AGENTS.md 4.2 asks for a rule this wide.

Closes #2465.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3

…session (#2465)

A project MAY keep a short HANDOFF.md at the repository root: a "Now and
next" section rewritten each session, and lasting facts only where no
authoritative source holds them. The rule names no tool, requires no file
and forces no session reset. It lives in core/docs.md, which reaches every
chain; the context-file skeletons' session protocol now points at it.

Closes #2465.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DpT5xQh3AgRFs2tJwMT4g3
@braboj braboj added the changelog:added Changelog section: Added label Nov 15, 2026
@braboj

braboj commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator Author

Codex round 1: no findings. Ready for the maintainer's approval; #2496 and #2498 stack on it.

@braboj
braboj merged commit 3f56630 into main Nov 19, 2026
16 checks passed
@braboj
braboj deleted the feat/optional-handoff branch November 19, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:added Changelog section: Added

Projects

None yet

Development

Successfully merging this pull request may close these issues.

One session per stage, each starting from the project's memory in the repository

1 participant