carrick 0.3.176 → 0.3.178
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.
|
@@ -12,14 +12,11 @@ export type WorkspaceCounts = {
|
|
|
12
12
|
* The rules `.carrick/RULES.md` holds, ending in one newline.
|
|
13
13
|
*
|
|
14
14
|
* The words are the rules block measured in carrick-cloud#2991 (21 graded runs
|
|
15
|
-
* per arm on one build: reused 17/21 against 5/21)
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* same 4 of 7 contract checks as the per-file wording, with no duplicate
|
|
21
|
-
* per-file calls (carrick-cloud#3068, D13). Only the counts and the scope clause
|
|
22
|
-
* vary; edit nothing else without a new measurement.
|
|
15
|
+
* per arm on one build: reused 17/21 against 5/21). Rule 5 no longer asks the
|
|
16
|
+
* agent to run a whole-change check or wait for one: every edit is re-checked
|
|
17
|
+
* in the background and its answer comes with a later hook line (carrick#5076).
|
|
18
|
+
* Only the counts and the scope clause vary; edit nothing else without a new
|
|
19
|
+
* measurement.
|
|
23
20
|
*/
|
|
24
21
|
export declare function renderRules(scope: SkillScope, counts: WorkspaceCounts | null): string;
|
|
25
22
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// The Carrick rules section `carrick init` keeps in a folder's AGENTS.md
|
|
2
|
-
// (carrick#2828), so an agent in Codex or Claude Code
|
|
3
|
-
// before it says a change is done.
|
|
2
|
+
// (carrick#2828), so an agent in Codex or Claude Code reads the rules.
|
|
4
3
|
//
|
|
5
4
|
// The section sits between two marker comments. Those markers are the whole
|
|
6
5
|
// ownership rule: a re-run replaces what is between them and nothing else,
|
|
@@ -40,14 +39,11 @@ function countsPhrase(counts) {
|
|
|
40
39
|
* The rules `.carrick/RULES.md` holds, ending in one newline.
|
|
41
40
|
*
|
|
42
41
|
* The words are the rules block measured in carrick-cloud#2991 (21 graded runs
|
|
43
|
-
* per arm on one build: reused 17/21 against 5/21)
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* same 4 of 7 contract checks as the per-file wording, with no duplicate
|
|
49
|
-
* per-file calls (carrick-cloud#3068, D13). Only the counts and the scope clause
|
|
50
|
-
* vary; edit nothing else without a new measurement.
|
|
42
|
+
* per arm on one build: reused 17/21 against 5/21). Rule 5 no longer asks the
|
|
43
|
+
* agent to run a whole-change check or wait for one: every edit is re-checked
|
|
44
|
+
* in the background and its answer comes with a later hook line (carrick#5076).
|
|
45
|
+
* Only the counts and the scope clause vary; edit nothing else without a new
|
|
46
|
+
* measurement.
|
|
51
47
|
*/
|
|
52
48
|
export function renderRules(scope, counts) {
|
|
53
49
|
const phrase = countsPhrase(counts);
|
|
@@ -80,10 +76,10 @@ export function renderRules(scope, counts) {
|
|
|
80
76
|
" similar endpoint or another API version, or a local copy of a type.",
|
|
81
77
|
"4. Use grep and Read to confirm and to read code once Carrick has told you",
|
|
82
78
|
" where to look.",
|
|
83
|
-
"5.
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
79
|
+
"5. Each file you edit is checked for you in the background, and Carrick's",
|
|
80
|
+
" answer comes with a later tool call or your next turn: you do not need to",
|
|
81
|
+
" run a check yourself or wait for one. If a Carrick line names a contract",
|
|
82
|
+
" problem, fix it or say why it stands. If Carrick found a problem or changed",
|
|
87
83
|
" what you did, say so in one line in your final summary. Otherwise do not",
|
|
88
84
|
" mention it.",
|
|
89
85
|
"",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents-section.js","sourceRoot":"","sources":["../../src/init/agents-section.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,
|
|
1
|
+
{"version":3,"file":"agents-section.js","sourceRoot":"","sources":["../../src/init/agents-section.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,uEAAuE;AACvE,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;AAC3E,+EAA+E;AAC/E,4EAA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M,EAAE,gBAAgB,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AACzG,CAAC;AAED,8DAA8D;AAC9D,MAAM,UAAU,gBAAgB,CAAC,SAAiB;IAChD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACjD,OAAO,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,IAAI,CAAC;AACjF,CAAC;AAED,sFAAsF;AACtF,MAAM,UAAU,mBAAmB,CAAC,SAAiB;IACnD,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IACjD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;QAAE,OAAO,IAAI,CAAC;IACxC,MAAM,OAAO,GAAG,mBAAmB,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACrE,IAAI,CAAC,OAAO,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAClC,EAAE,CAAC,aAAa,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,OAAO,iBAAiB,CAAC;AAC3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carrick",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.178",
|
|
4
4
|
"carrickCache": {
|
|
5
5
|
"cache_version": 22,
|
|
6
6
|
"intent_cache_version": 2
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
"zod": "^3.23.0"
|
|
116
116
|
},
|
|
117
117
|
"optionalDependencies": {
|
|
118
|
-
"@carrick-tools/cli-darwin-arm64": "0.3.
|
|
119
|
-
"@carrick-tools/cli-darwin-x64": "0.3.
|
|
120
|
-
"@carrick-tools/cli-linux-arm64": "0.3.
|
|
121
|
-
"@carrick-tools/cli-linux-x64": "0.3.
|
|
122
|
-
"@carrick-tools/cli-win32-x64": "0.3.
|
|
118
|
+
"@carrick-tools/cli-darwin-arm64": "0.3.178",
|
|
119
|
+
"@carrick-tools/cli-darwin-x64": "0.3.178",
|
|
120
|
+
"@carrick-tools/cli-linux-arm64": "0.3.178",
|
|
121
|
+
"@carrick-tools/cli-linux-x64": "0.3.178",
|
|
122
|
+
"@carrick-tools/cli-win32-x64": "0.3.178"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@types/node": "^24.13.3"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carrick",
|
|
3
3
|
"description": "Claude Code plugin for Carrick, which indexes TypeScript codebases across service and repository boundaries. After each edit it adds the file's routes, calls, and cross-service type mismatches to the session, and it registers Carrick's language server. It pairs with the Carrick MCP server, which lets agents search functions by intent rather than name.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.178",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Carrick",
|
|
7
7
|
"email": "hello@carrick.tools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: carrick-audit
|
|
3
|
-
description: Use when the ask is what is wrong in this codebase, what to clean up, or a health check of the project. Reads what the Carrick index already flags on main (type mismatches between endpoints and their callers, functions written twice), proves each item in source, and returns a fix list. It reads a lot of source, so it uses many tokens; narrow it to one service where you can.
|
|
3
|
+
description: Use when the ask is what is wrong in this codebase, what to clean up, or a health check of the project. Reads what the Carrick index already flags on main (calls that reach no route, type mismatches between endpoints and their callers, functions written twice), proves each item in source, and returns a fix list. It reads a lot of source, so it uses many tokens; narrow it to one service where you can.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# What the index flags on main, proven in source
|
|
@@ -23,8 +23,9 @@ get_project_map({{SCOPE}})
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Note the counts under FOUND ON MAIN: type mismatches and similar functions.
|
|
26
|
+
Note also how many unmatched calls it says match no route.
|
|
26
27
|
|
|
27
|
-
Your first words to the user are the
|
|
28
|
+
Your first words to the user are the three counts and the cap you will use,
|
|
28
29
|
written before you open any source. Where
|
|
29
30
|
you can ask, offer to narrow to one service or cap the count. Where you cannot
|
|
30
31
|
wait for a reply, such as a non-interactive run, the run caps each section at
|
|
@@ -105,12 +106,44 @@ Where the members sit in separate apps, check their package.json files for a
|
|
|
105
106
|
package they already share. Where one exists, the fix is to move the function
|
|
106
107
|
there and import it; where none does, say so: the fix is a new shared package.
|
|
107
108
|
|
|
108
|
-
## 4.
|
|
109
|
+
## 4. Calls that reach no route
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
get_service_graph({{SCOPE}}, limit: 200)
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Read `unmatched_by_reason`. Take only the rows of `unmatched_calls` whose
|
|
116
|
+
`reason` is `no_matching_producer`, `no_case_answers` or `procedure_unserved`:
|
|
117
|
+
each names an operation no indexed service serves. Page with `offset` until
|
|
118
|
+
you hold as many as `unmatched_by_reason` counts for those reasons. This
|
|
119
|
+
section has no cap: read every one. Leave the other reasons and the whole
|
|
120
|
+
`model_calls_unplaced` list alone: they go to third parties or to a base
|
|
121
|
+
Carrick has not placed, and are not evidence of a broken call.
|
|
122
|
+
|
|
123
|
+
For each row, open the call site at its file and line. Then grep the whole
|
|
124
|
+
workspace for the last two segments of the path, or for the operation, event or
|
|
125
|
+
topic name, to find a route or handler that serves it under another prefix or
|
|
126
|
+
in another router.
|
|
127
|
+
|
|
128
|
+
Class each row:
|
|
129
|
+
|
|
130
|
+
- **REAL**: the line makes this call, and nothing in the workspace serves it.
|
|
131
|
+
Say what the user sees when it fails, and name the nearest route that does
|
|
132
|
+
exist, such as the same handler mounted under another prefix.
|
|
133
|
+
- **FALSE**: the line does not make this call (a `candidate: model` row whose
|
|
134
|
+
path is not in the source), or a route does serve it. Name the route's
|
|
135
|
+
file and line.
|
|
136
|
+
- **OUTSIDE**: the call is meant for something this project does not hold, such
|
|
137
|
+
as a third party or a service that is not indexed. Say which.
|
|
138
|
+
- **CAN'T TELL**: you cannot find what should serve it. Say what you looked for.
|
|
139
|
+
|
|
140
|
+
## 5. Report
|
|
109
141
|
|
|
110
142
|
One table per section, with the class column never empty, and the counts read
|
|
111
143
|
against the counts from step 1 and any cap.
|
|
112
144
|
|
|
113
|
-
Then a fix list: every REAL and DUPLICATE, most harmful first
|
|
145
|
+
Then a fix list: every REAL and DUPLICATE, most harmful first (a REAL call
|
|
146
|
+
that reaches no route goes before a duplicate), each with
|
|
114
147
|
file:line and the change in one line ("send createdAt from
|
|
115
148
|
formatTaskResponse"; "move validateName into a shared package and delete the
|
|
116
149
|
two copies"). TYPE-ONLY items go in a short list after it, as optional tidying.
|
|
@@ -122,10 +155,10 @@ List every refused call under the tables, including any you then worked around.
|
|
|
122
155
|
Name the protocols the findings came from (HTTP, GraphQL, sockets, pub/sub,
|
|
123
156
|
queues, RPC routers) and the ones that held none.
|
|
124
157
|
|
|
125
|
-
Not covered yet:
|
|
126
|
-
|
|
158
|
+
Not covered yet: endpoints nobody calls, and routes that change data without
|
|
159
|
+
an auth check. Say so in the report.
|
|
127
160
|
|
|
128
|
-
##
|
|
161
|
+
## 6. Act
|
|
129
162
|
|
|
130
163
|
Change nothing yet. Ask the user which items on the fix list to apply, and apply
|
|
131
164
|
only those.
|