@lousy-agents/cli 5.23.7 → 5.23.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,14 +3,14 @@
3
3
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04@sha256:4bcb1b466771b1ba1ea110e2a27daea2f6093f9527fb75ee59703ec89b5561cb",
4
4
  "features": {
5
5
  "ghcr.io/devcontainers/features/node:1.7.1": {
6
- "version": "26.13.0"
6
+ "version": "26.13.1"
7
7
  },
8
8
  "ghcr.io/devcontainers/features/github-cli:1.1.0": {
9
9
  "version": "latest"
10
10
  },
11
11
  "ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
12
12
  "ghcr.io/anthropics/devcontainer-features/claude-code:1": {
13
- "version": "v2.1.322"
13
+ "version": "v2.1.325"
14
14
  },
15
15
  "ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
16
16
  "packages": "yamllint, shellcheck",
@@ -1 +1 @@
1
- 26.13.0
1
+ 26.13.1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "root": true,
3
- "$schema": "https://biomejs.dev/schemas/2.6.6/schema.json",
3
+ "$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
4
4
  "vcs": {
5
5
  "enabled": true,
6
6
  "clientKind": "git",
@@ -8,17 +8,17 @@
8
8
  "name": "<%= it.projectName %>",
9
9
  "version": "0.1.0",
10
10
  "dependencies": {
11
- "@fastify/cors": "11.4.1",
11
+ "@fastify/cors": "11.4.3",
12
12
  "@fastify/sensible": "6.0.7",
13
13
  "fastify": "5.12.8",
14
- "kysely": "0.29.8",
14
+ "kysely": "0.29.9",
15
15
  "pino": "10.4.0",
16
- "postgres": "4.1.0",
16
+ "postgres": "4.1.1",
17
17
  "zod": "4.6.7"
18
18
  },
19
19
  "devDependencies": {
20
- "@biomejs/biome": "2.6.6",
21
- "@lousy-agents/mcp": "5.23.6",
20
+ "@biomejs/biome": "2.6.7",
21
+ "@lousy-agents/mcp": "5.23.7",
22
22
  "@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
23
23
  "@testcontainers/postgresql": "12.2.1",
24
24
  "@types/node": "26.6.6",
@@ -37,9 +37,9 @@
37
37
  "license": "Apache-2.0"
38
38
  },
39
39
  "node_modules/@biomejs/biome": {
40
- "version": "2.6.6",
41
- "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.6.tgz",
42
- "integrity": "sha512-NCgVJRyrU1+hsW1ILNaRqNAb9fRL4n49bwyef+wjVJQ488/bXbp0BfnNqTTExkiNQT3ugkgYKR1vK8NxsjlNSQ==",
40
+ "version": "2.6.7",
41
+ "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.7.tgz",
42
+ "integrity": "sha512-2bT1FE6FvZZgPLFw4BjcDyRwG8Ry9zYla4X+Lw8oj2SxvqiXHiYkkEpjcrsWQrik6iYHygAa/D67YxLbVz9P1Q==",
43
43
  "dev": true,
44
44
  "license": "MIT OR Apache-2.0",
45
45
  "bin": {
@@ -53,22 +53,22 @@
53
53
  "url": "https://opencollective.com/biome"
54
54
  },
55
55
  "optionalDependencies": {
56
- "@biomejs/cli-android-arm64": "2.6.6",
57
- "@biomejs/cli-android-x64": "2.6.6",
58
- "@biomejs/cli-darwin-arm64": "2.6.6",
59
- "@biomejs/cli-darwin-x64": "2.6.6",
60
- "@biomejs/cli-linux-arm64": "2.6.6",
61
- "@biomejs/cli-linux-arm64-musl": "2.6.6",
62
- "@biomejs/cli-linux-x64": "2.6.6",
63
- "@biomejs/cli-linux-x64-musl": "2.6.6",
64
- "@biomejs/cli-win32-arm64": "2.6.6",
65
- "@biomejs/cli-win32-x64": "2.6.6"
56
+ "@biomejs/cli-android-arm64": "2.6.7",
57
+ "@biomejs/cli-android-x64": "2.6.7",
58
+ "@biomejs/cli-darwin-arm64": "2.6.7",
59
+ "@biomejs/cli-darwin-x64": "2.6.7",
60
+ "@biomejs/cli-linux-arm64": "2.6.7",
61
+ "@biomejs/cli-linux-arm64-musl": "2.6.7",
62
+ "@biomejs/cli-linux-x64": "2.6.7",
63
+ "@biomejs/cli-linux-x64-musl": "2.6.7",
64
+ "@biomejs/cli-win32-arm64": "2.6.7",
65
+ "@biomejs/cli-win32-x64": "2.6.7"
66
66
  }
67
67
  },
68
68
  "node_modules/@biomejs/cli-android-arm64": {
69
- "version": "2.6.6",
70
- "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.6.tgz",
71
- "integrity": "sha512-bicnqNNxEX7pjkDQaptYvPRIWDfgXJLl/Ok7iZjC+F1AhfReor3FSS7SgPYnOvUy/jf++5U/KYN4T8OKH5rrNA==",
69
+ "version": "2.6.7",
70
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.7.tgz",
71
+ "integrity": "sha512-f4fyRTl+rW6QZp+iHdZrKAKptG/xmIDijTnxWhpC1Hnzr8yvjaBm/aJ98JiMv5mMx7jL1MOu4+zwmQUzfcoKBg==",
72
72
  "cpu": [
73
73
  "arm64"
74
74
  ],
@@ -83,9 +83,9 @@
83
83
  }
84
84
  },
85
85
  "node_modules/@biomejs/cli-android-x64": {
86
- "version": "2.6.6",
87
- "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.6.tgz",
88
- "integrity": "sha512-N443kDSElF4kDMKjarsL+ymj/ewLA5R9VAdawA7fJ7pwgN3JVDZp0K+xhKBglH8EwsKi2+K8xC6WxXSkgziFfw==",
86
+ "version": "2.6.7",
87
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.7.tgz",
88
+ "integrity": "sha512-eUdeN+mh2bwen+By1feKzpFkFGAfLG3Pxi6tbwpzMvePBwFGMd4mnE6gaxDRMiWJ1eMuc+Xhtg3ErbLLbtL5wQ==",
89
89
  "cpu": [
90
90
  "x64"
91
91
  ],
@@ -100,9 +100,9 @@
100
100
  }
101
101
  },
