Skip to content
docs
Arxo ↗

Arxo inspection 0.1

For LLMs18 sections

A read-only view over an already computed evaluation document and its pinned run context. It computes nothing, enters no hashes, and issues no new semantic verdicts; missing data is a limit state of the explanation, never a denial.

No accepted version marker is declared.

No top-level properties: the schema root is no constraint.

locationvalues
$defs/Schema"law.inspection/0.1"
$defs/Operation"summary", "slice", "diff", "locate"
$defs/LimitState"no_evidence", "not_asked", "unsupported", "truncated", "evaluation_failed", "source_unavailable", "hash_mismatch"
$defs/VerificationState"verified", "mismatch", "unavailable"
$defs/Context/properties/route"cli", "mcp", "wasm", "sdk", "case"
$defs/Select/properties/watch/items/properties/kind"applied", "defeated", "judgment", "interpretation", "stage", "status"
$defs/Request/if/properties/operation"diff"
$defs/Answer/properties/oktrue
$defs/Answer/properties/verification/properties/index"bound", "consistent", "mismatch", "unavailable"
$defs/RequestError/properties/okfalse
$defs/RequestError/properties/error/properties/code"REQUEST_NOT_OBJECT", "SCHEMA_MISSING", "SCHEMA_MISMATCH", "OPERATION_MISSING", "OPERATION_UNKNOWN", "DOCUMENT_MISSING", "AGAINST_MISSING", "AGAINST_NOT_OBJECT", "AGAINST_DOCUMENT_MISSING", "SELECT_NOT_OBJECT", "PAGE_NOT_OBJECT"
$defs/Bundle/properties/schema"law.inspection-bundle/0.1"
$defs/Bundle/properties/index/anyOf/1/properties/inputMode"single-input", "reread"

https://law.arxo.io/schema/inspection.schema.json

Values: "law.inspection/0.1".

Values: "summary", "slice", "diff", "locate".

The seven limit states of an explanation.

Values: "no_evidence", "not_asked", "unsupported", "truncated", "evaluation_failed", "source_unavailable", "hash_mismatch".

Values: "verified", "mismatch", "unavailable".

An evaluation document in either evaluation form, or a refusal document of the form {“error”: …} with no graph; only the object shape is checked here.

The pinned run context: lockfile, resources, semantics release, and route. Any field may be absent — the inspector then answers with a source_unavailable limit state naming the field.

Type: object.

nametype-or-$refdescription
routeenum (5)—
releasestring—
programHashstring—
resolutionHashstring—
lock——
resourcesarray—
packagesarray—

Type: object. Required: document.

nametype-or-$refdescription
document#/$defs/EvaluationDocument—
snapshotobject or nullA snapshot of the compiled program. Without it, labels and resolved names are read from the document URNs and marked source_unavailable.
contextanyOf (2)—

The address of a slice: at least one field, or watch alone (watching the whole answer). Empty means a slice over every result of the document.

Type: object.

nametype-or-$refdescription
querystringA query id or a result id.
rulestringThe stable id of a rule.
positionstringA position id.
nodestringA proof-node id.
watcharrayWatch conditions — filters over the slice, never new nodes: applied (a rule fired), defeated (defeated), judgment (a judgment was requested), interpretation (a reading was chosen), stage (round nodes), status (position status history).

Type: object.

nametype-or-$refdescription
cursorstring or null—
budgetBytesinteger—

Type: object. Required: schema, operation, document.

nametype-or-$refdescription
schema#/$defs/Schema—
operation#/$defs/Operation—
document#/$defs/EvaluationDocument—
snapshotobject or null—
contextanyOf (2)—
againstanyOf (2)The second side of a diff; ignored by every other operation.
selectanyOf (2)—
pageanyOf (2)—
bundleanyOf (2)—
indexobject or nullThe program editor index; read only when the verification index state is bound.
sourcesobject or nullCurrent digests of author files, uri to sha256, as presented by the adapter; the inspector never reads files itself.

Type: object. Required: state, address, note.

nametype-or-$refdescription
state#/$defs/LimitState—
addressstringThe address of what is missing or truncated: a document path, a snapshot path, a context field, or an operation name.
notestring—

Type: object. Required: schema, ok, operation, verification, limits, page.

nametype-or-$refdescription
schema#/$defs/Schema—
oktrue—
operation#/$defs/Operation—
verificationobject—
limitsarray—
pageobject—
summaryobjectThe summary body: origin card, queries, positions, issues, conflicts, and judgment requests.
sliceobjectThe slice body.
diffobjectThe diff body: context, result, and justification.
locateobjectThe locate body: the declaration address and its source spans.
runIdstringThe id of a saved run — consumed by the law.inspect language-server route.

The single error path: the request cannot be read. Everything else is a limit state inside a well-formed answer.

Type: object. Required: schema, ok, error.

nametype-or-$refdescription
schema#/$defs/Schema—
okfalse—
errorobject—

A bundle of the document, the exact snapshot, and the editor index, written by the compiler adapter that ran the evaluation, with machine output saved. Hashes keep the parts checkable; the link between them is vouched for by the producer, never by a field’s own claim.

Type: object. Required: schema, producer, document, snapshot, index.

nametype-or-$refdescription
schema"law.inspection-bundle/0.1"—
producerobject—
documentobject—
snapshotobject—
indexanyOf (2)—
indexUnavailablestring—
sourcesarray—
questionobject—
inputsobject—

Documentation for Arxo. Writings — blog.arxo.io.

Anonymous visit counts on stats.arxo.io, no cookies.