pi-crew 0.1.41 → 0.1.43

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.
Files changed (176) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +51 -0
  3. package/agents/analyst.md +11 -11
  4. package/agents/critic.md +11 -11
  5. package/agents/executor.md +11 -11
  6. package/agents/explorer.md +11 -11
  7. package/agents/planner.md +11 -11
  8. package/agents/reviewer.md +11 -11
  9. package/agents/security-reviewer.md +11 -11
  10. package/agents/test-engineer.md +11 -11
  11. package/agents/verifier.md +11 -11
  12. package/agents/writer.md +11 -11
  13. package/docs/refactor-tasks-phase3.md +394 -394
  14. package/docs/refactor-tasks-phase4.md +564 -564
  15. package/docs/refactor-tasks-phase5.md +402 -402
  16. package/docs/refactor-tasks-phase6.md +662 -662
  17. package/docs/research-extension-examples.md +297 -297
  18. package/docs/research-extension-system.md +324 -324
  19. package/docs/research-optimization-plan.md +548 -548
  20. package/docs/research-pi-coding-agent.md +357 -357
  21. package/docs/research-source-pi-crew-reference.md +174 -174
  22. package/docs/runtime-flow.md +148 -148
  23. package/docs/source-runtime-refactor-map.md +83 -83
  24. package/index.ts +6 -6
  25. package/package.json +1 -1
  26. package/src/agents/agent-serializer.ts +34 -34
  27. package/src/agents/discover-agents.ts +4 -4
  28. package/src/config/config.ts +9 -4
  29. package/src/extension/cross-extension-rpc.ts +82 -82
  30. package/src/extension/management.ts +37 -8
  31. package/src/extension/notification-router.ts +2 -2
  32. package/src/extension/register.ts +3 -0
  33. package/src/extension/registration/commands.ts +11 -9
  34. package/src/extension/registration/compaction-guard.ts +125 -125
  35. package/src/extension/registration/subagent-tools.ts +28 -19
  36. package/src/extension/result-watcher.ts +4 -4
  37. package/src/extension/run-bundle-schema.ts +8 -4
  38. package/src/extension/run-import.ts +4 -0
  39. package/src/extension/run-index.ts +4 -1
  40. package/src/extension/run-maintenance.ts +43 -24
  41. package/src/extension/team-tool/api.ts +1 -1
  42. package/src/extension/team-tool/cancel.ts +31 -31
  43. package/src/extension/team-tool/doctor.ts +8 -1
  44. package/src/extension/team-tool/handle-settings.ts +188 -0
  45. package/src/extension/team-tool/inspect.ts +41 -41
  46. package/src/extension/team-tool/lifecycle-actions.ts +79 -79
  47. package/src/extension/team-tool/plan.ts +19 -19
  48. package/src/extension/team-tool/run.ts +4 -2
  49. package/src/extension/team-tool/status.ts +93 -93
  50. package/src/extension/team-tool.ts +3 -1
  51. package/src/i18n.ts +184 -0
  52. package/src/observability/correlation.ts +2 -2
  53. package/src/observability/event-to-metric.ts +4 -3
  54. package/src/observability/exporters/adapter.ts +7 -1
  55. package/src/observability/exporters/otlp-exporter.ts +14 -2
  56. package/src/observability/exporters/prometheus-exporter.ts +9 -2
  57. package/src/observability/metric-registry.ts +18 -3
  58. package/src/observability/metric-retention.ts +11 -3
  59. package/src/observability/metric-sink.ts +9 -4
  60. package/src/observability/metrics-primitives.ts +4 -3
  61. package/src/prompt/prompt-runtime.ts +72 -68
  62. package/src/runtime/agent-control.ts +63 -63
  63. package/src/runtime/agent-memory.ts +72 -72
  64. package/src/runtime/agent-observability.ts +114 -114
  65. package/src/runtime/async-marker.ts +26 -26
  66. package/src/runtime/attention-events.ts +28 -23
  67. package/src/runtime/background-runner.ts +53 -53
  68. package/src/runtime/child-pi.ts +4 -4
  69. package/src/runtime/completion-guard.ts +103 -99
  70. package/src/runtime/concurrency.ts +1 -1
  71. package/src/runtime/crash-recovery.ts +2 -1
  72. package/src/runtime/crew-agent-runtime.ts +58 -58
  73. package/src/runtime/deadletter.ts +14 -4
  74. package/src/runtime/direct-run.ts +35 -35
  75. package/src/runtime/foreground-control.ts +82 -82
  76. package/src/runtime/green-contract.ts +46 -46
  77. package/src/runtime/group-join.ts +106 -106
  78. package/src/runtime/heartbeat-gradient.ts +28 -28
  79. package/src/runtime/heartbeat-watcher.ts +48 -4
  80. package/src/runtime/live-agent-control.ts +87 -87
  81. package/src/runtime/live-agent-manager.ts +85 -85
  82. package/src/runtime/live-control-realtime.ts +36 -36
  83. package/src/runtime/live-session-runtime.ts +305 -305
  84. package/src/runtime/manifest-cache.ts +2 -2
  85. package/src/runtime/model-fallback.ts +269 -261
  86. package/src/runtime/parallel-research.ts +44 -44
  87. package/src/runtime/parallel-utils.ts +1 -1
  88. package/src/runtime/pi-json-output.ts +111 -111
  89. package/src/runtime/policy-engine.ts +79 -78
  90. package/src/runtime/post-exit-stdio-guard.ts +2 -2
  91. package/src/runtime/process-status.ts +56 -56
  92. package/src/runtime/progress-event-coalescer.ts +43 -43
  93. package/src/runtime/recovery-recipes.ts +74 -74
  94. package/src/runtime/retry-executor.ts +5 -0
  95. package/src/runtime/role-permission.ts +39 -39
  96. package/src/runtime/runtime-resolver.ts +1 -1
  97. package/src/runtime/session-usage.ts +79 -79
  98. package/src/runtime/sidechain-output.ts +29 -29
  99. package/src/runtime/subagent-manager.ts +3 -3
  100. package/src/runtime/task-display.ts +38 -38
  101. package/src/runtime/task-output-context.ts +127 -127
  102. package/src/runtime/task-runner/live-executor.ts +101 -101
  103. package/src/runtime/task-runner/progress.ts +119 -111
  104. package/src/runtime/task-runner/result-utils.ts +14 -14
  105. package/src/runtime/task-runner/state-helpers.ts +22 -22
  106. package/src/runtime/team-runner.ts +3 -6
  107. package/src/runtime/worker-heartbeat.ts +21 -21
  108. package/src/runtime/worker-startup.ts +57 -57
  109. package/src/schema/config-schema.ts +1 -1
  110. package/src/schema/team-tool-schema.ts +110 -109
  111. package/src/state/artifact-store.ts +4 -2
  112. package/src/state/atomic-write.ts +12 -4
  113. package/src/state/contracts.ts +105 -105
  114. package/src/state/event-log.ts +3 -4
  115. package/src/state/jsonl-writer.ts +4 -1
  116. package/src/state/locks.ts +9 -1
  117. package/src/state/task-claims.ts +44 -42
  118. package/src/state/usage.ts +29 -29
  119. package/src/subagents/async-entry.ts +1 -1
  120. package/src/subagents/index.ts +3 -3
  121. package/src/subagents/live/control.ts +1 -1
  122. package/src/subagents/live/manager.ts +1 -1
  123. package/src/subagents/live/realtime.ts +1 -1
  124. package/src/subagents/live/session-runtime.ts +1 -1
  125. package/src/subagents/manager.ts +1 -1
  126. package/src/subagents/spawn.ts +1 -1
  127. package/src/teams/discover-teams.ts +2 -2
  128. package/src/teams/team-serializer.ts +38 -38
  129. package/src/types/diff.d.ts +18 -18
  130. package/src/ui/crew-footer.ts +101 -101
  131. package/src/ui/crew-select-list.ts +111 -111
  132. package/src/ui/dashboard-panes/metrics-pane.ts +34 -34
  133. package/src/ui/dynamic-border.ts +25 -25
  134. package/src/ui/layout-primitives.ts +106 -106
  135. package/src/ui/live-run-sidebar.ts +1 -1
  136. package/src/ui/loaders.ts +158 -158
  137. package/src/ui/mascot.ts +3 -2
  138. package/src/ui/powerbar-publisher.ts +4 -3
  139. package/src/ui/render-diff.ts +119 -119
  140. package/src/ui/render-scheduler.ts +54 -14
  141. package/src/ui/run-dashboard.ts +39 -11
  142. package/src/ui/run-snapshot-cache.ts +63 -37
  143. package/src/ui/spinner.ts +17 -17
  144. package/src/ui/status-colors.ts +54 -54
  145. package/src/ui/syntax-highlight.ts +116 -116
  146. package/src/ui/theme-adapter.ts +1 -1
  147. package/src/ui/transcript-viewer.ts +7 -2
  148. package/src/utils/completion-dedupe.ts +63 -63
  149. package/src/utils/file-coalescer.ts +5 -3
  150. package/src/utils/frontmatter.ts +68 -36
  151. package/src/utils/git.ts +262 -262
  152. package/src/utils/ids.ts +12 -12
  153. package/src/utils/internal-error.ts +1 -1
  154. package/src/utils/names.ts +27 -26
  155. package/src/utils/paths.ts +1 -1
  156. package/src/utils/redaction.ts +44 -41
  157. package/src/utils/safe-paths.ts +47 -34
  158. package/src/utils/sleep.ts +2 -2
  159. package/src/utils/timings.ts +2 -0
  160. package/src/utils/visual.ts +9 -1
  161. package/src/workflows/discover-workflows.ts +4 -1
  162. package/src/workflows/validate-workflow.ts +40 -40
  163. package/src/worktree/branch-freshness.ts +45 -45
  164. package/src/worktree/worktree-manager.ts +6 -1
  165. package/teams/default.team.md +12 -12
  166. package/teams/fast-fix.team.md +11 -11
  167. package/teams/implementation.team.md +18 -18
  168. package/teams/parallel-research.team.md +14 -14
  169. package/teams/research.team.md +11 -11
  170. package/teams/review.team.md +12 -12
  171. package/workflows/default.workflow.md +29 -29
  172. package/workflows/fast-fix.workflow.md +22 -22
  173. package/workflows/implementation.workflow.md +38 -38
  174. package/workflows/parallel-research.workflow.md +46 -46
  175. package/workflows/research.workflow.md +22 -22
  176. package/workflows/review.workflow.md +30 -30