102
102
  "node_modules/@biomejs/cli-darwin-arm64": {
103
- "version": "2.6.6",
104
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.6.tgz",
105
- "integrity": "sha512-/vSAqWx3by3p8w5ew+HVJDgguuaTK3U6Fb5gk/oDUH21iWOopm3gOlhT6tZfy5mTaM5R4CVc3uFWkxBtEDrKyw==",
103
+ "version": "2.6.7",
104
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.7.tgz",
105
+ "integrity": "sha512-GewLcsnCsVblgnWYw5QRz5ydy9xphCtlFP37TpLKarezqwZMrH2qxrYblhY6DPOir4gnKyaqDnS/xZWIGVjaKw==",
106
106
  "cpu": [
107
107
  "arm64"
108
108
  ],
@@ -117,9 +117,9 @@
117
117
  }
118
118
  },
119
119
  "node_modules/@biomejs/cli-darwin-x64": {
120
- "version": "2.6.6",
121
- "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.6.tgz",
122
- "integrity": "sha512-lLdOAJKbrAoDs+3GvTyVmMW345D9IhrIE3GgoL2eeHwO1boN4VhrSlALtFYsP0p+Jy4udUp4bTguij0qjKrH8w==",
120
+ "version": "2.6.7",
121
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.7.tgz",
122
+ "integrity": "sha512-AMPl+Q+bHjRcNUBn8gwBl+dJAnKRUWGZ7ZiJo2U8tQtdpqJ32OqvIg4cwTH+xv0jrcNVkUSE69nj57zsHZ1WBA==",
123
123
  "cpu": [
124
124
  "x64"
125
125
  ],
@@ -134,9 +134,9 @@
134
134
  }
135
135
  },
136
136
  "node_modules/@biomejs/cli-linux-arm64": {
137
- "version": "2.6.6",
138
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.6.tgz",
139
- "integrity": "sha512-UzJdUCg9dbEGpZOuZRyehEPrnwKjx9z4Um7sWLG5x6txu7UjeWdJZuBXVGlyAdD39w2Hx0nZeK1jKC4NFUTCNQ==",
137
+ "version": "2.6.7",
138
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.7.tgz",
139
+ "integrity": "sha512-Qa2edxQClKn17y1ASWkOOuT96K2si1nTLiPbXMOMilNJ79eNsa1as1kaSbgxOXy1kRUENw76sp4pAddneq3l8Q==",
140
140
  "cpu": [
141
141
  "arm64"
142
142
  ],
@@ -154,9 +154,9 @@
154
154
  }
155
155
  },
156
156
  "node_modules/@biomejs/cli-linux-arm64-musl": {
157
- "version": "2.6.6",
158
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.6.tgz",
159
- "integrity": "sha512-rw2Vsoi/WZGDyRjMXx9KZH9zsHe79LIzkdWHkLqsIkeKZm6qiGxtiIApxn7cmJSoEPaSvHaH5pRj1FhTcyL/XA==",
157
+ "version": "2.6.7",
158
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.7.tgz",
159
+ "integrity": "sha512-BIA7qVO1O15D2wVKxLTcvEWszgOqJVZRUhlksg1KQ9N0VtYCbvknV1vyjFiSrzuBT57+z59gbzhYQCinw9lRSQ==",
160
160
  "cpu": [
161
161
  "arm64"
162
162
  ],
@@ -174,9 +174,9 @@
174
174
  }
175
175
  },
