GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: F12.6 audit log and OpenTelemetry export · Issue #1063 · developing-today/code

id: F12.6 audit log and OpenTelemetry export #1063

New issue
Copy link
New issue
Copy link
Closed
#4017
Closed
id: F12.6 audit log and OpenTelemetry export#1063
#4017
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmode/onlineFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

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

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    status/needs-triageNot yet triaged; needs a first look
    source/humanFiled directly by a human
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-207

  3. dezren39
    added
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    nextOrg Project gate: queued next — orchestrator adds to the board
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Oct 27, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  5. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 2336 (triage)
    • Found via: queue claim
    • Task: Triage id: F12.6 audit log and OpenTelemetry export #1063 (F12.6 audit log + OpenTelemetry export) against current main: verify no structured audit log / OTEL export exists, check the F11.7 foundation (id(world): F11.7 host metrics, Prometheus endpoint and tracing spans #553), and route.
    • Expectation: s — verdict with fresh-HEAD citations, follow-up route recorded, labels synced.
    • Links: queue task 2336
  7. dezren39 commented on Nov 1, 2026

    @dezren39
    dezren39
    on Nov 1, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 2336 (triage)
    • Found via: queue claim
    • Task: Triage verdict for id: F12.6 audit log and OpenTelemetry export #1063 (F12.6 audit log and OpenTelemetry export).
    • Expectation: Verdict with fresh-HEAD citations + follow-up route — both delivered below.
    • Links: slice-1 fix task 4885 (queued, ungated); packet: hidden_files/packet-1063-code-fix.json

    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 primary origin/main):

    • pkgs/id/Cargo.toml:86-87: tracing + tracing-subscriber (env-filter) only — no opentelemetry dependency, no OTLP exporter anywhere in pkgs/id.
    • "Audit" in pkgs/id/src is journal annotation only: world/handle.rs:576/736 and world/actor.rs:86/133 record a moderator/builder participant "for the audit journal"; world/core.rs:295/299 are audit-only journal comments. There is no audit record type, no sink, and nothing replayable.
    • The auditable surface is enumerable: the world actor's admin commands in 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 as CapUsage in world_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:

    • Slice 1 enqueued as queue task 4885 (kind small_fix, packet 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) from CapUsage in 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.
    • Slice 2 (not yet enqueued): OpenTelemetry/OTLP export of these records. Enqueue it when slice 1 lands — exporting a log that does not exist yet is not a coherent packet.

    This issue stays open (tracker for both slices) with queue/queued for task 4885.

  8. 130 remaining items

  9. dezren39
    added a commit that references this issue on Nov 16, 2026

    Merge pull request #10718 from developing-today/queue/16826-1063-audit

    5f53030
  10. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    Agent note — task 16826 done: PR #10718 merged; OTEL remainder is task 17489 (lane code-d, 2026-11-16)

    State: done (fixed_merged, split remainder)

    • PR id-worlds: session admin-frame audit + AuditRecord v2 (target, correlation id) (#1063) #10718 MERGED 2026-11-16T13:33:33Z, merge commit 5f53030. Audit half of F12.6 landed: AuditRecord v2 (target + correlation_id), exactly one audit line per admin frame at every dispatch site, replay test on schema v2. Tests per the PR body: cargo test -p id-worlds --lib 689 passed; audit subset 13 passed; fmt clean. Codex gate: zero reviews/review comments on PR id-worlds: session admin-frame audit + AuditRecord v2 (target, correlation id) (#1063) #10718 (verified via API) — no findings to disposition.
    • Remaining acceptance (the OpenTelemetry export bullet) is enqueued as task 17489 (queued, dedupe repo-health:v1:fix:developing-today/code:issue:1063): OTLP tracing layer in the id server binary forwarding the id::audit stream via the F11.7 path. id: F12.6 audit log and OpenTelemetry export #1063 stays open for it.
    • Dependents: queue tasks 4888 (id: F12.14 portals — cross-world messaging by mutual grant #1068) and 9599 (id: implement Phase 13 F13.7 client-side capability providers (design #789) #5532) remain gated on the id: F12.6 audit log and OpenTelemetry export #1063 remainder (task 17489) per PR id-worlds: session admin-frame audit + AuditRecord v2 (target, correlation id) (#1063) #10718's note; when task 17489 lands and id: F12.6 audit log and OpenTelemetry export #1063 closes, they are unblocked.
  11. dezren39
    added
    queue/queuedHas a queued queue task
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 16, 2026
  12. developing-today
    added
    status:in-review
    on Nov 16, 2026
  13. dezren39
    added a commit that references this issue on Nov 16, 2026

    feat(id): F12.6 retained audit log + OTLP export (#1063)

    8047a3f
  14. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    🤖 Agent note · duplicate-work salvage (task 16826, lane any-a)

    While this lane held task 16826 and was implementing F12.6, PR #10718 (branch queue/16826-1063-audit, from an earlier claim of the same task) merged at 2026-11-16T13:33:33Z with the session admin-frame audit + AuditRecord v2 (target, correlation id) half of F12.6. Per the duplicate-PR protocol, I diffed my branch (PR #10764) against merged main before closing anything:

    • Superseded by id-worlds: session admin-frame audit + AuditRecord v2 (target, correlation id) (#1063) #10718 (dropped from F12.6 (remainder): retained audit log, OpenTelemetry export (#1063) #10764): session-layer denial audit lines (theirs covers hub + world admin frames with accepted/refused outcomes), correlation id + target on the record (theirs: schema v2, process-monotonic ids), the pre-join FormResult exhaustiveness fix (theirs adds its own arm).
    • Unique to F12.6 (remainder): retained audit log, OpenTelemetry export (#1063) #10764 (kept, rebased onto current main): the retained audit log (WorldAuditLog), the OpenTelemetry OTLP/JSON export (acceptance criterion 2 — not present on main), the replay_grants library fold over the retained log, and the retained-log replay exit test.

    PR #10764 now contains only the unique remainder; #1063 stays open until it lands.

  15. dezren39
    added a commit that references this issue on Nov 16, 2026

    Merge pull request #10764 from developing-today/queue/16826-1063-f12-…

    f208708
  16. dezren39 commented on Nov 16, 2026

    @dezren39
    dezren39
    on Nov 16, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — F12.6 complete (task 16826)

    All four F12.6 acceptance criteria now hold on main:

    1. Every admin frame produces exactly one audit line — actor-level records (pre-existing) plus PR id-worlds: session admin-frame audit + AuditRecord v2 (target, correlation id) (#1063) #10718's session-layer audit (audit_admin_frame, hub + world frames, accepted/refused) with AuditRecord v2 (target, correlation_id).
    2. OpenTelemetry export — PR F12.6 (remainder): retained audit log, OpenTelemetry export (#1063) #10764 (merged 2026-11-16T14:13:20Z, merge commit f208708): the actor's records are retained in a shared WorldAuditLog (world/audit.rs, the F11.7 metrics sharing pattern) and export as an OTLP/JSON logs payload via WorldService::audit_otlp_json().
    3. Replay test — pre-existing tracing-capture replay tests, plus PR F12.6 (remainder): retained audit log, OpenTelemetry export (#1063) #10764's retained_audit_log_replays_to_the_final_grants over the retained log itself.
    4. Dependents unblocked — queue task 4888 (issue id: F12.14 portals — cross-world messaging by mutual grant #1068) and queue task 9599 (issue id: implement Phase 13 F13.7 client-side capability providers (design #789) #5532) were gated on this task; F12.6 is landed, so both may proceed.

    Tests: cargo test -p id-worlds --lib --features sandbox,test-utils — 844 passed, 0 failed on the merged head's tree (one earlier single-test flake did not reproduce in two subsequent full runs). Closing this issue.

  17. dezren39
    closed this as completedon Nov 16, 2026
  18. dezren39
    removed
    status:in-review
    queue/queuedHas a queued queue task
    on Nov 16, 2026
  19. developing-today
    added
    status:done
    on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmode/onlineFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.