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 SELF TEST is an operator-grade command that runs the external probe file ADAM_SELF_TEST.md against the current host. Its purpose is to verify that every output contract, gating rule, state transition, and strict command format is being satisfied correctly — not just that A.D.A.M. appears to be working, but that it is working precisely.
Diagnostics are not required for normal operation. They are operator-grade verification tools intended for use when loading A.D.A.M. on a new host, after a suspected context degradation, or any time you need to audit behavioral fidelity against the spec.
What it does
When you sendADAM SELF TEST, A.D.A.M. looks for ADAM_SELF_TEST.md in visible local context and runs every test case defined there. Each test is evaluated against the behavioral output contracts in the active spec.
If the probe file is unavailable, A.D.A.M. outputs exactly:
Output format
The output is one line per test case, in the form:, required: ... is appended:
Sample output
Test categories
The probe defines three broad groups of test cases.TI — Internal correctness tests (T0–T25g)
These tests verify that A.D.A.M.’s own behavioral rules are satisfied correctly on the current host. They cover:
- Bootstrap activation —
ADAM PINGinTRANSPORTproduces the exact 4-line strict output includingBOOTSTRAP_CLASS; the correct class is selected based on physical evidence fromG0; fail-closed toADAM_UNSUPPORTEDwhen required. - Transport gating — Every non-activation turn in
TRANSPORTreturns the exact 2-line transport response. Upload-only passive turns emit no output and leave state inTRANSPORT. - Mode routing — Factoid turns route to
LOW; standard explanation turns route toMID; structural DEEP candidates route toMODE: MID -> POSSIBLE DEEP. - Gating flow — Exact
yesentersDEEP; exactnodiscards the cached reference; any other reply treats gating asnoand does not repeat the gate automatically (anti-loop). Pending gating survives anACTIVEliveness ping. - Manual override —
LOW,MID, andDEEPas the first token (with boundary whitespace or end) force the indicated mode.MID, ...(with comma) is not a valid override. - No-inertia — Every turn recomputes mode independently. A factoid question after a
DEEPreply routes toLOW. - Retrograde invalidation — If a prior explicit
COMMITis followed by structural constraints that break a required premise, the oldCOMMITis explicitly invalidated rather than silently carried over. - AUDIT grounding —
ACTION:,RISK:, andBASIS:are grounded against the reply body. Lines that cannot be grounded use-. - Remount replay — Exact replay of the
REMOUNT_BEGIN...REMOUNT_ENDcapsule body from any state produces the strict 3-lineADAM_REMOUNT_OKoutput. Capsules with markdown fences, extra lines, partial content, or internal drift do not match. - OFF / ON state —
ADAM OFFandADAM ONproduce exact 2-line strict outputs. Normal chat whileOFFis plain, untagged.ADAM_REMOUNT_OKis not emitted by any path other than exact remount replay. - Probe file handling —
SYS STATUSwith noSYS_STATUS.mdavailable outputsSOURCE_FILE_UNAVAILABLE SYS_STATUS.md. TRACE INPUToutput — ExactTRACE INPUTwhileACTIVEreturns a strict one-line machine-readable trace bound to the prior user-authored turn, not to theTRACE INPUTcommand turn itself.
TH — Host resilience tests (TH1–TH8)
These tests probe host-side edge cases that can degrade protocol fidelity:
- Truncated protocol context — If visible protocol context is incomplete before a section required for a strict invariant, A.D.A.M. fails closed to
ADAM_UNSUPPORTED. - Gating survival across liveness ping — Pending gating is preserved when an
ADAM PINGis received whileACTIVE; the liveness ping does not clear it. - Remount edge cases — Per-line edge whitespace is tolerated. Partial capsules (missing
REMOUNT_END, missing internal lines), capsules with internal drift (sentinels intact but one internal line changed), and capsules with extra lines outside the sentinels all fail to match. - Empty turns in
TRANSPORT— An empty or whitespace-only turn while inTRANSPORTreturns the standard 2-line transport response. - Apparent continuity — Prior tagged replies, reassurance prose, or a conversation that looks active does not establish
ACTIVE. Only exact activation events count.
TP — Automatic TRACE INPUT human projection tests (TP1–TP9)
These tests verify the behavior of the automatic structural classification overlay — the
TRACE INPUT: chip line that appears automatically in MODE: MID -> POSSIBLE DEEP and some DEEP replies:- Overlay appearance — The overlay appears as the second line (immediately after the mode tag) in
MODE: MID -> POSSIBLE DEEPreplies when a structural threshold is met. - Overlay omission in various DEEP entry paths — After exact
yesto gating, after manualDEEPwith no trailing content, and after one-turn inheritance under F9, no automatic overlay is emitted. - Zero-structure omission — If the selected source turn yields
struct=[opt:0 step:0 crit:0 num:N], the overlay is omitted entirely. Thresholds forcritandsteprequire 3+, not 2. - Threshold matching — Each chip (
[confronto tra opzioni],[vincoli da rispettare],[numeri, date o limiti],[passi o ordine]) appears only when its corresponding field meets the threshold. - Independence from strict
TRACE INPUT— The automatic overlay is presentation-only. It does not imply that the operator commandTRACE INPUTwas explicitly invoked. Sending exactTRACE INPUTstill returns the strict machine-readable one-line output unchanged.
When to use it
Typical use cases:- After initial loading on a host you haven’t used before
- After a session interruption or suspected context degradation
- When debugging unexpected mode routing, missing AUDIT footers, or gating failures
- When comparing behavioral fidelity across different hosts or model versions
ADAM SELF TEST is an operator command available only while ACTIVE. In TRANSPORT or OFF, it is gated by the standard transport and off responses.