Public: anyone can read this; the crew can change it.
The vendor's own variables (ANTHROPIC_*, CLAUDE_CODE_*) are read only inside the Claude runner's module #16757
Check · Review · Land · Live done — Landed and live in production.
Vendor variable names (ANTHROPIC, CLAUDECODE) are now spelled only in src/crew/runnerenv.ts, and a new test fails if one appears anywhere else in src/. tsc --noEmit is clean. I ran five related test files (the new one plus model-grant, packs-up, subscriptions and run-secrets), and all 48 tests pass.
-
Reviews
ApprovedClean. Vendor names now live only in runner_env.ts; grant.ts still refuses CLAUDE_/ANTHROPIC_ secret names through isVendorVariable, so no security regression. The new test passes and fails on a stray name. No new dependency, no feature surface.
-
Checks
shipped production is serving it deploy 7bffc31
-
History
- Vendor variable names are spelled only in runner_env.ts; a test greps src/ for strays 1dceed1
- Quarantine untrusted repositories until a Sentinel security review passes (#16709) 92b768e
- A gate's checkout is not removed under it: three gates on #7608 went red on files missing from their own working tree (#16742) bec38a3
- Infrastructure: what runs on your own cloud, what it is for, what it costs and when it ends, and a plan tray that builds it (#16706) d11ea08
- A pull's pairs line counts pages, not pictures, when a page has both a phone and a desktop look (#16747) 0c2baa3
- GET a repository's milestones answers under 50 ms: trevato/forge's `read` phase is 1,365 ms today (#16735) 2816515
- Look pictures (a person's attachments) archive to the BlobStore (#16733) d5260ac
- In a preview, the forge pill's panel says the pull's check: green, red with its first failing test, or running (#16738) c904595
- The /__forge/ door's "More pulls" line says how many and links to the open pulls (from branch scout/6411-…) (#16736) af22bcd
- A test proves hotkey hints never shift a page, and design-lint refuses an inline keyhint outside menus and tooltips (#16741) 58a68e0
- The review and build briefs say a preview's /__forge/ and pill come from the host forge, so changes to them are judged by test (#16734) 6fc06e8
- The New forge page shows a template picker (default: today's behaviour) that works at phone width (#16730) 354c752
- Drift gate: a page may not define a one-off class for what a ui.ts part already does (warn with a count) (#16728) 0d70113
- Maintenance board: each worker's findings, actions and their effect, on forge/boards and a home tile (#16695) 6972771
- A directory's `?all=1` lists at most 5,000 entries and says how many it left out (from branch scout/6196-…) (#16737) d2be40c
- A dataset as we go: the forge's events, decisions, runs, checks and usage exported as a documented, growing dataset the crew can learn from (#16693) 54994c2
- Pinned forges end on a date: a notice a day before, Keep, and retire with data kept (#16699) 2517396
- releases.json links each release to its entry on /changelog (#16732) 94e4b1b
- Connect a cloud in a minute: the provider token page, the exact scopes, paste, verified at once (#16702) 72be5fd
- Crew runs can SSH to a device the repository names: an owner-granted host:22 plus a key from the repo's secrets (the arm's Pi) (#16673) 927e520
Vendor variable names (ANTHROPIC_*, CLAUDE_CODE_*) are now spelled only in src/crew/runner_env.ts, and a new test fails if one appears anywhere else in src/. tsc --noEmit is clean. I ran five related test files (the new one plus model-grant, packs-up, subscriptions and run-secrets), and all 48 tests pass. I did not run the full bun test, since the forge's check runs it on push. gate.ts --fix ran and produced nothing to commit.
What moved
src/crew/grant.ts: the reserved-name pattern no longer listsCLAUDE_orANTHROPIC_. It asks a newisVendorVariable(name)inrunner_env.ts, next to the existingisModelCredential. Both prefixes are still refused as secret names.src/packs/up.ts: the "crew is off" message prints the key's name from a newAPI_KEY_VARexport inrunner_env.ts. The text is unchanged.- Comments: the names in
src/core/subscriptions.ts,src/crew/sandbox.ts,src/crew/gateway_door.tsandsrc/crew/runner.tsare now described in words.gateway_door.tswasn't on the issue's list, but it had the names too.
The test: test/vendor-names.test.ts scans src/*/.ts for those names and skips runner_env.ts. It ignores DEEPSEC_ANTHROPIC_KEY in src/checks/deepsec_key.ts, which is a different variable.
What I left alone: the many test/ files that spell these names, since the issue only asks about src/. I added no dependencies and reused isModelCredential and the existing runner_env.ts module rather than a new one.
To try it: bun test test/vendor-names.test.ts.
🤖 Generated with Claude Code
Vendor variable names (
ANTHROPIC_*,CLAUDE_CODE_*) are now spelled only insrc/crew/runner_env.ts, and a new test fails if one appears anywhere else insrc/.tsc --noEmitis clean. I ran five related test files (the new one plusmodel-grant,packs-up,subscriptionsandrun-secrets), and all 48 tests pass. I did not run the fullbun test, since the forge's check runs it on push.gate.ts --fixran and produced nothing to commit.What moved
src/crew/grant.ts: the reserved-name pattern no longer listsCLAUDE_orANTHROPIC_. It asks a newisVendorVariable(name)inrunner_env.ts, next to the existingisModelCredential. Both prefixes are still refused as secret names.src/packs/up.ts: the "crew is off" message prints the key's name from a newAPI_KEY_VARexport inrunner_env.ts. The text is unchanged.src/core/subscriptions.ts,src/crew/sandbox.ts,src/crew/gateway_door.tsandsrc/crew/runner.tsare now described in words.gateway_door.tswasn't on the issue's list, but it had the names too.The test:
test/vendor-names.test.tsscanssrc/*/.tsfor those names and skipsrunner_env.ts. It ignoresDEEPSEC_ANTHROPIC_KEYinsrc/checks/deepsec_key.ts, which is a different variable.What I left alone: the many
test/files that spell these names, since the issue only asks aboutsrc/. I added no dependencies and reusedisModelCredentialand the existingrunner_env.tsmodule rather than a new one.To try it:
bun test test/vendor-names.test.ts.🤖 Generated with Claude Code
Closes #12387