Skip to content

Add member sign-in, usage windows, and personal upstreams - #11

Merged
dbowm91 merged 2 commits into
mainfrom
cursor/on-prem-member-access
Nov 10, 2026
Merged

dbowm91 merged 2 commits into
mainfrom
cursor/on-prem-member-access

Conversation

@dbowm91

@dbowm91 dbowm91 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fresh eggpool onboard keeps the one-time personal token as the inference credential and no longer writes a [server].api_key that the same run retires. Cookieless HTML navigation on an initialized instance redirects to /login; presented credentials and machine routes stay JSON 401.
  • Usage stays split by window. The current UTC day and current UTC month are separate tables, and remaining is the ceiling minus settled use minus active holds. Members see their own remaining allowance and the instance ceilings, not other people's consumption.
  • Member pages use My account, My models, Usage, and Password. The users roster shows the current profile, overrides, budget rules, and credential labels without the token or digest.
  • ADR-0010 is accepted. Migration v66 stores a secret-free personal-upstream grant and binding. The key is written only to the config-adjacent .env, and routing selects a bound account only for its owner. A granted member can add or remove that account from My account; denying the grant does not withdraw an existing binding.

Test plan

  • Focused onboard, session, budget, identity, routing, and browser-grant tests (--test-threads=1)
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo clippy and cargo check with --no-default-features
  • uv run python scripts/validate_release_docs.py
  • Full serial workspace suite
  • Locked release build
  • Closure records for M001–M005 (left active, not closed)

CI Test and others added 2 commits November 10, 2026 22:17
A fresh install keeps the personal token as the inference credential, day and month usage stay separate, and a granted account is selectable only by its owner.

Co-authored-by: Cursor <cursoragent@cursor.com>
The suite required the schema-54 upgrade to count v66, and the member page to stop embedding the fixture username.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dbowm91
dbowm91 marked this pull request as ready for review November 10, 2026 23:06
@dbowm91
dbowm91 merged commit 4ba67bd into main Nov 10, 2026
3 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