instinct-cli 0.3.10

Shared local memory for coding agents. Save a fix once and find it again in a new session or another connected tool.
# Check contract clarification record

The original M0 contract (`checks.md`, SHA256 c6225e981e31a1e846fbfb4e82cbcc4ecb1d59a9ba3d08f8811ba350f334f4da) and 15 development cases remain unchanged. This record resolves two ambiguities discovered by independent acceptance, not by weakening semantic expectations.

## Output representability

The complete serialized response must fit within 65536 UTF-8 bytes, not just its individual witness/explanation fields. Normal evaluation fuel exhaustion still returns `abstain`. If the result cannot represent its full scope and required missing-evidence information within the output budget, return a bounded `instinct.check-error/v1` with CLI exit 2 and a `limit_exceeded` reason. Do not silently drop/truncate scope, fabricate an empty scope, or return PASS with incomplete identity. The error shape already omits result fields by definition and therefore makes no scoped predicate claim.

A deterministic witness must be the actual set member, not an ellipsized replacement. For example, a 5,000-byte unexpected member fits the total response budget and must be echoed exactly. If the exact witness cannot fit, use the same explicit output-limit error rather than emitting a different string as if it were the witness.

This also applies to explain, validate and any other mode. Scope strings have no arbitrary new lower limit; any admitted ordinary-size scope must be preserved exactly when a result includes scope. Long missing lists may use an output-limit error rather than claiming that a truncated list is complete.

Evidence motivating this clarification: a 90,000-character scope produced a 180,429-byte explanation result (90,173 bytes inside explanation), and 600 missing conditions produced 76,336 bytes. Those are failures of bounded serialization, not useful larger proof objects.

## Help

Both `instinct check --help` and `instinct check {run|validate|explain} --help` are explicit, side-effect-free help requests, exit 0. Combining help with input or unrelated arguments remains an error. This is additive CLI usability, not a change to check evaluation.

## Accounting and display semantics

`missing` is the sorted unique set of absent facts encountered during deterministic document-order evaluation, plus unmet required conditions. It is not necessarily a blocking set: `any(unknown, true)` passes while reporting the visited unknown, and a short-circuited branch is not visited. Consumers must use `verdict`, not infer it from whether `missing` is empty.

Claim depth counts predicates; operands count toward the 4096-node limit but not depth. The independent 64-level JSON wire limit can reject deeply nested `all`/`any` earlier because each contributes an object and array. Neither bound promises that every shape can reach the other maximum. Set ordering and witnesses use Unicode code-point lexicographic order (equivalent to UTF-8 byte order), not locale or UTF-16 collation.

Explain's human-readable claim has an explicit `claim_truncated` flag alongside the existing inputs/conditions truncation flags. These summaries are not the executable definition or evidence. Scope, missing names and witnesses are never silently truncated. Diagnostic excerpts replace controls and known bidi/invisible display controls; actual strings, scope identities and witnesses retain exact Unicode semantics.

Validate reports a structured error for over-limit fact collections; run/explain can report bounded abstention when the valid definition is available. The response-size exception above still returns an explicit error when exact semantic fields cannot fit.

## Interpretation safeguards

Tests accept the explicit output-limit error, not silent scope truncation. No numerical, scope, missing-evidence or three-valued logic assertion is weakened. Initial tests run against potentially stale build targets are not evidence of current behavior; final verification uses a freshly built binary in one explicit CARGO_TARGET_DIR passed on every command.