ARBI
Documents / docs/evidence/usage-audit-dashboard.md

Usage and audit dashboard evidence — 11 October 2026

Scope: #57, screen and composition contract, Node 24.19.0, pnpm 11.5.2, native PostgreSQL 18.4 and pinned Playwright Chromium. Reviewer: Codex, executed automated checks and source self-review. This record concerns isolated source/host/browser evidence.

The dedicated empty test database is provisioned by an operator helper, never application startup. Its ephemeral Ed25519 collector signs 11 usage observations through the real receiver: two WAN boot/counter epochs, unavailable WAN/provider download counters, independent application/provider totals, estimated attribution categories and one 1,500-byte shared stream with five viewers. The real immutable audit receiver stages seven linked records: human intent, allow, grant, connection-established, bytes-delivered, observed connection-ended and a separate cloud timeout. Original UTC is unknown and source monotonic/boot/session provenance is retained. No real provider, private media or device is contacted.

Native dashboard subtests use independent pools/provider instances and the actual cookie-to-bearer BFF. They verify audited policy bodies, immutable persisted settings, separate layer totals, unknown remaining bytes, retained reset epochs, 1,500 shared bytes without multiplying by five, usage export digests, frozen audit pages/export across instances, filter tamper denial and seven correlated records with pseudonymized actors. They exercise denied viewer configuration/audit/export, untrusted origins, forged body claims, unknown sites, disallowed device/steward actions, current role revocation and the existing membership/session revocation tests. Owning usage tests retain billing/DST, late-arrival/retry, reconciliation and restart evidence.

Two browser checks use the built Next.js application and fresh native PostgreSQL without replacing usage/audit responses. They read unknown plan/counters, save settings, display exact 7,500 WAN/4,500 application/9,000 provider upload bytes separately, disclose unavailable downloads, edit timezone/day/warning, reload persisted settings, clear hidden-page results, follow the shared-session link, filter the real audit trace, distinguish connection observations from cloud timeout, verify minimized downloaded export digests and check 390-pixel layout. Viewer checks cover disabled controls and direct HTTP denial despite engineering display mode, plus offline removal of previously loaded data. No read occurs on screen mount or visibility return.

Validation commands: dashboard typecheck/lint, build, ordinary tests, the full native test:postgres, full built-app test:browser, ordinary/branch-preview test:http, repository docs:check and git diff --check. The full ordinary dashboard suite passed 71 checks (13 native-only skips), the full native suite passed 46 checks, and all 11 browser checks passed. Build/typecheck, ordinary/branch-preview HTTP boundaries, documentation links (260 files) and diff validation passed. Native history admission requires WAL/fsync; embedded source fixtures intentionally do not claim durable receiver acceptance. Earlier isolated fixtures and hosted acceptance are not evidence that these new screens have been tested on Vercel/Neon or a cellular link.

Live Gredice/provider composition, actual edge policy application, physical local outcomes, installed media transport and future recording remain separate unverified/deferred work. A cloud lifecycle result never establishes observed delivery or physical completion.