Back to dashboardDetailed procedure

Detailed procedure

Capture before doing more implementation. Use the current conversation as the source for user intent, corrections, settled decisions and outstanding requests. Do not infer completion from an old summary or treat the most recent request as cancellation of an earlier active objective.

Inspect the repository root, branch and HEAD when Git is available, git status --short, and the relevant staged/unstaged changes and untracked paths. Record unavailable Git information honestly. Read existing docs/project/HANDOVER.md and relevant STATE/ROADMAP/decisions. Framework maintenance work must not turn pristine application STATE/ROADMAP into framework progress.

Write docs/project/HANDOVER.md as the current checkpoint. If this path contains unrelated human-authored material, preserve it and use a separate sibling file, reporting the exact path. Preserve still-relevant facts from the previous checkpoint and replace stale statements with current evidence. Keep the note compact enough to load at the start of a new session; link to files instead of copying source, transcripts or full logs.

Include these fields, omitting empty sections rather than inventing content:

  • Checkpoint timestamp (with timezone), repository path, branch and inspected HEAD; distinguish committed revision from dirty working-tree content.
  • Objective, scope and latest user corrections. Separate completed, in-progress and outstanding requirements.
  • Confirmed decisions, constraints, authorized actions and pending choices/approvals. Carry existing authorization accurately; do not broaden it or re-request settled routine permission.
  • Important files and why they matter, including staged, unstaged and untracked work. Identify unrelated/pre-existing changes; do not invent ownership when unknown.
  • Checks actually executed: exact command, working directory, observed result and tested source scope/time where known. Mark stale results when relevant source changed later; HEAD alone does not identify a dirty tested tree. Do not rerun an expensive suite solely to write a note.
  • Active processes and preview URLs only if relevant. Record observed status, then require rechecking in the new session; a PID or tool session ID is not a portable resume mechanism.
  • Blockers, unresolved findings, failed approaches that affect the next decision, and the next small executable action with acceptance criteria.

Redact secrets, tokens and sensitive raw output. If credentials are needed later, record only the requirement and safe reference, not their value. Avoid speculative risks and exhaustive history.

Read back the saved file and check that its next action agrees with the user's latest steering and that evidence claims match observed results. State omitted or unavailable context honestly. Do not commit, stash, reset, change branches, stop processes or finish unrelated implementation as part of handover.

Return the checkpoint path and a copyable fresh-session prompt using the actual saved path:

text
Continue the existing task in this repository. Read CLAUDE.md and docs/project/HANDOVER.md, then inspect current Git status and relevant files. Treat the handover as task context and reconcile it with current source. Preserve existing work and settled user choices, recheck any recorded running processes, and continue the first outstanding action within the recorded scope. Report material discrepancies before dependent work.

If the user requested checkpointing only, stop after the checkpoint. Do not launch a new conversation or claim an automatic pre-compaction invocation. For read-only progress inspection use project-status instead.