@cat-factory/agents 0.62.13 → 0.64.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/dist/agents/kinds/initiative.d.ts +17 -0
- package/dist/agents/kinds/initiative.d.ts.map +1 -1
- package/dist/agents/kinds/initiative.js +218 -0
- package/dist/agents/kinds/initiative.js.map +1 -1
- package/dist/agents/kinds/registry.d.ts +2 -2
- package/dist/agents/kinds/registry.d.ts.map +1 -1
- package/dist/agents/kinds/registry.js +4 -2
- package/dist/agents/kinds/registry.js.map +1 -1
- package/dist/agents/kinds/spec-blueprints.d.ts +31 -0
- package/dist/agents/kinds/spec-blueprints.d.ts.map +1 -0
- package/dist/agents/kinds/spec-blueprints.js +219 -0
- package/dist/agents/kinds/spec-blueprints.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
import type { AgentRunContext } from '@cat-factory/kernel';
|
|
1
2
|
import type { AgentKindDefinition, AgentKindRegistry } from './registry.js';
|
|
2
3
|
export declare const INITIATIVE_BREAKDOWN_KIND = "initiative-breakdown";
|
|
4
|
+
/**
|
|
5
|
+
* The initiative-analyst's task prompt: the agreed goal / constraints from the interview
|
|
6
|
+
* plus the instruction to analyse the repo. The backend's analyst post-completion resolver
|
|
7
|
+
* folds the returned prose onto the `initiatives` entity (`analysisSummary`), which the
|
|
8
|
+
* planner then consumes.
|
|
9
|
+
*/
|
|
10
|
+
export declare function initiativeAnalystUserPrompt(context: AgentRunContext): string;
|
|
11
|
+
/**
|
|
12
|
+
* The initiative-planner's task prompt: the human's rough goal statement (the
|
|
13
|
+
* initiative block's title + description), the interview + codebase-analysis context the
|
|
14
|
+
* interviewer/analyst steps produced (slice 2), plus the exploration/plan instructions.
|
|
15
|
+
* The agent reads the codebase from its own read-only checkout; the backend ingests the
|
|
16
|
+
* returned plan into the `initiatives` entity, and the committer step renders + commits the
|
|
17
|
+
* in-repo tracker after the human approves the plan.
|
|
18
|
+
*/
|
|
19
|
+
export declare function initiativePlannerUserPrompt(context: AgentRunContext): string;
|
|
3
20
|
export declare const INITIATIVE_AGENT_KINDS: AgentKindDefinition[];
|
|
4
21
|
/**
|
|
5
22
|
* Register the initiative kind on the given registry. Called by `defaultAgentKindRegistry()`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiative.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/initiative.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initiative.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/initiative.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAG1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAc3E,eAAO,MAAM,yBAAyB,yBAAyB,CAAA;AAmL/D;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAc5E;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAgB5E;AAED,eAAO,MAAM,sBAAsB,EAAE,mBAAmB,EA+CvD,CAAA;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAE1E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { INITIATIVE_ANALYST_AGENT_KIND, INITIATIVE_PLANNER_AGENT_KIND } from '@cat-factory/kernel';
|
|
1
2
|
// ---------------------------------------------------------------------------
|
|
2
3
|
// The `initiative-breakdown` agent kind — the first agent reachable from the PUBLIC API.
|
|
3
4
|
//
|
|
@@ -30,6 +31,191 @@ function initiativeBreakdownUserPrompt(context) {
|
|
|
30
31
|
'Produce the initiative breakdown as described.',
|
|
31
32
|
].join('\n');
|
|
32
33
|
}
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
// The container initiative-planning kinds — `initiative-analyst` + `initiative-planner`.
|
|
36
|
+
//
|
|
37
|
+
// Both explore a real (read-only) checkout of the initiative's repo, so they run in a
|
|
38
|
+
// container. They were the last built-in container kinds still rendered by the bespoke
|
|
39
|
+
// `buildMigratedBuiltInBody` switch in `@cat-factory/server`; migrating them onto the
|
|
40
|
+
// public `registerAgentKind` seam (the refactoring-candidates.md #5 strangler) is what
|
|
41
|
+
// lets that switch shed its cases. Their kind ids live in `@cat-factory/kernel`, so the
|
|
42
|
+
// definitions (prompts + user-prompt builders) live here in the agents package alongside
|
|
43
|
+
// every other registered kind — the generic `agentStep`-driven dispatch path in the server
|
|
44
|
+
// builds their job body from the declared `agent` spec, and `systemPromptFor` supplies the
|
|
45
|
+
// role prompt + the surface-driven directives (READ_ONLY_GUARDRAIL / FINAL_ANSWER_IN_REPLY),
|
|
46
|
+
// so the constants below deliberately do NOT restate the final-answer directive.
|
|
47
|
+
// ---------------------------------------------------------------------------
|
|
48
|
+
/** Role prompt the initiative-analyst step runs under (returns a prose codebase analysis). */
|
|
49
|
+
const INITIATIVE_ANALYST_SYSTEM_PROMPT = 'You are a staff engineer performing a CODEBASE ANALYSIS to ground the planning of a ' +
|
|
50
|
+
'long-running initiative (a cross-cutting refactor, a migration, a strangler conversion). ' +
|
|
51
|
+
'Explore the repository and produce a concise, concrete analysis a planner will use to ' +
|
|
52
|
+
'decompose the work: the relevant architecture and module boundaries, the files/areas the ' +
|
|
53
|
+
'initiative will most likely touch, existing patterns to follow, cross-cutting concerns, ' +
|
|
54
|
+
'risks and likely sequencing constraints. Ground every claim in real file/directory ' +
|
|
55
|
+
'references; do NOT propose the plan itself (no phases/items) and do NOT modify anything. ' +
|
|
56
|
+
'Respond with a clear Markdown analysis.';
|
|
57
|
+
/** Role prompt the initiative-planner step's agent runs under (returns the plan as JSON). */
|
|
58
|
+
const INITIATIVE_PLANNER_SYSTEM_PROMPT = 'You are a staff engineer planning a LONG-RUNNING INITIATIVE — a body of work too ' +
|
|
59
|
+
'large for one task (a cross-cutting refactor, a migration, a strangler conversion). ' +
|
|
60
|
+
'Explore the repository first and ground every part of the plan in the actual code. ' +
|
|
61
|
+
'Decompose the initiative into SEQUENTIAL PHASES, each holding concrete work ITEMS: ' +
|
|
62
|
+
'an item must be a self-sufficient task one coding agent can complete in a single PR, ' +
|
|
63
|
+
'with a description that stands alone (name the files/modules it touches). Give every ' +
|
|
64
|
+
'item an estimate — complexity, risk and impact, each 0..1 — and declare `dependsOn` ' +
|
|
65
|
+
'(item ids) only where an item genuinely needs another item merged first; independent ' +
|
|
66
|
+
'items in a phase may run in parallel. Choose an execution policy: `maxConcurrent` ' +
|
|
67
|
+
'(how many items may run at once — 1 for delicate serialized work) and ordered ' +
|
|
68
|
+
'`rules` mapping estimates to pipelines (an item matches a rule when ANY axis meets ' +
|
|
69
|
+
'its `min*` threshold; first match wins; no match falls back to `defaultPipelineId`). ' +
|
|
70
|
+
'Available pipelines: `pl_quick` (small, low-risk change), `pl_simple` (standard ' +
|
|
71
|
+
'change, lighter review), `pl_full` (full spec/review/test rigor), `pl_bugfix` (bug ' +
|
|
72
|
+
'remediation). Record the decisions you made and any known caveats. ' +
|
|
73
|
+
'Respond with ONLY a JSON object of shape {"goal","constraints":[],"nonGoals":[],' +
|
|
74
|
+
'"analysisSummary","phases":[{"id","title","goal","maxConcurrent"?}],' +
|
|
75
|
+
'"items":[{"id","phaseId","title","description","dependsOn":[],' +
|
|
76
|
+
'"estimate":{"complexity","risk","impact","rationale"},"pipelineId"?}],' +
|
|
77
|
+
'"policy":{"maxConcurrent","rules":[{"pipelineId","minComplexity"?,"minRisk"?,' +
|
|
78
|
+
'"minImpact"?}],"defaultPipelineId"},"decisions":[{"title","detail"}],"caveats":[]} ' +
|
|
79
|
+
'— no prose, no code fences.';
|
|
80
|
+
/** Compact shape hint fed to the structured-output repair call for the initiative plan. */
|
|
81
|
+
const INITIATIVE_PLAN_SHAPE_HINT = 'Expected an initiative plan: {"goal": string, "constraints": string[], "nonGoals": ' +
|
|
82
|
+
'string[], "analysisSummary": string, "phases": [{"id": string, "title": string, ' +
|
|
83
|
+
'"goal": string}], "items": [{"id": string, "phaseId": string, "title": string, ' +
|
|
84
|
+
'"description": string, "dependsOn": string[], "estimate": {"complexity": number 0..1, ' +
|
|
85
|
+
'"risk": number 0..1, "impact": number 0..1, "rationale": string}}], "policy": ' +
|
|
86
|
+
'{"maxConcurrent": number, "rules": [{"pipelineId": string, "minComplexity"?: number, ' +
|
|
87
|
+
'"minRisk"?: number, "minImpact"?: number}], "defaultPipelineId": string}, ' +
|
|
88
|
+
'"decisions": [{"title": string, "detail": string}], "caveats": string[]}.';
|
|
89
|
+
/**
|
|
90
|
+
* Render the generic "required plan shape" section a preset's declarative {@link
|
|
91
|
+
* InitiativePresetPhaseTemplate} dictates (slice T1): the phase ids VERBATIM, titles, goals and
|
|
92
|
+
* order, plus whether the planner may add extra phases. Pure + generic — it never branches on a
|
|
93
|
+
* preset id, so a preset with no template contributes nothing and the free-form planner prompt is
|
|
94
|
+
* byte-for-byte unchanged. Folded into the PLANNER prompt only (the planner authors the phases;
|
|
95
|
+
* the ingest normalizer then enforces this shape).
|
|
96
|
+
*/
|
|
97
|
+
function planShapeLines(template) {
|
|
98
|
+
const lines = [
|
|
99
|
+
'',
|
|
100
|
+
'## Required plan shape',
|
|
101
|
+
'',
|
|
102
|
+
'This preset runs a fixed multi-phase methodology. Build the plan around these phases, in ' +
|
|
103
|
+
'this order, using each phase `id` VERBATIM:',
|
|
104
|
+
'',
|
|
105
|
+
];
|
|
106
|
+
let hasOptional = false;
|
|
107
|
+
template.phases.forEach((phase, i) => {
|
|
108
|
+
const isOptional = phase.required !== true;
|
|
109
|
+
if (isOptional)
|
|
110
|
+
hasOptional = true;
|
|
111
|
+
lines.push(`${i + 1}. \`${phase.id}\` — ${phase.title}${isOptional ? ' (optional)' : ''}`);
|
|
112
|
+
if (phase.goal?.trim())
|
|
113
|
+
lines.push(` ${phase.goal.trim()}`);
|
|
114
|
+
});
|
|
115
|
+
lines.push('');
|
|
116
|
+
// Fidelity of whatever phases you DO include is non-negotiable, independent of the extra-phase
|
|
117
|
+
// policy below.
|
|
118
|
+
lines.push('For every phase you include, use its `id` VERBATIM and keep this order — do NOT rename, ' +
|
|
119
|
+
'reorder or merge phases.');
|
|
120
|
+
// Presence: required phases are mandatory; optional ones may be omitted. Only draw the
|
|
121
|
+
// distinction when the template actually has an optional phase, so an all-required template
|
|
122
|
+
// reads as a flat "every phase must be present" with no confusing "(optional)" carve-out.
|
|
123
|
+
lines.push(hasOptional
|
|
124
|
+
? 'Every phase NOT marked (optional) must be present; you may omit an (optional) phase when ' +
|
|
125
|
+
'the work does not need it.'
|
|
126
|
+
: 'Every phase above must be present.');
|
|
127
|
+
// Extra-phase policy — the ONE knob `allowAdditionalPhases` governs.
|
|
128
|
+
lines.push(template.allowAdditionalPhases
|
|
129
|
+
? 'You MAY append further phases after these when the work needs them.'
|
|
130
|
+
: 'Do NOT introduce any phase beyond this set — it is otherwise exhaustive.');
|
|
131
|
+
return lines;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Render the planning context an initiative-level run carries (slice 2): the interviewer's
|
|
135
|
+
* synthesized goal / constraints / non-goals + the Q&A digest, and the analyst's codebase
|
|
136
|
+
* analysis. Folded into the analyst and planner prompts so each is grounded in the human's
|
|
137
|
+
* intent and the prior step's findings. Returns [] when no initiative context is present
|
|
138
|
+
* (e.g. the interviewer/analyst passed through with no model wired).
|
|
139
|
+
*/
|
|
140
|
+
function initiativeContextLines(context, opts) {
|
|
141
|
+
const init = context.initiative;
|
|
142
|
+
if (!init)
|
|
143
|
+
return [];
|
|
144
|
+
const lines = [];
|
|
145
|
+
// NOTE: preset steering (the `initiativePresetSection` `promptAddition`) is deliberately NOT
|
|
146
|
+
// rendered here. These builders now resolve through `userPromptFor` → `buildBaseUserPrompt`
|
|
147
|
+
// (catalog.ts), which prepends `initiativePresetSection` to EVERY registered kind's own prompt —
|
|
148
|
+
// so rendering it here too would emit the section twice. The generic prepend is the single owner
|
|
149
|
+
// of preset steering (it frames the step's role FIRST, for a custom kind and these built-ins
|
|
150
|
+
// alike); this function contributes only the initiative-specific context below.
|
|
151
|
+
// The required plan shape (planner only): a preset's declarative phase template, rendered so the
|
|
152
|
+
// planner emits exactly the mandated phases. No template ⇒ nothing added.
|
|
153
|
+
if (opts.includePlanShape && init.preset?.phaseTemplate) {
|
|
154
|
+
lines.push(...planShapeLines(init.preset.phaseTemplate));
|
|
155
|
+
}
|
|
156
|
+
if (init.goal?.trim())
|
|
157
|
+
lines.push('', '## Agreed goal', '', init.goal.trim());
|
|
158
|
+
if (init.constraints?.length) {
|
|
159
|
+
lines.push('', '## Constraints', '', ...init.constraints.map((c) => `- ${c}`));
|
|
160
|
+
}
|
|
161
|
+
if (init.nonGoals?.length) {
|
|
162
|
+
lines.push('', '## Non-goals', '', ...init.nonGoals.map((c) => `- ${c}`));
|
|
163
|
+
}
|
|
164
|
+
const qa = (init.qa ?? []).filter((q) => q.answer?.trim());
|
|
165
|
+
if (qa.length) {
|
|
166
|
+
lines.push('', '## Planning interview', '');
|
|
167
|
+
for (const { question, answer } of qa)
|
|
168
|
+
lines.push(`- Q: ${question}`, ` A: ${answer}`);
|
|
169
|
+
}
|
|
170
|
+
if (opts.includeAnalysis && init.analysisSummary?.trim()) {
|
|
171
|
+
lines.push('', '## Codebase analysis', '', init.analysisSummary.trim());
|
|
172
|
+
}
|
|
173
|
+
return lines;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* The initiative-analyst's task prompt: the agreed goal / constraints from the interview
|
|
177
|
+
* plus the instruction to analyse the repo. The backend's analyst post-completion resolver
|
|
178
|
+
* folds the returned prose onto the `initiatives` entity (`analysisSummary`), which the
|
|
179
|
+
* planner then consumes.
|
|
180
|
+
*/
|
|
181
|
+
export function initiativeAnalystUserPrompt(context) {
|
|
182
|
+
const block = context.block;
|
|
183
|
+
const description = block.description?.trim();
|
|
184
|
+
return [
|
|
185
|
+
`Analyse this codebase to ground planning of the initiative: ${block.title || '(untitled initiative)'}`,
|
|
186
|
+
...(description ? ['', description] : []),
|
|
187
|
+
...initiativeContextLines(context, { includeAnalysis: false, includePlanShape: false }),
|
|
188
|
+
'',
|
|
189
|
+
'Explore the repository and produce the analysis described in your instructions — ' +
|
|
190
|
+
'architecture, likely touch points, patterns to follow, risks and sequencing. ' +
|
|
191
|
+
'Respond with a clear Markdown analysis.',
|
|
192
|
+
].join('\n');
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* The initiative-planner's task prompt: the human's rough goal statement (the
|
|
196
|
+
* initiative block's title + description), the interview + codebase-analysis context the
|
|
197
|
+
* interviewer/analyst steps produced (slice 2), plus the exploration/plan instructions.
|
|
198
|
+
* The agent reads the codebase from its own read-only checkout; the backend ingests the
|
|
199
|
+
* returned plan into the `initiatives` entity, and the committer step renders + commits the
|
|
200
|
+
* in-repo tracker after the human approves the plan.
|
|
201
|
+
*/
|
|
202
|
+
export function initiativePlannerUserPrompt(context) {
|
|
203
|
+
const block = context.block;
|
|
204
|
+
const description = block.description?.trim();
|
|
205
|
+
return [
|
|
206
|
+
`Plan the initiative: ${block.title || '(untitled initiative)'}`,
|
|
207
|
+
...(description ? ['', description] : []),
|
|
208
|
+
...initiativeContextLines(context, { includeAnalysis: true, includePlanShape: true }),
|
|
209
|
+
'',
|
|
210
|
+
'Explore this repository to ground the plan in the real code (building on the codebase ' +
|
|
211
|
+
'analysis above), honour the agreed goal / constraints / non-goals, then produce the ' +
|
|
212
|
+
'complete multi-phase plan: sequential phases, self-sufficient items with ' +
|
|
213
|
+
'estimates and dependencies, and the execution policy (concurrency + ' +
|
|
214
|
+
'estimate→pipeline rules).',
|
|
215
|
+
'',
|
|
216
|
+
'Respond with ONLY the JSON object for the plan — no prose, no code fences.',
|
|
217
|
+
].join('\n');
|
|
218
|
+
}
|
|
33
219
|
export const INITIATIVE_AGENT_KINDS = [
|
|
34
220
|
{
|
|
35
221
|
kind: INITIATIVE_BREAKDOWN_KIND,
|
|
@@ -44,6 +230,38 @@ export const INITIATIVE_AGENT_KINDS = [
|
|
|
44
230
|
category: 'design',
|
|
45
231
|
},
|
|
46
232
|
},
|
|
233
|
+
// The initiative-analyst reads the repository (read-only, base branch — an initiative block has
|
|
234
|
+
// no PR) and returns a PROSE codebase-analysis report grounding the plan. Its output is folded
|
|
235
|
+
// onto the `initiatives` entity by the engine's analyst post-completion resolver and then into
|
|
236
|
+
// the planner's prompt. No structured output — it makes no commit and opens no PR (an edit-free
|
|
237
|
+
// run is the expected outcome). No `presentation`: it is a pipeline-internal step, not a
|
|
238
|
+
// user-draggable palette kind, so it stays out of the `customAgentKinds` snapshot.
|
|
239
|
+
{
|
|
240
|
+
kind: INITIATIVE_ANALYST_AGENT_KIND,
|
|
241
|
+
systemPrompt: INITIATIVE_ANALYST_SYSTEM_PROMPT,
|
|
242
|
+
userPrompt: initiativeAnalystUserPrompt,
|
|
243
|
+
agent: { surface: 'container-explore', clone: { branch: 'base' } },
|
|
244
|
+
},
|
|
245
|
+
// The initiative-planner reads the repository (read-only, base branch) to ground its multi-phase
|
|
246
|
+
// plan in the actual code, returning ONLY the plan as JSON. `toRunResult` coerces it into
|
|
247
|
+
// `initiativePlan` for the engine's ingest (into the `initiatives` entity); the in-repo tracker
|
|
248
|
+
// is committed later by the `initiative-committer` step, AFTER the human approves the plan at the
|
|
249
|
+
// pipeline gate. `failOnUnusableFinal` because the plan is handed onward — a truncated final
|
|
250
|
+
// answer must fail loudly, not be laundered into a half-baked plan by the structured repair.
|
|
251
|
+
{
|
|
252
|
+
kind: INITIATIVE_PLANNER_AGENT_KIND,
|
|
253
|
+
systemPrompt: INITIATIVE_PLANNER_SYSTEM_PROMPT,
|
|
254
|
+
userPrompt: initiativePlannerUserPrompt,
|
|
255
|
+
agent: {
|
|
256
|
+
surface: 'container-explore',
|
|
257
|
+
clone: { branch: 'base' },
|
|
258
|
+
output: {
|
|
259
|
+
kind: 'structured',
|
|
260
|
+
shapeHint: INITIATIVE_PLAN_SHAPE_HINT,
|
|
261
|
+
failOnUnusableFinal: true,
|
|
262
|
+
},
|
|
263
|
+
},
|
|
264
|
+
},
|
|
47
265
|
];
|
|
48
266
|
/**
|
|
49
267
|
* Register the initiative kind on the given registry. Called by `defaultAgentKindRegistry()`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initiative.js","sourceRoot":"","sources":["../../../src/agents/kinds/initiative.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initiative.js","sourceRoot":"","sources":["../../../src/agents/kinds/initiative.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAA;AAIlG,8EAA8E;AAC9E,yFAAyF;AACzF,EAAE;AACF,8FAA8F;AAC9F,gGAAgG;AAChG,iGAAiG;AACjG,8FAA8F;AAC9F,kGAAkG;AAClG,6FAA6F;AAC7F,mFAAmF;AACnF,8EAA8E;AAE9E,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAA;AAE/D,MAAM,kCAAkC,GACtC,gGAAgG;IAChG,8FAA8F;IAC9F,2FAA2F;IAC3F,yFAAyF;IACzF,iGAAiG;IACjG,gGAAgG;IAChG,8FAA8F;IAC9F,gGAAgG;IAChG,4EAA4E,CAAA;AAE9E,SAAS,6BAA6B,CAAC,OAAwB;IAC7D,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,EAAE,CAAA;IAC/C,OAAO;QACL,eAAe,OAAO,CAAC,KAAK,CAAC,KAAK,EAAE;QACpC,EAAE;QACF,uBAAuB;QACvB,KAAK,IAAI,+DAA+D;QACxE,EAAE;QACF,gDAAgD;KACjD,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACd,CAAC;AAED,8EA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,CAAC,sBAAsB,CAAC,CAAA;AAC9C,CAAC"}
|
|
@@ -113,8 +113,8 @@ export interface AgentKindDefinition {
|
|
|
113
113
|
* `Map`, no `clear*()` test cruft, and no external-adapter module-identity gotcha: a
|
|
114
114
|
* deployment registers extra kinds by reference (`registry.register(def)`) on the instance the
|
|
115
115
|
* facade injects. The built-in kinds (`bug-investigator` / `repro-test` / `environment-analyst`
|
|
116
|
-
* / `code-commenter` / the document + initiative kinds) are
|
|
117
|
-
* import side effect.
|
|
116
|
+
* / `code-commenter` / `blueprints` / `spec-writer` / the document + initiative kinds) are
|
|
117
|
+
* pre-loaded by the factory, not by an import side effect.
|
|
118
118
|
*/
|
|
119
119
|
export declare class AgentKindRegistry {
|
|
120
120
|
private readonly registry;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,SAAS,EACT,eAAe,EACf,aAAa,EACb,MAAM,EACP,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,SAAS,EACT,eAAe,EACf,aAAa,EACb,MAAM,EACP,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,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|
|
|
6
6
|
import { registerDocumentAgents } from './document.js';
|
|
7
7
|
import { registerCodeCommenterAgent } from './code-commenter.js';
|
|
8
8
|
import { registerInitiativeAgents } from './initiative.js';
|
|
9
|
+
import { registerSpecBlueprintAgents } from './spec-blueprints.js';
|
|
9
10
|
import { registerEnvironmentAnalystAgent } from './environment-analyst.js';
|
|
10
11
|
import { registerSpikeAgent } from './spike.js';
|
|
11
12
|
import { registerSkillAgent } from './skill.js';
|
|
@@ -28,8 +29,8 @@ function withDerivedOutput(definition) {
|
|
|
28
29
|
* `Map`, no `clear*()` test cruft, and no external-adapter module-identity gotcha: a
|
|
29
30
|
* deployment registers extra kinds by reference (`registry.register(def)`) on the instance the
|
|
30
31
|
* facade injects. The built-in kinds (`bug-investigator` / `repro-test` / `environment-analyst`
|
|
31
|
-
* / `code-commenter` / the document + initiative kinds) are
|
|
32
|
-
* import side effect.
|
|
32
|
+
* / `code-commenter` / `blueprints` / `spec-writer` / the document + initiative kinds) are
|
|
33
|
+
* pre-loaded by the factory, not by an import side effect.
|
|
33
34
|
*/
|
|
34
35
|
export class AgentKindRegistry {
|
|
35
36
|
registry = new Map();
|
|
@@ -138,6 +139,7 @@ export function defaultAgentKindRegistry() {
|
|
|
138
139
|
registerDocumentAgents(registry);
|
|
139
140
|
registerCodeCommenterAgent(registry);
|
|
140
141
|
registerInitiativeAgents(registry);
|
|
142
|
+
registerSpecBlueprintAgents(registry);
|
|
141
143
|
registerEnvironmentAnalystAgent(registry);
|
|
142
144
|
registerSpikeAgent(registry);
|
|
143
145
|
registerSkillAgent(registry);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/agents/kinds/registry.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB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MAAM,IAAI,EAAE,CAAA;IAC9C,CAAC;IAED,uFAAuF;IACvF,OAAO,CAAC,IAAe;QACrB,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,IAAI,EAAE,CAAA;IAC/C,CAAC;IAED,0FAA0F;IAC1F,YAAY,CAAC,IAAe;QAC1B,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,YAAY,CAAA;IAC9C,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,IAAe;QAC9B,OAAO,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAA;IAClD,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB;IACtC,MAAM,QAAQ,GAAG,IAAI,iBAAiB,EAAE,CAAA;IACxC,4BAA4B,CAAC,QAAQ,CAAC,CAAA;IACtC,yBAAyB,CAAC,QAAQ,CAAC,CAAA;IACnC,uBAAuB,CAAC,QAAQ,CAAC,CAAA;IACjC,sBAAsB,CAAC,QAAQ,CAAC,CAAA;IAChC,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IAC5B,sBAAsB,CAAC,QAAQ,CAAC,CAAA;IAChC,0BAA0B,CAAC,QAAQ,CAAC,CAAA;IACpC,wBAAwB,CAAC,QAAQ,CAAC,CAAA;IAClC,2BAA2B,CAAC,QAAQ,CAAC,CAAA;IACrC,+BAA+B,CAAC,QAAQ,CAAC,CAAA;IACzC,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IAC5B,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IAC5B,OAAO,QAAQ,CAAA;AACjB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { AgentRunContext } from '@cat-factory/kernel';
|
|
2
|
+
import type { AgentKindDefinition, AgentKindRegistry } from './registry.js';
|
|
3
|
+
/** The agent kind of the container agent that maps a repository into the canonical
|
|
4
|
+
* service → modules blueprint and (re)generates the in-repo `blueprints/` artifact. */
|
|
5
|
+
export declare const BLUEPRINTS_AGENT_KIND = "blueprints";
|
|
6
|
+
/** The agent kind of the container agent that maintains the service's prescriptive, in-repo
|
|
7
|
+
* specification under `spec/`, applying one task's requirements as an increment. */
|
|
8
|
+
export declare const SPEC_WRITER_AGENT_KIND = "spec-writer";
|
|
9
|
+
/**
|
|
10
|
+
* The Blueprinter's task prompt. The agent reads any existing blueprint from its own
|
|
11
|
+
* read-only checkout (the harness no longer pre-injects the baseline tree), so the prompt
|
|
12
|
+
* tells it to read `blueprints/` and update-or-create, then return the complete tree as
|
|
13
|
+
* JSON. The backend `blueprintPostOp` renders + commits the artifact from that tree.
|
|
14
|
+
*/
|
|
15
|
+
export declare function blueprintUserPrompt(): string;
|
|
16
|
+
/**
|
|
17
|
+
* The spec-writer's task prompt — the instructions + baseline-read + taxonomy-reuse guidance
|
|
18
|
+
* the bespoke harness `/spec` handler used to build. The agent reads the baseline from its own
|
|
19
|
+
* read-only checkout under `spec/`, so the prompt tells it to read + reuse the existing taxonomy
|
|
20
|
+
* rather than pre-injecting it. Carries ONLY this task's requirements (the block description IS
|
|
21
|
+
* the task's reworked/incorporated requirements), so an unmerged sibling task's work never bleeds
|
|
22
|
+
* in. The backend `specPostOp` shards + commits the returned tree.
|
|
23
|
+
*/
|
|
24
|
+
export declare function specWriterUserPrompt(context: AgentRunContext): string;
|
|
25
|
+
export declare const SPEC_BLUEPRINT_AGENT_KINDS: AgentKindDefinition[];
|
|
26
|
+
/**
|
|
27
|
+
* Register the blueprints + spec-writer kinds on the given registry. Called by
|
|
28
|
+
* `defaultAgentKindRegistry()`; idempotent (the registry replaces by kind).
|
|
29
|
+
*/
|
|
30
|
+
export declare function registerSpecBlueprintAgents(registry: AgentKindRegistry): void;
|
|
31
|
+
//# sourceMappingURL=spec-blueprints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec-blueprints.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/spec-blueprints.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AA0B3E;uFACuF;AACvF,eAAO,MAAM,qBAAqB,eAAe,CAAA;AAEjD;oFACoF;AACpF,eAAO,MAAM,sBAAsB,gBAAgB,CAAA;AA2FnD;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,MAAM,CAY5C;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CA0CrE;AAED,eAAO,MAAM,0BAA0B,EAAE,mBAAmB,EA+B3D,CAAA;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAE7E"}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
// ---------------------------------------------------------------------------
|
|
2
|
+
// The container `blueprints` + `spec-writer` agent kinds.
|
|
3
|
+
//
|
|
4
|
+
// Both are read-only structured `container-explore` agents: they clone a checkout, read the
|
|
5
|
+
// repository (the existing `blueprints/` map / the committed `spec/` baseline) and return the
|
|
6
|
+
// COMPLETE updated tree as JSON — they make no commit themselves. The deterministic render +
|
|
7
|
+
// commit of the artifact is a BACKEND post-op (`blueprintPostOp` / `specPostOp`, run from
|
|
8
|
+
// `ExecutionService`), and `toRunResult` coerces the returned JSON into the engine's
|
|
9
|
+
// `blueprintService` / `spec` channel.
|
|
10
|
+
//
|
|
11
|
+
// They were two of the built-in container kinds still rendered by the bespoke
|
|
12
|
+
// `buildMigratedBuiltInBody` switch in `@cat-factory/server`; migrating them onto the public
|
|
13
|
+
// `registerAgentKind` seam (the refactoring-candidates.md #5 strangler) is what lets that switch
|
|
14
|
+
// shed its cases. Their kind ids are DEFINED here, next to the definition, and re-exported by
|
|
15
|
+
// orchestration's `ci.logic.ts` for the engine's existing call sites — the same pattern the
|
|
16
|
+
// inline reviewer/brainstorm ids use (agents can't import orchestration, so the definition owns
|
|
17
|
+
// the id). `systemPromptFor` supplies the role prompt + the surface-driven directives
|
|
18
|
+
// (READ_ONLY_GUARDRAIL / FINAL_ANSWER_IN_REPLY), so the constants below deliberately do NOT
|
|
19
|
+
// restate the read-only guardrail or the final-answer directive — the single source of truth
|
|
20
|
+
// for both is the surface. Post-ops stay in the engine's built-in map (their commit
|
|
21
|
+
// branch is resolved specially — see `RunDispatcher.builtInRepoOpBranch`), so these definitions
|
|
22
|
+
// carry no `postOps` and no `presentation` (they are pipeline-internal, not palette kinds).
|
|
23
|
+
// ---------------------------------------------------------------------------
|
|
24
|
+
/** The agent kind of the container agent that maps a repository into the canonical
|
|
25
|
+
* service → modules blueprint and (re)generates the in-repo `blueprints/` artifact. */
|
|
26
|
+
export const BLUEPRINTS_AGENT_KIND = 'blueprints';
|
|
27
|
+
/** The agent kind of the container agent that maintains the service's prescriptive, in-repo
|
|
28
|
+
* specification under `spec/`, applying one task's requirements as an increment. */
|
|
29
|
+
export const SPEC_WRITER_AGENT_KIND = 'spec-writer';
|
|
30
|
+
/** Role prompt the Blueprinter step's agent runs under (returns the tree as JSON). */
|
|
31
|
+
const BLUEPRINT_SYSTEM_PROMPT = 'You are a Domain-Driven Design architect mapping this repository. Decompose it ' +
|
|
32
|
+
'into ONE top-level service and the modules inside it, where each module is a ' +
|
|
33
|
+
'DOMAIN — a cohesive area of the BUSINESS, in the language of the problem space ' +
|
|
34
|
+
'(a DDD bounded context / aggregate / subdomain). Name modules after business ' +
|
|
35
|
+
'concepts, not technical layers. ' +
|
|
36
|
+
'A module MUST represent a business capability or domain model (e.g. Billing, ' +
|
|
37
|
+
'Catalog, Ordering, Identity), NOT a technical layer or shape: "api", "routes", ' +
|
|
38
|
+
'"controllers", "utils", "helpers", "lib", "common", "config", "types", "models", ' +
|
|
39
|
+
'"db" and the like are NOT domains and MUST NOT be modules. ' +
|
|
40
|
+
'Group the genuinely non-business, technical/cross-cutting plumbing (persistence ' +
|
|
41
|
+
'wiring, HTTP/transport, logging, configuration, auth middleware, build/deploy, ' +
|
|
42
|
+
'shared utilities) into a SINGLE module named "infrastructure" rather than ' +
|
|
43
|
+
'scattering it into many technical modules. ' +
|
|
44
|
+
'Prefer organising code by domain (the ubiquitous language) over organising by ' +
|
|
45
|
+
'file type. Anchor every node to the codebase with explicit repo-relative ' +
|
|
46
|
+
'file/directory references. Keep names short and descriptive. ' +
|
|
47
|
+
'Respond with ONLY a JSON object of shape {"type","name","summary","references":[],' +
|
|
48
|
+
'"modules":[{"name","summary","references":[]}]} — no prose, no code fences.';
|
|
49
|
+
/** Role prompt the spec-writer step runs under (returns the spec doc as JSON). */
|
|
50
|
+
const SPEC_WRITER_SYSTEM_PROMPT = 'You maintain the PRESCRIPTIVE specification for a service. READ the specification ' +
|
|
51
|
+
'already committed to the repository under `spec/` (the baseline): start with ' +
|
|
52
|
+
'`spec/overview.md` for the module → feature index, then open the relevant ' +
|
|
53
|
+
'`spec/modules/<module>/<feature>.json` shards for the detail you need. You are also ' +
|
|
54
|
+
'given the ' +
|
|
55
|
+
'requirements of ONE task. Apply that task as an INCREMENT onto the baseline: add ' +
|
|
56
|
+
'requirements for what the task introduces, and adjust existing requirements ONLY ' +
|
|
57
|
+
'where the task changes their expected behaviour. Leave every other part of the ' +
|
|
58
|
+
'baseline spec untouched. Translate ONLY what the task requirements state — do NOT ' +
|
|
59
|
+
'invent requirements, fill gaps, or design beyond them (missing requirements are the ' +
|
|
60
|
+
'requirements step’s job, not yours). ' +
|
|
61
|
+
'The spec captures ONLY BUSINESS requirements — externally-observable behaviour, ' +
|
|
62
|
+
'product rules and acceptance criteria. PURELY TECHNICAL work (a refactor, a ' +
|
|
63
|
+
'dependency bump, internal restructuring, build/infra or other non-functional change ' +
|
|
64
|
+
'that does NOT alter what the system does for its users) introduces no business ' +
|
|
65
|
+
'requirements, and "NO NEW SPECS" is a valid, correct outcome for it: do NOT invent ' +
|
|
66
|
+
'requirements to justify a change, and do NOT re-document technical/architecture ' +
|
|
67
|
+
'detail here. When this task is purely technical, leave the baseline spec untouched ' +
|
|
68
|
+
'and respond with ONLY {"noBusinessSpecs": true} (no other fields, no prose, no code ' +
|
|
69
|
+
'fences). Otherwise return the full document as below. ' +
|
|
70
|
+
'The spec is a two-level taxonomy: MODULES ' +
|
|
71
|
+
'(domains, e.g. "Auth") each containing GROUPS (features, e.g. "Login"). Every ' +
|
|
72
|
+
'requirement AND every domain rule lives inside a specific feature group: a group ' +
|
|
73
|
+
'carries both its `requirements` and the `rules` scoped to it. There is NO catch-all — ' +
|
|
74
|
+
'a cross-cutting concern goes in a `common` or `infrastructure` module that is ITSELF ' +
|
|
75
|
+
'split into specific feature groups. CRUCIALLY, reuse the EXISTING taxonomy: place ' +
|
|
76
|
+
'each new requirement/rule into the closest-fitting existing module and feature, ' +
|
|
77
|
+
'reusing its EXACT name, and create a new module or feature ONLY when nothing fits — ' +
|
|
78
|
+
'never a near-duplicate of an existing one (no "Authentication" beside "Auth", no ' +
|
|
79
|
+
'"User Login" beside "Login"). Each requirement is phrased as "The system SHALL …" ' +
|
|
80
|
+
'with a MoSCoW priority (must/should/could) and structured Given/When/Then acceptance ' +
|
|
81
|
+
'criteria. Acceptance-scenario coverage is a FIRST-CLASS deliverable: every ' +
|
|
82
|
+
'requirement the task adds or changes MUST carry complete acceptance criteria — the ' +
|
|
83
|
+
'happy path AND the invalid-input / error / edge / boundary cases the requirements ' +
|
|
84
|
+
'imply — since the Gherkin `.feature` files and the runnable tests are derived ' +
|
|
85
|
+
'mechanically from them. Preserve the baseline’s existing `sourceBlockIds`; tag the ' +
|
|
86
|
+
'requirements this task adds or changes with this task’s block id. Return the ' +
|
|
87
|
+
'COMPLETE updated specification (baseline plus this increment), not a diff. The platform ' +
|
|
88
|
+
'persists the specification you return, so returning it IS the whole job. Respond ' +
|
|
89
|
+
'with ONLY a JSON object of ' +
|
|
90
|
+
'shape {"service","summary","modules":[{"name","summary","groups":[{"name","summary",' +
|
|
91
|
+
'"requirements":[{"id","title","statement","kind","priority","sourceBlockIds":[],' +
|
|
92
|
+
'"acceptance":[{"id","given","when","outcome"}]}],"rules":[{"id","rule","rationale",' +
|
|
93
|
+
'"sourceBlockIds":[]}]}]}]} ' +
|
|
94
|
+
'(each acceptance criterion is a Given/When/Then, with the Then clause in `outcome`) — ' +
|
|
95
|
+
'no prose, no code fences.';
|
|
96
|
+
/** Compact shape hint fed to the structured-output repair call for the blueprint tree. */
|
|
97
|
+
const BLUEPRINT_SHAPE_HINT = 'Expected a service tree: {"type": string, "name": string, "summary": string, ' +
|
|
98
|
+
'"references": string[], "modules": [{"name": string, "summary": string, ' +
|
|
99
|
+
'"references": string[]}]}.';
|
|
100
|
+
/** Compact shape hint fed to the structured-output repair call for the spec doc. */
|
|
101
|
+
const SPEC_SHAPE_HINT = 'Expected a requirements document with a two-level taxonomy — module (domain) → ' +
|
|
102
|
+
'group (feature) — where each group carries BOTH its requirements and the domain ' +
|
|
103
|
+
'rules scoped to it: {"service": string, "summary": string, "modules": [{"name": ' +
|
|
104
|
+
'string, "summary": string, "groups": [{"name": string, "summary": string, ' +
|
|
105
|
+
'"requirements": [{"id": string, "title": string, "statement": string, "kind": ' +
|
|
106
|
+
'string, "priority": string, "sourceBlockIds": string[], "acceptance": [{"given": ' +
|
|
107
|
+
'string, "when": string, "outcome": string}]}], "rules": [{"id": string, "rule": ' +
|
|
108
|
+
'string, "rationale": string, "sourceBlockIds": string[]}]}]}]}. For a purely ' +
|
|
109
|
+
'technical task with no business requirements, the document is instead just ' +
|
|
110
|
+
'{"noBusinessSpecs": true}.';
|
|
111
|
+
/**
|
|
112
|
+
* The Blueprinter's task prompt. The agent reads any existing blueprint from its own
|
|
113
|
+
* read-only checkout (the harness no longer pre-injects the baseline tree), so the prompt
|
|
114
|
+
* tells it to read `blueprints/` and update-or-create, then return the complete tree as
|
|
115
|
+
* JSON. The backend `blueprintPostOp` renders + commits the artifact from that tree.
|
|
116
|
+
*/
|
|
117
|
+
export function blueprintUserPrompt() {
|
|
118
|
+
return [
|
|
119
|
+
'Map this repository into the canonical service → modules blueprint, anchored to real ' +
|
|
120
|
+
'file/directory references.',
|
|
121
|
+
'',
|
|
122
|
+
'If a blueprint already exists in the repository (read `blueprints/blueprint.json` and ' +
|
|
123
|
+
'`blueprints/overview.md`), UPDATE it to reflect the current code: keep accurate ' +
|
|
124
|
+
'modules, add new ones, and refine summaries + references. Otherwise create it from ' +
|
|
125
|
+
'scratch. Return the COMPLETE tree (not a diff).',
|
|
126
|
+
'',
|
|
127
|
+
'Respond with ONLY the JSON object for the service tree — no prose, no code fences.',
|
|
128
|
+
].join('\n');
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* The spec-writer's task prompt — the instructions + baseline-read + taxonomy-reuse guidance
|
|
132
|
+
* the bespoke harness `/spec` handler used to build. The agent reads the baseline from its own
|
|
133
|
+
* read-only checkout under `spec/`, so the prompt tells it to read + reuse the existing taxonomy
|
|
134
|
+
* rather than pre-injecting it. Carries ONLY this task's requirements (the block description IS
|
|
135
|
+
* the task's reworked/incorporated requirements), so an unmerged sibling task's work never bleeds
|
|
136
|
+
* in. The backend `specPostOp` shards + commits the returned tree.
|
|
137
|
+
*/
|
|
138
|
+
export function specWriterUserPrompt(context) {
|
|
139
|
+
const block = context.block;
|
|
140
|
+
const header = `### ${block.title || '(untitled task)'}${block.id ? ` (block ${block.id})` : ''}`;
|
|
141
|
+
// Honour an explicit human-set BUSINESS/TECHNICAL label: a task pinned business HAS
|
|
142
|
+
// business requirements, so the "no new specs" escape hatch is withdrawn; a task pinned
|
|
143
|
+
// technical is told the empty outcome is expected. Left unset, the writer self-determines.
|
|
144
|
+
const technicalGuidance = block.technical === false
|
|
145
|
+
? 'This task is explicitly flagged BUSINESS: it HAS business requirements, so you MUST ' +
|
|
146
|
+
'return the full updated specification. Do NOT respond with {"noBusinessSpecs": true}.'
|
|
147
|
+
: block.technical === true
|
|
148
|
+
? 'This task is explicitly flagged TECHNICAL (a refactor / dependency bump / internal ' +
|
|
149
|
+
'or non-functional change with NO new externally-observable behaviour): "no business ' +
|
|
150
|
+
'requirements" is the expected outcome — respond with ONLY {"noBusinessSpecs": true} ' +
|
|
151
|
+
'and change nothing, unless you find genuine externally-observable behaviour to spec.'
|
|
152
|
+
: 'If this task is purely TECHNICAL (a refactor / dependency bump / internal or ' +
|
|
153
|
+
'non-functional change that introduces NO new externally-observable behaviour), it ' +
|
|
154
|
+
'has no business requirements: respond with ONLY {"noBusinessSpecs": true} and ' +
|
|
155
|
+
'change nothing.';
|
|
156
|
+
return [
|
|
157
|
+
'Apply this ONE task as an INCREMENT onto the service specification.',
|
|
158
|
+
'',
|
|
159
|
+
'First READ the specification already committed to the repository under `spec/` (the ' +
|
|
160
|
+
'baseline as merged before this task): open `spec/overview.md` for the module → feature ' +
|
|
161
|
+
'index, then the relevant `spec/modules/<module>/<feature>.json` shards. Keep every part ' +
|
|
162
|
+
'of the baseline this task does not touch exactly as-is, preserving its `sourceBlockIds`; ' +
|
|
163
|
+
'adjust an existing requirement only where this task changes its behaviour. Map each new ' +
|
|
164
|
+
'requirement/rule into the closest-fitting EXISTING module and feature, reusing its EXACT ' +
|
|
165
|
+
'name — create a new module or feature ONLY when nothing fits (never a near-duplicate). ' +
|
|
166
|
+
'If no spec exists yet, start one as a module (domain) → feature (group) taxonomy.',
|
|
167
|
+
'',
|
|
168
|
+
'Requirements for the ONE task to apply (its clarified description). Translate ONLY what ' +
|
|
169
|
+
'these state into BUSINESS requirements (externally-observable behaviour, product rules, ' +
|
|
170
|
+
'acceptance criteria) with COMPLETE acceptance-scenario coverage — do NOT invent ' +
|
|
171
|
+
'requirements or fill gaps they leave:',
|
|
172
|
+
'',
|
|
173
|
+
`${header}\n\n${block.description?.trim() || '(no description)'}`,
|
|
174
|
+
'',
|
|
175
|
+
technicalGuidance +
|
|
176
|
+
' Otherwise return the COMPLETE updated document (baseline plus this task’s ' +
|
|
177
|
+
'increment), not a diff. Respond with ONLY the JSON object — no prose, no code fences.',
|
|
178
|
+
].join('\n');
|
|
179
|
+
}
|
|
180
|
+
export const SPEC_BLUEPRINT_AGENT_KINDS = [
|
|
181
|
+
// The Blueprinter runs as a read-only structured explore, cloning the PR branch when one is
|
|
182
|
+
// open, else the repo's default branch (the generic `pr`-clone resolution), returning ONLY the
|
|
183
|
+
// service tree as JSON. `toRunResult` coerces it into `blueprintService`; the deterministic
|
|
184
|
+
// render + commit of the `blueprints/` artifact is the engine's `blueprintPostOp`.
|
|
185
|
+
{
|
|
186
|
+
kind: BLUEPRINTS_AGENT_KIND,
|
|
187
|
+
systemPrompt: BLUEPRINT_SYSTEM_PROMPT,
|
|
188
|
+
userPrompt: blueprintUserPrompt,
|
|
189
|
+
agent: {
|
|
190
|
+
surface: 'container-explore',
|
|
191
|
+
clone: { branch: 'pr' },
|
|
192
|
+
output: { kind: 'structured', shapeHint: BLUEPRINT_SHAPE_HINT },
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
// The spec-writer runs as a read-only structured explore on the per-block WORK branch (clone
|
|
196
|
+
// `work` — the deterministic `cat-factory/<blockId>` the coder resumes, created from base when
|
|
197
|
+
// absent). It READS the baseline spec from its own checkout, applies this ONE task as an
|
|
198
|
+
// increment, and returns the COMPLETE tree as JSON. `failOnUnusableFinal` because the doc is
|
|
199
|
+
// handed onward to be sharded + committed by `specPostOp` — a truncated final answer must FAIL
|
|
200
|
+
// LOUDLY rather than be laundered into a half-baked spec by the structured repair.
|
|
201
|
+
{
|
|
202
|
+
kind: SPEC_WRITER_AGENT_KIND,
|
|
203
|
+
systemPrompt: SPEC_WRITER_SYSTEM_PROMPT,
|
|
204
|
+
userPrompt: specWriterUserPrompt,
|
|
205
|
+
agent: {
|
|
206
|
+
surface: 'container-explore',
|
|
207
|
+
clone: { branch: 'work' },
|
|
208
|
+
output: { kind: 'structured', shapeHint: SPEC_SHAPE_HINT, failOnUnusableFinal: true },
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
];
|
|
212
|
+
/**
|
|
213
|
+
* Register the blueprints + spec-writer kinds on the given registry. Called by
|
|
214
|
+
* `defaultAgentKindRegistry()`; idempotent (the registry replaces by kind).
|
|
215
|
+
*/
|
|
216
|
+
export function registerSpecBlueprintAgents(registry) {
|
|
217
|
+
registry.registerAll(SPEC_BLUEPRINT_AGENT_KINDS);
|
|
218
|
+
}
|
|
219
|
+
//# sourceMappingURL=spec-blueprints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec-blueprints.js","sourceRoot":"","sources":["../../../src/agents/kinds/spec-blueprints.ts"],"names":[],"mappings":"AAGA,8EAA8E;AAC9E,0DAA0D;AAC1D,EAAE;AACF,4FAA4F;AAC5F,8FAA8F;AAC9F,6FAA6F;AAC7F,0FAA0F;AAC1F,qFAAqF;AACrF,uCAAuC;AACvC,EAAE;AACF,8EAA8E;AAC9E,6FAA6F;AAC7F,iGAAiG;AACjG,8FAA8F;AAC9F,4FAA4F;AAC5F,gGAAgG;AAChG,sFAAsF;AACtF,4FAA4F;AAC5F,6FAA6F;AAC7F,oFAAoF;AACpF,gGAAgG;AAChG,4FAA4F;AAC5F,8EAA8E;AAE9E;uFACuF;AACvF,MAAM,CAAC,MAAM,qBAAqB,GAAG,YAAY,CAAA;AAEjD;oFACoF;AACpF,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAA;AAEnD,sFAAsF;AACtF,MAAM,uBAAuB,GAC3B,iFAAiF;IACjF,+EAA+E;IAC/E,iFAAiF;IACjF,+EAA+E;IAC/E,kCAAkC;IAClC,+EAA+E;IAC/E,iFAAiF;IACjF,mFAAmF;IACnF,6DAA6D;IAC7D,kFAAkF;IAClF,iFAAiF;IACjF,4EAA4E;IAC5E,6CAA6C;IAC7C,gFAAgF;IAChF,2EAA2E;IAC3E,+DAA+D;IAC/D,oFAAoF;IACpF,6EAA6E,CAAA;AAE/E,kFAAkF;A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,OAAO,EAAE,mBAAmB;YAC5B,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;YACvB,MAAM,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE;SAChE;KACF;IACD,6FAA6F;IAC7F,+FAA+F;IAC/F,yFAAyF;IACzF,6FAA6F;IAC7F,+FAA+F;IAC/F,mFAAmF;IACnF;QACE,IAAI,EAAE,sBAAsB;QAC5B,YAAY,EAAE,yBAAyB;QACvC,UAAU,EAAE,oBAAoB;QAChC,KAAK,EAAE;YACL,OAAO,EAAE,mBAAmB;YAC5B,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE;YACzB,MAAM,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,mBAAmB,EAAE,IAAI,EAAE;SACtF;KACF;CACF,CAAA;AAED;;;GAGG;AACH,MAAM,UAAU,2BAA2B,CAAC,QAA2B;IACrE,QAAQ,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAA;AAClD,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -28,7 +28,8 @@ export { TECH_MIGRATION_PRESET_ID, TECH_MIGRATION_PRESET, registerTechMigrationP
|
|
|
28
28
|
export { MIGRATION_PHASE_IDS, MIGRATION_PHASE_ID_ORDER } from './presets/tech-migration/phases.js';
|
|
29
29
|
export type { MigrationPhaseId } from './presets/tech-migration/phases.js';
|
|
30
30
|
export { type DocTemplate, type DocTemplateSection, DOC_TEMPLATES, registerDocTemplate, registerDocTemplates, clearRegisteredDocTemplates, docTemplateFor, resolveDocTemplate, requiredSectionTitles, renderTemplateSkeleton, } from './agents/kinds/doc-templates.js';
|
|
31
|
-
export { INITIATIVE_BREAKDOWN_KIND, INITIATIVE_AGENT_KINDS, registerInitiativeAgents, } from './agents/kinds/initiative.js';
|
|
31
|
+
export { INITIATIVE_BREAKDOWN_KIND, INITIATIVE_AGENT_KINDS, initiativeAnalystUserPrompt, initiativePlannerUserPrompt, registerInitiativeAgents, } from './agents/kinds/initiative.js';
|
|
32
|
+
export { BLUEPRINTS_AGENT_KIND, SPEC_WRITER_AGENT_KIND } from './agents/kinds/spec-blueprints.js';
|
|
32
33
|
export { READ_ONLY_AGENT_KINDS, READ_ONLY_GUARDRAIL, isReadOnlyAgentKind, } from './agents/kinds/read-only.js';
|
|
33
34
|
export { BUG_INVESTIGATOR_KIND, BUG_INVESTIGATOR_AGENT_KINDS, bugInvestigation, type BugInvestigation, registerBugInvestigatorAgent, } from './agents/kinds/bug-investigator.js';
|
|
34
35
|
export { SPIKE_AGENT_KIND, SPIKE_AGENT_KINDS, spikeFindings, type SpikeFindings, registerSpikeAgent, } from './agents/kinds/spike.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,2BAA2B,EAAE,MAAM,8BAA8B,CAAA;AAChG,OAAO,EACL,KAAK,sBAAsB,EAC3B,+BAA+B,EAC/B,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAMrE,OAAO,EACL,KAAK,mBAAmB,EACxB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,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kB,EAClB,KAAK,8BAA8B,EACnC,KAAK,0BAA0B,GAChC,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,mBAAmB,EACnB,KAAK,+BAA+B,GACrC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAA;AAC/F,OAAO,KAAK,gBAAgB,MAAM,sCAAsC,CAAA;AACxE,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,oBAAoB,GAC1B,MAAM,sCAAsC,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -84,7 +84,8 @@ export { DOC_TEMPLATES, registerDocTemplate, registerDocTemplates, clearRegister
|
|
|
84
84
|
// body — the single seam the doc-authoring prompts AND the doc-quality gate provider share.
|
|
85
85
|
// (`parseTemplateDocument` stays module-internal — `resolveDocTemplate` is the public entry.)
|
|
86
86
|
resolveDocTemplate, requiredSectionTitles, renderTemplateSkeleton, } from './agents/kinds/doc-templates.js';
|
|
87
|
-
export { INITIATIVE_BREAKDOWN_KIND, INITIATIVE_AGENT_KINDS, registerInitiativeAgents, } from './agents/kinds/initiative.js';
|
|
87
|
+
export { INITIATIVE_BREAKDOWN_KIND, INITIATIVE_AGENT_KINDS, initiativeAnalystUserPrompt, initiativePlannerUserPrompt, registerInitiativeAgents, } from './agents/kinds/initiative.js';
|
|
88
|
+
export { BLUEPRINTS_AGENT_KIND, SPEC_WRITER_AGENT_KIND } from './agents/kinds/spec-blueprints.js';
|
|
88
89
|
export { READ_ONLY_AGENT_KINDS, READ_ONLY_GUARDRAIL, isReadOnlyAgentKind, } from './agents/kinds/read-only.js';
|
|
89
90
|
export { BUG_INVESTIGATOR_KIND, BUG_INVESTIGATOR_AGENT_KINDS, bugInvestigation, registerBugInvestigatorAgent, } from './agents/kinds/bug-investigator.js';
|
|
90
91
|
export { SPIKE_AGENT_KIND, SPIKE_AGENT_KINDS, spikeFindings, registerSpikeAgent, } from './agents/kinds/spike.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoC,MAAM,8BAA8B,CAAA;AAChG,OAAO,EAEL,+BAA+B,EAC/B,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAKL,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AACrE,wFAAwF;AACxF,sEAAsE;AACtE,yFAAyF;AACzF,oFAAoF;AACpF,0DAA0D;AAC1D,OAAO,EAEL,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,GACnC,MAAM,gCAAgC,CAAA;AACvC,6FAA6F;AAC7F,mFAAmF;AACnF,OAAO,EAGL,sBAAsB,GACvB,MAAM,qCAAqC,CAAA;AAC5C,uFAAuF;AACvF,wFAAwF;AACxF,gFAAgF;AAChF,OAAO,EAGL,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,SAAS,EACT,QAAQ,EACR,gBAAgB,GACjB,MAAM,0BAA0B,CAAA;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