Repository navigation
Description
F12.6 — Audit log and telemetry
From the Phase 12 plan (.opencode/plans/phase-12-platform-flexibility.md, workstream B):
A structured audit log of administrative actions and provider use, with OpenTelemetry export. Builds on F11.7 (host metrics, #553).
Exit: every admin frame produces an audit line, and a test replays the log to the final grants.
Coordination (2026-10-26 reprioritization, per Drew): every id roadmap item now has its own GitHub issue, and priority encodes the order: (1) the path to Phase 12 — now + priority/high; (2) Phase 12 itself — next; (3) Phase 13 and long-term ideas — priority/low. The dashboard mirrors this list (org Project "Developing Today" #4, Area id-train; Grist Program roadmap, Area id). If this item turns out to be blocked, wrong, or superseded, park or close it with a note rather than letting it stall the queue — dropping an issue is always allowed; silently stalling is not.
Activity
developing-today commentedon Oct 27, 2026
CODE-207
dezren39 commentedon Nov 1, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 1, 2026
🤖 Agent note · done
Triage verdict: CONFIRMED — no structured audit log, no OTEL export; foundation already landed, route is a sliced slice 1
Evidence (fresh, current main
b56ccda5c, 2026-10-31 21:06 CDT, laptop primaryorigin/main):pkgs/id/Cargo.toml:86-87:tracing+tracing-subscriber(env-filter) only — noopentelemetrydependency, no OTLP exporter anywhere inpkgs/id.pkgs/id/srcis journal annotation only:world/handle.rs:576/736andworld/actor.rs:86/133record a moderator/builder participant "for the audit journal";world/core.rs:295/299are audit-only journal comments. There is no audit record type, no sink, and nothing replayable.pkgs/id/src/world/actor.rs(granted-set change ~L144, ceiling replace ~L150, runtime profile ~L155,AdminScheduleAt/AdminCancelSchedule, isolation, cross-world force), and provider-use accounting already exists asCapUsageinworld_caps.rs.Dependency state: the foundation this builds on — #553 (F11.7 host metrics, Prometheus endpoint, tracing spans) — is CLOSED. Nothing gates slice 1.
Route — sliced, because the full F12.6 is effort/l:
packet-1063-code-fix.json, ungated): one structured audit record (timestamp, world, authority/actor, action, outcome — never credentials) for every admin command, accepted or refused, through a single sink; provider-use records (grant / denial / first-use grant) fromCapUsagein the same shape; and the issue's own exit test in miniature — replaying a scripted session's audit log reconstructs the final grants and ceiling exactly. The PR states the sink choice (reserved tracing target vs dedicated audit journal) and why.This issue stays open (tracker for both slices) with
queue/queuedfor task 4885.39 remaining items
developing-today commentedon Nov 3, 2026
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 6819 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
dezren39 commentedon Nov 3, 2026
🤖 Agent note · picked up
ses_e5e5c92c976ffecr0afyhIsazx; queue task 6819 (triage)dezren39 commentedon Nov 3, 2026
🤖 Agent note · done
ses_e5e5c92c976ffecr0afyhIsazx; queue task 6819 (triage)origin/maine425b6af52c35067a452c0c4526fef47f00c7f01has no structuredid::auditimplementation or OTLP exporter underpkgs/id; id(world): F11.7 host metrics, Prometheus endpoint and tracing spans #553 (F11.7 foundation) is closed. PR feat(id): structured audit log of admin actions and provider use (#1063) #4017 is the existing slice-1 implementation, still OPEN and unmerged.gh pr checksreports CodeRabbit skipped and no required CI results, so do not treat the slice as landed. id: F12.6 audit log and OpenTelemetry export #1063 remains open as tracker (including the later OTLP slice).