176
176
  "node_modules/@biomejs/cli-linux-x64": {
177
- "version": "2.6.6",
178
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.6.tgz",
179
- "integrity": "sha512-l8/aPXc1cz8VpUyd4hb5Pm5zx+X3voQBks4aLYbp5pC8KSchuHyvqDfY5xax39qCHomI/2xn6NKEot+zebG38g==",
177
+ "version": "2.6.7",
178
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.7.tgz",
179
+ "integrity": "sha512-VpHQ33CPNYrlIn0vyDdRS1KUlS3AiM17FiyEE2gwU000NwzyY4MgjzVHEv2KrmMb5D9Ksm3gFkwg+IOx/ULJNQ==",
180
180
  "cpu": [
181
181
  "x64"
182
182
  ],
@@ -194,9 +194,9 @@
194
194
  }
195
195
  },
196
196
  "node_modules/@biomejs/cli-linux-x64-musl": {
197
- "version": "2.6.6",
198
- "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.6.tgz",
199
- "integrity": "sha512-DiKejs+GnFbOVQsBnukUpiB+T13tqUDFGwwjsTq51vatAsaflzFzVD0BOgjVUGRrqKgE0K0Xf+wNtkcmdN2chw==",
197
+ "version": "2.6.7",
198
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.7.tgz",
199
+ "integrity": "sha512-+AOQyCsPR4nH5L4Hjzp8T0iaHm4UxY3unjL/KUJKc/8ziLnbkbmL3adtWmQW5ERB1zi6LRA1fsjaSuf/xGnLaQ==",
200
200
  "cpu": [
201
201
  "x64"
202
202
  ],
@@ -214,9 +214,9 @@
214
214
  }
215
215
  },
216
216
  "node_modules/@biomejs/cli-win32-arm64": {
217
- "version": "2.6.6",
218
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.6.tgz",
219
- "integrity": "sha512-DjVXwQAQeHrO1JEZAEus54k40Tnh4glyU3VFLcDBKwoz0xnxCEnqw6TCMXoujcQMQynWd3AY8bLrbR1o0XNqow==",
217
+ "version": "2.6.7",
218
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.7.tgz",
219
+ "integrity": "sha512-2nLivZfgcGMIXP/bI8w1FZP5JE2MetP+XZInyMQ7SvJBKlDoGrm/nRjN7uUi9dOaaSlpbRWkHSfb7PqcQR3nXg==",
220
220
  "cpu": [
221
221
  "arm64"
222
222
  ],
@@ -231,9 +231,9 @@
231
231
  }
232
232
  },
233
233
  "node_modules/@biomejs/cli-win32-x64": {
234
- "version": "2.6.6",
235
- "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.6.tgz",
236
- "integrity": "sha512-B7KMG26A4I9lAuxwBGMmiVcjMGAeJRoz+pzFt9brRvOAsIrgOu8ptJld5rUWui6tM1uiJwxeJhhDPuAiZtxXdw==",
234
+ "version": "2.6.7",
235
+ "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.7.tgz",
236
+ "integrity": "sha512-uYfH+n+IAtVz3lh7m6JxdjxfJ3WCvAJDE3spHIUbU955V42oKymlhiQiu92fAhXZb7KOjvRcrfImySQbc1MFFg==",
237
237
  "cpu": [
238
238
  "x64"
239
239
  ],
@@ -727,9 +727,9 @@
727
727
  "license": "BSD-3-Clause"
728
728
  },
