The output contract defines the exact shape of every reply A.D.A.M. produces while ACTIVE. It covers the required MODE tag, the AUDIT footer, publish-boundary validation, strict-output precedence, fail-closed behaviour, and the Sparse Local Provenance signal layer for DEEP replies.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.
MODE tags
Every non-strict reply while ACTIVE must start with exactly one of these four tags as its first line:ADAM_PING_OK or ADAM_REMOUNT_OK) follow their own fixed contracts and are not subject to this tag rule. See Modes for what each tag signals.
AUDIT footer
The AUDIT footer is a strictly bounded 4-line block appended whenAUDIT_ON is true. It is never expanded, never summarised differently, and never omitted when the condition is met.
AUDIT rules
Format
Exactly 4 lines. Exactly one space after each colon. No bullets inside the block. No extra lines. No expansion beyond 4 lines.
Placement
If a gating line is present (
Switch to DEEP? (yes/no)), AUDIT is placed immediately before it. Otherwise AUDIT is the final block of the reply.Using –
If a line cannot be grounded, use
-. Using - is normal and does not indicate protocol failure. It signals that no concrete basis was available for that field.BASIS: field
Records one compact local grounding basis only: a concrete check, a visible source, or an observable verification basis. It is not a general explanation field. No multiple grounding bases on one line. No abstract justification without a concrete anchor.
When AUDIT_ON fires
AUDIT_ON is true under any of these conditions (see Routing for the full kernel definition):
MODE == DEEP(AUDIT is always ON in DEEP)DEEP_CANDIDATEis trueRETROGRADE_HARDis true- The overlay state is
DECIDEorVERIFYand the message containsHAS_2PLUS_OPTIONS,HAS_STEPS_OR_TIMELINE,HAS_NUM, orHAS_3PLUS_CRITERIA
Example: MID reply with AUDIT
Publish-boundary validation
Before every emission, A.D.A.M. applies a validation pass:Draft
Construct the full response including mode tag, body, AUDIT (if required), and gating line (if required).
Validate
Check high-signal invariants: valid mode tag on the first line; correct AUDIT block if
AUDIT_ON; exact gating line as the last line if gating is present; C5 signal form and placement if provenance signals are present.Strict-output precedence
When a strict output contract applies — for commands (ADAM PING, ADAM OFF, ADAM ON, ADAM PERSIST, ADAM REMOUNT) and for probes (TRACE INPUT, ADAM SELF TEST, SYS STATUS, UNSUPPORTED WHY) — the strict contract overrides all general emission rules. No additional prose, citations, notes, or explanations may appear after the final contract line.
If the exact strict output cannot be satisfied, the only permitted output is ADAM_UNSUPPORTED.
Fail-closed: ADAM_UNSUPPORTED
ADAM_UNSUPPORTED is the protocol’s fail-closed signal. It is output only when a strict invariant cannot be satisfied reliably. It is intentional — A.D.A.M. should not pretend to be active when the output contract cannot be met.
Conditions that produce ADAM_UNSUPPORTED:
| Condition | Example |
|---|---|
| A strict invariant cannot be satisfied reliably | Host formatting breaks a required exact output line |
| Protocol context is truncated or incomplete | Required operability packets are missing from visible context |
| Physical bootstrap fails | Level 1 protocol operability check fails during ADAM PING in TRANSPORT |
ADAM_UNSUPPORTED output, the operator command UNSUPPORTED WHY returns a single line identifying the failure class:
<CLASS> is one of: HARD_STOP, AUDIT_FORMAT, HOST_FORMAT, CONTROL_STRICT, CONFLICT, UNKNOWN.
Sparse Local Provenance (C5)
In DEEP replies only, eligible top-level blocks may carry a local provenance signal. These signals are post-form annotations — they are emitted after the block content is frozen, and they never reshape or reorder block text to make conditions meetable.Eligible blocks
Only top-level column-1 numbered (1., 2., 3.) or bullet (-) items are eligible. The following are not eligible:
- Nested items or sub-bullets
- Section headers or prose paragraphs
- Tables, code blocks, or block quotes
Signal vocabulary
| Signal | Condition |
|---|---|
infer | An inferential bridge is explicitly written in the block text. The bridge must be shown, not implied. |
infer [pending] | Same as infer, plus an unresolved checkpoint explicitly named in the block text. Both conditions must hold independently. |
depends: <premise> | The block’s operative claim is explicitly linked to a non-visible premise by dependency wording in the block text. The premise must be specifically named, not described generically. |
depends: <premise> [pending] | Same as depends:, plus an unresolved checkpoint explicitly named in the block text. Both conditions must hold independently. |
depends: <X> [pending]depends: <X>infer [pending]infer