Skip to content

Add self-hosted multi-user TokenScope server - #18

Merged
IAbuElRuzz merged 1 commit into
mainfrom
feat/multi-user-server
Nov 15, 2026
Merged

IAbuElRuzz merged 1 commit into
mainfrom
feat/multi-user-server

Conversation

@IAbuElRuzz

Copy link
Copy Markdown
Owner

Summary

  • Add an opt-in, self-hosted single-instance server with provisioned accounts, isolated per-account SQLite usage ledgers, private browser dashboards, device enrollment/revocation, and an aggregate-only administrator overview.
  • Add an outbound collector with a durable local spool, replay-safe delivery, bounded HTTPS requests, and explicit device-token authentication. Standalone local monitoring remains the default.
  • Document deployment, account administration, identity boundaries, data retention, and the current scaling/security limits.

Security and scope

  • The server never scans its host user's Claude/Codex/Gemini logs. Developers explicitly enroll a device and run the collector on their own computer.
  • Browser sessions and ingestion credentials are separate. Account and device identity come from server-side credentials, not event payload fields.
  • This is a trusted-team, single-process SQLite deployment. PostgreSQL, SSO, self-service signup/recovery, and a public SaaS deployment are not included.

Validation

  • Backend: 50 tests passed.
  • Frontend: 26 tests passed; production TypeScript/Vite build passed.
  • Ruff: passed.
  • TestClient coverage includes account isolation, device collisions/revocation, cookie/CSRF/roles, replay/restart/retention, WebSocket scoping, and collector retry/spooling.
  • Actual Docker runtime and remote TLS deployment were unavailable in this environment; see docs/server.md for the setup and validation limits.

@IAbuElRuzz
IAbuElRuzz merged commit 005f733 into main Nov 15, 2026
20 checks passed
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