Skip to content

Commit 54dde30

Browse files
committed
chore(sync): re-sync fleet-canonical drift blocks
Picks up the `claude_md_fleet_drift`, `oxlint_fleet_ignore_drift`, `oxfmt_fleet_ignore_drift`, and `gitattributes_fleet_drift` fixes that the prior `chore(sync): cascade fleet template@72633be` run reported as [FIXED] but didn't include in its auto-commit. Pure re-sync — no behavior change.
1 parent ec61b9b commit 54dde30

4 files changed

Lines changed: 17 additions & 3 deletions

File tree

.config/oxfmtrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"**/scripts/check-paths/types.mts",
8080
"**/scripts/check-paths/walk.mts",
8181
"**/scripts/check-prompt-less-setup.mts",
82+
"**/scripts/check-soak-exclude-dates.mts",
8283
"**/scripts/fix.mts",
8384
"**/scripts/install-claude-plugins.mts",
8485
"**/scripts/install-git-hooks.mts",

.config/oxlintrc.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
3-
"plugins": ["typescript", "unicorn", "import"],
4-
"jsPlugins": ["./oxlint-plugin/index.mts"],
3+
"plugins": [
4+
"typescript",
5+
"unicorn",
6+
"import"
7+
],
8+
"jsPlugins": [
9+
"./oxlint-plugin/index.mts"
10+
],
511
"categories": {
612
"correctness": "error",
713
"suspicious": "error"
@@ -181,6 +187,7 @@
181187
"**/scripts/check-paths/types.mts",
182188
"**/scripts/check-paths/walk.mts",
183189
"**/scripts/check-prompt-less-setup.mts",
190+
"**/scripts/check-soak-exclude-dates.mts",
184191
"**/scripts/fix.mts",
185192
"**/scripts/install-claude-plugins.mts",
186193
"**/scripts/install-git-hooks.mts",

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,11 @@
307307
.claude/hooks/setup-security-tools/test/setup-security-tools.test.mts linguist-generated=true
308308
.claude/hooks/setup-security-tools/test/shell-rc-bridge.test.mts linguist-generated=true
309309
.claude/hooks/setup-security-tools/tsconfig.json linguist-generated=true
310+
.claude/hooks/soak-exclude-date-annotation-guard/README.md linguist-generated=true
311+
.claude/hooks/soak-exclude-date-annotation-guard/index.mts linguist-generated=true
312+
.claude/hooks/soak-exclude-date-annotation-guard/package.json linguist-generated=true
313+
.claude/hooks/soak-exclude-date-annotation-guard/test/index.test.mts linguist-generated=true
314+
.claude/hooks/soak-exclude-date-annotation-guard/tsconfig.json linguist-generated=true
310315
.claude/hooks/stale-process-sweeper/README.md linguist-generated=true
311316
.claude/hooks/stale-process-sweeper/index.mts linguist-generated=true
312317
.claude/hooks/stale-process-sweeper/package.json linguist-generated=true
@@ -564,6 +569,7 @@ scripts/check-paths/state.mts linguist-generated=true
564569
scripts/check-paths/types.mts linguist-generated=true
565570
scripts/check-paths/walk.mts linguist-generated=true
566571
scripts/check-prompt-less-setup.mts linguist-generated=true
572+
scripts/check-soak-exclude-dates.mts linguist-generated=true
567573
scripts/fix.mts linguist-generated=true
568574
scripts/install-claude-plugins.mts linguist-generated=true
569575
scripts/install-git-hooks.mts linguist-generated=true

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Apply in: worktree creation, base-ref resolution for `git diff`/`git rev-list`,
6262
- **Package manager**: `pnpm`. Run scripts via `pnpm run foo --flag`, never `foo:bar`. After `package.json` edits, `pnpm install`.
6363
- 🚨 NEVER use `npx`, `pnpm dlx`, or `yarn dlx` — use `pnpm exec <package>` or `pnpm run <script>` # socket-hook: allow npx
6464
- 🚨 NEVER pass `--experimental-strip-types` to Node (enforced by `.claude/hooks/no-experimental-strip-types-guard/`).
65-
- **New dependencies** — every new dep added to `package.json` runs a Socket-score check at edit time; low-scoring deps block (enforced by `.claude/hooks/check-new-deps/`). The 7-day `minimumReleaseAge` soak is intentional malware protection; never add to `pnpm-workspace.yaml` `minimumReleaseAge.exclude[]` (bypass `Allow minimumReleaseAge bypass` for emergency CVE patches; enforced by `.claude/hooks/minimum-release-age-guard/`). Vitest `include` globs must not match `node:test` files — mismatched runners produce confusing "no test suite found" errors (enforced by `.claude/hooks/vitest-include-vs-node-test-guard/`).
65+
- **New dependencies** — every new dep added to `package.json` runs a Socket-score check at edit time; low-scoring deps block (enforced by `.claude/hooks/check-new-deps/`). The 7-day `minimumReleaseAge` soak is intentional malware protection; never add to `pnpm-workspace.yaml` `minimumReleaseAge.exclude[]` (bypass `Allow minimumReleaseAge bypass` for emergency CVE patches; enforced by `.claude/hooks/minimum-release-age-guard/`). Every per-package soak-bypass entry (the `'pkg@1.2.3'` exact-pin form) MUST carry a `# published: YYYY-MM-DD | removable: YYYY-MM-DD` annotation as the LAST comment line above the bullet — `published` is the version's npm publish date, `removable` is `published + 7d` so a periodic cleanup can drop entries that no longer need the bypass (enforced by `.claude/hooks/soak-exclude-date-annotation-guard/` at edit time + `scripts/check-soak-exclude-dates.mts` at commit time). Vitest `include` globs must not match `node:test` files — mismatched runners produce confusing "no test suite found" errors (enforced by `.claude/hooks/vitest-include-vs-node-test-guard/`).
6666
- **Bundler**: `rolldown`, NOT `esbuild`. The fleet standardizes on rolldown for direct bundling (see `template/.config/rolldown/`). Transitive esbuild deps (e.g. via vitest) are unavoidable today — the rule is no _new direct_ esbuild use anywhere in the fleet.
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`, `npm-run-all2` + `node --run` opt-in) in [`docs/claude.md/fleet/tooling.md`](docs/claude.md/fleet/tooling.md).

0 commit comments

Comments
 (0)