Skip to content

CLI: receipts tail for a human-readable view of the chain #5

Description

@frostyhand

axiorank-gateway receipts tail (or receipts tail -n 20) should pretty-print the last N receipts from ~/.axiorank/gateway/receipts.jsonl: seq, timestamp, route target, guardrail decisions, redaction count, truncated body hashes.

Today the file is raw JSONL and verify only checks it; there is no human-friendly view.

Acceptance:

  • New subcommand in src/commands/ (default n=10, --json passthrough for scripts)
  • Handles a missing or empty file with a friendly message
  • One test over a fixture chain
  • No new dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions