Skip to content

feat(runtime): per-profile runtime.env + Dashboard key names only - #230

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/per-profile-runtime-env-b01a
Nov 21, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/per-profile-runtime-env-b01a

Conversation

@nettee

@nettee nettee commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Optional ~/.beacon/profiles/<id>/runtime.env merges onto shared ~/.beacon/runtime.env (shared base, profile keys win).
  • Serve / doctor / manual & schedule trigger inject the per-profile effective map into Pi Runs.
  • GET /api/profiles/:id adds runtimeEnv.keys: string[] (sorted key names only; never values).
  • Dashboard Profiles detail lists those keys; Feishu secrets.json remains unexposed.
  • Fully backward compatible when only the shared file exists.

Plan

William-facing plan (layout, load order, carol migration, security):
/cursor/stores/self/docs/beacon-per-profile-env.md

Test plan

  • Unit: merge override + absent files + key listing redaction (runtime-environment.test.ts)
  • Dashboard profile detail / HTTP API: keys present, values absent from JSON (profiles.test.ts, server.test.ts)
  • pnpm check / pnpm typecheck / daemon tests green locally
  • CI green on this PR

Out of scope

  • No carol deploy / no live secret migration in this PR (steps documented in the plan).
Open in Web Open in Cursor 

cursoragent and others added 2 commits November 21, 2026 10:55
Load optional profiles/<id>/runtime.env on top of shared ~/.beacon/runtime.env
(profile keys win). Expose sorted key names only on GET /api/profiles/:id and
in the Profiles detail UI; never serialize values.

Co-authored-by: nettee <nettee.liu@gmail.com>
@cursor
cursor Bot merged commit 69d8cdb into main Nov 21, 2026
3 checks passed
@cursor
cursor Bot deleted the cursor/per-profile-runtime-env-b01a branch November 21, 2026 10:58
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.

2 participants