Skip to content

Commit d9c519c

Browse files
committed
chore(vscode): apply fleet cascade updates
1 parent 3b3ee1a commit d9c519c

11 files changed

Lines changed: 782 additions & 233 deletions

File tree

‎.claude/settings.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"// <fleet>": "Managed by socket-wheelhouse; edit the template, then cascade.",
33
"// auth": "No apiKeyHelper. Claude Code spawns that runner with neither env nor cwd, so it could never read AI_BALANCER_ENABLED, and a helper that returns nothing renders as 'apiKeyHelper failed: did not return a value' on every launch. The balancer route instead exports ANTHROPIC_API_KEY into CLAUDE_ENV_FILE from the ai-balancer-proxy-start SessionStart hook, which DOES receive the env and so can gate on the flag. Nothing persists in settings, so the claude.ai login is the default and needs no undo.",
4-
"// env": "The fleet no-phone-home knobs, one copy per delivery surface. FLEET_ENV (.github/actions/fleet/setup/fleet-env.json) is the source; the shell-rc bridge and the CI workflow env already derive from it, and this block is the third surface — a Claude Code session and every tool it spawns. Kept in lockstep by claude-settings-env-matches-fleet-env.mts, so a knob added there fails this file until it is added here too.",
4+
"// env": "The fleet no-phone-home knobs, one copy per delivery surface. FLEET_ENV (.github/actions/fleet/setup/fleet-env.json) is the source; the shell-rc bridge and the CI workflow env already derive from it, and this block is the third surface — a Claude Code session and every tool it spawns. Kept in lockstep by agent/settings-env-matches-fleet-env.mts, so a knob added there fails this file until it is added here too.",
55
"env": {
66
"AI_BALANCER_ENABLED": "1",
77
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",

‎.gitattributes‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
.git-hooks/pre-merge-commit linguist-generated=true
5353
.git-hooks/pre-push linguist-generated=true
5454
.github/actions/fleet/_shared linguist-generated=true
55+
.github/actions/fleet/_shared/resolve-external-tool-asset.generated.mjs linguist-generated=true
5556
.github/actions/fleet/cache-pnpm-store linguist-generated=true
5657
.github/actions/fleet/checkout linguist-generated=true
5758
.github/actions/fleet/cleanup-git-signing linguist-generated=true
@@ -79,6 +80,7 @@
7980
.github/actions/fleet/setup-odai linguist-generated=true
8081
.github/actions/fleet/setup-rust-cache linguist-generated=true
8182
.github/actions/fleet/setup-rust-toolchain linguist-generated=true
83+
.github/actions/fleet/setup/external-tools.generated.json linguist-generated=true
8284
.github/actions/fleet/upload-artifact linguist-generated=true
8385
.github/dependabot.yml linguist-generated=true
8486
.github/local-ci.Dockerfile linguist-generated=true
@@ -100,6 +102,7 @@ docs/design/fleet/README.md linguist-generated=true
100102
docs/design/fleet/components.css linguist-generated=true
101103
docs/design/fleet/tokens.css linguist-generated=true
102104
docs/fleet/agents.md linguist-generated=true
105+
docs/fleet/ai linguist-generated=true
103106
docs/fleet/ai-balancer linguist-generated=true
104107
docs/fleet/ai-balancer.md linguist-generated=true
105108
docs/fleet/development linguist-generated=true
@@ -125,14 +128,14 @@ test/fleet/common/fixture linguist-generated=true
125128
test/fleet/e2e/comment-voice.test.mts linguist-generated=true
126129
test/fleet/integration/comment-voice.test.mts linguist-generated=true
127130
test/fleet/nock-loopback-passthrough.test.mts linguist-generated=true
128-
test/fleet/registry-infra/cargo/placeholder.test.mts linguist-generated=true
129-
test/fleet/registry-infra/npm/placeholder.test.mts linguist-generated=true
130131
test/fleet/scripts/setup.mts linguist-generated=true
131132
test/fleet/unit/ci/gates/run.test.mts linguist-generated=true
132133
test/fleet/unit/comment-voice.test.mts linguist-generated=true
133134
test/fleet/unit/fix/plan.test.mts linguist-generated=true
134135
test/fleet/unit/fix/run.test.mts linguist-generated=true
135136
test/fleet/unit/lockstep/emit-mirror-globs.test.mts linguist-generated=true
137+
test/fleet/unit/registry-infra/cargo/placeholder.test.mts linguist-generated=true
138+
test/fleet/unit/registry-infra/npm/placeholder.test.mts linguist-generated=true
136139
*.patch whitespace=-blank-at-eol,-space-before-tab
137140
# </fleet>
138141
# <repo>

‎.github/workflows/ci-fix.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
default: ''
1212

1313
permissions:
14+
actions: read
1415
contents: read
1516

1617
concurrency:

‎.github/workflows/ci-gates.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
# shallow clone rather than false-green.
6464
checkout-fetch-depth: '0'
6565
socket-api-token: ${{ secrets.SOCKET_API_TOKEN_FOR_CLI_AND_SFW }}
66-
payload-token-client-id: ${{ vars.SOCKET_PR_CLIENT_ID }}
67-
payload-token-private-key: ${{ secrets.SOCKET_PR_APP_PRIVATE_KEY }}
66+
payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }}
67+
payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }}
6868
- name: Check repository
6969
uses: ./.github/actions/fleet/run-script
7070
with:
@@ -106,8 +106,8 @@ jobs:
106106
uses: ./.github/actions/fleet/setup-and-install
107107
with:
108108
socket-api-token: ${{ secrets.SOCKET_API_TOKEN_FOR_CLI_AND_SFW }}
109-
payload-token-client-id: ${{ vars.SOCKET_PR_CLIENT_ID }}
110-
payload-token-private-key: ${{ secrets.SOCKET_PR_APP_PRIVATE_KEY }}
109+
payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }}
110+
payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }}
111111
- name: Build and test
112112
uses: ./.github/actions/fleet/run-script
113113
with:
@@ -150,8 +150,8 @@ jobs:
150150
uses: ./.github/actions/fleet/setup-and-install
151151
with:
152152
socket-api-token: ${{ secrets.SOCKET_API_TOKEN_FOR_CLI_AND_SFW }}
153-
payload-token-client-id: ${{ vars.SOCKET_PR_CLIENT_ID }}
154-
payload-token-private-key: ${{ secrets.SOCKET_PR_APP_PRIVATE_KEY }}
153+
payload-token-client-id: ${{ secrets.SOCKET_RELEASE_CLIENT_ID || vars.SOCKET_RELEASE_CLIENT_ID }}
154+
payload-token-private-key: ${{ secrets.SOCKET_RELEASE_APP_PRIVATE_KEY }}
155155
- name: Build and test
156156
uses: ./.github/actions/fleet/run-script
157157
with:

0 commit comments

Comments
 (0)