package/CHANGELOG.md CHANGED
@@ -2,6 +2,53 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.1.43
6
+
7
+ ### Added
8
+
9
+ - `/team-settings` command: view and manage all pi-crew config from Pi CLI (`list`, `get`, `set`, `unset`, `path`, `scope`).
10
+ - `addTranslations(locale, bundle)` and `listLocales()` for runtime-extensible i18n.
11
+
12
+ ### Fixed
13
+
14
+ - **UI freeze crash**: replaced `setInterval` with recursive `setTimeout` in `RenderScheduler` and `HeartbeatWatcher` to prevent timer storms when renders exceed the interval.
15
+ - **Growing-file I/O bottleneck**: `safeRecentEvents`, `readMailboxCounts`, `readGroupJoinMailbox` now use tail-reading (last 32 KB) instead of reading entire `.jsonl` files that grow unbounded over long runs.
16
+ - **Snapshot cache TTL** increased from 250 ms to 500 ms, halving unnecessary I/O.
17
+ - **Heartbeat watcher memory leak**: stale keys are now cleaned after 10 minutes of inactivity instead of being held forever.
18
+ - **Dashboard crash guard**: `render()` is wrapped in `try/catch` with a fallback error display.
19
+ - **Dashboard selected-index mismatch**: reset `selected` to 0 when the selected run disappears from the manifest cache.
20
+ - **`live-run-sidebar.ts` crash**: fixed missing optional chaining on `agent.progress?.recentOutput?.at(-1)`.
21
+ - **`signatureFor` crash**: `JSON.stringify` in snapshot cache wrapped in `try/catch` with a timestamp fallback.
22
+ - **Render scheduler timer leak**: added a `disposed` guard after `schedule()` to prevent orphaned timers.
23
+ - **Render scheduler loop guard**: capped at 5 iterations per `flush()` to prevent infinite loops when `render()` re-enters `flush()`.
24
+ - **`powerbar-publisher.ts`**: replaced `.filter().length` with `.reduce()` counting to avoid temporary array allocations.
25
+
26
+ ### Changed
27
+
28
+ - **i18n module hardened**: locale validated at runtime (not hardcoded union type), `currentLocale` reset on dispose, missing-key guard (`fallback[key] ?? key`), `__test__resetI18n()` helper.
29
+
30
+ ## 0.1.42
31
+
32
+ ### Fixed
33
+
34
+ - Reduced atomic-write rename retries from 20 to 5 and added busy-wait fallback for `Atomics.wait` to avoid event-loop stalls on Windows with aggressive file-locking.
35
+ - Applied the same `sleepSync` fallback pattern to `locks.ts` for consistent lock-acquisition resilience.
36
+ - Removed dead `findReadyTask` function in team-runner.
37
+ - Eliminated a redundant `refreshTaskGraphQueues` O(n) call per batch iteration by reusing the already-computed `taskGraphSnapshot` for ready-task selection.
38
+ - Expanded `appendTaskAttentionEvent` dedup window from 100 to 200 events and switched to a computed dedup key.
39
+
40
+ ### Changed
41
+
42
+ - Extended `MUTATING_TOOLS` set in completion guard with `replace_in_file`, `insert`, `delete_files`, `create_file`, `overwrite`, and `patch`.
43
+ - Extended `MUTATING_COMMANDS` regex with `sed -i`, `tee`, `wget -O`, and `curl -o` patterns.
44
+ - Reordered bash-command mutation check so mutating patterns (`sed -i`) take priority over read-only patterns (`sed`).
45
+ - Unknown bash commands that don't match the read-only list are now treated as potentially mutating (conservative default).
46
+
47
+ ### Hardened
48
+
49
+ - Replaced `timer.unref?.()` with `timer.unref()` in `SubagentManager` blocked-poll and stuck-notify timers.
50
+ - Added session-liveness guard to `notifyOperator` fallback so it won't attempt `sendFollowUp` after extension cleanup.
51
+
5
52
  ## 0.1.41
