palinode_save
Save facts, decisions, insights, or project updates as persistent, searchable markdown memories with optional citations, claims, and metadata. Prevents data loss across sessions and enables later retrieval via search.
Instructions
Save a memory (fact, decision, insight, project update) worth keeping across sessions. Requires exactly one of type or ps=true. On timeout the save may still have committed — palinode_search a distinctive phrase before retrying, or you'll duplicate it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ps | No | Shorthand for type=ProjectSnapshot (the CLI `--ps` flag). If true, omit `type`; any other type value errors. | |
| core | No | If true, this memory is always injected at session start (core memory). | |
| slug | No | Optional URL-safe filename slug (auto-generated if omitted) | |
| type | No | Memory type. Required unless `ps=true` is given. | |
| title | No | Human-readable title, used in list/search displays. | |
| claims | No | Binds each claim to the source span justifying it. Read back via palinode_blame(claims=true). | |
| source | No | Source surface that created this memory. | |
| content | Yes | The memory content to save (markdown supported) | |
| project | No | Project slug shorthand — 'palinode' becomes entity 'project/palinode'. | |
| sources | No | Citation anchors for passages this memory quotes. | |
| entities | No | Related entity refs e.g. ['person/alice', 'project/alpha'] | |
| metadata | No | Additional frontmatter fields to merge into the saved memory. | |
| priority | No | Human-assigned memory priority (1–5). Stored as `priority` frontmatter; missing means normal (3). | |
| backed_by | No | Refs (category/slug) that support/back this memory (evidence links). | |
| epistemic | No | Kind of claim: fact=observed, inference=derived, open_question=unresolved, unverified=asserted but unchecked. Omit to leave unmarked — unmarked is NOT fact. | |
| confidence | No | Confidence in this memory's accuracy (0.0-1.0). | |
| contradicts | No | Refs (category/slug) this memory conflicts with; neither wins — surfaced for review. | |
| external_refs | No | SDLC object references such as github_pr or jira_issue. | |
| update_policy | No | Re-save to same slug: 'append' keeps the existing body and adds below it; 'replace' overwrites and marks a living doc. Sticky. |