Memory signals are not notes, summaries, or working documents. They are minimal operational records emitted only when omitting them would lose critical continuity in the session. A memory signal is aDocumentation 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.
python3 -S ./notes.py append command — not a bullet written in chat, not a promise to remember, and not a running log of everything that happened.
What signals preserve
A memory signal is warranted only when omitting it would likely lose one of the following:- State transition — a move between
READING_ALIGNMENT,SHAPING, andSYNTHESIS. - Shape movement — a meaningful shift in what the idea is becoming.
- Real gate status — a gate opened, deferred, or closed.
- Confirmed decision — an operator-confirmed choice that affects later shaping or synthesis.
- Discarded path — a direction that was considered and rejected, likely to resurface.
- Material tension — a conflict between lenses or sources likely to recur.
- Source-of-truth boundary — which system or authority owns a concern, or a change to that ownership.
- Artifact boundary — what the final artifact includes, excludes, or is ready to become.
What signals do NOT preserve
Signal types
Each signal carries atype field that points to protocol semantics. Only the eight types below are valid in v0.
| Type | Purpose |
|---|---|
mode | Approved state transition |
shape | Shape movement or candidate form |
gate | Real gate opened, deferred, or closed |
decision | OP-confirmed decision |
discard | Discarded path likely to return |
tension | Material tension likely to recur |
source | Source-of-truth boundary or change |
artifact | Artifact boundary or readiness |
Signal structure
GPT sends only three fields in the live signal payload:effect field is optional. Use it only when the effect changes later shaping or synthesis — not for every signal.
Python receives this minimal payload and adds the full persistence record:
| Field | Added by |
|---|---|
type, text, effect | GPT (the live signal) |
id | Python |
ts | Python |
session_id | Python |
seq | Python |
checksum | Python |
Strong triggers
When Python persistence is available, append is required (not optional) for the following:- OP-confirmed decision.
- Real gate opened, deferred, or closed.
- Discarded path likely to return.
- Source-of-truth change.
- Artifact boundary.
- Approved mode transition toward
SYNTHESIS.
How signals flow
When a memory signal is required and Python execution is available, GPT runs:GPT hides the receipt from the operator unless it is useful or explicitly requested. The only OP-visible marker after a successful append is:
Memory: decision appended.If Python is unavailable, GPT states once that append-only memory is not active — no marker is shown. If append fails, GPT surfaces the smallest persistence error needed to avoid claiming false persistence.Python commands
The full command set for append, tail, summary, export, and session init.
Operating states
When state transition signals are required and what each state permits.