Skip to content

RFC: governed domain audit append - #39

Draft
joshuajbouw wants to merge 1 commit into
mainfrom
codex/governed-audit-append
Draft

RFC: governed domain audit append#39
joshuajbouw wants to merge 1 commit into
mainfrom
codex/governed-audit-append

Conversation

@joshuajbouw

Copy link
Copy Markdown
Member

Summary

Specify a governed astrid:audit@1.0.0 host interface for bounded capsule-owned domain assertions in Astrid's durable, runtime-signed audit chain.

The capsule supplies only a typed assertion and evidence digests. Astrid stamps effective authority, exact component provenance, ordering, chain linkage, key identity, and signature, and returns a durable inclusion receipt.

Why

The runtime can audit operations it observes, but it cannot infer domain facts such as which Codewall policy and rules produced a decision. The event bus is not a durability boundary, while a generic guest-controlled append would permit provenance spoofing, unbounded secret dumping, and replay amplification.

Design highlights

  • install-approved schema allowlists rather than arbitrary log authority;
  • fixed capsule-assertion provenance, distinct from kernel observations;
  • bounded scalar attributes and digest references rather than opaque payloads;
  • transactional entry, head, sequence, and idempotency updates;
  • retry-safe inclusion receipts and conflict detection;
  • quota isolation with capacity reserved for kernel audit events;
  • canonical encoding, verification, recovery, and backward-compatibility rules.

Tracks astrid-runtime/astrid#1472.

Validation

  • RFC checked against the current Astrid audit, invocation-context, capability, manifest, storage, and WIT boundaries.
  • Threat model covers source impersonation, false assertions, replay, concurrency, storage tampering, resource exhaustion, and sensitive-data leakage.

AI / Tool Assistance

Assisted-by: Codex:GPT-5.6

Codex assisted with codebase reconnaissance, adversarial design review, and drafting. I reviewed the proposed authority boundary, compatibility rules, threat model, and implementation acceptance criteria.

@joshuajbouw
joshuajbouw force-pushed the codex/governed-audit-append branch from edf8bf4 to fbd715b Compare August 10, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant