Skip to content

Commit 450ff4f

Browse files
committed
chore: rename socket-repo-template to socket-wheelhouse
1 parent 72a99bb commit 450ff4f

35 files changed

Lines changed: 81 additions & 81 deletions

File tree

.claude/hooks/auth-rotation-reminder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,6 @@ Other hooks can adopt the same `.snooze` pattern. The convention:
142142
## Cross-fleet sync
143143

144144
This README and the hook itself live in
145-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/auth-rotation-reminder)
145+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/auth-rotation-reminder)
146146
and are required to be byte-identical across every fleet repo.
147147
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.

.claude/hooks/check-new-deps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ All dependencies use `catalog:` references from the workspace root
129129
## Cross-fleet sync
130130

131131
This README and the hook itself live in
132-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/check-new-deps)
132+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/check-new-deps)
133133
and are required to be byte-identical across every fleet repo.
134134
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.

.claude/hooks/cross-repo-guard/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ socket-cli
6262
socket-lib
6363
socket-packageurl-js
6464
socket-registry
65-
socket-repo-template
65+
socket-wheelhouse
6666
socket-sdk-js
6767
socket-sdxgen
6868
socket-stuie
@@ -98,6 +98,6 @@ companion git-side scanner in `.git-hooks/_helpers.mts` (`FLEET_REPO_NAMES`)
9898
## Cross-fleet sync
9999

100100
This README and the hook itself live in
101-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/cross-repo-guard)
101+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/cross-repo-guard)
102102
and are required to be byte-identical across every fleet repo.
103103
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.

.claude/hooks/cross-repo-guard/index.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const FLEET_REPO_NAMES = [
5353
'socket-lib',
5454
'socket-packageurl-js',
5555
'socket-registry',
56-
'socket-repo-template',
56+
'socket-wheelhouse',
5757
'socket-sdk-js',
5858
'socket-sdxgen',
5959
'socket-stuie',

.claude/hooks/gitmodules-comment-guard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ In `.claude/settings.json`:
7474
## Cross-fleet sync
7575

7676
This hook lives in
77-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/gitmodules-comment-guard)
77+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/gitmodules-comment-guard)
7878
and is required to be byte-identical across every fleet repo.
7979
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.

