Docs assistant

Searches these docs locally; a configured answer service can generate responses.

Ask about this page or the wider Carina docs. Try: “How do I roll back a patch?”

llms.txt

Skip to content

Markdown

Traces & audit

Event log, item stream, cost attribution, and hash-chain verification.

Observability
SignalCommand / API
Replay sessioncarina audit SESSION / session.replay
Chain integritycarina audit verify SESSION
Normalized itemssession.items
Governance viewsession.review
Live streamsession.events.stream
Costcarina cost / telemetry APIs
Turn net diffpatch list + item stream
Exportaudit.export (jsonl | sqlite)

Logs that can be silently rewritten are not evidence. Carina’s chain makes post-hoc tampering visible so security reviews and incident response have a trustworthy timeline.

  • 36 event types; protocol/events/events.json is authoritative
  • Side-effect events reference permission_decision_id
  • Media: only content-hash MediaRefs in logs — never raw bytes

Clients subscribe to typed events (status, tool start/end, approvals, cost deltas) rather than scraping terminal output. SDKs and the TUI consume the same streams.

After a crash, ambiguous channel deliveries (effect_started / effect_applied) appear in channel.event.pending. Operators must explicitly channel.event.reconcile as executed or not_executed — Carina never chooses automatically.

  • Events: protocol/events/events.json (36 types)
  • Audit guarantees: docs/security-model.md · Audit & rollback
  • CLI: carina audit · carina audit verify · carina items · carina cost · carina export
  • Related: Sessions API · JSON-RPC

Was this page helpful?

One vote per page is recorded during this session.