Move a vault file to .trash/ + JSONL audit-log entry (who/when/why/SHA256). Recoverable, not destructive. Use when the user asks to "forget", "delete", "remove", "retract", "erase", "GDPR delete", "redact" a memory file, or when PHI/secrets accidentally landed in a note. Mandatory --reason argument captured in audit…
Rebuild the code map so functions/classes show up in Obsidian's graph alongside decisions and domain notes. Use when the user says "rebuild the code graph", "the graph is stale", "update the code map after the refactor", or when /strata:review flags the graph as stale. Command-only — run it explicitly as…
One-time setup. Creates the vault namespace, then guides the user through the two optional add-ons that unlock the differentiated features. Installing Graphify (for code-graph awareness) and running bootstrap (to migrate existing planning docs). Interactive. Invoke when the user says "set up strata", "initialise the…
Scan vault or staged files for credentials, PII, and (opt-in) PHI via pluggable JSON presets. Use when the user says "check for secrets", "scan for credentials", "is this safe to save", or mentions an API key/token/password/patient data. Runs automatically as a pre-step inside /strata:save, /strata:decide, and…
Auto-capture a grounded, low-stakes OBSERVATION into the staging lane (status:auto, quarantined from recall until reviewed). The autonomous path is /strata:save --observe — that's the single autonomous-write decision point, so the model isn't choosing between save and observe on every write. This standalone command…
Capture a procedural note, a recipe, workflow, checklist, or "how we do things here" template. Procedural memory is the third leg of the episodic/semantic/procedural triad; complements domain/ (concepts) and decisions/ (chosen options). Invoke autonomously when the user says "document this workflow", "save how we do…
Post a session summary as a comment on the open PR for the current branch. Use when the user asks to "share this on the PR", "post a summary", "let reviewers know", "update the PR with what we did", or at the end of substantial work that reviewers should see. Requires gh CLI authenticated. Always two-step with…
Capture an OPEN question or contested position that hasn't settled, tracking it open → contested → converging → settled. Invoke autonomously when the user says "we don't know yet whether X", "open question is Y", "we're split on Z", "I'm proposing X but not sure", "let's track this debate". Skip once a choice is…
Re-print the Strata primer for the current branch (recent decisions, domain notes, PR-context, code-graph status). Invoke autonomously whenever the user asks "where did I leave off", "what's the current state", "pick up where we left off", "what's in flight on this branch", or when context has been compacted and you…
Vault health report, stale-proposed ADRs, stale durable notes (decayed + rarely recalled), orphan domain notes, missing frontmatter, unresolved wikilinks, stale PR-context dirs, stale Graphify code-graph. Read-only. Invoke autonomously when the user asks about vault hygiene, after a period of inactivity, or when…
Capture a session note. Two modes, direct (write immediately) and draft (build a draft from git session state, present for review, save on accept). Invoke autonomously at the end of substantive work (decisions made, files touched, context risks being lost). Pass --draft (or invoke when the user says "draft a save"…