Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
device creds: gate device-token endpoint + move OS creds off @handles master
- device-token.mjs was unauthenticated, returning any user's claude/github tokens by handle. Gate behind AC_DEVICE_SECRET (constant-time, fails closed). - New device-creds.mjs helper: single source of truth for per-user OS provisioning secrets, stored in dedicated device-creds collection keyed by sub — off the @handles docs that get $lookup-joined into public content. - Re-wire claude-token, device-pair, device-token to the helper. - piece-fans/piece-hit: project handle reads to {_id,handle} (defense-in-depth). - migration moves existing @handles.{claudeCodeToken,githubPat} into device-creds.
Author prompt.ac/@jeffrey Date (Jun 15, 2026, 6:51 PM UTC) Commit da996efc da996efce9d649870afa24601458c4b3f14a85ce Parent 064a3527 064a35270998930b2bddab5f73609868ecfe28bc