6
53
 
7
54
  ### Added
package/README.md CHANGED
@@ -457,6 +457,7 @@ Manual slash commands are ops/debug controls. Autonomous tool use via policy/rec
457
457
  /team-dashboard
458
458
  /team-init [--copy-builtins] [--overwrite]
459
459
  /team-config [key=value] [--unset=key.path] [--project]
460
+ /team-settings [list|get <key>|set <key> <value>|unset <key>|path|scope]
460
461
  /team-autonomy [status|on|off|manual|suggested|assisted|aggressive] [--prefer-async] [--no-worktree-suggest]
461
462
  /team-validate
462
463
  /team-help
@@ -493,6 +494,56 @@ Use `/team-metrics` for a current metrics snapshot. The optional argument is a g
493
494
  /team-metrics crew.task.*
494
495
  ```
495
496
 
497
+ ### `/team-settings` — view & manage config
498
+
499
+ List all settings, get/set individual keys, or unset (reset to default).
500
+
501
+ ```text
502
+ /team-settings # list all known config keys
503
+ /team-settings get limits.maxTurns # read one key
504
+ /team-settings set limits.maxTurns 20 # update a key
505
+ /team-settings unset runtime.maxTurns # reset to default
506
+ /team-settings path # show config file path
507
+ /team-settings scope # show current scope (user/project)
508
+ ```
509
+
510
+ **Supported config keys:**
511
+
512
+ | Key | Type | Description |
513
+ |-----|------|-------------|
514
+ | `asyncByDefault` | boolean | Run workflows async by default |
515
+ | `executeWorkers` | boolean | Enable real child Pi workers |
516
+ | `notifierIntervalMs` | number | Polling interval for async notifications |
517
+ | `runtime.mode` | `"auto"\|"scaffold"\|"child-process"\|"live-session"` | Crew runtime selection |
518
+ | `runtime.maxTurns` | number | Max turns per worker |
519
+ | `runtime.graceTurns` | number | Grace turns after max |
520
+ | `runtime.inheritContext` | boolean | Workers inherit parent context |
521
+ | `runtime.promptMode` | `"replace"\|"append"` | Prompt merge strategy |
522
+ | `runtime.groupJoin` | `"off"\|"group"\|"smart"` | Group join strategy |
523
+ | `runtime.groupJoinAckTimeoutMs` | number | Group join ack timeout (ms) |
524
+ | `runtime.requirePlanApproval` | boolean | Require plan approval before execution |
525
+ | `runtime.completionMutationGuard` | `"off"\|"warn"\|"fail"` | Mutation guard on completion |
526
+ | `limits.maxConcurrentWorkers` | number | Max concurrent workers |
527
+ | `limits.maxTaskDepth` | number | Max task tree depth |
528
+ | `limits.maxChildrenPerTask` | number | Max children per task |
529
+ | `limits.maxRunMinutes` | number | Max run duration (minutes) |
530
+ | `limits.maxRetriesPerTask` | number | Max retries per task |
531
+ | `limits.maxTasksPerRun` | number | Max tasks per run |
532
+ | `limits.heartbeatStaleMs` | number | Heartbeat stale threshold (ms) |
533
+ | `control.enabled` | boolean | Enable agent control-plane |
534
+ | `control.needsAttentionAfterMs` | number | Attention trigger after inactivity (ms) |
535
+ | `autonomous.profile` | `"manual"\|"suggested"\|"assisted"\|"aggressive"` | Autonomy profile |
536
+ | `autonomous.injectPolicy` | boolean | Inject autonomy policy into prompt |
537
+ | `autonomous.preferAsyncForLongTasks` | boolean | Auto-async for long tasks |
538
+ | `autonomous.allowWorktreeSuggestion` | boolean | Suggest worktree mode |
539
+ | `tools.enableClaudeStyleAliases` | boolean | Enable Claude-style tool aliases |
540
+ | `tools.enableSteer` | boolean | Enable steer tool |
541
+ | `tools.terminateOnForeground` | boolean | Return terminate:true from foreground Agent |
542
+ | `agents.disableBuiltins` | boolean | Disable all builtin agents |
543
+ | `observability.prometheus.enabled` | boolean | Enable Prometheus exporter |
544
+ | `observability.otlp.enabled` | boolean | Enable OTLP exporter |
545
+ | `worktree.enabled` | boolean | Enable worktree isolation |
546
+
496
547
  ## Dashboard
497
548
 
498
549
  Open:
package/agents/analyst.md CHANGED
@@ -1,11 +1,11 @@
1
- ---
2
- name: analyst
3
- description: Analyze requirements, ambiguity, and hidden constraints
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls
9
- ---
10
-
11
- You are a requirements analyst. Identify what is known, unknown, risky, ambiguous, or underspecified. Produce clarifying assumptions and acceptance criteria.
1
+ ---
2
+ name: analyst
3
+ description: Analyze requirements, ambiguity, and hidden constraints
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls
9
+ ---
10
+
11
+ You are a requirements analyst. Identify what is known, unknown, risky, ambiguous, or underspecified. Produce clarifying assumptions and acceptance criteria.
package/agents/critic.md CHANGED
@@ -1,11 +1,11 @@
1
- ---
2
- name: critic
3
- description: Challenge plans and designs before execution
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls
9
- ---
10
-
11
- You are a critical reviewer. Find flaws, missing steps, unsafe assumptions, overengineering, underengineering, and verification gaps. Return concrete fixes to the plan.
1
+ ---
2
+ name: critic
3
+ description: Challenge plans and designs before execution
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls
9
+ ---
10
+
11
+ You are a critical reviewer. Find flaws, missing steps, unsafe assumptions, overengineering, underengineering, and verification gaps. Return concrete fixes to the plan.
@@ -1,11 +1,11 @@
1
- ---
2
- name: executor
3
- description: Implement planned code changes
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, bash, edit, write
9
- ---
10
-
11
- You are an implementation specialist. Follow the provided plan, make targeted changes, keep edits minimal, and report changed files plus validation status. Do not broaden scope without explaining why.
1
+ ---
2
+ name: executor
3
+ description: Implement planned code changes
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, bash, edit, write
9
+ ---
10
+
11
+ You are an implementation specialist. Follow the provided plan, make targeted changes, keep edits minimal, and report changed files plus validation status. Do not broaden scope without explaining why.
@@ -1,11 +1,11 @@
1
- ---
2
- name: explorer
3
- description: Fast codebase discovery and file/symbol mapping
4
- model: claude-haiku-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls
9
- ---
10
-
11
- You are a fast codebase explorer. Map relevant files, symbols, data flow, and constraints. Do not modify files. Return concise findings with paths and evidence.
1
+ ---
2
+ name: explorer
3
+ description: Fast codebase discovery and file/symbol mapping
4
+ model: claude-haiku-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls
9
+ ---
10
+
11
+ You are a fast codebase explorer. Map relevant files, symbols, data flow, and constraints. Do not modify files. Return concise findings with paths and evidence.
package/agents/planner.md CHANGED
@@ -1,11 +1,11 @@
1
- ---
2
- name: planner
3
- description: Create an execution plan with clear sequencing and risk notes
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls
9
- ---
10
-
11
- You are a planning specialist. Convert the goal and discovery notes into a concrete, ordered plan. Identify dependencies, risks, validation steps, and handoff instructions for implementers.
1
+ ---
2
+ name: planner
3
+ description: Create an execution plan with clear sequencing and risk notes
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls
9
+ ---
10
+
11
+ You are a planning specialist. Convert the goal and discovery notes into a concrete, ordered plan. Identify dependencies, risks, validation steps, and handoff instructions for implementers.
@@ -1,11 +1,11 @@
1
- ---
2
- name: reviewer
3
- description: Review code changes for correctness, maintainability, and regressions
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, bash
9
- ---
10
-
11
- You are a code reviewer. Review the implementation for bugs, regressions, maintainability issues, missing tests, and project-rule violations. Return prioritized findings with evidence.
1
+ ---
2
+ name: reviewer
3
+ description: Review code changes for correctness, maintainability, and regressions
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, bash
9
+ ---
10
+
11
+ You are a code reviewer. Review the implementation for bugs, regressions, maintainability issues, missing tests, and project-rule violations. Return prioritized findings with evidence.
@@ -1,11 +1,11 @@
1
- ---
2
- name: security-reviewer
3
- description: Review changes for security vulnerabilities and trust-boundary issues
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, bash
9
- ---
10
-
11
- You are a security reviewer. Look for injection, authn/authz flaws, insecure defaults, secret exposure, unsafe filesystem/network behavior, and dependency risks. Return severity and remediation.
1
+ ---
2
+ name: security-reviewer
3
+ description: Review changes for security vulnerabilities and trust-boundary issues
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, bash
9
+ ---
10
+
11
+ You are a security reviewer. Look for injection, authn/authz flaws, insecure defaults, secret exposure, unsafe filesystem/network behavior, and dependency risks. Return severity and remediation.
@@ -1,11 +1,11 @@
1
- ---
2
- name: test-engineer
3
- description: Design and implement test strategy for a change
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, bash, edit, write
9
- ---
10
-
11
- You are a test engineer. Identify the right test level, add or adjust tests when asked, detect flaky assumptions, and report exact validation commands and results.
1
+ ---
2
+ name: test-engineer
3
+ description: Design and implement test strategy for a change
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, bash, edit, write
9
+ ---
10
+
11
+ You are a test engineer. Identify the right test level, add or adjust tests when asked, detect flaky assumptions, and report exact validation commands and results.
@@ -1,11 +1,11 @@
1
- ---
2
- name: verifier
3
- description: Verify that implementation satisfies the requested goal
4
- model: claude-sonnet-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, bash
9
- ---
10
-
11
- You are a verification specialist. Check whether the work is complete, correct, tested, and aligned with project constraints. Prefer evidence over assumptions. Return PASS or FAIL with reasons.
1
+ ---
2
+ name: verifier
3
+ description: Verify that implementation satisfies the requested goal
4
+ model: claude-sonnet-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, bash
9
+ ---
10
+
11
+ You are a verification specialist. Check whether the work is complete, correct, tested, and aligned with project constraints. Prefer evidence over assumptions. Return PASS or FAIL with reasons.
package/agents/writer.md CHANGED
@@ -1,11 +1,11 @@
1
- ---
2
- name: writer
3
- description: Write concise documentation, migration notes, and summaries
4
- model: claude-haiku-4-5
5
- systemPromptMode: replace
6
- inheritProjectContext: true
7
- inheritSkills: false
8
- tools: read, grep, find, ls, edit, write
9
- ---
10
-
11
- You are a documentation specialist. Produce clear, concise, maintainable docs and summaries. Preserve technical accuracy and avoid marketing fluff.
1
+ ---
2
+ name: writer
3
+ description: Write concise documentation, migration notes, and summaries
4
+ model: claude-haiku-4-5
5
+ systemPromptMode: replace
6
+ inheritProjectContext: true
7
+ inheritSkills: false
8
+ tools: read, grep, find, ls, edit, write
9
+ ---
10
+
11
+ You are a documentation specialist. Produce clear, concise, maintainable docs and summaries. Preserve technical accuracy and avoid marketing fluff.