Skip to content

Commit 59cfec0

Browse files
committed
chore(wheelhouse): cascade template@8eb54c0e9
Auto-applied by socket-wheelhouse sync-scaffolding into node-smol. 6 file(s) touched: - .claude/settings.json - .config/repo/socket-wheelhouse.json - .gitattributes - .gitignore - pnpm-workspace.yaml - scripts/repo/bootstrap/fleet.mjs
1 parent 2b72caa commit 59cfec0

6 files changed

Lines changed: 7 additions & 24 deletions

File tree

.claude/settings.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"SendMessage"
6868
],
6969
"deny": [
70-
"Bash(gh release delete:*)",
7170
"Bash(npm publish:*)",
7271
"Bash(pnpm publish:*)",
7372
"Bash(yarn publish:*)"

.config/repo/socket-wheelhouse.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"schemaVersion": 1,
77
"repoName": "node-smol",
88
"bundle": {
9-
"ref": "fleet-pack-ee545604850058ef3a7b1387fad086dc994e63b1",
10-
"cascadeSha": "ee545604850058ef3a7b1387fad086dc994e63b1"
9+
"ref": "fleet-pack-dcafeb6111c7f91f192d8d1843e222c8c04cc3d4",
10+
"cascadeSha": "dcafeb6111c7f91f192d8d1843e222c8c04cc3d4"
1111
},
1212
"repo": {
1313
"type": "mono"

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
.github/workflows/prune-workflow-runs.yml linguist-generated=true
7676
.github/workflows/release-reconcile.yml linguist-generated=true
7777
.github/workflows/weekly-update.yml linguist-generated=true
78+
.github/zizmor.yml linguist-generated=true
7879
.mcp.json linguist-generated=true
7980
.npmrc linguist-generated=true
8081
assets/badge-follow-bluesky.svg linguist-generated=true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ pnpm-debug.log
179179
/.git-hooks/post-commit
180180
/.git-hooks/pre-commit
181181
/.git-hooks/pre-push
182+
/.github/zizmor.yml
182183
/.mcp.json
183184
/docs/agents.md/fleet/
184185
/docs/references/fleet/sfw-local-install.md

pnpm-workspace.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ catalog:
1414
# the soak window, so it carries a minimumReleaseAgeExclude entry below.
1515
'@shadscan/cli': 0.8.0
1616
'@sinclair/typebox': 0.34.52
17+
'ecc-agentshield': 1.4.0
1718
# typebox 1.x — the unscoped rewrite of @sinclair/typebox. Both names are
1819
# pinned while the fleet migrates; the 0.x entry is deleted once no member
1920
# imports the scoped name. 1.3.10 is inside the 7-day soak, so it carries a

scripts/repo/bootstrap/fleet.mjs

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,31 +1008,13 @@ function rewriteDispatchCommands(settings, make) {
10081008
//#region scripts/repo/gen/bootstrap/src/settings.mts
10091009
const FLEET_SETTINGS_BEGIN = '// <fleet>'
10101010
const FLEET_SETTINGS_END = '// </fleet>'
1011-
const LEGACY_FLEET_SETTINGS_BEGIN = '// <fleet-canonical>'
1012-
const LEGACY_FLEET_SETTINGS_END = '// </fleet-canonical>'
1013-
const LEGACY_FLEET_SETTINGS_MARKERS = /* @__PURE__ */ new Set([
1014-
LEGACY_FLEET_SETTINGS_BEGIN,
1015-
LEGACY_FLEET_SETTINGS_END,
1016-
])
10171011
function cloneJson(value) {
10181012
return JSON.parse(JSON.stringify(value))
10191013
}
1020-
function findMarkerIndex(keys, short, long) {
1021-
const i = keys.indexOf(short)
1022-
return i === -1 ? keys.indexOf(long) : i
1023-
}
10241014
function fleetSettingsKeys(settings) {
10251015
const keys = Object.keys(settings)
1026-
const start = findMarkerIndex(
1027-
keys,
1028-
FLEET_SETTINGS_BEGIN,
1029-
LEGACY_FLEET_SETTINGS_BEGIN,
1030-
)
1031-
const end = findMarkerIndex(
1032-
keys,
1033-
FLEET_SETTINGS_END,
1034-
LEGACY_FLEET_SETTINGS_END,
1035-
)
1016+
const start = keys.indexOf(FLEET_SETTINGS_BEGIN)
1017+
const end = keys.indexOf(FLEET_SETTINGS_END)
10361018
if (start === -1 || end === -1 || end <= start)
10371019
throw new Error(
10381020
'Invalid Claude settings fleet section: settings.json has missing or misordered <fleet> markers; expected one opening marker before one closing marker; fix the marker keys in the canonical template.',
@@ -1079,7 +1061,6 @@ function mergeClaudeSettings(config) {
10791061
fleetKeySet.has(key) ||
10801062
key === '// <fleet>' ||
10811063
key === '// </fleet>' ||
1082-
LEGACY_FLEET_SETTINGS_MARKERS.has(key) ||
10831064
(key === 'env' && isLegacyFleetCommentEnv(value))
10841065
)
10851066
continue

0 commit comments

Comments
 (0)