Admin Dashboard
Accessing the dashboard
Section titled “Accessing the dashboard”The admin dashboard is served at http://localhost:3000/admin (or your configured server address).
Default credentials are set by the COSMICTRON_ADMIN_PASSWORD environment variable. Change the password on first login.
Modules
Section titled “Modules”The Modules tab shows all deployed WASM/JS modules:
| Column | Description |
|---|---|
| Name | Module identifier |
| Version | Deployed version hash |
| Status | active, paused, error |
| Reducers | Count of registered reducers |
| Tables | Count of owned tables |
| Fuel usage | Average fuel consumption per call (last 5 min) |
Actions:
- Deploy — upload and activate a new
.wasmor.jsmodule - Pause / Resume — suspend execution without undeploying
- Rollback — restore previous version
- Logs — tail reducer invocation logs
Sessions
Section titled “Sessions”The Sessions tab lists active and recent agent sessions:
- Filter by session ID, status, module, or date range
- View the full message history for a session
- Inspect tool call records with status and result
- Export a session’s event history as an audit bundle
Subscriptions
Section titled “Subscriptions”The Subscriptions tab shows active WebSocket subscriptions:
- Client identity and connection time
- Subscribed SQL query
- Delta delivery rate (rows/s)
- Disconnect a misbehaving client
The Audit tab provides compliance controls:
- Event log viewer — browse events with filtering by reducer, identity, date
- Signature verification — run on-demand verification of the hash chain and signatures
- Bundle export — create signed audit bundles for date ranges or sessions
- Key registry — view active and retired signing keys
- TSA status — verify TSA connectivity and token storage
Users & Identity
Section titled “Users & Identity”The Users tab manages identities:
- List all identities (email, passkey, magic link)
- Revoke access tokens
- View per-identity access logs
- Assign capabilities (e.g.,
pii:read)
Metrics
Section titled “Metrics”The Metrics tab shows:
- Request rate (reducer calls/s, query executions/s)
- Active WebSocket connections
- WAL write rate (events/s, bytes/s)
- Storage usage (pages, WAL segments, snapshot size)
- Fuel consumption per module
- Error rates by module and reducer