.claude/hooks/logger-guard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ node --test test/*.test.mts
9999
## Cross-fleet sync
100100

101101
This README and the hook itself live in
102-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/logger-guard)
102+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/logger-guard)
103103
and are required to be byte-identical across every fleet repo.
104104
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.

.claude/hooks/no-fleet-fork-guard/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PreToolUse Edit/Write hook that blocks edits to fleet-canonical files inside dow
66

77
The fleet rule "Never fork fleet-canonical files locally" (CLAUDE.md fleet block, full reference at [`docs/claude.md/no-local-fork-canonical.md`](../../../docs/claude.md/no-local-fork-canonical.md)).
88

9-
Fleet-canonical surfaces (anything tracked by `socket-repo-template/scripts/sync-scaffolding/manifest.mts`):
9+
Fleet-canonical surfaces (anything tracked by `socket-wheelhouse/scripts/sync-scaffolding/manifest.mts`):
1010

1111
- `.config/oxlint-plugin/` — oxlint plugin index + rules
1212
- `.git-hooks/` — commit-msg / pre-commit / pre-push hooks + helpers
@@ -15,14 +15,14 @@ Fleet-canonical surfaces (anything tracked by `socket-repo-template/scripts/sync
1515
- `docs/claude.md/` — CLAUDE.md offshoot references
1616
- `.husky/` — Husky entry shims
1717

18-
When Claude tries to Edit/Write a file under one of these prefixes in a fleet member (any repo with `CLAUDE.md` containing the `BEGIN FLEET-CANONICAL` marker, except `socket-repo-template/template/`), the hook exits 2 with a stderr message that:
18+
When Claude tries to Edit/Write a file under one of these prefixes in a fleet member (any repo with `CLAUDE.md` containing the `BEGIN FLEET-CANONICAL` marker, except `socket-wheelhouse/template/`), the hook exits 2 with a stderr message that:
1919

2020
1. States the rule.
21-
2. Names the canonical file path inside `socket-repo-template/template/...`.
21+
2. Names the canonical file path inside `socket-wheelhouse/template/...`.
2222
3. Provides the exact `sync-scaffolding` command to cascade.
2323
4. Documents the bypass phrase.
2424

25-
Edits inside `socket-repo-template/template/` are ALLOWED — that IS the canonical home.
25+
Edits inside `socket-wheelhouse/template/` are ALLOWED — that IS the canonical home.
2626

2727
## Bypass
2828

@@ -41,7 +41,7 @@ The hook catches the failure mode where Claude reaches for a "quick fix" in a do
4141
For each Edit/Write/MultiEdit call:
4242

4343
1. Resolve `tool_input.file_path` to an absolute path.
44-
2. Check if the path contains `/socket-repo-template/template/` — if yes, allow.
44+
2. Check if the path contains `/socket-wheelhouse/template/` — if yes, allow.
4545
3. Walk up directories looking for a fleet repo root: `package.json` AND `CLAUDE.md` containing the `BEGIN FLEET-CANONICAL` marker.
4646
4. If no fleet repo root is found (the file is outside any fleet repo), allow.
4747
5. Compute the file path relative to the repo root.

.claude/hooks/no-fleet-fork-guard/index.mts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
// Blocks Edit/Write tool calls that target a fleet-canonical file
55
// path inside a downstream fleet repo. The fleet rule
66
// ("Never fork fleet-canonical files locally") says these files
7-
// MUST be edited in socket-repo-template/template/... and cascaded
7+
// MUST be edited in socket-wheelhouse/template/... and cascaded
88
// out via sync-scaffolding — never branched locally in a downstream
99
// repo. Local forks turn into "drift to preserve" hacks that block
1010
// fleet-wide improvements from reaching the forked repo.
1111
//
1212
// The hook detects a fleet-canonical edit by:
1313
// 1. Resolving the absolute file path of the Edit/Write target.
14-
// 2. Checking if the path is INSIDE socket-repo-template/template/
14+
// 2. Checking if the path is INSIDE socket-wheelhouse/template/
1515
// → allow (this IS the canonical home).
1616
// 3. Otherwise, checking if the path matches a fleet-canonical
1717
// surface prefix:
@@ -86,16 +86,16 @@ const BYPASS_PHRASE = 'Allow fleet-fork bypass'
8686
// the no-revert-guard hook's window.
8787
const BYPASS_LOOKBACK_USER_TURNS = 8
8888

89-
// File-path tokens that identify the socket-repo-template canonical
89+
// File-path tokens that identify the socket-wheelhouse canonical
9090
// home. If the resolved absolute path contains one of these, we're
9191
// editing the source of truth — allow.
9292
//
93-
// `socket-repo-template/template/` covers the standard checkout shape
94-
// (e.g. /Users/<user>/projects/socket-repo-template/template/...).
93+
// `socket-wheelhouse/template/` covers the standard checkout shape
94+
// (e.g. /Users/<user>/projects/socket-wheelhouse/template/...).
9595
// `repo-template/template/` covers any rename / mirror / fork that
9696
// keeps the trailing component.
9797
const TEMPLATE_PATH_TOKENS = [
98-
'/socket-repo-template/template/',
98+
'/socket-wheelhouse/template/',
9999
'/repo-template/template/',
100100
]
101101

@@ -267,12 +267,12 @@ async function main(): Promise<number> {
267267
`Repo: ${path.basename(repoRoot)}`,
268268
``,
269269
`Fleet-canonical files (anything tracked by`,
270-
`socket-repo-template/scripts/sync-scaffolding/manifest.mts) MUST`,
271-
`be edited in socket-repo-template/template/${relToRepo} and`,
270+
`socket-wheelhouse/scripts/sync-scaffolding/manifest.mts) MUST`,
271+
`be edited in socket-wheelhouse/template/${relToRepo} and`,
272272
`cascaded out — never branched locally in a downstream fleet repo.`,
273273
``,
274274
`Fix path:`,
275-
` 1. Edit socket-repo-template/template/${relToRepo}`,
275+
` 1. Edit socket-wheelhouse/template/${relToRepo}`,
276276
` 2. Commit + push template`,
277277
` 3. Cascade with: node scripts/sync-scaffolding/main.mts \\`,
278278
` --target ${repoRoot} --fix`,

.claude/hooks/no-fleet-fork-guard/test/index.test.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ test('bypass phrase variants do NOT count', async () => {
275275
}
276276
})
277277

278-
test('paths under socket-repo-template/template/ always pass', async () => {
278+
test('paths under socket-wheelhouse/template/ always pass', async () => {
279279
// Even if Claude tries to spell out a path that would otherwise
280-
// match a canonical prefix, anything under .../socket-repo-template/
280+
// match a canonical prefix, anything under .../socket-wheelhouse/
281281
// template/ is allowed since that IS the canonical home.
282282
const repo = mkdtempSync(path.join(tmpdir(), 'fake-srt-'))
283283
try {
284284
const file = path.join(
285285
repo,
286-
'socket-repo-template/template/.git-hooks/_helpers.mts',
286+
'socket-wheelhouse/template/.git-hooks/_helpers.mts',
287287
)
288288
mkdirSync(path.dirname(file), { recursive: true })
289289
writeFileSync(file, '// canonical home\n')

.claude/hooks/path-guard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ negative test in `test/path-guard.test.mts`.
103103
## Cross-fleet sync
104104

105105
This README and the hook itself live in
106-
[`socket-repo-template`](https://github.com/SocketDev/socket-repo-template/tree/main/template/.claude/hooks/path-guard)
106+
[`socket-wheelhouse`](https://github.com/SocketDev/socket-wheelhouse/tree/main/template/.claude/hooks/path-guard)
107107
and are required to be byte-identical across every fleet repo.
108108
`scripts/sync-scaffolding.mts` flags drift; `--fix` rewrites it.
109109

0 commit comments

Comments
 (0)