AI chat sessions can lose context — truncation, host restarts, or long sessions where the protocol context drifts out of the visible window. A.D.A.M. provides two recovery mechanisms: ADAM REMOUNT, which is always available regardless of bootstrap state, and ADAM PERSIST, which deploys a verified physical copy of the protocol source when a physical bind is confirmed.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/xxyoudeadpunkxx/a.d.a.m.-adaptive-depth-and-mode/llms.txt
Use this file to discover all available pages before exploring further.
ADAM REMOUNT
ADAM REMOUNT is the universal recovery entry point. It emits a compact recovery capsule that re-establishes the full protocol contract when pasted back into the chat — no files, no uploads, no re-activation required.
How to use it
Send ADAM REMOUNT
While ACTIVE, send exactly:The protocol emits the recovery capsule — a fixed text block starting with
REMOUNT_BEGIN and ending with REMOUNT_END.Copy the entire capsule body
Copy the complete capsule output, from
REMOUNT_BEGIN through REMOUNT_END, inclusive. Every line. Do not wrap it in markdown code fences (```) — those are display-only and must not be included in the replay.Paste the capsule back into the chat
In a new session (or the same session after context loss), paste the entire capsule body as your message. The message must contain the exact line sequence from
REMOUNT_BEGIN through REMOUNT_END — nothing added, nothing removed.Confirm ADAM_REMOUNT_OK
If the replay is recognized, the protocol replies with exactly 3 lines:The protocol is now ACTIVE. Session context is restored.
What the capsule contains
The remount capsule carries the key structural anchors and the essential protocol contract:Why the capsule works
The capsule contains the three structural identity anchors (KERNEL_ANCHOR, SPEC_SIGNATURE, KERNEL_END_ANCHOR), the full priority ladder, and the core behavioral rules for routing, gating, audit, and fail-closed behavior. Pasting it back re-establishes the protocol contract in the visible context without needing the full spec file — making recovery available even when the original file is no longer mounted.
Remount replay is detected at the top of the priority ladder (REMOUNT_REPLAY_DETECTED), before transport gate, off gate, and all other routing. It restores ACTIVE state from TRANSPORT, ACTIVE, or OFF.
Common Pitfalls
ADAM PERSIST
ADAM PERSIST deploys a verified physical copy of the current protocol source to the best available local destination. It provides a stronger recovery substrate than capsule replay when conditions allow it.
When it is available
ADAM PERSIST requires both of:
BOOTSTRAP_CLASSisBOUND_ROorBOUND_RW- Internal source fingerprint is
INTACT
How it works
The protocol selects a destination using a fixed cascade: mounted output →cwd → home → /tmp. The first destination that passes a write/readback canary check is selected. The source file (as physically identified during G0) is then copied to that destination, re-opened from disk, and compared against the source fingerprint.
Success output — exactly 4 lines:
PERSISTENCE_CLASS values
| Value | Meaning |
|---|---|
VERIFIED | Copy written, re-opened from disk, and matched to source fingerprint. Physical copy confirmed. |
WRITTEN_ONLY | Write completed, but readback confirmation is unavailable or incomplete. File may exist — confirmation is not guaranteed. |
MISMATCH | Copy was written and re-opened, but does not match the source fingerprint. |
FAILED | Write itself failed (L5 = COPY_FAIL). Public output is ADAM_PERSIST_FAIL — no PERSISTENCE_CLASS line is emitted. |
PERSISTENCE_CLASS: VERIFIED means a verified physical copy exists at PATH as of this turn. It does not imply cross-turn durability or that the file will persist across session restarts. BOOTSTRAP_CLASS is unchanged — it is source-side only. PERSISTENCE_CLASS is destination-side only.Other blocked and failure outputs
| Output | Meaning |
|---|---|
PERSIST_BLOCKED: SOURCE_UNSAFE | Source conditions not met (BOOTSTRAP_CLASS is not BOUND_RO/BOUND_RW, or fingerprint is not INTACT) |
PERSIST_BLOCKED: NO_DEST | No destination passed the canary write/readback check |
PERSIST_BLOCKED: AMBIGUOUS_DEST | Destination selection was ambiguous |
ADAM_PERSIST_FAIL | Destination was bound but the write itself failed |
REMOUNT vs PERSIST
| Feature | ADAM REMOUNT | ADAM PERSIST |
|---|---|---|
| Always available | ✅ Yes — regardless of BOOTSTRAP_CLASS | ❌ No — requires BOUND_RO or BOUND_RW + INTACT fingerprint |
| What it does | Emits a recovery capsule for manual replay | Deploys a verified physical copy of the protocol source to a local path |
| Recovery mechanism | Paste the capsule body back into chat; works from TRANSPORT, ACTIVE, or OFF | Physical file at destination provides a stable source for future sessions |
| When to use | First-line recovery: context drift, session loss, protocol state unclear | Enhancement: when you want a physical copy on disk as a stronger recovery substrate |
| State after | ACTIVE (after successful replay: ADAM_REMOUNT_OK) | Unchanged — BOOTSTRAP_CLASS is not modified; PERSISTENCE_CLASS describes only the destination-side result |
| Requires physical bind | No | Yes (BOUND_RO or BOUND_RW) |
| Copies from file | N/A | Yes — from the physically identified source file, never from visible context text |