← ClaudeAtlas

doctrine-resumelisted

Use when the user asks to load memory, resume the session, restore state, or pick up where the last session left off. Reads SESSION_MEMORY.md and the handoff its kickoff names, loads the doctrine when a doctrine phase is open, and reports drift. State only, no codebase tour.
scottcrosby-securebine/doctrine-skills · ★ 0 · AI & Automation · score 68
Install: claude install-skill scottcrosby-securebine/doctrine-skills
# Doctrine Resume — warm resume Restore session state and report drift. This is the cheap path: state only, no codebase tour. Use `doctrine-primer` when the agent needs the project explained. ## 1. Find and read saved state `ls` the repo root first — do not assume the filename. The usual name is `SESSION_MEMORY.md`, but a project may use another, and some carry several scoped variants. If exactly one exists, read it. If several exist, read the unqualified one and name the others rather than merging them. If none exists, say so and stop: there is nothing to resume, and `doctrine-primer` is the right command. Parse every section: Resume, Active Work, Git State, Runtime, **Gotchas**, and Next Session Kickoff. Read Gotchas even though the report below only echoes them on request. Step 5 can hand off to `doctrine-backup`, which carries forward what it was told — anything you skipped here is a line you may help delete. ## 1b. Act on the kickoff's first line Before any drift check, read the kickoff's first line. If it names a handoff path, read that file in full now, by that path — never the newest file in a directory, which on a clone is any of them. Then read the record the handoff's `record:` header line names (doctrine step 5 gives the header lines). Resolve its path by taking the first of these that exists: the path as written if absolute, else relative to the repo root, else relative to the repo root's parent directory, which is where a sibling repo's path such as `<o