#1997·astrid

tracking: externally verifiable audit log (anchoring, coverage, format, retention)

Author: MastaPCreated Sep 28, 2026Updated Sep 28, 2026

Summary

Tracking issue for making Astrid's audit log externally verifiable: its history anchored on an independent ledger (AOS uses the Unicity aggregator), and its contents complete and precise enough to support claims about what an agent did.

Motivation

Astrid's audit log is signed and hash-linked, which makes it tamper-evident only to parties who do not hold the runtime key. External anchoring removes that limit for history already written. It is only as useful as what the log records, and how completely and precisely it records it. The steps below are ordered by how much they add.

Proposed Implementation

  • #1995 / #1996: signed chain-head snapshot and raw chain export (the interface for anchoring and verification)
  • #1998: record agent-significant events: LLM/HTTP exchanges, tool calls, approvals, capability changes, capsule loads
  • #1999: ordered, loss-accounted host-audit recording
  • #2000: canonical, fully signed entry format (v2) with registered-key verification
  • #2001: retention that never deletes history that has not been anchored

Later, to be discussed:

  • Capsule access. A capsule-based anchoring service calling audit.heads and audit.export under a capability grant (distro-level grant or admin routing change).
  • Replay. Deterministic-replay prerequisites for re-executing recorded capsule steps: wasmtime determinism settings, host-call record/replay, instance model, persistent bus order. Relates to #1367.

Alternatives Considered

Waiting for the native audit root (#1759). It is the long-term root of trust for the native kernel, but it doesn't cover the hosted runtime AOS ships today. The steps above apply to the hosted runtime and would carry over.

Related: #678, #683, #693, #675, #1367, #1542, #1759.