729
729
  "node_modules/@fastify/cors": {
730
- "version": "11.4.1",
731
- "resolved": "https://registry.npmjs.org/@fastify/cors/-/cors-11.4.1.tgz",
732
- "integrity": "sha512-WuPATGGyc3YzpOfumovBJ4xC2RPBBFyDFElwldFRBCgM2G27xH9DnXTho9+nc2Ho6gLD1hKTetdOntR+G38+7A==",
730
+ "version": "11.4.3",
731
+ "resolved": "https://registry.npmjs.org/@fastify/cors/-/cors-11.4.3.tgz",
732
+ "integrity": "sha512-6NNFNR1i9t1oG1WlQftwc2ugElFm4cG75ylYyGNiKKiyxlVGueneup9MQ9Nd3eI4lT6kVOJaxV1Jqa727/E4jg==",
733
733
  "funding": [
734
734
  {
735
735
  "type": "github",
@@ -1010,9 +1010,9 @@
1010
1010
  }
1011
1011
  },
1012
1012
  "node_modules/@lousy-agents/mcp": {
1013
- "version": "5.23.6",
1014
- "resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.23.6.tgz",
1015
- "integrity": "sha512-UxlemFIuyIuozSCvKtToMnRdOFczBN5atTvguPejH8QdHFJXFBw41bhfmkp4ojRM6VnpNXeiC9wV52idk2rvzg==",
1013
+ "version": "5.23.7",
1014
+ "resolved": "https://registry.npmjs.org/@lousy-agents/mcp/-/mcp-5.23.7.tgz",
1015
+ "integrity": "sha512-1GXDSNoRMomFd/8bZ3cqeV3FtpzzeOF6avWhcDPQUYbXTiX/Nf3zAcKkbcr4GQz//zLNB1Giy5gIigEoCVlmkA==",
1016
1016
  "dev": true,
1017
1017
  "license": "BSD-2-Clause-Patent",
1018
1018
  "dependencies": {
@@ -3860,9 +3860,9 @@
3860
3860
  "license": "BSD-2-Clause"
3861
3861
  },
3862
3862
  "node_modules/kysely": {
3863
- "version": "0.29.8",
3864
- "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.29.8.tgz",
3865
- "integrity": "sha512-ixHU1H4R+LeC5Y0nAhYgiGRFpFRHm2DXKEmJSs/vbes9sKXyssyzxzE/NYiOJX5fY0BL28biCre3GqlCqUwyXQ==",
3863
+ "version": "0.29.9",
3864
+ "resolved": "https://registry.npmjs.org/kysely/-/kysely-0.29.9.tgz",
3865
+ "integrity": "sha512-K48ErswC3MlIcBqR0pYIIEl+n9rIgwxgzaM1FxKHMXn7egxr1NHj7bCeF98mXl9A3/QoL5I7mo5S/mLXgeDgGA==",
3866
3866
  "license": "MIT",
3867
3867
  "engines": {
3868
3868
  "node": ">=22.0.0"
@@ -4685,9 +4685,9 @@
4685
4685
  }
4686
4686
  },
4687
4687
  "node_modules/postgres": {
4688
- "version": "4.1.0",
4689
- "resolved": "https://registry.npmjs.org/postgres/-/postgres-4.1.0.tgz",
4690
- "integrity": "sha512-s+0WH67YAyLdBQUb6XczbziBhY+C9uiQsg9S8R5RHdZhk6sdyK6202E+T2tXpiInSEEjDLRSJ3OpYBe3PN6MsQ==",
4688
+ "version": "4.1.1",
4689
+ "resolved": "https://registry.npmjs.org/postgres/-/postgres-4.1.1.tgz",
4690
+ "integrity": "sha512-1kJDojqNZC+iTHHXh6eif0J98LUtyLAePe/qkW1GK35eh2JixlsAiIKq3FGI+xqI+SUGTNodzf7TScVeIIyUug==",
4691
4691
  "license": "Unlicense",
4692
4692
  "engines": {
4693
4693
  "node": ">=18"
@@ -16,20 +16,20 @@
16
16
  "db:migrate": "tsx src/db/migrate.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@fastify/cors": "11.4.1",
19
+ "@fastify/cors": "11.4.3",
20
20
  "@fastify/sensible": "6.0.7",
21
21
  "fastify": "5.12.8",
22
- "kysely": "0.29.8",
22
+ "kysely": "0.29.9",
23
23
  "pino": "10.4.0",
24
- "postgres": "4.1.0",
24
+ "postgres": "4.1.1",
25
25
  "zod": "4.6.7"
26
26
  },
27
27
  "overrides": {
28
28
  "zod": "4.6.7"
29
29
  },
30
30
  "devDependencies": {
31
- "@biomejs/biome": "2.6.6",
32
- "@lousy-agents/mcp": "5.23.6",
31
+ "@biomejs/biome": "2.6.7",
32
+ "@lousy-agents/mcp": "5.23.7",
33
33
  "@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
34
34
  "@testcontainers/postgresql": "12.2.1",
35
35
  "@types/node": "26.6.6",
@@ -3,14 +3,14 @@
3
3
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04@sha256:4bcb1b466771b1ba1ea110e2a27daea2f6093f9527fb75ee59703ec89b5561cb",
4
4
  "features": {
5
5
  "ghcr.io/devcontainers/features/node:1.7.1": {
6
- "version": "26.13.0"
6
+ "version": "26.13.1"
7
7
  },
8
8
  "ghcr.io/devcontainers/features/github-cli:1.1.0": {
9
9
  "version": "latest"
10
10
  },
11
11
  "ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
12
12
  "ghcr.io/anthropics/devcontainer-features/claude-code:1": {
13
- "version": "v2.1.322"
13
+ "version": "v2.1.325"
14
14
  },
15
15
  "ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
16
16
  "packages": "yamllint, shellcheck",
@@ -1 +1 @@
1
- 26.13.0
1
+ 26.13.1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "root": true,
3
- "$schema": "https://biomejs.dev/schemas/2.6.6/schema.json",
3
+ "$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
4
4
  "vcs": {
5
5
  "enabled": true,
6
6
  "clientKind": "git",
@@ -19,8 +19,8 @@
19
19
  "zod": "4.6.7"
20
20
  },
21
21
  "devDependencies": {
22
- "@biomejs/biome": "2.6.6",
23
- "@lousy-agents/mcp": "5.23.6",
22
+ "@biomejs/biome": "2.6.7",
23
+ "@lousy-agents/mcp": "5.23.7",
24
24
  "@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
25
25
  "@types/node": "26.6.6",
26
26
  "chance": "1.1.13",
package/dist/index.js CHANGED
@@ -47602,6 +47602,20 @@ const RUN_LEVEL_RULE_IDS = new Set([
47602
47602
  ]
47603
47603
  }
47604
47604
  ];
47605
+ /**
47606
+ * Instruction filenames loaded in subdirectories as well as at the repository
47607
+ * root. Case-sensitive. Copilot does not load these from `.github/instructions`
47608
+ * (that directory accepts only `*.instructions.md`), so they stay Claude or
47609
+ * shared instructions wherever they sit.
47610
+ */ const NESTED_INSTRUCTION_FILENAMES = new Set([
47611
+ "CLAUDE.md",
47612
+ "AGENTS.md",
47613
+ "AGENTS.MD",
47614
+ "agents.md"
47615
+ ]);
47616
+ function isNestedInstructionFilename(fileName) {
47617
+ return NESTED_INSTRUCTION_FILENAMES.has(fileName);
47618
+ }
47605
47619
 
47606
47620
  ;// CONCATENATED MODULE: ../core/src/lib/agentic-location-matchers.ts
47607
47621
  /**
@@ -47656,6 +47670,11 @@ function entriesMatchingPath(path, catalog = agentic_location_catalog_AGENTIC_LO
47656
47670
  * that finds the file by directory prefix alone should leave it out.
47657
47671
  */ function isExcludedBySuffix(path, catalog = agentic_location_catalog_AGENTIC_LOCATION_CATALOG) {
47658
47672
  const normalized = normalizeRepoRelativePath(path);
47673
+ const slash = normalized.lastIndexOf("/");
47674
+ const fileName = slash === -1 ? normalized : normalized.slice(slash + 1);
47675
+ if (isNestedInstructionFilename(fileName)) {
47676
+ return false;
47677
+ }
47659
47678
  return entriesMatchingPath(path, catalog).length === 0 && catalog.some((entry)=>entry.matchKind === "directory-prefix" && entry.fileSuffix !== undefined && normalized.startsWith(`${entry.path}/`));
47660
47679
  }
47661
47680
  function specificityScore(entry) {
@@ -47894,6 +47913,7 @@ function resolveSettings(options) {
47894
47913
  maxDirectories: options.maxDirectories ?? DEFAULT_MAX_WALK_DIRECTORIES,
47895
47914
  maxEntries: options.maxEntries ?? DEFAULT_MAX_WALK_ENTRIES,
47896
47915
  skipDirectoryNames: new Set(options.skipDirectoryNames ?? DEFAULT_SKIPPED_DIRECTORY_NAMES),
47916
+ skipDirectory: options.skipDirectory ?? (()=>false),
47897
47917
  listDirectory: options.listDirectory ?? listWithinRoot
47898
47918
  };
47899
47919
  }
@@ -47986,7 +48006,7 @@ function segmentsOf(relativePath) {
47986
48006
  async walkEntry(directoryReal, entryRelativePath, name, depth, ancestors) {
47987
48007
  const entry = await inspectPathWithinRoot(this.rootReal, (0,external_node_path_.join)(directoryReal, name));
47988
48008
  if (entry.status === "outside-root") {
47989
- if (this.wouldHaveCollected(entry.kind, name, depth)) {
48009
+ if (this.wouldHaveCollected(entry.kind, entryRelativePath, name, depth)) {
47990
48010
  this.skippedOutsideRoot.push(entryRelativePath);
47991
48011
  }
47992
48012
  return;
@@ -47998,17 +48018,17 @@ function segmentsOf(relativePath) {
47998
48018
  this.collectFile(entryRelativePath, name, entry.real, entry.identity);
47999
48019
  return;
48000
48020
  }
48001
- if (this.shouldDescend(name, depth)) {
48021
+ if (this.shouldDescend(entryRelativePath, name, depth)) {
48002
48022
  await this.walkDirectory(entryRelativePath, depth + 1, ancestors);
48003
- } else if (this.isTooDeep(name, depth) && !this.isRevisit(entry.real, ancestors)) {
48023
+ } else if (this.isTooDeep(entryRelativePath, name, depth) && !this.isRevisit(entry.real, ancestors)) {
48004
48024
  this.depthLimitReached = true;
48005
48025
  }
48006
48026
  }
48007
- wouldHaveCollected(kind, name, depth) {
48027
+ wouldHaveCollected(kind, relativePath, name, depth) {
48008
48028
  if (kind === "file") {
48009
48029
  return this.settings.includeFile(name);
48010
48030
  }
48011
- return kind === "directory" && this.shouldDescend(name, depth);
48031
+ return kind === "directory" && this.shouldDescend(relativePath, name, depth);
48012
48032
  }
48013
48033
  collectFile(relativePath, name, real, identity) {
48014
48034
  if (this.settings.includeFile(name)) {
@@ -48019,11 +48039,14 @@ function segmentsOf(relativePath) {
48019
48039
  });
48020
48040
  }
48021
48041
  }
48022
- shouldDescend(name, depth) {
48023
- return this.settings.includeSubdirectories && depth < this.settings.maxDepth && !this.settings.skipDirectoryNames.has(name);
48042
+ isSkippedDirectory(relativePath, name) {
48043
+ return this.settings.skipDirectoryNames.has(name) || this.settings.skipDirectory(relativePath);
48024
48044
  }
48025
- isTooDeep(name, depth) {
48026
- return this.settings.includeSubdirectories && depth >= this.settings.maxDepth && !this.settings.skipDirectoryNames.has(name);
48045
+ shouldDescend(relativePath, name, depth) {
48046
+ return this.settings.includeSubdirectories && depth < this.settings.maxDepth && !this.isSkippedDirectory(relativePath, name);
48047
+ }
48048
+ isTooDeep(relativePath, name, depth) {
48049
+ return this.settings.includeSubdirectories && depth >= this.settings.maxDepth && !this.isSkippedDirectory(relativePath, name);
48027
48050
  }
48028
48051
  }
48029
48052
  /**
@@ -52352,6 +52375,7 @@ async function expandContent(session, repoRoot, sourcePath, content, hop, stack,
52352
52375
  }
52353
52376
 
52354
52377
  ;// CONCATENATED MODULE: ../doctor/src/entities/harness-footprints.ts
52378
+
52355
52379
  const HARNESS_NAMES = [
52356
52380
  "claude",
52357
52381
  "copilot",
@@ -52591,15 +52615,55 @@ const ALL_HARNESS_NAMES = [
52591
52615
  ...HARNESS_NAMES,
52592
52616
  "shared"
52593
52617
  ];
52618
+ /**
52619
+ * Directory indicators that only load files with a catalog suffix, such as
52620
+ * `.github/instructions/` and `*.instructions.md`. A nested instruction file
52621
+ * in one of those directories is not that harness's file.
52622
+ */ const SUFFIX_RESTRICTED_DIRECTORY_INDICATORS = new Set(agentic_location_catalog_AGENTIC_LOCATION_CATALOG.filter((entry)=>entry.matchKind === "directory-prefix" && entry.fileSuffix !== undefined).map((entry)=>`${entry.path}/`));
52623
+ function fileNameOf(normalized) {
52624
+ const slash = normalized.lastIndexOf("/");
52625
+ return slash === -1 ? normalized : normalized.slice(slash + 1);
52626
+ }
52627
+ function matchesClaimingIndicator(path, indicators) {
52628
+ const applicable = isNestedInstructionFilename(fileNameOf(path)) ? indicators.filter((indicator)=>!SUFFIX_RESTRICTED_DIRECTORY_INDICATORS.has(indicator)) : indicators;
52629
+ return matchesPrimaryIndicator(path, applicable);
52630
+ }
52631
+ function soleHarness(matches) {
52632
+ if (matches.length >= 2) {
52633
+ return "shared";
52634
+ }
52635
+ return matches[0] ?? null;
52636
+ }
52637
+ function harnessesMatching(path, footprints, matches) {
52638
+ return ALL_HARNESS_NAMES.filter((harness)=>matches(path, footprints[harness].primaryIndicators));
52639
+ }
52640
+ /**
52641
+ * True when `normalized` is a nested instruction file whose filename is one
52642
+ * of this harness's primary indicators. Root files are exact indicators and
52643
+ * are not matched here.
52644
+ */ function matchesNestedInstructionFilename(normalized, indicators) {
52645
+ const slash = normalized.lastIndexOf("/");
52646
+ if (slash === -1) {
52647
+ return false;
52648
+ }
52649
+ const name = normalized.slice(slash + 1);
52650
+ return isNestedInstructionFilename(name) && indicators.includes(name);
52651
+ }
52594
52652
  /**
52595
52653
  * Resolves which harness owns a repo-relative path from the harnesses'
52596
52654
  * primary indicators. A path claimed by more than one harness is shared; a
52597
52655
  * path claimed by none belongs to no harness.
52656
+ *
52657
+ * `CLAUDE.md` and `AGENTS.md` (and the `AGENTS.MD` and `agents.md` spellings)
52658
+ * are also recognized in subdirectories when no indicator already claims the
52659
+ * path, so a copy inside a directory another harness owns keeps that harness.
52598
52660
  */ function determineHarness(repoRelativePath, footprints = HARNESS_FOOTPRINTS) {
52599
- const matching = ALL_HARNESS_NAMES.filter((harness)=>matchesPrimaryIndicator(repoRelativePath, footprints[harness].primaryIndicators));
52600
- if (matching.length === 0) return null;
52601
- if (matching.length >= 2) return "shared";
52602
- return matching[0];
52661
+ const normalized = repoRelativePath.replaceAll("\\", "/");
52662
+ const claimed = soleHarness(harnessesMatching(normalized, footprints, matchesClaimingIndicator));
52663
+ if (claimed !== null) {
52664
+ return claimed;
52665
+ }
52666
+ return soleHarness(harnessesMatching(normalized, footprints, matchesNestedInstructionFilename));
52603
52667
  }
52604
52668
 
52605
52669
  ;// CONCATENATED MODULE: ../doctor/src/lib/edge-parser.ts
@@ -52867,8 +52931,10 @@ function resolveSoftReferenceEdge(rawTarget, sourceAbsPath, from, ctx) {
52867
52931
 
52868
52932
 
52869
52933
 
52934
+
52870
52935
  function isMarkdownFile(name) {
52871
- return name.endsWith(".md") || name.endsWith(".mdc");
52936
+ const lower = name.toLowerCase();
52937
+ return lower.endsWith(".md") || lower.endsWith(".mdc");
52872
52938
  }
52873
52939
  function determineConstructType(relPath) {
52874
52940
  return primaryConstructTypeForPath(relPath) ?? "instruction";
@@ -52900,8 +52966,20 @@ function determineConstructType(relPath) {
52900
52966
  * The harness that loads a file, or null when none does. A file under a
52901
52967
  * harness's directory is not loaded when the catalog says that directory
52902
52968
  * accepts only files with a suffix the file lacks.
52903
- */ function ownerOf(relPath) {
52904
- return isExcludedBySuffix(relPath) ? null : determineHarness(relPath);
52969
+ */ function inventory_records_fileNameOf(relPath) {
52970
+ const normalized = relPath.replaceAll("\\", "/");
52971
+ const slash = normalized.lastIndexOf("/");
52972
+ return slash === -1 ? normalized : normalized.slice(slash + 1);
52973
+ }
52974
+ function ownerOf(relPath) {
52975
+ const harness = determineHarness(relPath);
52976
+ if (harness === null) {
52977
+ return null;
52978
+ }
52979
+ if (isExcludedBySuffix(relPath) && !isNestedInstructionFilename(inventory_records_fileNameOf(relPath))) {
52980
+ return null;
52981
+ }
52982
+ return harness;
52905
52983
  }
52906
52984
  async function readOrMarkUnread(readContent, file) {
52907
52985
  try {
@@ -53272,11 +53350,29 @@ const SCANNABLE_EXTENSIONLESS = new Set([
53272
53350
  ...DEFAULT_SKIPPED_DIRECTORY_NAMES,
53273
53351
  "dist"
53274
53352
  ];
53353
+ /**
53354
+ * True when `relativePath` is a fixture directory the walk met below the
53355
+ * scan root. The root itself is not passed here. When the relative path has
53356
+ * no parent segment, `rootDirectoryName` is that parent, so a scan started
53357
+ * in a directory named `tests` still skips its `fixtures` child.
53358
+ *
53359
+ * `tests/fixtures` is the parent and child, not every directory named
53360
+ * `fixtures`, so `src/fixtures` stays in the scan. `__fixtures__` and
53361
+ * `testdata` are names at any depth.
53362
+ */ function isFixtureDirectory(relativePath, rootDirectoryName) {
53363
+ const segments = relativePath.split("/");
53364
+ const name = segments[segments.length - 1];
53365
+ if (name === "__fixtures__" || name === "testdata") {
53366
+ return true;
53367
+ }
53368
+ const parent = segments.length >= 2 ? segments[segments.length - 2] : rootDirectoryName;
53369
+ return parent === "tests" && name === "fixtures";
53370
+ }
53275
53371
  function isScannableFile(name) {
53276
53372
  if (SCANNABLE_EXTENSIONLESS.has(name)) return true;
53277
53373
  const dot = name.lastIndexOf(".");
53278
53374
  if (dot === -1) return false;
53279
- return SCANNABLE_EXTENSIONS.has(name.slice(dot));
53375
+ return SCANNABLE_EXTENSIONS.has(name.slice(dot).toLowerCase());
53280
53376
  }
53281
53377
  function toSourceFile(repoRoot, rootReal, file) {
53282
53378
  return {
@@ -53306,6 +53402,7 @@ function toSourceFile(repoRoot, rootReal, file) {
53306
53402
  includeFile: isScannableFile,
53307
53403
  revisit: "refuse-ancestors",
53308
53404
  skipDirectoryNames: DOCTOR_SKIPPED_DIRECTORY_NAMES,
53405
+ skipDirectory: (relativePath)=>isFixtureDirectory(relativePath, (0,external_node_path_.basename)(absRoot)),
53309
53406
  maxDirectories,
53310
53407
  ...options.maxEntries === undefined ? {} : {
53311
53408
  maxEntries: options.maxEntries
@@ -53770,14 +53867,15 @@ const CRITERIA = [
53770
53867
  severity: "high",
53771
53868
  classification: "defect",
53772
53869
  category: "missing-required",
53773
- description: "Claude Code requires CLAUDE.md or .claude/ directory to load project instructions.",
53870
+ description: "Claude Code requires a CLAUDE.md file, at the repository root or in a subdirectory, or a .claude/ directory to load project instructions.",
53774
53871
  checkMethod: "inventory.fileExists",
53775
53872
  checkArgs: {
53776
53873
  harness: "claude",
53777
53874
  paths: [
53778
53875
  "CLAUDE.md",
53779
53876
  ".claude/"
53780
- ]
53877
+ ],
53878
+ matchBasename: true
53781
53879
  }
53782
53880
  },
53783
53881
  {
@@ -53938,9 +54036,20 @@ function makeIntentFinding(criterion) {
53938
54036
  function makeId(criterionId, targetId) {
53939
54037
  return `${criterionId}:${targetId}`;
53940
54038
  }
54039
+ function pathCoversRecord(recordPath, required, matchBasename) {
54040
+ if (recordPath === required) {
54041
+ return true;
54042
+ }
54043
+ const prefix = required.endsWith("/") ? required : `${required}/`;
54044
+ if (recordPath.startsWith(prefix)) {
54045
+ return true;
54046
+ }
54047
+ return matchBasename && !required.includes("/") && recordPath.endsWith(`/${required}`);
54048
+ }
53941
54049
  function checkFileExists(criterion, args, ctx) {
53942
54050
  const { harness, paths } = args;
53943
- const anyMatch = ctx.records.some((r)=>paths.some((p)=>r.path === p || r.path.startsWith(p.endsWith("/") ? p : `${p}/`)));
54051
+ const matchBasename = args.matchBasename === true;
54052
+ const anyMatch = ctx.records.some((r)=>paths.some((p)=>pathCoversRecord(r.path, p, matchBasename)));
53944
54053
  if (!anyMatch) {
53945
54054
  return [
53946
54055
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lousy-agents/cli",
3
- "version": "5.23.7",
3
+ "version": "5.23.8",
4
4
  "description": "CLI scaffolding tool that sets up projects with structure, instructions, and feedback loops for AI coding assistants",
5
5
  "type": "module",
6
6
  "repository": {
@@ -3,14 +3,14 @@
3
3
  "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04@sha256:4bcb1b466771b1ba1ea110e2a27daea2f6093f9527fb75ee59703ec89b5561cb",
4
4
  "features": {
5
5
  "ghcr.io/devcontainers/features/node:1.7.1": {
6
- "version": "26.13.0"
6
+ "version": "26.13.1"
7
7
  },
8
8
  "ghcr.io/devcontainers/features/github-cli:1.1.0": {
9
9
  "version": "latest"
10
10
  },
11
11
  "ghcr.io/devcontainers/features/copilot-cli:1.0.0": {},
12
12
  "ghcr.io/anthropics/devcontainer-features/claude-code:1": {
13
- "version": "v2.1.322"
13
+ "version": "v2.1.325"
14
14
  },
15
15
  "ghcr.io/rocker-org/devcontainer-features/apt-packages:1.0.2": {
16
16
  "packages": "libnss3, libnspr4, libatk1.0-0t64, libatk-bridge2.0-0t64, libcups2t64, libdrm2, libdbus-1-3, libatspi2.0-0t64, libxcomposite1, libxdamage1, libxfixes3, libxrandr2, libgbm1, libxkbcommon0, libasound2t64, yamllint, shellcheck",
@@ -1 +1 @@
1
- 26.13.0
1
+ 26.13.1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "root": true,
3
- "$schema": "https://biomejs.dev/schemas/2.6.6/schema.json",
3
+ "$schema": "https://biomejs.dev/schemas/2.6.7/schema.json",
4
4
  "vcs": {
5
5
  "enabled": true,
6
6
  "clientKind": "git",
@@ -21,21 +21,21 @@
21
21
  "react-dom": "19.3.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@biomejs/biome": "2.6.6",
24
+ "@biomejs/biome": "2.6.7",
25
25
  "@eslint/eslintrc": "3.3.7",
26
- "@lousy-agents/mcp": "5.23.6",
26
+ "@lousy-agents/mcp": "5.23.7",
27
27
  "@modelcontextprotocol/server-sequential-thinking": "2026.8.31",
28
28
  "@testing-library/jest-dom": "7.0.1",
29
29
  "@testing-library/react": "16.3.3",
30
30
  "@types/node": "26.6.6",
31
31
  "@types/react": "19.3.0",
32
32
  "@types/react-dom": "19.3.0",
33
- "@vitejs/plugin-react": "6.2.1",
33
+ "@vitejs/plugin-react": "6.3.0",
34
34
  "@vitest/ui": "5.1.0",
35
35
  "eslint": "10.14.0",
36
36
  "eslint-config-next": "16.4.6",
37
37
  "happy-dom": "21.0.4",
38
- "jsdom": "31.0.0",
38
+ "jsdom": "31.0.1",
39
39
  "typescript": "7.0.2",
40
40
  "vitest": "5.1.0",
41
41
  "whatwg-fetch": "3.6.20"