Memory-Assisted Shaping separates live shaping from state recovery. During active shaping, memory is write-only — GPT emits minimal signals to Python and does not read them back between turns. Readback is triggered explicitly: by an operator request, a checkpoint, a re-entry after a pause, or synthesis preparation. This keeps the live conversation focused on shaping rather than file management.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/XxYouDeaDPunKxX/Memory-Assisted-Shaping/llms.txt
Use this file to discover all available pages before exploring further.
When to recap
Readback is allowed only under four conditions:- OP requests a recap — you ask GPT to summarize decisions, gates, discarded paths, or the current shape of the idea.
- OP requests an export or checkpoint — you want a full snapshot of the session log for handoff, audit, or safekeeping.
- Re-entry requires state recovery — the session was paused or interrupted, and GPT needs to reconstruct context before continuing.
- Synthesis preparation requires consolidated state — before producing a non-trivial final artifact, GPT consolidates all signals to confirm gates, decisions, and artifact readiness.
Recap via conversation
The simplest way to recover session state is to ask GPT directly. Useful prompts:- “Recap the internal notes.”
- “Show me the current shape of the idea.”
- “List decisions, open points, discarded paths, and artifact readiness.”
- “Are there any gates still open before we write the final artifact?”
summary to get counts and the last signal, then runs tail if recent context is needed to reconstruct shape movement or gate status. It does not expose raw memory receipts or internal Python output unless you ask for them.
Using the CLI directly
You can run readback commands yourself at any point. The three readback commands follow a natural order of depth.summary
Get a count of signals by type and confirm the last recorded signal:summary shows you how many signals exist, what types have been recorded, and the ID and type of the most recent entry. Use this to confirm the session is active and the log is growing as expected.
tail
See the most recent records in the append log:tail returns up to --limit records from the end of the log, in append order. Each record includes the signal ID, timestamp, session ID, sequence number, type, text, an optional effect, and a checksum. Use tail to confirm recent decisions, check gate status, or review discarded paths before synthesis.
export
Produce a full snapshot of the session as a single JSON file:schema_version—"shaping-memory-export.v0"exported_at— UTC timestamp of the exportsession— the full session metadata fromsession_meta.json(session ID, created at, log file path)record_count— total number of records exportedrecords— the full append log as an array of record objects
export for handoff to a collaborator, auditing a completed session, archiving state before starting a new session on the same idea, or producing a full continuity snapshot before a long break.
Re-entry flow
When resuming a session that was paused or interrupted, tell GPT to read the protocol again and runsummary:
ReadGPT re-entersprotocol.mdandnote-io.mdand resume the session. Run summary to recover state.
READING_ALIGNMENT and uses the log to reconstruct:
- open and deferred gates;
- confirmed decisions;
- discarded paths (and why they were discarded);
- shape movement since the session began;
- source-of-truth boundaries.
note-io.md unnecessarily, but it will use tail if recent signals are needed to recover the precise shape before the session was paused.
Derived views —
summary, tail, and export — are not the source of truth. They are read projections over the underlying append log. The append log session_notes.jsonl is the persistence source. If a derived view looks inconsistent, read the raw log directly to verify.