Skip to content

Commit 9e9c399

Browse files
committed
chore(sync): apply remaining canonical fleet drift fixes
1 parent 03abe1e commit 9e9c399

5 files changed

Lines changed: 9 additions & 5 deletions

File tree

.config/oxfmtrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
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",
6768
"**/scripts/check-paths.mts",
6869
"**/scripts/check-paths/allowlist.mts",
6970
"**/scripts/check-paths/cli.mts",

.config/oxlintrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
}
1919
],
2020
"eslint/no-new": "error",
21+
"eslint/no-underscore-dangle": "off",
2122
"eslint/no-proto": "error",
2223
"eslint/no-shadow": "off",
2324
"eslint/no-unmodified-loop-condition": "off",
@@ -154,6 +155,7 @@
154155
"**/scripts/ai-lint-fix.mts",
155156
"**/scripts/ai-lint-fix/cli.mts",
156157
"**/scripts/ai-lint-fix/rule-guidance.mts",
158+
"**/scripts/check-lock-step-refs.mts",
157159
"**/scripts/check-paths.mts",
158160
"**/scripts/check-paths/allowlist.mts",
159161
"**/scripts/check-paths/cli.mts",

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ packages/build-infra/release-assets.schema.json linguist-generated=true
448448
scripts/ai-lint-fix.mts linguist-generated=true
449449
scripts/ai-lint-fix/cli.mts linguist-generated=true
450450
scripts/ai-lint-fix/rule-guidance.mts linguist-generated=true
451+
scripts/check-lock-step-refs.mts linguist-generated=true
451452
scripts/check-paths.mts linguist-generated=true
452453
scripts/check-paths/allowlist.mts linguist-generated=true
453454
scripts/check-paths/cli.mts linguist-generated=true

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ For non-trivial work (multi-file refactor, new feature, migration), the plan its
129129

130130
### Code style
131131

132-
Default to no comments (enforced by `.claude/hooks/no-meta-comments-guard/` for meta-labels + removed-code refs); when written, write for a junior reader. Parsers mirroring an upstream get the exception ([`docs/claude.md/fleet/parser-comments.md`](docs/claude.md/fleet/parser-comments.md)). Pointer comments (`// see X`) need both the destination and an inline one-line claim (enforced by `.claude/hooks/pointer-comment-guard/`). Heaviest invariants: no `TODO`/`FIXME`/stubs; `undefined` over `null`; `httpJson`/`httpText` from `@socketsecurity/lib/http-request` over `fetch()`; `safeDelete()` from `@socketsecurity/lib/fs` over `fs.rm`; Edit tool over `sed`/`awk`; `'CI' in process.env` presence check over truthy; `import os from 'node:os'` over named imports; `getDefaultLogger()` over `console.*` (enforced by `.claude/hooks/logger-guard/`); doc filenames `lowercase-with-hyphens.md` under `docs/` or `.claude/` (enforced by `.claude/hooks/markdown-filename-guard/`). Full ruleset (object literals, imports, subprocesses, file existence, generated reports, sorting, Promise.race, Safe suffix, `node:smol-*`, inclusive language) in [`docs/claude.md/fleet/code-style.md`](docs/claude.md/fleet/code-style.md). See also [`docs/claude.md/fleet/sorting.md`](docs/claude.md/fleet/sorting.md) and [`docs/claude.md/fleet/inclusive-language.md`](docs/claude.md/fleet/inclusive-language.md).
132+
Default to no comments (enforced by `.claude/hooks/no-meta-comments-guard/` for meta-labels + removed-code refs); when written, write for a junior reader. Parsers mirroring an upstream get the exception ([`docs/claude.md/fleet/parser-comments.md`](docs/claude.md/fleet/parser-comments.md)). Cross-port files (Rust↔Go↔C++↔TS acorn ports; socket-btm `mcp/*.cpp` ports of upstream) use `Lock-step` comments — `//! Lock-step from <path>` for port provenance, `//! Lock-step with <Lang>: <path>` on the canonical side, inline `// Lock-step with <Lang>: <path>:<lines>` for specific cross-refs (point up at the source-of-truth, never down at a port), and `// Lock-step note: <why>` for _deliberate_ divergence (full forms in [`docs/claude.md/fleet/parser-comments.md`](docs/claude.md/fleet/parser-comments.md) §5–6). Pointer comments (`// see X`) need both the destination and an inline one-line claim (enforced by `.claude/hooks/pointer-comment-guard/`). Heaviest invariants: no `TODO`/`FIXME`/stubs; `undefined` over `null`; `httpJson`/`httpText` from `@socketsecurity/lib/http-request` over `fetch()`; `safeDelete()` from `@socketsecurity/lib/fs` over `fs.rm`; Edit tool over `sed`/`awk`; `'CI' in process.env` presence check over truthy; `import os from 'node:os'` over named imports; `getDefaultLogger()` over `console.*` (enforced by `.claude/hooks/logger-guard/`); doc filenames `lowercase-with-hyphens.md` under `docs/` or `.claude/` (enforced by `.claude/hooks/markdown-filename-guard/`). Full ruleset (object literals, imports, subprocesses, file existence, generated reports, sorting, Promise.race, Safe suffix, `node:smol-*`, inclusive language) in [`docs/claude.md/fleet/code-style.md`](docs/claude.md/fleet/code-style.md). See also [`docs/claude.md/fleet/sorting.md`](docs/claude.md/fleet/sorting.md) and [`docs/claude.md/fleet/inclusive-language.md`](docs/claude.md/fleet/inclusive-language.md).
133133

134134
### File size
135135

pnpm-workspace.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ catalog:
6060
'@types/spdx-expression-parse': 3.0.5
6161
'@types/validate-npm-package-name': 4.0.2
6262
'@types/which': 3.0.4
63-
'@typescript/native-preview': 7.0.0-dev.20260415.1
63+
'@typescript/native-preview': 7.0.0-dev.20260510.1
6464
'@vitest/coverage-v8': 4.0.3
6565
'@vitest/ui': 4.0.3
6666
'@yarnpkg/extensions': 2.0.6
@@ -101,8 +101,8 @@ catalog:
101101
normalize-package-data: 8.0.0
102102
npm-package-arg: 13.0.0
103103
out-url: 1.2.2
104-
'oxfmt': 0.37.0
105-
'oxlint': 1.52.0
104+
'oxfmt': 0.48.0
105+
'oxlint': 1.63.0
106106
pacote: 21.0.1
107107
read-yaml-file: 2.1.0
108108
semver: 7.7.4
@@ -111,7 +111,7 @@ catalog:
111111
spdx-expression-parse: 4.0.0
112112
streaming-iterables: 8.0.1
113113
tar: 7.5.1
114-
taze: 19.6.0
114+
taze: 19.11.0
115115
trash: 10.0.0
116116
tsx: 4.20.5
117117
type-coverage: 2.29.7

0 commit comments

Comments
 (0)