token-pilot 0.30.5 → 0.31.0
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/agents/tp-api-surface-tracker.md +10 -2
- package/agents/tp-audit-scanner.md +10 -2
- package/agents/tp-commit-writer.md +10 -2
- package/agents/tp-context-engineer.md +10 -2
- package/agents/tp-dead-code-finder.md +10 -2
- package/agents/tp-debugger.md +10 -2
- package/agents/tp-dep-health.md +10 -2
- package/agents/tp-doc-writer.md +10 -2
- package/agents/tp-history-explorer.md +10 -2
- package/agents/tp-impact-analyzer.md +10 -2
- package/agents/tp-incident-timeline.md +10 -2
- package/agents/tp-incremental-builder.md +10 -2
- package/agents/tp-migration-scout.md +10 -2
- package/agents/tp-onboard.md +10 -2
- package/agents/tp-performance-profiler.md +10 -2
- package/agents/tp-pr-reviewer.md +10 -2
- package/agents/tp-refactor-planner.md +10 -2
- package/agents/tp-review-impact.md +10 -2
- package/agents/tp-run.md +10 -2
- package/agents/tp-session-restorer.md +10 -2
- package/agents/tp-ship-coordinator.md +10 -2
- package/agents/tp-spec-writer.md +10 -2
- package/agents/tp-test-coverage-gapper.md +10 -2
- package/agents/tp-test-triage.md +10 -2
- package/agents/tp-test-writer.md +10 -2
- package/dist/cli/stats.d.ts +2 -0
- package/dist/cli/stats.js +46 -1
- package/dist/core/agent-matcher.d.ts +115 -0
- package/dist/core/agent-matcher.js +326 -0
- package/dist/core/event-log.d.ts +14 -1
- package/dist/hooks/installer.js +9 -0
- package/dist/hooks/post-task.d.ts +15 -0
- package/dist/hooks/post-task.js +102 -19
- package/dist/hooks/pre-task.d.ts +71 -0
- package/dist/hooks/pre-task.js +125 -0
- package/dist/index.js +29 -0
- package/hooks/hooks.json +9 -0
- package/package.json +1 -1
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Token Pilot \u2014 save 60-90% tokens when AI reads code",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.31.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "token-pilot",
|
|
14
14
|
"source": "./",
|
|
15
15
|
"description": "Reduces token consumption by 60-90% via AST-aware lazy file reading, structural symbol navigation, and cross-session tool-usage analytics. 22 MCP tools + 19 subagents + budget watchdog hooks.",
|
|
16
|
-
"version": "0.
|
|
16
|
+
"version": "0.31.0",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "Digital-Threads"
|
|
19
19
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "token-pilot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Saves 60-90% tokens when AI reads code. AST-aware lazy reading, symbol navigation, cross-session tool-usage analytics, 22 subagents (haiku/sonnet/opus-tiered) with budget watchdog.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Digital-Threads",
|
|
@@ -9,8 +9,8 @@ tools:
|
|
|
9
9
|
- mcp__token-pilot__read_symbol
|
|
10
10
|
- Bash
|
|
11
11
|
model: haiku
|
|
12
|
-
token_pilot_version: "0.
|
|
13
|
-
token_pilot_body_hash:
|
|
12
|
+
token_pilot_version: "0.31.0"
|
|
13
|
+
token_pilot_body_hash: dd184501203fa7f3c73f419c4ffbe33c4be75400cb64a7a51733a3fe23f6e085
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -50,3 +50,11 @@ RESPONSE CONTRACT:
|
|
|
50
50
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
51
51
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
52
52
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
53
|
+
|
|
54
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
55
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
56
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
57
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
58
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
59
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
60
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- Grep
|
|
12
12
|
- Read
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: d172f600bf32277ea6eb4cbbee4542ddd698a986dcd96997d33930561964569b
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -51,3 +51,11 @@ RESPONSE CONTRACT:
|
|
|
51
51
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
52
52
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
53
53
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
54
|
+
|
|
55
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
56
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
57
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
58
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
59
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
60
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
61
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -8,8 +8,8 @@ tools:
|
|
|
8
8
|
- mcp__token-pilot__test_summary
|
|
9
9
|
- mcp__token-pilot__outline
|
|
10
10
|
- Bash
|
|
11
|
-
token_pilot_version: "0.
|
|
12
|
-
token_pilot_body_hash:
|
|
11
|
+
token_pilot_version: "0.31.0"
|
|
12
|
+
token_pilot_body_hash: de64a406b5176de19f7422619c7de7949b1f28865f225402c9cea9255f377428
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -42,3 +42,11 @@ RESPONSE CONTRACT:
|
|
|
42
42
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
43
43
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
44
44
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
45
|
+
|
|
46
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
47
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
48
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
49
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
50
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
51
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
52
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -13,8 +13,8 @@ tools:
|
|
|
13
13
|
- Edit
|
|
14
14
|
- Glob
|
|
15
15
|
model: sonnet
|
|
16
|
-
token_pilot_version: "0.
|
|
17
|
-
token_pilot_body_hash:
|
|
16
|
+
token_pilot_version: "0.31.0"
|
|
17
|
+
token_pilot_body_hash: 68b32af2dacd82ebe52c4eec93edb903d452688274c3065218270627c564d8b0
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -59,3 +59,11 @@ RESPONSE CONTRACT:
|
|
|
59
59
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
60
60
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
61
61
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
62
|
+
|
|
63
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
64
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
65
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
66
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
67
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
68
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
69
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- Grep
|
|
12
12
|
- Read
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: d9b7f5b7ae6f4ae21305c775361bcab097cc774370a6d976c093571d46d55021
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -59,3 +59,11 @@ RESPONSE CONTRACT:
|
|
|
59
59
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
60
60
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
61
61
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
62
|
+
|
|
63
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
64
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
65
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
66
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
67
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
68
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
69
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-debugger.md
CHANGED
|
@@ -12,8 +12,8 @@ tools:
|
|
|
12
12
|
- Read
|
|
13
13
|
- Bash
|
|
14
14
|
model: sonnet
|
|
15
|
-
token_pilot_version: "0.
|
|
16
|
-
token_pilot_body_hash:
|
|
15
|
+
token_pilot_version: "0.31.0"
|
|
16
|
+
token_pilot_body_hash: 052413de8d92377edcde6ae5c823f5378db304baccfa29e8866467f42553a500
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -58,3 +58,11 @@ RESPONSE CONTRACT:
|
|
|
58
58
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
59
59
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
60
60
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
61
|
+
|
|
62
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
63
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
64
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
65
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
66
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
67
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
68
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-dep-health.md
CHANGED
|
@@ -9,8 +9,8 @@ tools:
|
|
|
9
9
|
- Bash
|
|
10
10
|
- Read
|
|
11
11
|
model: haiku
|
|
12
|
-
token_pilot_version: "0.
|
|
13
|
-
token_pilot_body_hash:
|
|
12
|
+
token_pilot_version: "0.31.0"
|
|
13
|
+
token_pilot_body_hash: e14dc57493d816f8c2e017963e2ef5f66bea50fd0b805a80e8a0d97c968427e7
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -50,3 +50,11 @@ RESPONSE CONTRACT:
|
|
|
50
50
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
51
51
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
52
52
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
53
|
+
|
|
54
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
55
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
56
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
57
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
58
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
59
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
60
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-doc-writer.md
CHANGED
|
@@ -13,8 +13,8 @@ tools:
|
|
|
13
13
|
- Edit
|
|
14
14
|
- Glob
|
|
15
15
|
model: haiku
|
|
16
|
-
token_pilot_version: "0.
|
|
17
|
-
token_pilot_body_hash:
|
|
16
|
+
token_pilot_version: "0.31.0"
|
|
17
|
+
token_pilot_body_hash: 57d741794ab40e31a7ac49c68ea39a9088f5827cdef866ce81bfca1b7c9180cf
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -61,3 +61,11 @@ RESPONSE CONTRACT:
|
|
|
61
61
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
62
62
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
63
63
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
64
|
+
|
|
65
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
66
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
67
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
68
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
69
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
70
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
71
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -10,8 +10,8 @@ tools:
|
|
|
10
10
|
- Bash
|
|
11
11
|
- Read
|
|
12
12
|
model: haiku
|
|
13
|
-
token_pilot_version: "0.
|
|
14
|
-
token_pilot_body_hash:
|
|
13
|
+
token_pilot_version: "0.31.0"
|
|
14
|
+
token_pilot_body_hash: 7b70fa76a60e3c58a1de4f56c32c0f166424137e203a0cf1c8654e7c9235d904
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -44,3 +44,11 @@ RESPONSE CONTRACT:
|
|
|
44
44
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
45
45
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
46
46
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
47
|
+
|
|
48
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
49
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
50
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
51
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
52
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
53
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
54
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -12,8 +12,8 @@ tools:
|
|
|
12
12
|
- mcp__token-pilot__read_symbols
|
|
13
13
|
- Read
|
|
14
14
|
model: sonnet
|
|
15
|
-
token_pilot_version: "0.
|
|
16
|
-
token_pilot_body_hash:
|
|
15
|
+
token_pilot_version: "0.31.0"
|
|
16
|
+
token_pilot_body_hash: 351a987e11eba63852f5431a16d8eb53104f4f689f82fdcc5a2bf4db948ba92f
|
|
17
17
|
---
|
|
18
18
|
|
|
19
19
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -47,3 +47,11 @@ RESPONSE CONTRACT:
|
|
|
47
47
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
48
48
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
49
49
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
50
|
+
|
|
51
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
52
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
53
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
54
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
55
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
56
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
57
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -8,8 +8,8 @@ tools:
|
|
|
8
8
|
- mcp__token-pilot__read_symbol
|
|
9
9
|
- Bash
|
|
10
10
|
model: inherit
|
|
11
|
-
token_pilot_version: "0.
|
|
12
|
-
token_pilot_body_hash:
|
|
11
|
+
token_pilot_version: "0.31.0"
|
|
12
|
+
token_pilot_body_hash: de5722bfea374eaab096c1ae635c37879e7a91370ee3cd0532f4240be03c91eb
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -49,3 +49,11 @@ RESPONSE CONTRACT:
|
|
|
49
49
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
50
50
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
51
51
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
52
|
+
|
|
53
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
54
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
55
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
56
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
57
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
58
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
59
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -13,8 +13,8 @@ tools:
|
|
|
13
13
|
- Edit
|
|
14
14
|
- Bash
|
|
15
15
|
model: sonnet
|
|
16
|
-
token_pilot_version: "0.
|
|
17
|
-
token_pilot_body_hash:
|
|
16
|
+
token_pilot_version: "0.31.0"
|
|
17
|
+
token_pilot_body_hash: 375a824d0d847bb5453ec594c7a62ad566ee7e4d92717b0473f771f1a0477c60
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -56,3 +56,11 @@ RESPONSE CONTRACT:
|
|
|
56
56
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
57
57
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
58
58
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
59
|
+
|
|
60
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
61
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
62
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
63
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
64
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
65
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
66
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- Grep
|
|
12
12
|
- Glob
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: 0334de1bf99b431b65359637d125cda7c44c6f780eb92c57cc538715b1939536
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -45,3 +45,11 @@ RESPONSE CONTRACT:
|
|
|
45
45
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
46
46
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
47
47
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
48
|
+
|
|
49
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
50
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
51
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
52
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
53
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
54
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
55
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-onboard.md
CHANGED
|
@@ -10,8 +10,8 @@ tools:
|
|
|
10
10
|
- mcp__token-pilot__smart_read
|
|
11
11
|
- mcp__token-pilot__smart_read_many
|
|
12
12
|
- mcp__token-pilot__read_section
|
|
13
|
-
token_pilot_version: "0.
|
|
14
|
-
token_pilot_body_hash:
|
|
13
|
+
token_pilot_version: "0.31.0"
|
|
14
|
+
token_pilot_body_hash: 832e95633fbc8e9b0c10f3e540a327d4be062fb4b3f17a6cce6be13f414e2927
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -43,3 +43,11 @@ RESPONSE CONTRACT:
|
|
|
43
43
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
44
44
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
45
45
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
46
|
+
|
|
47
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
48
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
49
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
50
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
51
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
52
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
53
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- Bash
|
|
12
12
|
- Read
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: b61f06380d80798fa2e49d37bcba0653495bee04dd6bdbc1feff9a75607b0508
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -58,3 +58,11 @@ RESPONSE CONTRACT:
|
|
|
58
58
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
59
59
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
60
60
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
61
|
+
|
|
62
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
63
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
64
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
65
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
66
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
67
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
68
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-pr-reviewer.md
CHANGED
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- mcp__token-pilot__read_for_edit
|
|
12
12
|
- Read
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: f83f50d05b4f70285ae7afed2b1a406fc436df56e61a0aedbfb31edc7f2b6e66
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -55,3 +55,11 @@ RESPONSE CONTRACT:
|
|
|
55
55
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
56
56
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
57
57
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
58
|
+
|
|
59
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
60
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
61
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
62
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
63
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
64
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
65
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -8,8 +8,8 @@ tools:
|
|
|
8
8
|
- mcp__token-pilot__outline
|
|
9
9
|
- mcp__token-pilot__read_symbol
|
|
10
10
|
model: sonnet
|
|
11
|
-
token_pilot_version: "0.
|
|
12
|
-
token_pilot_body_hash:
|
|
11
|
+
token_pilot_version: "0.31.0"
|
|
12
|
+
token_pilot_body_hash: c5f6fc122c89e16e5cf774045f92169ee3468555320b898171ba13eca5323550
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -48,3 +48,11 @@ RESPONSE CONTRACT:
|
|
|
48
48
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
49
49
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
50
50
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
51
|
+
|
|
52
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
53
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
54
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
55
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
56
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
57
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
58
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -9,8 +9,8 @@ tools:
|
|
|
9
9
|
- mcp__token-pilot__module_info
|
|
10
10
|
- Bash
|
|
11
11
|
model: sonnet
|
|
12
|
-
token_pilot_version: "0.
|
|
13
|
-
token_pilot_body_hash:
|
|
12
|
+
token_pilot_version: "0.31.0"
|
|
13
|
+
token_pilot_body_hash: 8ef3c3341cbfed4eb8dd130126a9683edc57e378c92ff0ca764d584fd941c55c
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -43,3 +43,11 @@ RESPONSE CONTRACT:
|
|
|
43
43
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
44
44
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
45
45
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
46
|
+
|
|
47
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
48
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
49
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
50
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
51
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
52
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
53
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-run.md
CHANGED
|
@@ -16,8 +16,8 @@ tools:
|
|
|
16
16
|
- Glob
|
|
17
17
|
- Bash
|
|
18
18
|
model: haiku
|
|
19
|
-
token_pilot_version: "0.
|
|
20
|
-
token_pilot_body_hash:
|
|
19
|
+
token_pilot_version: "0.31.0"
|
|
20
|
+
token_pilot_body_hash: 2b08618d34a61f00aafccbda9fed6d83243296dedb83440edbd2d5c28bb6dbc4
|
|
21
21
|
---
|
|
22
22
|
|
|
23
23
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -49,3 +49,11 @@ RESPONSE CONTRACT:
|
|
|
49
49
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
50
50
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
51
51
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
52
|
+
|
|
53
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
54
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
55
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
56
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
57
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
58
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
59
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -9,8 +9,8 @@ tools:
|
|
|
9
9
|
- mcp__token-pilot__session_budget
|
|
10
10
|
- Bash
|
|
11
11
|
- Read
|
|
12
|
-
token_pilot_version: "0.
|
|
13
|
-
token_pilot_body_hash:
|
|
12
|
+
token_pilot_version: "0.31.0"
|
|
13
|
+
token_pilot_body_hash: 529374ed728f5eed5b758b3be3da65624783c0bf0c1a253d7d661a843eb5f767
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -52,3 +52,11 @@ RESPONSE CONTRACT:
|
|
|
52
52
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
53
53
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
54
54
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
55
|
+
|
|
56
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
57
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
58
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
59
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
60
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
61
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
62
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -11,8 +11,8 @@ tools:
|
|
|
11
11
|
- Read
|
|
12
12
|
- Grep
|
|
13
13
|
model: sonnet
|
|
14
|
-
token_pilot_version: "0.
|
|
15
|
-
token_pilot_body_hash:
|
|
14
|
+
token_pilot_version: "0.31.0"
|
|
15
|
+
token_pilot_body_hash: a60f6ae110eb3138064bce074e8ba26fa0ce5f4659df1624a9d9d3646803391b
|
|
16
16
|
---
|
|
17
17
|
|
|
18
18
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -55,3 +55,11 @@ RESPONSE CONTRACT:
|
|
|
55
55
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
56
56
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
57
57
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
58
|
+
|
|
59
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
60
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
61
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
62
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
63
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
64
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
65
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-spec-writer.md
CHANGED
|
@@ -9,8 +9,8 @@ tools:
|
|
|
9
9
|
- Read
|
|
10
10
|
- Write
|
|
11
11
|
model: sonnet
|
|
12
|
-
token_pilot_version: "0.
|
|
13
|
-
token_pilot_body_hash:
|
|
12
|
+
token_pilot_version: "0.31.0"
|
|
13
|
+
token_pilot_body_hash: c7a4e8b39228fd5158528f389c924c5ff2d98c4b9b05ee0106d54a26c5dc1350
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -57,3 +57,11 @@ RESPONSE CONTRACT:
|
|
|
57
57
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
58
58
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
59
59
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
60
|
+
|
|
61
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
62
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
63
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
64
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
65
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
66
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
67
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
|
@@ -10,8 +10,8 @@ tools:
|
|
|
10
10
|
- mcp__token-pilot__test_summary
|
|
11
11
|
- Glob
|
|
12
12
|
- Grep
|
|
13
|
-
token_pilot_version: "0.
|
|
14
|
-
token_pilot_body_hash:
|
|
13
|
+
token_pilot_version: "0.31.0"
|
|
14
|
+
token_pilot_body_hash: be81eed53a3720d146cf89e4a14a7a56577633f7c84c234c412ab70d64c05b11
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -49,3 +49,11 @@ RESPONSE CONTRACT:
|
|
|
49
49
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
50
50
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
51
51
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
52
|
+
|
|
53
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
54
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
55
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
56
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
57
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
58
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
59
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-test-triage.md
CHANGED
|
@@ -8,8 +8,8 @@ tools:
|
|
|
8
8
|
- mcp__token-pilot__find_usages
|
|
9
9
|
- mcp__token-pilot__read_symbol
|
|
10
10
|
model: sonnet
|
|
11
|
-
token_pilot_version: "0.
|
|
12
|
-
token_pilot_body_hash:
|
|
11
|
+
token_pilot_version: "0.31.0"
|
|
12
|
+
token_pilot_body_hash: 362ecf4cb03b059421ea26933473700900073dc38b3a7fe271208dfb1ae14f90
|
|
13
13
|
---
|
|
14
14
|
|
|
15
15
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -41,3 +41,11 @@ RESPONSE CONTRACT:
|
|
|
41
41
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
42
42
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
43
43
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
44
|
+
|
|
45
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
46
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
47
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
48
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
49
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
50
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
51
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/agents/tp-test-writer.md
CHANGED
|
@@ -13,8 +13,8 @@ tools:
|
|
|
13
13
|
- Edit
|
|
14
14
|
- Bash
|
|
15
15
|
model: sonnet
|
|
16
|
-
token_pilot_version: "0.
|
|
17
|
-
token_pilot_body_hash:
|
|
16
|
+
token_pilot_version: "0.31.0"
|
|
17
|
+
token_pilot_body_hash: 269f2fe22ff4517c277d3f56ca67d8a5527b93290ab21079a83ba7af22c1b5a9
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
You are a token-pilot agent (`tp-<name>`). Your defining contract:
|
|
@@ -55,3 +55,11 @@ RESPONSE CONTRACT:
|
|
|
55
55
|
- Reference code as `path:line`; paste source only if your role requires a patch.
|
|
56
56
|
- Do NOT narrate tool calls. Do NOT preamble with "what was done well".
|
|
57
57
|
- If findings exceed your budget, write overflow to `.token-pilot/<agent>-<timestamp>.md` and reference it; keep the visible response within budget.
|
|
58
|
+
|
|
59
|
+
OUTPUT STYLE (MANDATORY — caveman mode):
|
|
60
|
+
- Drop articles/filler/hedging/pleasantries. Fragments OK. Short synonyms.
|
|
61
|
+
- Verbatim: code blocks, paths, commands, errors, API signatures, quoted user text, security warnings.
|
|
62
|
+
- Pattern: `[thing] [action] [reason]. [next step].`
|
|
63
|
+
- No: "The authentication middleware has an issue where the token expiration check uses strict less-than."
|
|
64
|
+
- Yes: "Auth middleware bug: token expiry uses `<` not `<=`. Fix at `src/auth.ts:42`."
|
|
65
|
+
- Target ≥30% shorter than conventional English. Never drop a technical detail for terseness.
|
package/dist/cli/stats.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ export interface StatsOptions {
|
|
|
20
20
|
*/
|
|
21
21
|
session?: boolean | string;
|
|
22
22
|
byAgent?: boolean;
|
|
23
|
+
/** v0.31.0 — Task-routing view: subagent_type usage + miss-rate. */
|
|
24
|
+
tasks?: boolean;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Pure formatter. Takes the full event list and options; returns the
|