Liking cljdoc? Tell your friends :D

vaelii.agents.mcp.audit

Pure v1 audit-record construction, validation, normalization, and hashing.

This namespace performs no I/O and does not invent journal metadata. The durable writer (vaelii.agents.mcp.dispatcher's JournalAuditSink) adds record identity, sequence, and server time at the commit point.

Pure v1 audit-record construction, validation, normalization, and hashing.

This namespace performs no I/O and does not invent journal metadata. The
durable writer (`vaelii.agents.mcp.dispatcher`'s `JournalAuditSink`) adds
record identity, sequence, and server time at the commit point.
raw docstring

attemptclj

(attempt {:keys [operation-id verb auth-status principal session-id fork-id
                 correlation-id input]})

Construct an unstored Attempt. Identity, sequence, and time remain the durable writer's job.

Construct an unstored Attempt. Identity, sequence, and time remain the
durable writer's job.
sourceraw docstring

authenticated-inputclj

(authenticated-input verb input)

Construct a typed authenticated input from already-parsed verb values.

Construct a typed authenticated input from already-parsed verb values.
sourceraw docstring

canonical-jsonclj

(canonical-json value)

Return the canonical compact UTF-8 JSON text for a JSON-shaped value.

Return the canonical compact UTF-8 JSON text for a JSON-shaped value.
sourceraw docstring

canonical-json-bytesclj

(canonical-json-bytes value)

Return canonical JSON as a byte array.

Return canonical JSON as a byte array.
sourceraw docstring

completionclj

(completion {:keys [operation-id outcome]})

Construct an unstored Completion with one closed outcome variant.

Construct an unstored Completion with one closed outcome variant.
sourceraw docstring

normalize-ednclj

(normalize-edn value)

Convert an EDN value to a deterministic JSON-shaped tagged value.

Lists, vectors, sets, maps, symbols, and keywords retain their EDN identity. Map entries and set values are sorted by their own canonical JSON bytes.

Convert an EDN value to a deterministic JSON-shaped tagged value.

Lists, vectors, sets, maps, symbols, and keywords retain their EDN identity.
Map entries and set values are sorted by their own canonical JSON bytes.
sourceraw docstring

resolutionclj

(resolution {:keys [operation-id resolution]})

Construct an unstored Resolution, enforcing the causal-evidence boundary.

Construct an unstored Resolution, enforcing the causal-evidence boundary.
sourceraw docstring

result-summaryclj

(result-summary verb result)

Construct the minimized successful result variant for one verb.

Construct the minimized successful result variant for one verb.
sourceraw docstring

schema-versionclj

source

sha256clj

(sha256 value)

Return a lowercase sha256: digest of a canonical JSON-shaped value.

Return a lowercase `sha256:` digest of a canonical JSON-shaped value.
sourceraw docstring

untrusted-inputclj

(untrusted-input {:keys [raw-sha256 byte-length content-type]})

Construct the bounded input variant used before authentication succeeds.

Construct the bounded input variant used before authentication succeeds.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close