Skip to content

Commit 67a4820

Browse files
committed
chore(sync): apply remaining canonical fleet drift fixes
1 parent ddf66a5 commit 67a4820

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

.config/oxfmtrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"**/scripts/ai-lint-fix.mts",
6565
"**/scripts/ai-lint-fix/cli.mts",
6666
"**/scripts/ai-lint-fix/rule-guidance.mts",
67-
"**/scripts/check-lock-step-refs.mts",
6867
"**/scripts/check-paths.mts",
6968
"**/scripts/check-paths/allowlist.mts",
7069
"**/scripts/check-paths/cli.mts",
@@ -78,6 +77,7 @@
7877
"**/scripts/check-paths/walk.mts",
7978
"**/scripts/check-prompt-less-setup.mts",
8079
"**/scripts/fix.mts",
80+
"**/scripts/install-claude-plugins.mts",
8181
"**/scripts/install-git-hooks.mts",
8282
"**/scripts/install-sfw.mts",
8383
"**/scripts/lint-github-settings.mts",

.config/oxlintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@
155155
"**/scripts/ai-lint-fix.mts",
156156
"**/scripts/ai-lint-fix/cli.mts",
157157
"**/scripts/ai-lint-fix/rule-guidance.mts",
158-
"**/scripts/check-lock-step-refs.mts",
159158
"**/scripts/check-paths.mts",
160159
"**/scripts/check-paths/allowlist.mts",
161160
"**/scripts/check-paths/cli.mts",
@@ -169,6 +168,7 @@
169168
"**/scripts/check-paths/walk.mts",
170169
"**/scripts/check-prompt-less-setup.mts",
171170
"**/scripts/fix.mts",
171+
"**/scripts/install-claude-plugins.mts",
172172
"**/scripts/install-git-hooks.mts",
173173
"**/scripts/install-sfw.mts",
174174
"**/scripts/lint-github-settings.mts",

.gitattributes

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@
124124
.claude/hooks/markdown-filename-guard/package.json linguist-generated=true
125125
.claude/hooks/markdown-filename-guard/test/index.test.mts linguist-generated=true
126126
.claude/hooks/markdown-filename-guard/tsconfig.json linguist-generated=true
127+
.claude/hooks/marketplace-comment-guard/README.md linguist-generated=true
128+
.claude/hooks/marketplace-comment-guard/index.mts linguist-generated=true
129+
.claude/hooks/marketplace-comment-guard/package.json linguist-generated=true
130+
.claude/hooks/marketplace-comment-guard/test/index.test.mts linguist-generated=true
131+
.claude/hooks/marketplace-comment-guard/tsconfig.json linguist-generated=true
127132
.claude/hooks/new-hook-claude-md-guard/README.md linguist-generated=true
128133
.claude/hooks/new-hook-claude-md-guard/index.mts linguist-generated=true
129134
.claude/hooks/new-hook-claude-md-guard/package.json linguist-generated=true
@@ -448,7 +453,6 @@ packages/build-infra/release-assets.schema.json linguist-generated=true
448453
scripts/ai-lint-fix.mts linguist-generated=true
449454
scripts/ai-lint-fix/cli.mts linguist-generated=true
450455
scripts/ai-lint-fix/rule-guidance.mts linguist-generated=true
451-
scripts/check-lock-step-refs.mts linguist-generated=true
452456
scripts/check-paths.mts linguist-generated=true
453457
scripts/check-paths/allowlist.mts linguist-generated=true
454458
scripts/check-paths/cli.mts linguist-generated=true
@@ -462,6 +466,7 @@ scripts/check-paths/types.mts linguist-generated=true
462466
scripts/check-paths/walk.mts linguist-generated=true
463467
scripts/check-prompt-less-setup.mts linguist-generated=true
464468
scripts/fix.mts linguist-generated=true
469+
scripts/install-claude-plugins.mts linguist-generated=true
465470
scripts/install-git-hooks.mts linguist-generated=true
466471
scripts/install-sfw.mts linguist-generated=true
467472
scripts/lint-github-settings.mts linguist-generated=true

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ Apply in: worktree creation, base-ref resolution for `git diff`/`git rev-list`,
6767
- **Backward compatibility** — FORBIDDEN to maintain. Actively remove when encountered.
6868
- Full ruleset (packageManager field, `.config/` placement, `.mts` runners, soak time, shallow submodules, monorepo `engines.node`) in [`docs/claude.md/fleet/tooling.md`](docs/claude.md/fleet/tooling.md).
6969

70+
### Claude Code plugin pins
71+
72+
🚨 Fleet-blessed Claude Code plugins are SHA-pinned in the wheelhouse-canonical [`.claude-plugin/marketplace.json`](../.claude-plugin/marketplace.json), with companion human-readable metadata (pin date, pinner) in [`.claude-plugin/README.md`](../.claude-plugin/README.md). The pair is enforced together: every `plugins[].source.sha` in `marketplace.json` must have a row in the README table with matching `version` + `sha` + an ISO-8601 `date`. Same staleness signal the GHA `uses:` SHA-pin comments carry. Bump the SHA → bump the row. Run `pnpm run install-claude-plugins` to reconcile a machine to the pinned set; the script also merges `env.CODEX_TRUSTED_ENV_PARENTS` into `~/.claude/settings.json` so the upstream codex plugin honors `~/.claude/session-env/` as a trusted env-file parent (enforced by `.claude/hooks/marketplace-comment-guard/`).
73+
7074
### Fix it, don't defer
7175

7276
🚨 See a lint/type/test error or broken comment in your reading window — fix it. Stop current task, fix the issue in a sibling commit, resume. Don't label as "pre-existing", "unrelated", or "out of scope" — the labels are rationalizations (enforced by `.claude/hooks/excuse-detector/`).

0 commit comments

Comments
 (0)