restart
Installation
SKILL.md
Restart Project Memory
Rebuild agent memory from current evidence. This replaces accumulated memory; it does not append to it or reset source code.
Workflow
- Read the conversation; every root and nested AGENTS, AGENTS.override, CLAUDE, and HANDOFF file; canonical project documents; and enough current code, config, tests, and hooks to verify candidates.
- Resolve conflicts in this order: current user decisions, current config and tests, current repository state, then git history. Existing memory is evidence to verify, not authority merely because it exists.
- Read
../handover/references/routing.mdand classify every item by memory type before considering evidence. Product behavior, domain rules, field/API semantics, architecture, UI behavior, and notification policy can never enter AGENTS. - Read
../handover/references/semantic-review.mdand run its mandatory independent critic loop on the complete AGENTS draft. Any rejection or uncertainty is routed to a scoped document. If no independent subagent is available, ask before changing AGENTS. - Recreate each AGENTS file from accepted
agent_policyrules only. Move rules to the narrowest valid scope and remove obsolete scopes or overrides that have no distinct role. - Preserve Claude-only instructions while repairing effective AGENTS imports. Keep tracked repository-owned files tracked; require separate evidence before treating a repository as external.
- Rewrite planning, development, operations, global, and task-state memory according to its type, then rewrite HANDOFF from the current continuation only.
- Run the shared auditor with the critic's temporary review artifact and fix every violation:
python3 <restart-skill-directory>/../handover/scripts/audit.py --root . --mode full --review-file <temporary-review-json>