Skip to main content

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.

TRACE INPUT is an operator-grade diagnostic command that emits a strict one-line structural trace of the last visible user message. It is used to verify what the structural kernel actually sees — useful when debugging unexpected routing behavior.

Output format

INPUT_TRACE: len=<L> head="<H>" tail="<T>" struct=[opt:<n> step:<n> crit:<n> num:<Y|N>]
Each field describes a property of the previous user turn (not the TRACE INPUT command turn itself):
FieldMeaning
lenRaw character count of the traced message as seen by the model. If unreliable, len=0.
headFirst 16 characters of the traced message after normalization. Newlines replaced with spaces; " replaced with '.
tailLast 16 characters of the traced message after normalization. Same replacement rules as head.
structStructural summary recomputed from the traced message using the same primitives as section S of the spec.
The struct field contains four sub-fields:
Sub-fieldMeaning
opt:<n>Count of line-start option blocks (A), B), 1), 2), …)
step:<n>Count of line-start step blocks (1., 2., 3., …)
crit:<n>Count of criteria items (line-start - or *, excluding option and step blocks)
num:<Y|N>Y if the traced message would set HAS_NUM true (2+ digits, digit range, comparator with digit, percent with digit, or dates); N otherwise

How to use it

Send the exact command while ACTIVE:
TRACE INPUT
TRACE INPUT traces the previous user turn — not the TRACE INPUT command message itself. If you want to inspect a specific input, send that input first, then send TRACE INPUT on the following turn.

Normative examples

Prior messageExpected struct output
A message with 2 option blocks (A) / B)), 3 criteria items, and one numberstruct=[opt:2 step:0 crit:3 num:Y]
Plain prose with no options, steps, criteria, or numbersstruct=[opt:0 step:0 crit:0 num:N]
A message with 3 step blocks (1. / 2. / 3.) and a datestruct=[opt:0 step:3 crit:0 num:Y]

Automatic structural overlay

TRACE INPUT as a command and the automatic structural overlay that may appear in MODE: MID -> POSSIBLE DEEP or MODE: DEEP replies are related but serve different purposes:
TRACE INPUT (command)Automatic overlay
Who triggers itOperator sends the exact commandEmitted automatically by the protocol
Output formatStrict one-line machine-readable INPUT_TRACE: formHuman-readable chip labels (e.g. [confronto tra opzioni])
When emittedAny time while ACTIVEOnly in MODE: MID -> POSSIBLE DEEP and qualifying MODE: DEEP replies
Shown whenAlways (or UNAVAILABLE if no prior turn)Only when structural thresholds are met
PurposeForensic/operator-grade trace for debuggingPresentation-only structural mirror for user context
Both use the same underlying traced-input primitives (opt, step, crit, num) and the same structural counting logic. However, the automatic overlay is presentation-only — it does not imply that TRACE INPUT was explicitly invoked, does not change routing or gating, and is not a substitute for the strict forensic command.

Unavailable case

If no prior user-authored turn is visible before TRACE INPUT, the output is exactly:
INPUT_TRACE: UNAVAILABLE
TRACE INPUT is unavailable in TRANSPORT and OFF states. While TRANSPORT, it returns the standard 2-line transport gate response. While OFF, it returns:
MODE: MID
A.D.A.M. off.
Use TRACE INPUT when a reply is routed differently than you expect. The struct field shows the exact structural classification that drove the routing decision — if opt, crit, or num are higher than expected, the kernel will have seen a stronger structural signal than the message appeared to carry visually.

Build docs developers (and LLMs) love