cclaw-cli 7.7.1 → 8.1.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/README.md +210 -134
- package/dist/artifact-frontmatter.d.ts +51 -0
- package/dist/artifact-frontmatter.js +131 -0
- package/dist/artifact-paths.d.ts +7 -27
- package/dist/artifact-paths.js +20 -249
- package/dist/cancel.d.ts +16 -0
- package/dist/cancel.js +66 -0
- package/dist/cli.d.ts +2 -27
- package/dist/cli.js +90 -508
- package/dist/compound.d.ts +26 -0
- package/dist/compound.js +96 -0
- package/dist/config.d.ts +14 -51
- package/dist/config.js +23 -359
- package/dist/constants.d.ts +11 -18
- package/dist/constants.js +19 -106
- package/dist/content/antipatterns.d.ts +1 -0
- package/dist/content/antipatterns.js +109 -0
- package/dist/content/artifact-templates.d.ts +10 -0
- package/dist/content/artifact-templates.js +550 -0
- package/dist/content/cancel-command.d.ts +2 -2
- package/dist/content/cancel-command.js +25 -17
- package/dist/content/core-agents.d.ts +9 -233
- package/dist/content/core-agents.js +39 -768
- package/dist/content/decision-protocol.d.ts +1 -12
- package/dist/content/decision-protocol.js +27 -20
- package/dist/content/examples.d.ts +8 -42
- package/dist/content/examples.js +293 -425
- package/dist/content/idea-command.d.ts +2 -0
- package/dist/content/idea-command.js +38 -0
- package/dist/content/iron-laws.d.ts +4 -138
- package/dist/content/iron-laws.js +18 -197
- package/dist/content/meta-skill.d.ts +1 -3
- package/dist/content/meta-skill.js +57 -134
- package/dist/content/node-hooks.d.ts +12 -8
- package/dist/content/node-hooks.js +188 -838
- package/dist/content/recovery.d.ts +8 -0
- package/dist/content/recovery.js +179 -0
- package/dist/content/reference-patterns.d.ts +4 -13
- package/dist/content/reference-patterns.js +260 -389
- package/dist/content/research-playbooks.d.ts +8 -8
- package/dist/content/research-playbooks.js +108 -121
- package/dist/content/review-loop.d.ts +6 -192
- package/dist/content/review-loop.js +29 -731
- package/dist/content/skills.d.ts +8 -38
- package/dist/content/skills.js +681 -732
- package/dist/content/specialist-prompts/architect.d.ts +1 -0
- package/dist/content/specialist-prompts/architect.js +225 -0
- package/dist/content/specialist-prompts/brainstormer.d.ts +1 -0
- package/dist/content/specialist-prompts/brainstormer.js +168 -0
- package/dist/content/specialist-prompts/index.d.ts +2 -0
- package/dist/content/specialist-prompts/index.js +14 -0
- package/dist/content/specialist-prompts/planner.d.ts +1 -0
- package/dist/content/specialist-prompts/planner.js +182 -0
- package/dist/content/specialist-prompts/reviewer.d.ts +1 -0
- package/dist/content/specialist-prompts/reviewer.js +193 -0
- package/dist/content/specialist-prompts/security-reviewer.d.ts +1 -0
- package/dist/content/specialist-prompts/security-reviewer.js +133 -0
- package/dist/content/specialist-prompts/slice-builder.d.ts +1 -0
- package/dist/content/specialist-prompts/slice-builder.js +232 -0
- package/dist/content/stage-playbooks.d.ts +8 -0
- package/dist/content/stage-playbooks.js +404 -0
- package/dist/content/start-command.d.ts +2 -12
- package/dist/content/start-command.js +221 -207
- package/dist/flow-state.d.ts +21 -178
- package/dist/flow-state.js +67 -170
- package/dist/fs-utils.d.ts +6 -26
- package/dist/fs-utils.js +29 -162
- package/dist/gitignore.d.ts +2 -1
- package/dist/gitignore.js +51 -34
- package/dist/harness-detect.d.ts +10 -0
- package/dist/harness-detect.js +29 -0
- package/dist/install.d.ts +27 -15
- package/dist/install.js +230 -1342
- package/dist/knowledge-store.d.ts +19 -163
- package/dist/knowledge-store.js +56 -590
- package/dist/logger.d.ts +8 -3
- package/dist/logger.js +13 -4
- package/dist/orchestrator-routing.d.ts +29 -0
- package/dist/orchestrator-routing.js +156 -0
- package/dist/run-persistence.d.ts +7 -118
- package/dist/run-persistence.js +29 -845
- package/dist/runtime/run-hook.entry.d.ts +1 -3
- package/dist/runtime/run-hook.entry.js +19 -4
- package/dist/runtime/run-hook.mjs +13 -1024
- package/dist/types.d.ts +25 -261
- package/dist/types.js +8 -36
- package/package.json +6 -3
- package/dist/artifact-linter/brainstorm.d.ts +0 -2
- package/dist/artifact-linter/brainstorm.js +0 -353
- package/dist/artifact-linter/design.d.ts +0 -18
- package/dist/artifact-linter/design.js +0 -444
- package/dist/artifact-linter/findings-dedup.d.ts +0 -56
- package/dist/artifact-linter/findings-dedup.js +0 -232
- package/dist/artifact-linter/plan.d.ts +0 -2
- package/dist/artifact-linter/plan.js +0 -826
- package/dist/artifact-linter/review-army.d.ts +0 -49
- package/dist/artifact-linter/review-army.js +0 -520
- package/dist/artifact-linter/review.d.ts +0 -2
- package/dist/artifact-linter/review.js +0 -113
- package/dist/artifact-linter/scope.d.ts +0 -2
- package/dist/artifact-linter/scope.js +0 -158
- package/dist/artifact-linter/shared.d.ts +0 -637
- package/dist/artifact-linter/shared.js +0 -2163
- package/dist/artifact-linter/ship.d.ts +0 -2
- package/dist/artifact-linter/ship.js +0 -250
- package/dist/artifact-linter/spec.d.ts +0 -2
- package/dist/artifact-linter/spec.js +0 -176
- package/dist/artifact-linter/tdd.d.ts +0 -118
- package/dist/artifact-linter/tdd.js +0 -1404
- package/dist/artifact-linter.d.ts +0 -15
- package/dist/artifact-linter.js +0 -517
- package/dist/codex-feature-flag.d.ts +0 -58
- package/dist/codex-feature-flag.js +0 -193
- package/dist/content/closeout-guidance.d.ts +0 -14
- package/dist/content/closeout-guidance.js +0 -44
- package/dist/content/diff-command.d.ts +0 -1
- package/dist/content/diff-command.js +0 -43
- package/dist/content/harness-doc.d.ts +0 -1
- package/dist/content/harness-doc.js +0 -65
- package/dist/content/hook-events.d.ts +0 -9
- package/dist/content/hook-events.js +0 -23
- package/dist/content/hook-manifest.d.ts +0 -81
- package/dist/content/hook-manifest.js +0 -156
- package/dist/content/hooks.d.ts +0 -11
- package/dist/content/hooks.js +0 -1972
- package/dist/content/idea.d.ts +0 -60
- package/dist/content/idea.js +0 -416
- package/dist/content/language-policy.d.ts +0 -2
- package/dist/content/language-policy.js +0 -13
- package/dist/content/learnings.d.ts +0 -6
- package/dist/content/learnings.js +0 -141
- package/dist/content/observe.d.ts +0 -19
- package/dist/content/observe.js +0 -86
- package/dist/content/opencode-plugin.d.ts +0 -1
- package/dist/content/opencode-plugin.js +0 -635
- package/dist/content/review-prompts.d.ts +0 -1
- package/dist/content/review-prompts.js +0 -104
- package/dist/content/runtime-shared-snippets.d.ts +0 -8
- package/dist/content/runtime-shared-snippets.js +0 -80
- package/dist/content/session-hooks.d.ts +0 -7
- package/dist/content/session-hooks.js +0 -107
- package/dist/content/skills-elicitation.d.ts +0 -1
- package/dist/content/skills-elicitation.js +0 -167
- package/dist/content/stage-command.d.ts +0 -2
- package/dist/content/stage-command.js +0 -17
- package/dist/content/stage-schema.d.ts +0 -117
- package/dist/content/stage-schema.js +0 -955
- package/dist/content/stages/_lint-metadata/index.d.ts +0 -2
- package/dist/content/stages/_lint-metadata/index.js +0 -97
- package/dist/content/stages/brainstorm.d.ts +0 -2
- package/dist/content/stages/brainstorm.js +0 -184
- package/dist/content/stages/design.d.ts +0 -2
- package/dist/content/stages/design.js +0 -288
- package/dist/content/stages/index.d.ts +0 -8
- package/dist/content/stages/index.js +0 -11
- package/dist/content/stages/plan.d.ts +0 -2
- package/dist/content/stages/plan.js +0 -191
- package/dist/content/stages/review.d.ts +0 -2
- package/dist/content/stages/review.js +0 -240
- package/dist/content/stages/schema-types.d.ts +0 -203
- package/dist/content/stages/schema-types.js +0 -1
- package/dist/content/stages/scope.d.ts +0 -2
- package/dist/content/stages/scope.js +0 -254
- package/dist/content/stages/ship.d.ts +0 -2
- package/dist/content/stages/ship.js +0 -159
- package/dist/content/stages/spec.d.ts +0 -2
- package/dist/content/stages/spec.js +0 -170
- package/dist/content/stages/tdd.d.ts +0 -4
- package/dist/content/stages/tdd.js +0 -273
- package/dist/content/state-contracts.d.ts +0 -1
- package/dist/content/state-contracts.js +0 -63
- package/dist/content/status-command.d.ts +0 -4
- package/dist/content/status-command.js +0 -109
- package/dist/content/subagent-context-skills.d.ts +0 -4
- package/dist/content/subagent-context-skills.js +0 -279
- package/dist/content/subagents.d.ts +0 -3
- package/dist/content/subagents.js +0 -997
- package/dist/content/templates.d.ts +0 -26
- package/dist/content/templates.js +0 -1692
- package/dist/content/track-render-context.d.ts +0 -18
- package/dist/content/track-render-context.js +0 -53
- package/dist/content/tree-command.d.ts +0 -1
- package/dist/content/tree-command.js +0 -64
- package/dist/content/utility-skills.d.ts +0 -30
- package/dist/content/utility-skills.js +0 -160
- package/dist/content/view-command.d.ts +0 -2
- package/dist/content/view-command.js +0 -92
- package/dist/delegation.d.ts +0 -649
- package/dist/delegation.js +0 -1539
- package/dist/early-loop.d.ts +0 -70
- package/dist/early-loop.js +0 -302
- package/dist/execution-topology.d.ts +0 -44
- package/dist/execution-topology.js +0 -95
- package/dist/gate-evidence.d.ts +0 -85
- package/dist/gate-evidence.js +0 -631
- package/dist/harness-adapters.d.ts +0 -151
- package/dist/harness-adapters.js +0 -756
- package/dist/harness-selection.d.ts +0 -31
- package/dist/harness-selection.js +0 -214
- package/dist/hook-schema.d.ts +0 -6
- package/dist/hook-schema.js +0 -114
- package/dist/hook-schemas/claude-hooks.v1.json +0 -10
- package/dist/hook-schemas/codex-hooks.v1.json +0 -10
- package/dist/hook-schemas/cursor-hooks.v1.json +0 -13
- package/dist/init-detect.d.ts +0 -2
- package/dist/init-detect.js +0 -50
- package/dist/internal/advance-stage/advance.d.ts +0 -89
- package/dist/internal/advance-stage/advance.js +0 -655
- package/dist/internal/advance-stage/cancel-run.d.ts +0 -8
- package/dist/internal/advance-stage/cancel-run.js +0 -19
- package/dist/internal/advance-stage/flow-state-coercion.d.ts +0 -3
- package/dist/internal/advance-stage/flow-state-coercion.js +0 -81
- package/dist/internal/advance-stage/helpers.d.ts +0 -14
- package/dist/internal/advance-stage/helpers.js +0 -145
- package/dist/internal/advance-stage/hook.d.ts +0 -8
- package/dist/internal/advance-stage/hook.js +0 -40
- package/dist/internal/advance-stage/parsers.d.ts +0 -72
- package/dist/internal/advance-stage/parsers.js +0 -357
- package/dist/internal/advance-stage/proactive-delegation-trace.d.ts +0 -24
- package/dist/internal/advance-stage/proactive-delegation-trace.js +0 -56
- package/dist/internal/advance-stage/review-loop.d.ts +0 -16
- package/dist/internal/advance-stage/review-loop.js +0 -199
- package/dist/internal/advance-stage/rewind.d.ts +0 -14
- package/dist/internal/advance-stage/rewind.js +0 -108
- package/dist/internal/advance-stage/start-flow.d.ts +0 -13
- package/dist/internal/advance-stage/start-flow.js +0 -241
- package/dist/internal/advance-stage/verify.d.ts +0 -21
- package/dist/internal/advance-stage/verify.js +0 -185
- package/dist/internal/advance-stage.d.ts +0 -7
- package/dist/internal/advance-stage.js +0 -138
- package/dist/internal/cohesion-contract-stub.d.ts +0 -24
- package/dist/internal/cohesion-contract-stub.js +0 -148
- package/dist/internal/compound-readiness.d.ts +0 -23
- package/dist/internal/compound-readiness.js +0 -102
- package/dist/internal/detect-public-api-changes.d.ts +0 -5
- package/dist/internal/detect-public-api-changes.js +0 -45
- package/dist/internal/detect-supply-chain-changes.d.ts +0 -6
- package/dist/internal/detect-supply-chain-changes.js +0 -138
- package/dist/internal/early-loop-status.d.ts +0 -7
- package/dist/internal/early-loop-status.js +0 -93
- package/dist/internal/envelope-validate.d.ts +0 -7
- package/dist/internal/envelope-validate.js +0 -66
- package/dist/internal/flow-state-repair.d.ts +0 -20
- package/dist/internal/flow-state-repair.js +0 -104
- package/dist/internal/plan-split-waves.d.ts +0 -190
- package/dist/internal/plan-split-waves.js +0 -764
- package/dist/internal/runtime-integrity.d.ts +0 -7
- package/dist/internal/runtime-integrity.js +0 -268
- package/dist/internal/slice-commit.d.ts +0 -7
- package/dist/internal/slice-commit.js +0 -619
- package/dist/internal/tdd-loop-status.d.ts +0 -14
- package/dist/internal/tdd-loop-status.js +0 -68
- package/dist/internal/tdd-red-evidence.d.ts +0 -7
- package/dist/internal/tdd-red-evidence.js +0 -153
- package/dist/internal/waiver-grant.d.ts +0 -62
- package/dist/internal/waiver-grant.js +0 -294
- package/dist/internal/wave-status.d.ts +0 -74
- package/dist/internal/wave-status.js +0 -506
- package/dist/managed-resources.d.ts +0 -53
- package/dist/managed-resources.js +0 -313
- package/dist/policy.d.ts +0 -10
- package/dist/policy.js +0 -167
- package/dist/retro-gate.d.ts +0 -9
- package/dist/retro-gate.js +0 -47
- package/dist/run-archive.d.ts +0 -61
- package/dist/run-archive.js +0 -391
- package/dist/runs.d.ts +0 -2
- package/dist/runs.js +0 -2
- package/dist/stack-detection.d.ts +0 -116
- package/dist/stack-detection.js +0 -489
- package/dist/streaming/event-stream.d.ts +0 -31
- package/dist/streaming/event-stream.js +0 -114
- package/dist/tdd-cycle.d.ts +0 -107
- package/dist/tdd-cycle.js +0 -289
- package/dist/tdd-verification-evidence.d.ts +0 -17
- package/dist/tdd-verification-evidence.js +0 -122
- package/dist/track-heuristics.d.ts +0 -27
- package/dist/track-heuristics.js +0 -154
- package/dist/util/slice-id.d.ts +0 -58
- package/dist/util/slice-id.js +0 -89
- package/dist/worktree-manager.d.ts +0 -20
- package/dist/worktree-manager.js +0 -108
|
@@ -1,235 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* playbooks and is executed in-thread by the primary agent.
|
|
8
|
-
*/
|
|
9
|
-
export interface AgentReturnSchema {
|
|
10
|
-
/** Field carrying the terminal verdict/status token. */
|
|
11
|
-
statusField: string;
|
|
12
|
-
/** Exact allowed terminal values for this agent's first structured return. */
|
|
13
|
-
allowedStatuses: string[];
|
|
14
|
-
/** Fields the controller should expect in every completed response. */
|
|
15
|
-
requiredFields: string[];
|
|
16
|
-
/** Fields that must cite artifact anchors, commands, or code locations when applicable. */
|
|
17
|
-
evidenceFields: string[];
|
|
18
|
-
/** Additional optional fields allowed for specific agent contracts. */
|
|
19
|
-
optionalFields?: string[];
|
|
20
|
-
}
|
|
21
|
-
export interface AgentDefinition {
|
|
22
|
-
/** Kebab-case identifier, e.g. `"reviewer"`. */
|
|
23
|
-
name: string;
|
|
24
|
-
/** When to invoke — include PROACTIVE / MUST BE USED guidance. */
|
|
1
|
+
import type { SpecialistId } from "../types.js";
|
|
2
|
+
export interface CoreAgent {
|
|
3
|
+
id: SpecialistId;
|
|
4
|
+
title: string;
|
|
5
|
+
activation: "on-demand";
|
|
6
|
+
modes: string[];
|
|
25
7
|
description: string;
|
|
26
|
-
|
|
27
|
-
tools: string[];
|
|
28
|
-
/** Model tier for routing cost/latency vs depth. */
|
|
29
|
-
model: "fast" | "balanced" | "deep";
|
|
30
|
-
/** How the harness should treat activation relative to flow context. */
|
|
31
|
-
activation: "proactive" | "on-demand" | "mandatory";
|
|
32
|
-
/** cclaw flow stages this agent is designed to support. */
|
|
33
|
-
relatedStages: string[];
|
|
34
|
-
/** Strict terminal return contract rendered into materialized agent files. */
|
|
35
|
-
returnSchema: AgentReturnSchema;
|
|
36
|
-
/** Markdown body rendered below the YAML frontmatter. */
|
|
37
|
-
body: string;
|
|
8
|
+
prompt: string;
|
|
38
9
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* echoed in the TDD skill block).
|
|
42
|
-
*/
|
|
43
|
-
export declare function sliceBuilderProtocol(): string;
|
|
44
|
-
/**
|
|
45
|
-
* Canonical specialist roster materialized under `.cclaw/agents/`.
|
|
46
|
-
*
|
|
47
|
-
* Declared with `satisfies` so the array retains literal `name` types for
|
|
48
|
-
* downstream type-level consumers (e.g. `AgentName`), while still being
|
|
49
|
-
* checked against the `AgentDefinition` shape at compile time. Do not add
|
|
50
|
-
* an explicit `AgentDefinition[]` annotation here — it would widen `name`
|
|
51
|
-
* to `string` and break the compile-time drift guard.
|
|
52
|
-
*/
|
|
53
|
-
export declare const CCLAW_AGENTS: readonly [{
|
|
54
|
-
readonly name: "researcher";
|
|
55
|
-
readonly description: "PROACTIVE when context readiness, repo search, reference patterns, or external docs could change a stage decision. MUST summarize search-before-read evidence before large reads.";
|
|
56
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
57
|
-
readonly model: "fast";
|
|
58
|
-
readonly activation: "proactive";
|
|
59
|
-
readonly relatedStages: ["brainstorm", "scope", "design", "plan"];
|
|
60
|
-
readonly returnSchema: AgentReturnSchema;
|
|
61
|
-
readonly body: string;
|
|
62
|
-
}, {
|
|
63
|
-
readonly name: "planner";
|
|
64
|
-
readonly description: "MANDATORY for scope/design/plan and PROACTIVE for high-ambiguity work. MUST BE USED when sequencing, dependency mapping, or risk trade-offs are required before coding.";
|
|
65
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
66
|
-
readonly model: "deep";
|
|
67
|
-
readonly activation: "mandatory";
|
|
68
|
-
readonly relatedStages: ["brainstorm", "scope", "design", "spec", "plan"];
|
|
69
|
-
readonly returnSchema: AgentReturnSchema;
|
|
70
|
-
readonly body: string;
|
|
71
|
-
}, {
|
|
72
|
-
readonly name: "product-discovery";
|
|
73
|
-
readonly description: "MANDATORY during brainstorm and PROACTIVE during scope when value framing or expansion strategy needs product-level discovery pressure.";
|
|
74
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
75
|
-
readonly model: "deep";
|
|
76
|
-
readonly activation: "mandatory";
|
|
77
|
-
readonly relatedStages: ["brainstorm", "scope"];
|
|
78
|
-
readonly returnSchema: AgentReturnSchema;
|
|
79
|
-
readonly body: string;
|
|
80
|
-
}, {
|
|
81
|
-
readonly name: "divergent-thinker";
|
|
82
|
-
readonly description: "PROACTIVE before planner/critic convergence when brainstorm or scope needs option-space expansion and alternative framings.";
|
|
83
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
84
|
-
readonly model: "balanced";
|
|
85
|
-
readonly activation: "proactive";
|
|
86
|
-
readonly relatedStages: ["brainstorm", "scope"];
|
|
87
|
-
readonly returnSchema: AgentReturnSchema;
|
|
88
|
-
readonly body: string;
|
|
89
|
-
}, {
|
|
90
|
-
readonly name: "critic";
|
|
91
|
-
readonly description: "PROACTIVE during brainstorm/scope/design when premises, alternatives, cost, rollback, or hidden assumptions need adversarial pressure.";
|
|
92
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
93
|
-
readonly model: "balanced";
|
|
94
|
-
readonly activation: "proactive";
|
|
95
|
-
readonly relatedStages: ["brainstorm", "scope", "design"];
|
|
96
|
-
readonly returnSchema: AgentReturnSchema;
|
|
97
|
-
readonly body: string;
|
|
98
|
-
}, {
|
|
99
|
-
readonly name: "architect";
|
|
100
|
-
readonly description: "MANDATORY during design and final ship verification. MUST BE USED to validate architecture boundaries, alternatives, failure modes, rollout, and cross-stage cohesion before release.";
|
|
101
|
-
readonly tools: ["Read", "Grep", "Glob", "WebSearch"];
|
|
102
|
-
readonly model: "deep";
|
|
103
|
-
readonly activation: "mandatory";
|
|
104
|
-
readonly relatedStages: ["design", "ship"];
|
|
105
|
-
readonly returnSchema: AgentReturnSchema;
|
|
106
|
-
readonly body: string;
|
|
107
|
-
}, {
|
|
108
|
-
readonly name: "spec-validator";
|
|
109
|
-
readonly description: "MANDATORY during standard/deep spec. MUST BE USED to validate measurable acceptance criteria, assumptions, edge cases, and testability mapping.";
|
|
110
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
111
|
-
readonly model: "balanced";
|
|
112
|
-
readonly activation: "mandatory";
|
|
113
|
-
readonly relatedStages: ["spec"];
|
|
114
|
-
readonly returnSchema: AgentReturnSchema;
|
|
115
|
-
readonly body: string;
|
|
116
|
-
}, {
|
|
117
|
-
readonly name: "spec-document-reviewer";
|
|
118
|
-
readonly description: "PROACTIVE during spec when self-review surfaces issues, subsystem boundaries feel broad, or the artifact needs a final plan-readiness pass.";
|
|
119
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
120
|
-
readonly model: "balanced";
|
|
121
|
-
readonly activation: "proactive";
|
|
122
|
-
readonly relatedStages: ["spec"];
|
|
123
|
-
readonly returnSchema: AgentReturnSchema;
|
|
124
|
-
readonly body: string;
|
|
125
|
-
}, {
|
|
126
|
-
readonly name: "coherence-reviewer";
|
|
127
|
-
readonly description: "PROACTIVE during spec/plan/design when internal consistency must be validated across sections, terminology, references, and dependency narratives.";
|
|
128
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
129
|
-
readonly model: "balanced";
|
|
130
|
-
readonly activation: "proactive";
|
|
131
|
-
readonly relatedStages: ["spec", "plan", "design"];
|
|
132
|
-
readonly returnSchema: AgentReturnSchema;
|
|
133
|
-
readonly body: string;
|
|
134
|
-
}, {
|
|
135
|
-
readonly name: "scope-guardian-reviewer";
|
|
136
|
-
readonly description: "PROACTIVE during scope/plan/design when complexity growth, scope drift, or unnecessary abstraction risk needs a dedicated challenge pass.";
|
|
137
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
138
|
-
readonly model: "balanced";
|
|
139
|
-
readonly activation: "proactive";
|
|
140
|
-
readonly relatedStages: ["scope", "plan", "design"];
|
|
141
|
-
readonly returnSchema: AgentReturnSchema;
|
|
142
|
-
readonly body: string;
|
|
143
|
-
}, {
|
|
144
|
-
readonly name: "feasibility-reviewer";
|
|
145
|
-
readonly description: "PROACTIVE during plan/design when resource, runtime, environment, dependency, or rollout assumptions can make the solution non-viable.";
|
|
146
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
147
|
-
readonly model: "balanced";
|
|
148
|
-
readonly activation: "proactive";
|
|
149
|
-
readonly relatedStages: ["plan", "design"];
|
|
150
|
-
readonly returnSchema: AgentReturnSchema;
|
|
151
|
-
readonly body: string;
|
|
152
|
-
}, {
|
|
153
|
-
readonly name: "reviewer";
|
|
154
|
-
readonly description: "MANDATORY during review. MUST BE USED to run a two-pass audit with explicit inline lens coverage for performance, compatibility, and observability.";
|
|
155
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
156
|
-
readonly model: "balanced";
|
|
157
|
-
readonly activation: "mandatory";
|
|
158
|
-
readonly relatedStages: ["spec", "review", "ship"];
|
|
159
|
-
readonly returnSchema: AgentReturnSchema;
|
|
160
|
-
readonly body: string;
|
|
161
|
-
}, {
|
|
162
|
-
readonly name: "security-reviewer";
|
|
163
|
-
readonly description: "MANDATORY during review; PROACTIVE during design/ship for trust-boundary changes. Always produce an explicit no-change attestation when no security-relevant surface moved.";
|
|
164
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
165
|
-
readonly model: "balanced";
|
|
166
|
-
readonly activation: "mandatory";
|
|
167
|
-
readonly relatedStages: ["design", "review", "ship"];
|
|
168
|
-
readonly returnSchema: AgentReturnSchema;
|
|
169
|
-
readonly body: string;
|
|
170
|
-
}, {
|
|
171
|
-
readonly name: "integration-overseer";
|
|
172
|
-
readonly description: "ON-DEMAND after TDD fan-out to verify cross-slice cohesion contract integrity, integration surfaces, and shared invariants before review handoff.";
|
|
173
|
-
readonly tools: ["Read", "Grep", "Glob"];
|
|
174
|
-
readonly model: "balanced";
|
|
175
|
-
readonly activation: "on-demand";
|
|
176
|
-
readonly relatedStages: ["tdd", "review"];
|
|
177
|
-
readonly returnSchema: AgentReturnSchema;
|
|
178
|
-
readonly body: string;
|
|
179
|
-
}, {
|
|
180
|
-
readonly name: "release-reviewer";
|
|
181
|
-
readonly description: "MANDATORY during ship. MUST BE USED for release readiness, rollback, finalization mode, evidence freshness, and victory detector checks.";
|
|
182
|
-
readonly tools: ["Read", "Grep", "Glob", "Bash"];
|
|
183
|
-
readonly model: "balanced";
|
|
184
|
-
readonly activation: "mandatory";
|
|
185
|
-
readonly relatedStages: ["ship"];
|
|
186
|
-
readonly returnSchema: AgentReturnSchema;
|
|
187
|
-
readonly body: string;
|
|
188
|
-
}, {
|
|
189
|
-
readonly name: "doc-updater";
|
|
190
|
-
readonly description: "MANDATORY only at ship; PROACTIVE during tdd/review whenever behavior, config, or public API changes. Keep docs and runbooks in lockstep with shipped behavior.";
|
|
191
|
-
readonly tools: ["Read", "Write", "Edit", "Grep", "Glob"];
|
|
192
|
-
readonly model: "fast";
|
|
193
|
-
readonly activation: "mandatory";
|
|
194
|
-
readonly relatedStages: ["tdd", "ship"];
|
|
195
|
-
readonly returnSchema: AgentReturnSchema;
|
|
196
|
-
readonly body: string;
|
|
197
|
-
}, {
|
|
198
|
-
readonly name: "slice-builder";
|
|
199
|
-
readonly description: "MANDATORY for delegated TDD slices. Owns RED → GREEN → REFACTOR → per-slice DOC for one feature-atomic implementation unit/slice in a single delegated span. Multiple slice-builder spans run in parallel only under `parallel-builders` topology with disjoint `claimedPaths`; `strict-micro` keeps tiny tasks separate.";
|
|
200
|
-
readonly tools: ["Read", "Write", "Edit", "Grep", "Glob", "Bash"];
|
|
201
|
-
readonly model: "balanced";
|
|
202
|
-
readonly activation: "mandatory";
|
|
203
|
-
readonly relatedStages: ["tdd"];
|
|
204
|
-
readonly returnSchema: AgentReturnSchema;
|
|
205
|
-
readonly body: string;
|
|
206
|
-
}, {
|
|
207
|
-
readonly name: "fixer";
|
|
208
|
-
readonly description: "ON-DEMAND fresh worker after review FAIL/PARTIAL evidence. Must fix only the cited criterion within explicit allowed files.";
|
|
209
|
-
readonly tools: ["Read", "Write", "Edit", "Grep", "Glob", "Bash"];
|
|
210
|
-
readonly model: "balanced";
|
|
211
|
-
readonly activation: "on-demand";
|
|
212
|
-
readonly relatedStages: ["review", "tdd"];
|
|
213
|
-
readonly returnSchema: AgentReturnSchema;
|
|
214
|
-
readonly body: string;
|
|
215
|
-
}];
|
|
216
|
-
/**
|
|
217
|
-
* Union of known agent names (compile-time). Use this in content that
|
|
218
|
-
* references agents by name so the TypeScript compiler catches renames
|
|
219
|
-
* and typos instead of letting them slip into generated artifacts.
|
|
220
|
-
*/
|
|
221
|
-
export type AgentName = (typeof CCLAW_AGENTS)[number]["name"];
|
|
222
|
-
export declare function agentMarkdown(agent: AgentDefinition): string;
|
|
223
|
-
/**
|
|
224
|
-
* Markdown table mapping cclaw stage entry points to specialist agents.
|
|
225
|
-
*/
|
|
226
|
-
export declare function agentRoutingTable(): string;
|
|
227
|
-
/**
|
|
228
|
-
* Cost tier routing for the specialist agent roster.
|
|
229
|
-
*/
|
|
230
|
-
export declare function agentCostTierTable(): string;
|
|
231
|
-
export declare function agentRegistryMatrix(): string;
|
|
232
|
-
/**
|
|
233
|
-
* AGENTS.md-ready section describing cclaw’s specialist delegation model.
|
|
234
|
-
*/
|
|
235
|
-
export declare function agentsAgentsMdBlock(): string;
|
|
10
|
+
export declare const CORE_AGENTS: CoreAgent[];
|
|
11
|
+
export declare function renderAgentMarkdown(agent: CoreAgent): string;
|