Emit a checkpoint JSON from your in-context knowledge of THIS session,
conforming exactly to the schema:
{
"session_id": "introspection-<short-unique-id>",
"working_context": {
"active_topic": {"text": "<one line, or empty>", "trust": "inferred"},
"open_questions": [
{"text": "<unresolved loop>", "trust": "verbatim", "quote": "<exact transcript quote>", "external_state": true}
],
"recent_decisions": [
{"text": "<decision or assistant-side fix>", "trust": "inferred"}
]
},
"epistemic_snapshot": {
"strong_beliefs": [{"text": "<belief>", "trust": "inferred"}],
"uncertainties": [{"text": "<open uncertainty>", "trust": "inferred"}]
}
}
Every item needs text + trust. external_state: true marks items whose
state may have changed outside the AI session (a PR you'll merge, a deploy) —
these surface first in the briefing.
Write it via the CLI (reads JSON on stdin, validates the schema, routes to
this project + global + a per-session file, atomically, with rotation). Write
the JSON to a temp file and pipe it:
daimon write-checkpoint --project "$PWD" < /tmp/daimon-end.json
It prints wrote checkpoint: <path> (source: introspection). If it reports a
schema-validation error, fix the JSON and retry — do not store garbage.