MAQPNADocs

maqpna llamay

Work with the llamay inference engine: verify its hash-chained request audit

Observe-o json | yaml

Synopsis#

maqpna llamay verify-audit [--continuation] FILE... [-o json]

Description#

verify-audit checks a llamay request audit (llamay serve -audit FILE): every record's SHA-256 and its link to the one before. Give rotated files oldest first. Exit code 3 when the chain is broken. The gateway anchors the same chain in its ledger with llamay.auditAnchors (docs/integrations/llamay.md).

Subcommands#

Examples#

# Verify llamay's hash-chained request audit (rotated files oldest first)
maqpna llamay verify-audit /var/log/llamay/audit.jsonl
maqpna llamay verify-audit --continuation audit-2027-02.jsonl audit-2027-03.jsonl -o json

What happens when you run it#

  • Prints a table by default; -o json or -o yaml print the data, and --jq EXPR filters the JSON.

Exit codes#

CodeMeaning
0success
1error (the message says what failed, with a hint when there is one)
2usage error: unknown flag, missing argument or bad value; the synopsis is printed
3a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command)