snapshot
Generates a draft state artifact from saved memories for a given topic. Queries memories by fuzzy tag/title match, builds a snapshot, and assigns evidence tiers.
Instructions
Generate a state-shaped artifact for a topic from your saved memories.
WHEN TO USE: When you want a current-state document derived from saved conversations — architecture map, glossary, runbook, manifesto, project state. The slash command /snapshot calls this.
HOW IT WORKS:
Queries memories matching the topic (fuzzy match against tags + title), recency-weighted.
Builds a draft snapshot via the deterministic baseline generator (concatenates source memories — Phase 1 baseline; Gemini integration ships later).
Computes evidence_tier (A/B/C, deterministic) and grounded_ratio (claim verification).
Persists as status='draft'. Promotion to canonical requires explicit POST /api/v1/snapshots/{id}/accept per ADR-032.
INSERT-only — each call creates a new draft (versioned). Two snapshots of the same topic both exist; supersede via /accept.
EXAMPLES:
snapshot(topic: "architecture") — gathers all memories tagged or titled with "architecture"
snapshot(topic: "auth") — pulls everything auth-related, recency-weighted
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | The topic to snapshot. A keyword that fuzzy-matches memory tags and titles. Examples: "architecture", "glossary", "auth", "onboarding". |