Skip to content

chore: move more repo config files and hooks into .config - #18137

Merged
zkochan merged 3 commits into
mainfrom
config-ref
Nov 15, 2026
Merged

zkochan merged 3 commits into
mainfrom
config-ref

Conversation

@zkochan

@zkochan zkochan commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Moves four more repository config files, the husky hooks, and the git-wt PR hook from the root into .config/, next to the pnpm config, nextest.toml, and the npm signing keys already there:

From To
cspell.json .config/cspell.json
commitlint.config.cjs .config/commitlint.config.cjs
.pnpmfile.cjs .config/pnpm/pnpmfile.cjs
crate-layers.toml .config/crate-layers.toml
.husky/ .config/husky/
.git-wt/pr-hook .config/git-wt/pr-hook

These can move without losing editor or CI tooling support. The remaining root config files stay put: their tools only look in the root (rustfmt.toml, clippy.toml, eslint.config.mjs, .vale.ini, renovate.json, …), or only the CLI accepts a custom path while editor plugins and the typos action do not (.taplo.toml, .typos.toml, dylint.toml, deny.toml, Cross.toml).

Verified locally:

  • cspell loads .config/cspell.json (cspell trace zstd names it) and still ignores vendor/**, so ignorePaths still resolve from the repo root.
  • commitlint accepts and rejects messages with the new --config path; this commit went through the hook.
  • pnpm config get pnpmfile returns the new path; pnpm install --frozen-lockfile passes with pnpmfileChecksum unchanged.
  • The prepare script runs husky .config/husky, which sets core.hooksPath to .config/husky/_. A commit with a bare #NNN is rejected from the new location, and this branch was pushed through the moved pre-push hook. Clones that installed on an older commit keep pointing at .husky/_ until pnpm install runs again, and skip the hooks until then.
  • @zkochan/git-wt 0.0.13 (zkochan/git-wt PR 10) looks for .config/git-wt/pr-hook before .git-wt/pr-hook. With an older git-wt, git wt <pr> skips the hook until git-wt is upgraded and the shell re-runs git-wt init.
  • crate-layers check and its tests pass; pnpm run lint:meta and ts-test-scope.test.mjs pass.

Squash Commit Body

Move cspell.json, commitlint.config.cjs, .pnpmfile.cjs and
crate-layers.toml under .config/, the husky hooks under
.config/husky/, and the git-wt PR hook under .config/git-wt/:

- cspell finds .config/cspell.json on its own.
- The commit-msg hook already passes --config to commitlint.
- pnpm-workspace.yaml points the pnpmfile setting at
  .config/pnpm/pnpmfile.cjs.
- crate-layers reads .config/crate-layers.toml. It only reads the file
  from the working tree, so diffing against older commits is unaffected.

The prepare script now runs `husky .config/husky`, so core.hooksPath
points at .config/husky/_. Clones that last installed on an older
commit keep the old path until `pnpm install` reruns the prepare script.

`@zkochan/git-wt` 0.0.13 looks for .config/git-wt/pr-hook first; older
versions skip the hook until upgraded.

CI path filters, CODEOWNERS, the meta-updater cspell key, and the docs
that name these files are updated to match.

Checklist

  • Updated the documentation if needed.

Written by an agent (Claude Code, claude-opus-5-5).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated repository tooling and configuration locations. Commit checks and automated build and release workflows now use the updated setup.
  • Documentation
    • Refreshed contributor and setup guidance to reflect the updated locations for hooks and configuration.

Move cspell.json, commitlint.config.cjs, .pnpmfile.cjs and
crate-layers.toml under .config/:

- cspell finds .config/cspell.json on its own.
- The commit-msg hook already passes --config to commitlint.
- pnpm-workspace.yaml points the pnpmfile setting at
  .config/pnpm/pnpmfile.cjs.
- crate-layers reads .config/crate-layers.toml. It only reads the file
  from the working tree, so diffing against older commits is unaffected.

CI path filters, CODEOWNERS, the meta-updater cspell key, and the docs
that name these files are updated to match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

No actionable comments were generated in the recent review.

Walkthrough

The changes configure Husky and pnpm to use paths under .config. The crate-layers tool now reads .config/crate-layers.toml. Related documentation, ownership entries, tests, and CI filters reference the updated paths.

Changes: Repository configuration paths

Layer / File(s) Summary
Husky hook setup and paths
package.json, AGENTS.md, CONTRIBUTING.md, .config/husky/commit-msg, .husky/commit-msg, pnpm/scripts/pre-push-rust.sh
Husky now uses .config/husky. The commit-message hook runs the bare-reference and bare-mention checks before commitlint. Setup instructions and hook references use the updated paths.
pnpm configuration references
pnpm-workspace.yaml, .github/CODEOWNERS, .github/scripts/ts-test-scope.test.mjs, .github/workflows/ci.yml, .github/workflows/release.yml, .meta-updater/src/index.ts
The workspace sets .config/pnpm/pnpmfile.cjs as the pnpmfile. Ownership, tests, CI filters, release comments, and the cspell updater reference the relocated configuration files.
Crate-layers configuration path
pnpm/tasks/crate-layers/src/main.rs, .github/workflows/pacquet-ci.yml, pnpm/tasks/crate-layers/README.md, justfile
The crate-layers tool reads .config/crate-layers.toml. The Rust CI filter, README link, and justfile comment use that path.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested labels: product: pacquet

Suggested reviewers: qodo-code-review

Merge Risk: Low · up to bb8ce

The configuration files and hooks move under .config as intended. The contributor docs still tell people to run git wt <pr> and to pass an agent name such as codex. With the required git-wt version, the first form does not launch the PR review and the second always selects Claude. This does not affect the build or runtime, so the PR is mergeable once the docs are corrected.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between db99e07 and 684b36e.

Files selected for processing: 26

  • .config/commitlint.config.cjs
  • .config/crate-layers.toml
  • .config/cspell.json
  • .config/husky/.gitignore
  • .config/husky/commit-msg
  • .config/husky/pre-commit
  • .config/husky/pre-push
  • .config/husky/prepare-commit-msg
  • .config/husky/reject-bare-issue-refs.mjs
  • .config/husky/reject-bare-mentions.mjs
  • .config/pnpm/pnpmfile.cjs
  • .github/CODEOWNERS
  • .github/scripts/ts-test-scope.test.mjs
  • .github/workflows/ci.yml
  • .github/workflows/pacquet-ci.yml
  • .github/workflows/release.yml
  • .husky/commit-msg
  • .meta-updater/src/index.ts
  • AGENTS.md
  • CONTRIBUTING.md
  • justfile
  • package.json
  • pnpm-workspace.yaml
  • pnpm/scripts/pre-push-rust.sh
  • pnpm/tasks/crate-layers/README.md
  • pnpm/tasks/crate-layers/src/main.rs
Files with no reviewable changes: 1

  • .husky/commit-msg

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@garnet-runtime-review

garnet-runtime-review Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Nothing new recorded

1 job recorded · compared with the last 10 runs on main

TS CI / Test / ubuntu (24.0.0, 2) / Node 24 / chunk 2/3
 ↳ nothing new

Workload · last 10 runs on main → bb8ce9e

  systemd
  ├─ bash › bash › bash › bash › bash › bash
  │  ├─ bash
  │  │  ├─ gh
  │  │  │  └─ api.github[.]com
  │  │  ├─ node
  │  │  │  ├─ git
  │  │  │  │  ├─ git › git › git-remote-http
  │  │  │  │  │  └─ github[.]com
  │  │  │  │  └─ 192.168.127[.]1
  │  │  │  └─ pn
  │  │  │     ├─ dash › node › pn
  │  │  │     │  ├─ dash › pn › dash › pnpm › dash › node
  │  │  │     │  │  ├─ codeload.github[.]com
  │  │  │     │  │  └─ registry.npmjs[.]org
  │  │  │     │  └─ node
  │  │  │     │     ├─ codeload.github[.]com
  │  │  │     │     └─ registry.npmjs[.]org
  │  │  │     └─ nodejs[.]org
  │  │  └─ rustup
  │  │     └─ dualstack.k.sni.global.fastly[.]net
  │  └─ node
  │     ├─ pnpm
  │     │  ├─ dash › node › dash › node
  │     │  │  └─ nodejs[.]org
  │     │  ├─ git
  │     │  │  ├─ git › git › git-remote-http
  │     │  │  │  └─ github[.]com
  │     │  │  └─ 192.168.127[.]1
  │     │  ├─ dualstack.k.sni.global.fastly[.]net
  │     │  ├─ nodejs[.]org
  │     │  ├─ registry.npmjs[.]org
  │     │  └─ unofficial-builds.nodejs[.]org
  │     ├─ blacksmith.blob.core.windows[.]net
  │     └─ registry.npmjs[.]org
  └─ git
     └─ 192.168.127[.]1

  MainThread › pnpm
  ├─ dash › node › dash › node
  │  └─ nodejs[.]org
  └─ git
     └─ 192.168.127[.]1

  bash › MainThread › pn
  ├─ dash › node
  │  ├─ node › node
  │  │  ├─ dash › node
  │  │  │  └─ registry.npmjs[.]org
  │  │  ├─ git
  │  │  │  ├─ git › git › git-remote-http
  │  │  │  │  └─ github[.]com
  │  │  │  └─ 192.168.127[.]1
  │  │  ├─ pnpr
  │  │  │  └─ registry.npmjs[.]org
  │  │  ├─ codeload.github[.]com
  │  │  ├─ github[.]com
  │  │  ├─ nodejs[.]org
  │  │  ├─ registry.npmjs[.]org
  │  │  └─ unofficial-builds.nodejs[.]org
  │  └─ pn
  │     ├─ dash › node
  │     │  └─ registry.npmjs[.]org
  │     └─ node
  │        ├─ dash › dash › node
  │        │  └─ nodejs[.]org
  │        ├─ git
  │        │  ├─ git › git › git-remote-http
  │        │  │  └─ github[.]com
  │        │  └─ 192.168.127[.]1
  │        ├─ node
  │        │  ├─ git › git
  │        │  │  ├─ git-remote-http
  │        │  │  │  └─ github[.]com
  │        │  │  └─ 192.168.127[.]1
  │        │  ├─ node
  │        │  │  └─ registry.npmjs[.]org
  │        │  ├─ codeload.github[.]com
  │        │  ├─ github[.]com
  │        │  ├─ registry.npmjs[.]org
  │        │  └─ unofficial-builds.nodejs[.]org
  │        ├─ pnpr
  │        │  └─ registry.npmjs[.]org
  │        ├─ codeload.github[.]com
  │        ├─ github[.]com
  │        ├─ nodejs[.]org
  │        ├─ npm.jsr[.]io
  │        ├─ pnpm[.]io (1 of the last 9 main runs)
  │        └─ unofficial-builds.nodejs[.]org
  └─ nodejs[.]org

  node › node
  └─ registry.npmjs[.]org

Runner & GitHub's own traffic · blacksmith-8vcpu-ubuntu-2404 · Linux x86_64

  node
  └─ productionresultssa17.blob.core[.]windows (github infra)

  MainThread
  └─ productionresultssa17.blob.core[.]windows (github infra)

  systemd
  ├─ chronyd
  │  ├─ 104.232.0[.]123
  │  ├─ 134.195.187[.]1
  │  ├─ 169[.]254[.]169[.]123
  │  ├─ 185.125.190[.]56
  │  ├─ 185.125.190[.]57
  │  ├─ 185.125.190[.]58
  │  ├─ 204.2.134[.]173
  │  ├─ 216.229.4[.]66
  │  ├─ 216.66.48[.]42
  │  ├─ 23.93.251[.]54
  │  ├─ 50.43.156[.]177
  │  ├─ 66.118.229[.]14
  │  └─ 91.189.91[.]157
  ├─ nginx › nginx
  │  ├─ 140.82.112[.]21
  │  ├─ 140.82.112[.]22
  │  ├─ 140.82.113[.]21
  │  ├─ 140.82.113[.]22
  │  ├─ 140.82.114[.]21
  │  ├─ 140.82.114[.]22
  │  ├─ 192.168.127[.]1
  │  └─ 8.8.8[.]8
  ├─ snapd
  │  └─ api.snapcraft[.]io
  ├─ sudo
  │  ├─ sudo
  │  │  └─ 192.168.127[.]1
  │  └─ blacksmithd
  │     └─ 192.168.127[.]1
  └─ systemd-resolve
     └─ 8.8.8[.]8

Job log · Full record in Garnet ↗

1 job ran at the nearest recorded commit on main, not on this commit

Tag / tag-in-registry

How to read this
bash › curl                 ← ancestry as captured, then the process that acted
└─ example[.]com            ← what it reached

Read down: what ran, then what it reached. + only in this commit · − only in the compared run · unmarked in both. Runner & GitHub's own traffic is activity outside your steps and never counts. Recorded at the kernel, best-effort capture. · Docs ↗

Recorded by Garnet · Add it to your CI ↗

The prepare script now runs `husky .config/husky`, which points
core.hooksPath at .config/husky/_. Clones that last installed on an
older commit keep the old .husky/_ path until `pnpm install` reruns the
prepare script.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@zkochan zkochan changed the title chore: move more repo config files into .config chore: move more repo config files and the husky hooks into .config Nov 15, 2026
@github-actions

github-actions Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Micro-Benchmark Results

Linux

group                                            main                                   pr
-----                                            ----                                   --
lockfile/parse_pnpm_lock                         1.00      4.2±0.38ms    89.5 MB/sec    1.05      4.4±0.32ms    85.3 MB/sec
packument/parse                                  1.02     46.5±1.86µs  1426.0 MB/sec    1.00     45.7±1.81µs  1452.3 MB/sec
tarball/download_dependency                      1.00  935.8±148.42µs     4.5 MB/sec    1.08  1008.8±142.53µs     4.2 MB/sec
tarball_batch/cold_store_many_medium_tarballs    1.00    228.6±2.42ms 70.0 KElem/sec    1.03   235.6±10.49ms 67.9 KElem/sec
version_pick/repeated_ranges_file                1.00      5.2±0.27ms  6.0 KElem/sec    1.08      5.6±0.27ms  5.6 KElem/sec
version_pick/repeated_ranges_raw                 1.00      5.1±0.13ms  6.1 KElem/sec    1.08      5.5±0.17ms  5.6 KElem/sec
version_pick/wildcard_lowest                     1.00     45.9±1.88µs 21.3 KElem/sec    1.02     46.7±1.74µs 20.9 KElem/sec
workspace_resolution/hoist_heavy                 1.00   314.3±20.20ms        ? ?/sec    1.02   320.2±19.45ms        ? ?/sec
workspace_sort/chained_projects                  1.09     18.4±3.26ms        ? ?/sec    1.00     16.9±1.58ms        ? ?/sec

@github-actions

Copy link
Copy Markdown
Contributor

Same-run regression check

HEAD and main are measured on the same runner. The tolerance is 5% of the main median or 2 ms, whichever is larger. A regression requires both the median slowdown and the gap between the fastest retained HEAD sample and slowest retained main sample to exceed this tolerance, after trimming up to 10% from each tail. Suspected regressions are rerun once with target order reversed and only fail if reproduced. This conservative noise guard is not a statistical confidence interval.

Inconclusive rows do not fail the check. They remain visible for performance review. Bencher retains absolute minimum timings for historical tracking; historical alerts do not gate this PR. Sequential measurements can still be affected by runner drift.

Scenario Engine main median HEAD median Change Tolerance Result
isolated-fresh-restore-cold-cache-cold-store pacquet 2448.70 ms 2443.69 ms -0.2% 122.44 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store pnpr 1414.65 ms 1398.81 ms -1.1% 70.73 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet 267.86 ms 269.99 ms 0.8% 13.39 ms Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr 277.00 ms 283.03 ms 2.2% 13.85 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pacquet 12.67 ms 13.56 ms 7.0% 2.00 ms Within tolerance
isolated-repeat-install-hot-cache-hot-store pnpr 11.92 ms 11.58 ms -2.9% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet 10.52 ms 11.15 ms 6.0% 2.00 ms Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr 10.80 ms 10.48 ms -3.0% 2.00 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet 2560.31 ms 2548.97 ms -0.4% 128.02 ms Within tolerance
isolated-fresh-install-cold-cache-cold-store pnpr 1528.17 ms 1547.99 ms 1.3% 76.41 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet 501.87 ms 521.40 ms 3.9% 25.09 ms Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr 309.38 ms 302.38 ms -2.3% 15.47 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet 1601.90 ms 1605.51 ms 0.2% 80.09 ms Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr 256.56 ms 266.95 ms 4.0% 12.83 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pacquet 266.68 ms 267.49 ms 0.3% 13.33 ms Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr 92.90 ms 92.18 ms -0.8% 4.64 ms Within tolerance
isolated-peer-heavy-resolve-hot-cache-offline pacquet 210.84 ms 200.83 ms -4.7% 10.54 ms Within tolerance
isolated-linked-workspace-resolve-hot-cache-offline pacquet 86.67 ms 92.72 ms 7.0% 4.33 ms Inconclusive (overlapping samples)
isolated-injected-workspace-repeat-install-hot-cache-hot-store pacquet 90.11 ms 90.79 ms 0.8% 4.51 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet 4405.96 ms 4413.45 ms 0.2% 220.30 ms Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr 3497.59 ms 3468.52 ms -0.8% 174.88 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet 111.23 ms 112.26 ms 0.9% 5.56 ms Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr 122.13 ms 120.36 ms -1.5% 6.11 ms Within tolerance
store-only-unlocked-direct-deps-cold-cache-hot-store pacquet 1244.69 ms 1245.87 ms 0.1% 62.23 ms Within tolerance
cargo-repeat-install-hot-cache-hot-store pacquet 32.27 ms 33.79 ms 4.7% 2.00 ms Within tolerance

Same-run syscall check

Each install runs 2 more times per revision, untimed, under strace --follow-forks --summary-only. A file syscall regresses when HEAD's fewest calls exceed main's most by more than 2% of main or 50 calls, whichever is larger. mkdir and mkdirat count only the calls that created a directory, since concurrent installs fail a varying number with EEXIST. A syscall whose identical runs differ by more than that tolerance is reported unstable and not gated, unless HEAD's fewest calls also exceed main's most by more than the tolerance plus that difference. Each scenario lists its largest change relative to its tolerance and every row that is not within tolerance.

Scenario Engine Syscall main calls (max) HEAD calls (min) Change Tolerance Identical-run spread Result
isolated-fresh-restore-cold-cache-cold-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-cold-cache-cold-store pacquet rename 2775 2712 -2.3% 55 63 Unstable (identical runs differ by 63, not gated)
isolated-fresh-restore-cold-cache-cold-store pnpr ioctl 22 24 +9.1% 50 11 Within tolerance
isolated-fresh-restore-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-repeat-install-hot-cache-hot-store pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-hot-cache-hot-store pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-cold-cache-hot-store pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-repeat-install-cold-cache-hot-store pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-cold-store pacquet readlink 16495 16235 -1.6% 329 377 Unstable (identical runs differ by 377, not gated)
isolated-fresh-install-cold-cache-cold-store pnpr symlink 3884 3886 +0.1% 77 2 Within tolerance
isolated-fresh-install-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-install-cold-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-resolve-hot-cache-offline pacquet openat 2928 2938 +0.3% 58 7 Within tolerance
isolated-fresh-resolve-hot-cache-offline pnpr access 8 8 +0.0% 50 0 Within tolerance
isolated-peer-heavy-resolve-hot-cache-offline pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-linked-workspace-resolve-hot-cache-offline pacquet access 8 8 +0.0% 50 0 Within tolerance
isolated-injected-workspace-repeat-install-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet ioctl 12 24 +100.0% 50 2 Within tolerance
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pacquet newfstatat 301 261 -13.3% 50 65 Unstable (identical runs differ by 65, not gated)
isolated-fresh-restore-cold-cache-cold-store-cold-pnpr pnpr access 11 11 +0.0% 50 0 Within tolerance
gvs-fresh-restore-hot-cache-hot-store pacquet access 11 11 +0.0% 50 0 Within tolerance
gvs-fresh-restore-hot-cache-hot-store pnpr access 11 11 +0.0% 50 0 Within tolerance
store-only-unlocked-direct-deps-cold-cache-hot-store pacquet access 8 8 +0.0% 50 0 Within tolerance
cargo-repeat-install-hot-cache-hot-store pacquet access 10 10 +0.0% 50 0 Within tolerance

Integrated-Benchmark Report (Linux)

Commit: 684b36ebfc83

Compared against main at: db99e072fd26

Regular scenarios report direct and pnpr installs. The peer-heavy resolver scenario compares current Rust, main Rust, and TypeScript pnpm; the linked, injected, and Cargo workspace scenarios compare current Rust against main Rust. Bencher consumes pacquet@HEAD and pnpr@HEAD.

The tables below show mean ± σ. Bencher tracks absolute minimum latency; PR regression checks compare HEAD and main samples from the same runner. Historical timing alerts do not gate PRs.

Scenario: Isolated linker: fresh restore, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.465 ± 0.103 2.296 2.646 1.73 ± 0.17
pacquet@main 2.417 ± 0.107 2.257 2.529 1.69 ± 0.17
pnpr@HEAD 1.428 ± 0.127 1.266 1.646 1.00
pnpr@main 1.432 ± 0.074 1.352 1.556 1.00 ± 0.10
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.46504820492,
      "stddev": 0.10263475941723582,
      "median": 2.44369098702,
      "user": 2.04751898,
      "system": 1.5124456199999998,
      "min": 2.29585103002,
      "max": 2.6458492860200002
    },
    {
      "command": "pacquet@main",
      "mean": 2.41712803992,
      "stddev": 0.10736959443116736,
      "median": 2.44870000302,
      "user": 1.9826500799999998,
      "system": 1.53488732,
      "min": 2.25674157702,
      "max": 2.52885210202
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.4276334016199999,
      "stddev": 0.12655457138455253,
      "median": 1.39880969002,
      "user": 1.9892538800000001,
      "system": 1.4003411199999998,
      "min": 1.26612231102,
      "max": 1.64572007502
    },
    {
      "command": "pnpr@main",
      "mean": 1.43188304032,
      "stddev": 0.07357853755286699,
      "median": 1.41464974702,
      "user": 1.9564125799999998,
      "system": 1.49224972,
      "min": 1.35214128902,
      "max": 1.55596492802
    }
  ]
}

Scenario: Isolated linker: fresh restore, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 278.2 ± 22.4 253.6 327.0 1.05 ± 0.09
pacquet@main 266.0 ± 9.2 251.2 281.3 1.00
pnpr@HEAD 282.4 ± 13.1 255.1 299.2 1.06 ± 0.06
pnpr@main 276.5 ± 11.9 254.1 298.5 1.04 ± 0.06
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.2782184414200001,
      "stddev": 0.022418000452633157,
      "median": 0.26999262392,
      "user": 0.30590406,
      "system": 0.6658960199999999,
      "min": 0.25364114942000004,
      "max": 0.32695605042000003
    },
    {
      "command": "pacquet@main",
      "mean": 0.2660009138200001,
      "stddev": 0.009227456111282412,
      "median": 0.26786171092000005,
      "user": 0.31638565999999996,
      "system": 0.6187221199999999,
      "min": 0.25116164442000005,
      "max": 0.28127805042000004
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.28237041482,
      "stddev": 0.013138648000966547,
      "median": 0.28302867442,
      "user": 0.31497176,
      "system": 0.62200842,
      "min": 0.25505714142,
      "max": 0.29924363842
    },
    {
      "command": "pnpr@main",
      "mean": 0.27647425272000004,
      "stddev": 0.011905379055536243,
      "median": 0.2770000624200001,
      "user": 0.31646756,
      "system": 0.62213252,
      "min": 0.25413573342,
      "max": 0.29848635842000004
    }
  ]
}

Scenario: Isolated linker: repeat install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 13.6 ± 1.5 9.9 18.2 1.16 ± 0.19
pacquet@main 12.7 ± 1.5 9.9 16.4 1.08 ± 0.19
pnpr@HEAD 11.7 ± 1.5 8.6 17.6 1.00
pnpr@main 12.1 ± 1.7 9.1 20.3 1.03 ± 0.20
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.013592621923696679,
      "stddev": 0.0014690052618969247,
      "median": 0.013560045900000001,
      "user": 0.007706593364928911,
      "system": 0.007083838672985779,
      "min": 0.009878580900000001,
      "max": 0.0182064799
    },
    {
      "command": "pacquet@main",
      "mean": 0.012703099042857149,
      "stddev": 0.0014602032249077552,
      "median": 0.012669568400000001,
      "user": 0.007672460504201683,
      "system": 0.00613111361344538,
      "min": 0.0099457859,
      "max": 0.0164198849
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.01174987498597285,
      "stddev": 0.0014973456977800345,
      "median": 0.011582178900000002,
      "user": 0.006856516742081451,
      "system": 0.005973440180995477,
      "min": 0.008633844900000002,
      "max": 0.017634482899999998
    },
    {
      "command": "pnpr@main",
      "mean": 0.012147007024999993,
      "stddev": 0.0017010981964763654,
      "median": 0.011924915400000001,
      "user": 0.007179283333333335,
      "system": 0.006101659629629626,
      "min": 0.009147090900000002,
      "max": 0.0203101449
    }
  ]
}

Scenario: Isolated linker: repeat install, cold cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 11.5 ± 1.6 9.0 18.3 1.09 ± 0.20
pacquet@main 11.1 ± 2.0 8.4 20.0 1.05 ± 0.23
pnpr@HEAD 10.6 ± 1.3 8.0 15.1 1.00
pnpr@main 11.0 ± 1.6 8.1 18.0 1.04 ± 0.20
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.011539749547536237,
      "stddev": 0.0015672567892024384,
      "median": 0.011148013120000001,
      "user": 0.006736084927536231,
      "system": 0.005773556376811595,
      "min": 0.00902104112,
      "max": 0.01833338012
    },
    {
      "command": "pacquet@main",
      "mean": 0.011084443051707322,
      "stddev": 0.0020342124770094967,
      "median": 0.01051548212,
      "user": 0.0064528476097560974,
      "system": 0.005595185073170732,
      "min": 0.00835116112,
      "max": 0.019988632120000002
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.010585946220775194,
      "stddev": 0.0013113284659573249,
      "median": 0.010478393620000002,
      "user": 0.006461974883720927,
      "system": 0.00507993209302325,
      "min": 0.007973711120000001,
      "max": 0.015138990120000001
    },
    {
      "command": "pnpr@main",
      "mean": 0.010964074393584896,
      "stddev": 0.0015932080222435556,
      "median": 0.01080149062,
      "user": 0.006245873962264147,
      "system": 0.005720798396226412,
      "min": 0.00814371212,
      "max": 0.01795452712
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + cold store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 2.573 ± 0.066 2.519 2.738 1.63 ± 0.14
pacquet@main 2.564 ± 0.022 2.537 2.599 1.63 ± 0.14
pnpr@HEAD 1.576 ± 0.131 1.407 1.787 1.00
pnpr@main 1.579 ± 0.117 1.434 1.759 1.00 ± 0.11
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 2.5727644408199994,
      "stddev": 0.06568333193453846,
      "median": 2.54896544932,
      "user": 2.2306198999999998,
      "system": 1.5876008799999999,
      "min": 2.51860260732,
      "max": 2.73832715632
    },
    {
      "command": "pacquet@main",
      "mean": 2.56376887032,
      "stddev": 0.02202072085712052,
      "median": 2.5603094623200002,
      "user": 2.2125817,
      "system": 1.5457683799999997,
      "min": 2.53683548732,
      "max": 2.59896714232
    },
    {
      "command": "pnpr@HEAD",
      "mean": 1.5755009588200002,
      "stddev": 0.13096838727969248,
      "median": 1.54799392832,
      "user": 1.9123002,
      "system": 1.62592048,
      "min": 1.40745611232,
      "max": 1.78684333532
    },
    {
      "command": "pnpr@main",
      "mean": 1.5789005795199997,
      "stddev": 0.11690356995291397,
      "median": 1.52816699832,
      "user": 1.8789102999999998,
      "system": 1.5264554800000003,
      "min": 1.43408630332,
      "max": 1.75936705732
    }
  ]
}

Scenario: Isolated linker: fresh install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 528.2 ± 29.9 488.9 574.9 1.75 ± 0.11
pacquet@main 507.7 ± 20.7 481.3 558.7 1.68 ± 0.09
pnpr@HEAD 302.4 ± 9.5 286.3 322.2 1.00
pnpr@main 310.3 ± 9.5 292.7 330.5 1.03 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.5281654328600001,
      "stddev": 0.029896344967902107,
      "median": 0.52140046896,
      "user": 0.7496324,
      "system": 1.1171449,
      "min": 0.48889957746,
      "max": 0.5749391474600001
    },
    {
      "command": "pacquet@main",
      "mean": 0.5076788882600001,
      "stddev": 0.02069866487479011,
      "median": 0.50186640896,
      "user": 0.7099975000000001,
      "system": 1.0942322,
      "min": 0.48129411746,
      "max": 0.5587200694600001
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.30240639096,
      "stddev": 0.009544245757658984,
      "median": 0.30237877096,
      "user": 0.29041739999999994,
      "system": 0.5679283,
      "min": 0.28625240446,
      "max": 0.32223117346
    },
    {
      "command": "pnpr@main",
      "mean": 0.31028564376,
      "stddev": 0.009469548065337143,
      "median": 0.30938466346000004,
      "user": 0.28557029999999994,
      "system": 0.5997207,
      "min": 0.29271501446,
      "max": 0.33050377946
    }
  ]
}

Scenario: Isolated linker: fresh install, cold cache + hot store

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.604 ± 0.017 1.566 1.625 6.22 ± 0.13
pacquet@main 1.599 ± 0.015 1.576 1.616 6.20 ± 0.12
pnpr@HEAD 0.268 ± 0.006 0.262 0.279 1.04 ± 0.03
pnpr@main 0.258 ± 0.005 0.252 0.266 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.60425836288,
      "stddev": 0.017291220753948924,
      "median": 1.60551208788,
      "user": 0.72296352,
      "system": 0.7633069599999999,
      "min": 1.5658125568799999,
      "max": 1.62499998588
    },
    {
      "command": "pacquet@main",
      "mean": 1.5989996289800001,
      "stddev": 0.01521227477332507,
      "median": 1.60189582288,
      "user": 0.7142629199999999,
      "system": 0.77384506,
      "min": 1.57561175188,
      "max": 1.61620411888
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.26845058598000004,
      "stddev": 0.006292343654277215,
      "median": 0.26695132038,
      "user": 0.22855861999999996,
      "system": 0.49944066,
      "min": 0.26179293088000005,
      "max": 0.27913239188000005
    },
    {
      "command": "pnpr@main",
      "mean": 0.25801234838000003,
      "stddev": 0.004551401418523312,
      "median": 0.2565627838800001,
      "user": 0.21991391999999993,
      "system": 0.49799086,
      "min": 0.25166541888000005,
      "max": 0.26569497588
    }
  ]
}

Scenario: Isolated linker: fresh resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 264.5 ± 17.8 238.1 306.2 2.86 ± 0.20
pacquet@main 263.9 ± 11.6 241.3 277.8 2.86 ± 0.14
pnpr@HEAD 92.4 ± 2.2 89.2 97.1 1.00
pnpr@main 94.0 ± 4.4 86.9 105.4 1.02 ± 0.05
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.26448765276181824,
      "stddev": 0.017784629070952577,
      "median": 0.26749346758000003,
      "user": 0.26901190909090905,
      "system": 0.1788111,
      "min": 0.23812365258000004,
      "max": 0.30623447658
    },
    {
      "command": "pacquet@main",
      "mean": 0.26389674098000004,
      "stddev": 0.011649840032077271,
      "median": 0.26667637108000003,
      "user": 0.28120690000000004,
      "system": 0.1678578,
      "min": 0.24130539758000003,
      "max": 0.27779363258
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.09239636503161289,
      "stddev": 0.0022022874510872824,
      "median": 0.09217507158,
      "user": 0.03963541935483871,
      "system": 0.01684670967741935,
      "min": 0.08915220658,
      "max": 0.09712195758
    },
    {
      "command": "pnpr@main",
      "mean": 0.09400347399379312,
      "stddev": 0.004351962904151993,
      "median": 0.09289571158,
      "user": 0.03979279310344828,
      "system": 0.019032824137931028,
      "min": 0.08691711258,
      "max": 0.10544870058
    }
  ]
}

Scenario: Isolated linker: peer-heavy resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 199.3 ± 8.7 188.4 213.3 1.00
pacquet@main 211.4 ± 13.5 197.1 240.2 1.06 ± 0.08
pnpm@HEAD 3764.0 ± 164.1 3554.2 4010.5 18.89 ± 1.16
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.1992863197577778,
      "stddev": 0.00865511266684293,
      "median": 0.20083115598,
      "user": 0.2182691422222222,
      "system": 0.03776483555555556,
      "min": 0.18835308398000003,
      "max": 0.21334104698000003
    },
    {
      "command": "pacquet@main",
      "mean": 0.21142884909111112,
      "stddev": 0.013506816461837582,
      "median": 0.21084158198000003,
      "user": 0.23518314222222225,
      "system": 0.03789027999999999,
      "min": 0.19713155998,
      "max": 0.24017436498000003
    },
    {
      "command": "pnpm@HEAD",
      "mean": 3.7640365400911104,
      "stddev": 0.16412517004845262,
      "median": 3.7934814809799997,
      "user": 5.650472031111111,
      "system": 0.34841339111111114,
      "min": 3.55420606598,
      "max": 4.01051667898
    }
  ]
}

Scenario: Isolated linker: linked-workspace resolve, hot cache, offline

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 91.5 ± 7.9 80.2 106.0 1.02 ± 0.12
pacquet@main 89.4 ± 7.1 81.5 108.2 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.09148971932125,
      "stddev": 0.007878738087925472,
      "median": 0.09272104304,
      "user": 0.09407746500000003,
      "system": 0.041325366249999995,
      "min": 0.08020538154000001,
      "max": 0.10603417454000001
    },
    {
      "command": "pacquet@main",
      "mean": 0.08936088186258065,
      "stddev": 0.007081781345079186,
      "median": 0.08667390054,
      "user": 0.09054035612903229,
      "system": 0.044934556774193536,
      "min": 0.08149848154,
      "max": 0.10817572454
    }
  ]
}

Scenario: Isolated linker: injected workspace repeat install, hot cache + hot store

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 92.8 ± 6.0 87.8 114.6 1.02 ± 0.08
pacquet@main 90.6 ± 3.9 85.5 106.2 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.0928313315051613,
      "stddev": 0.006032066922667595,
      "median": 0.09079092386000001,
      "user": 0.031890106451612894,
      "system": 0.07083229419354838,
      "min": 0.08775950286,
      "max": 0.11461598186000001
    },
    {
      "command": "pacquet@main",
      "mean": 0.09064183026624999,
      "stddev": 0.003931981359403324,
      "median": 0.09011310886,
      "user": 0.03082733125,
      "system": 0.06912855124999998,
      "min": 0.08545678286000001,
      "max": 0.10622897986
    }
  ]
}

Scenario: Isolated linker: fresh restore, cold cache + cold store + cold pnpr

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 4.484 ± 0.175 4.353 4.817 1.29 ± 0.05
pacquet@main 4.467 ± 0.140 4.362 4.729 1.28 ± 0.05
pnpr@HEAD 3.494 ± 0.101 3.410 3.757 1.00 ± 0.03
pnpr@main 3.483 ± 0.061 3.404 3.588 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 4.484402621700001,
      "stddev": 0.17474975406154986,
      "median": 4.4134506458,
      "user": 1.8503304399999998,
      "system": 1.31346094,
      "min": 4.3528876488,
      "max": 4.8172808648
    },
    {
      "command": "pacquet@main",
      "mean": 4.467496928000001,
      "stddev": 0.13957719684761252,
      "median": 4.4059628353,
      "user": 1.8462554399999997,
      "system": 1.3399318399999998,
      "min": 4.3615819128,
      "max": 4.7290681618
    },
    {
      "command": "pnpr@HEAD",
      "mean": 3.4939520439999994,
      "stddev": 0.10139495924168333,
      "median": 3.4685201988,
      "user": 1.77340464,
      "system": 1.25719794,
      "min": 3.4096237668,
      "max": 3.7571762168
    },
    {
      "command": "pnpr@main",
      "mean": 3.4832935948999997,
      "stddev": 0.06074968482945305,
      "median": 3.4975880418000003,
      "user": 1.7407341399999996,
      "system": 1.30157124,
      "min": 3.4036721388,
      "max": 3.5876406008
    }
  ]
}

Scenario: GVS linker: fresh restore, hot cache + hot store

Same install as the isolated fresh-restore hot/hot scenario, into the shared virtual store, the layout pnpm 12 installs into by default. Scenarios run on separate machines, so compare main and branch within each table.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 112.5 ± 3.2 107.5 119.2 1.00
pacquet@main 112.9 ± 6.6 105.4 138.2 1.00 ± 0.07
pnpr@HEAD 121.6 ± 3.0 116.7 128.5 1.08 ± 0.04
pnpr@main 122.2 ± 2.3 117.1 127.2 1.09 ± 0.04
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.11247998121818183,
      "stddev": 0.003210331904048591,
      "median": 0.11225957190000002,
      "user": 0.1483763981818182,
      "system": 0.14088731818181818,
      "min": 0.1075156034,
      "max": 0.11921410240000001
    },
    {
      "command": "pacquet@main",
      "mean": 0.11290228874782611,
      "stddev": 0.006588408519329668,
      "median": 0.11122510640000001,
      "user": 0.15400566695652176,
      "system": 0.13787973913043478,
      "min": 0.10544566840000001,
      "max": 0.1382124274
    },
    {
      "command": "pnpr@HEAD",
      "mean": 0.12161772463809528,
      "stddev": 0.002961257541529291,
      "median": 0.12036034840000001,
      "user": 0.15704229428571428,
      "system": 0.13994866666666667,
      "min": 0.11668855840000002,
      "max": 0.12851322240000002
    },
    {
      "command": "pnpr@main",
      "mean": 0.12220030063809524,
      "stddev": 0.002295298407225188,
      "median": 0.12213129140000001,
      "user": 0.16062953238095237,
      "system": 0.13644742857142855,
      "min": 0.11706760240000001,
      "max": 0.1271508184
    }
  ]
}

Scenario: Store only: unlocked direct deps, cold cache + hot store

Store-only install (enableModulesDir: false, per-file store index, trusted lockfile) against a lockfile missing the direct dependencies that have peers, with the metadata cache wiped per iteration: the install resolves those from the registry, reuses their subtrees from the lockfile and checks the store, linking nothing. Direct installs only.

Command Mean [s] Min [s] Max [s] Relative
pacquet@HEAD 1.231 ± 0.040 1.132 1.263 1.00
pacquet@main 1.238 ± 0.058 1.153 1.330 1.01 ± 0.06
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 1.2313382406600002,
      "stddev": 0.040108206264703086,
      "median": 1.24587168036,
      "user": 0.5420145999999999,
      "system": 0.22916372,
      "min": 1.13198796286,
      "max": 1.26323969286
    },
    {
      "command": "pacquet@main",
      "mean": 1.2378375365600003,
      "stddev": 0.05823978299786668,
      "median": 1.2446874973600002,
      "user": 0.5801912,
      "system": 0.23771551999999999,
      "min": 1.15291214786,
      "max": 1.33000541186
    }
  ]
}

Scenario: Cargo: repeat install, hot cache + hot store

Frozen repeat install of a Cargo workspace (cargo.enabled: true) whose crates are already materialized in <storeDir>/v11/crates/ and linked into .pnpm/crates/crates-io. Direct installs only.

Command Mean [ms] Min [ms] Max [ms] Relative
pacquet@HEAD 33.9 ± 2.3 29.4 41.3 1.03 ± 0.10
pacquet@main 32.8 ± 2.4 28.8 38.7 1.00
BENCHMARK_REPORT.json
{
  "results": [
    {
      "command": "pacquet@HEAD",
      "mean": 0.033886950267234046,
      "stddev": 0.0022762843814294696,
      "median": 0.03378696448,
      "user": 0.025149065531914906,
      "system": 0.02065836765957446,
      "min": 0.029417168480000002,
      "max": 0.04128238448
    },
    {
      "command": "pacquet@main",
      "mean": 0.0327975713688889,
      "stddev": 0.0023691410365747323,
      "median": 0.03227021948,
      "user": 0.023914095555555563,
      "system": 0.020518006666666675,
      "min": 0.02884698548,
      "max": 0.03867842548000001
    }
  ]
}

@codecov-commenter

codecov-commenter commented Nov 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.04%. Comparing base (db99e07) to head (bb8ce9e).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #18137   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files        2420     2420           
  Lines      304792   304792           
=======================================
+ Hits       280532   280537    +5     
+ Misses      24260    24255    -5     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zkochan
zkochan marked this pull request as ready for review November 15, 2026 21:27
@qodo-code-review

Copy link
Copy Markdown

PR Summary by Qodo

Consolidate repository configs and Husky hooks under .config

⚙️ Configuration changes 📝 Documentation 🕐 20-40 Minutes

Grey Divider

AI Description

• Move four repository configs and Husky hooks into .config/ to reduce root-level clutter.
• Redirect pnpm, hook installation, commitlint, and crate-layers to their new paths.
• Update CI filters, ownership, tests, tooling, and documentation to preserve existing checks.
Diagram

graph TD
  PNPM(["pnpm workspace"]) --> CFG[".config files"] --> PF["pnpmfile"]
  PREP(["prepare script"]) --> CFG --> HOOKS["Husky hooks"]
  CRATE(["crate-layers CLI"]) --> CFG
  CI(["CI and updater"]) --> CFG --> SPELL["cspell config"]
Loading
High-Level Assessment

Keep the explicit path changes: they preserve each tool's existing behavior without adding a wrapper or changing its configuration format. Leaving configs at the root would avoid path maintenance but would not achieve the consolidation; moving root-discovery-only configs would risk editor or CI support.

Files changed (25) +24 / -19

Tests (1) +1 / -1
ts-test-scope.test.mjsTest the relocated pnpmfile as a global input +1/-1

Test the relocated pnpmfile as a global input

• Changes the test fixture path so a pnpmfile change still requires the full TypeScript test scope.

.github/scripts/ts-test-scope.test.mjs

Documentation (6) +11 / -11
release.ymlCorrect the release workflow's pnpmfile reference +1/-1

Correct the release workflow's pnpmfile reference

• Updates the comment describing pnpmfile packing behavior to name its new location.

.github/workflows/release.yml

AGENTS.mdDocument relocated hook installation +6/-6

Document relocated hook installation

• Updates hook installation, verification, and commit-message validation instructions to use '.config/husky/'.

AGENTS.md

CONTRIBUTING.mdCorrect worktree hook setup +1/-1

Correct worktree hook setup

• Changes the documented 'core.hooksPath' for worktrees to '.config/husky/_'.

CONTRIBUTING.md

justfileCorrect the crate-layers recipe reference +1/-1

Correct the crate-layers recipe reference

• Updates the recipe comment to name the relocated crate-layer rules.

justfile

pre-push-rust.shCorrect the Rust pre-push script's hook reference +1/-1

Correct the Rust pre-push script's hook reference

• Updates its invocation comment to name '.config/husky/pre-push'.

pnpm/scripts/pre-push-rust.sh

README.mdLink to the relocated crate-layer rules +1/-1

Link to the relocated crate-layer rules

• Updates the README link and display path for '.config/crate-layers.toml'.

pnpm/tasks/crate-layers/README.md

Other (18) +12 / -7
commitlint.config.cjsRelocate commitlint configuration +0/-0

Relocate commitlint configuration

• Moves the existing Conventional Commits configuration from the repository root; the relocated commit-message hook supplies its new path.

.config/commitlint.config.cjs

crate-layers.tomlRelocate crate-layer rules +0/-0

Relocate crate-layer rules

• Moves the existing Rust crate-layer rules under '.config/' for the crate-layers tool to read.

.config/crate-layers.toml

cspell.jsonRelocate spelling configuration +0/-0

Relocate spelling configuration

• Moves the existing cspell dictionary and ignore rules under '.config/'.

.config/cspell.json

.gitignoreKeep Husky-generated files ignored +0/-0

Keep Husky-generated files ignored

• Moves the hook-directory ignore rule alongside the relocated Husky hooks.

.config/husky/.gitignore

commit-msgRun commit-message checks from the new hook directory +3/-0

Run commit-message checks from the new hook directory

• Invokes the relocated bare-reference and mention checks, then passes the relocated config explicitly to commitlint.

.config/husky/commit-msg

pre-commitRelocate the pre-commit hook +0/-0

Relocate the pre-commit hook

• Moves the existing branch-safety and staged-Rust-formatting hook into '.config/husky/'.

.config/husky/pre-commit

pre-pushRelocate the pre-push hook +0/-0

Relocate the pre-push hook

• Moves the existing change-sensitive TypeScript and Rust checks into '.config/husky/'.

.config/husky/pre-push

prepare-commit-msgRelocate the commit-preparation hook +0/-0

Relocate the commit-preparation hook

• Moves the existing amend-prevention check into '.config/husky/'.

.config/husky/prepare-commit-msg

reject-bare-issue-refs.mjsRelocate the bare-issue-reference check +0/-0

Relocate the bare-issue-reference check

• Moves the existing commit-message validation script to the path used by the new hook.

.config/husky/reject-bare-issue-refs.mjs

reject-bare-mentions.mjsRelocate the bare-mention check +0/-0

Relocate the bare-mention check

• Moves the existing commit-message mention validation script to the path used by the new hook.

.config/husky/reject-bare-mentions.mjs

pnpmfile.cjsRelocate pnpm package hooks +0/-0

Relocate pnpm package hooks

• Moves the existing pnpmfile under '.config/pnpm/'; the workspace setting points pnpm to it.

.config/pnpm/pnpmfile.cjs

CODEOWNERSPreserve pnpmfile ownership +1/-1

Preserve pnpmfile ownership

• Transfers the pnpmfile ownership rule to its new path.

.github/CODEOWNERS

ci.ymlTrack relocated configs in TypeScript CI +2/-2

Track relocated configs in TypeScript CI

• Updates path filters for the pnpmfile and cspell configuration so changes at their new locations trigger the relevant CI scope.

.github/workflows/ci.yml

pacquet-ci.ymlTrack relocated crate-layer rules in Rust CI +1/-1

Track relocated crate-layer rules in Rust CI

• Updates the Pacquet workflow filter to recognize changes to '.config/crate-layers.toml'.

.github/workflows/pacquet-ci.yml

index.tsSort words in the relocated cspell config +1/-1

Sort words in the relocated cspell config

• Changes the meta-updater input key so it continues sorting the cspell word list after the move.

.meta-updater/src/index.ts

package.jsonInstall Husky from .config +1/-1

Install Husky from .config

• Changes the 'prepare' script to register hooks from '.config/husky' during installation.

package.json

pnpm-workspace.yamlPoint pnpm at the relocated pnpmfile +2/-0

Point pnpm at the relocated pnpmfile

• Adds an explicit 'pnpmfile' setting for '.config/pnpm/pnpmfile.cjs'.

pnpm-workspace.yaml

main.rsRead crate-layer rules from .config +1/-1

Read crate-layer rules from .config

• Changes the crate-layers CLI's working-tree configuration path to '.config/crate-layers.toml'.

pnpm/tasks/crate-layers/src/main.rs

@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge.

Reviews (3) · Last reviewed commit: "chore: move the git-wt PR hook into .con..." · Reviewed by Greptile

greptile-apps[bot]
greptile-apps Bot previously approved these changes Nov 15, 2026
@qodo-code-review

qodo-code-review Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Existing clones can commit unchecked 🐞 Bug ≡ Correctness
Description
Removing .husky/commit-msg leaves previously installed Husky wrappers pointing at a hook file that
no longer exists, while prepare only changes the hooks path when installation runs again.
Contributors who update an existing checkout without reinstalling dependencies can commit bare issue
references or mentions, and their other commit and push checks are likewise skipped.
Code

.husky/commit-msg[L1-3]

-node .husky/reject-bare-issue-refs.mjs "$1"
-node .husky/reject-bare-mentions.mjs "$1"
-pnpm commitlint --edit --config=commitlint.config.cjs
Relevance

●● Moderate

No close rejection precedent. Hook-file fixes in .husky were accepted before, but this stale-clone
concern is a documented migration tradeoff the PR already acknowledges, so acceptance is uncertain.

PR-#17095
PR-#15045

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The removed commit-message script was the target of the old Husky hook installation; the replacement
is under .config/husky/, and the new prepare command is the operation that registers that
directory. The updated contributor guidance confirms hooks only run once installed and that
installation is needed to wire them into Git.

package.json[4-7]
.config/husky/commit-msg[1-3]
AGENTS.md[182-192]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Existing checkouts retain `core.hooksPath=.husky/_` until installation reruns `prepare`. Deleting the old hook scripts silently disables their checks in those checkouts.

## Fix Focus Areas
- .husky/commit-msg[1-3]
- package.json[6-6]

## Recommended Fix
Keep compatibility hook scripts at the old `.husky/` location that delegate to their `.config/husky/` counterparts, including the commit, pre-commit, pre-push, and prepare-commit-msg hooks. Fresh installations can continue to register the new path.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Context sources
✅ Compliance rules (platform): 57 rules
✅ Web pages:
  +2 more
✅ Cross-repo context — repo relationships
  Explored: repo: pnpm/meta-updater (sha: c9936b78) — View relationship
✅ Context preparation
  Past issues: summarized; full text retained for this review
Review mode: Auto: ⚖️ Balanced: Config, hook, and CI path changes create real behavioral risk.

Grey Divider

Tip of the day
💡 Did you know, you can reply 'qodo' on any finding to push back, ask questions, or dig deeper

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Previous reviews

Review updated until commit bb8ce9e

Results up to commit 684b36e ⚖️ Balanced


🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)


Remediation recommended
1. Existing clones can commit unchecked 🐞 Bug ≡ Correctness
Description
Removing .husky/commit-msg leaves previously installed Husky wrappers pointing at a hook file that
no longer exists, while prepare only changes the hooks path when installation runs again.
Contributors who update an existing checkout without reinstalling dependencies can commit bare issue
references or mentions, and their other commit and push checks are likewise skipped.
Code

.husky/commit-msg[L1-3]

-node .husky/reject-bare-issue-refs.mjs "$1"
-node .husky/reject-bare-mentions.mjs "$1"
-pnpm commitlint --edit --config=commitlint.config.cjs
Relevance

●● Moderate

No close rejection precedent. Hook-file fixes in .husky were accepted before, but this stale-clone
concern is a documented migration tradeoff the PR already acknowledges, so acceptance is uncertain.

PR-#17095
PR-#15045

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The removed commit-message script was the target of the old Husky hook installation; the replacement
is under .config/husky/, and the new prepare command is the operation that registers that
directory. The updated contributor guidance confirms hooks only run once installed and that
installation is needed to wire them into Git.

package.json[4-7]
.config/husky/commit-msg[1-3]
AGENTS.md[182-192]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Existing checkouts retain `core.hooksPath=.husky/_` until installation reruns `prepare`. Deleting the old hook scripts silently disables their checks in those checkouts.

## Fix Focus Areas
- .husky/commit-msg[1-3]
- package.json[6-6]

## Recommended Fix
Keep compatibility hook scripts at the old `.husky/` location that delegate to their `.config/husky/` counterparts, including the commit, pre-commit, pre-push, and prepare-commit-msg hooks. Fresh installations can continue to register the new path.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


Grey Divider

Qodo Logo

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

`@zkochan/git-wt` 0.0.13 looks for the per-repo PR hook at
.config/git-wt/pr-hook before .git-wt/pr-hook. Older versions only check
.git-wt/pr-hook, so `git wt <pr>` skips the hook until git-wt is
upgraded and the shell re-runs `git-wt init`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@greptile-apps
greptile-apps Bot dismissed their stale review November 15, 2026 21:35

Dismissed because a newer commit was pushed; Greptile will re-review the current head.

@zkochan zkochan changed the title chore: move more repo config files and the husky hooks into .config chore: move more repo config files and hooks into .config Nov 15, 2026
@qodo-code-review

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit bb8ce9e

@qodo-code-review

Copy link
Copy Markdown

PR Code Suggestions ✨

Warning

/improve is deprecated. Use /agentic_review instead (removal date not yet scheduled).

No code suggestions found for the PR.

@zkochan
zkochan merged commit 5ba87f6 into main Nov 15, 2026
55 of 56 checks passed
@zkochan
zkochan deleted the config-ref branch November 15, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants