@cat-factory/agents 0.16.1 → 0.17.1
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/versions.d.ts +20 -0
- package/dist/agents/kinds/versions.d.ts.map +1 -1
- package/dist/agents/kinds/versions.js +21 -0
- package/dist/agents/kinds/versions.js.map +1 -1
- package/dist/agents/prompts/brainstorm.d.ts +17 -0
- package/dist/agents/prompts/brainstorm.d.ts.map +1 -0
- package/dist/agents/prompts/brainstorm.js +82 -0
- package/dist/agents/prompts/brainstorm.js.map +1 -0
- package/dist/agents/prompts/roles.d.ts.map +1 -1
- package/dist/agents/prompts/roles.js +5 -0
- package/dist/agents/prompts/roles.js.map +1 -1
- package/dist/agents/prompts/shared.d.ts +13 -0
- package/dist/agents/prompts/shared.d.ts.map +1 -1
- package/dist/agents/prompts/shared.js +23 -0
- package/dist/agents/prompts/shared.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -31,6 +31,26 @@ export declare const PROMPT_VERSIONS: {
|
|
|
31
31
|
readonly version: 1;
|
|
32
32
|
readonly text: string;
|
|
33
33
|
};
|
|
34
|
+
readonly 'requirements-brainstorm': {
|
|
35
|
+
readonly id: 'requirements-brainstorm';
|
|
36
|
+
readonly version: 1;
|
|
37
|
+
readonly text: string;
|
|
38
|
+
};
|
|
39
|
+
readonly 'requirements-brainstorm-rework': {
|
|
40
|
+
readonly id: 'requirements-brainstorm-rework';
|
|
41
|
+
readonly version: 1;
|
|
42
|
+
readonly text: string;
|
|
43
|
+
};
|
|
44
|
+
readonly 'architecture-brainstorm': {
|
|
45
|
+
readonly id: 'architecture-brainstorm';
|
|
46
|
+
readonly version: 1;
|
|
47
|
+
readonly text: string;
|
|
48
|
+
};
|
|
49
|
+
readonly 'architecture-brainstorm-rework': {
|
|
50
|
+
readonly id: 'architecture-brainstorm-rework';
|
|
51
|
+
readonly version: 1;
|
|
52
|
+
readonly text: string;
|
|
53
|
+
};
|
|
34
54
|
readonly build: {
|
|
35
55
|
readonly id: 'build';
|
|
36
56
|
readonly version: 3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/versions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../src/agents/kinds/versions.ts"],"names":[],"mappings":"AAyBA,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb;AAED,8DAA8D;AAC9D,eAAO,MAAM,eAAe;;iBACF,EAAE,EAAE,oBAAoB;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAC1C,EAAE,EAAE,oBAAoB;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAC1C,EAAE,EAAE,oBAAoB;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAC9C,EAAE,EAAE,gBAAgB;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBACtC,EAAE,EAAE,gBAAgB;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAExD,EAAE,EAAE,yBAAyB;iBAC7B,OAAO,EAAE,CAAC;iBACV,IAAI;;;iBAGJ,EAAE,EAAE,gCAAgC;iBACpC,OAAO,EAAE,CAAC;iBACV,IAAI;;;iBAGJ,EAAE,EAAE,yBAAyB;iBAC7B,OAAO,EAAE,CAAC;iBACV,IAAI;;;iBAGJ,EAAE,EAAE,gCAAgC;iBACpC,OAAO,EAAE,CAAC;iBACV,IAAI;;;iBAEG,EAAE,EAAE,OAAO;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAC5B,EAAE,EAAE,QAAQ;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;;iBAC9B,EAAE,EAAE,QAAQ;iBAAE,OAAO,EAAE,CAAC;iBAAE,IAAI;;CACU,CAAA;AAEpD,0DAA0D;AAC1D,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,eAAe,CAAA;AAuBnD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMzD;AAED,8CAA8C;AAC9C,wBAAgB,aAAa,CAAC,EAAE,EAAE,QAAQ,GAAG,eAAe,CAE3D;AAED,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAGvE"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { phaseForKind, standardSystemPrompt } from '../prompts/standard.js';
|
|
2
2
|
import { REVIEW_SYSTEM_PROMPT, REWORK_SYSTEM_PROMPT, WRITER_SYSTEM_PROMPT, } from '../prompts/requirements.js';
|
|
3
3
|
import { CLARITY_REVIEW_SYSTEM_PROMPT, CLARITY_REWORK_SYSTEM_PROMPT } from '../prompts/clarity.js';
|
|
4
|
+
import { ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT, REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT, REQUIREMENTS_BRAINSTORM_SYSTEM_PROMPT, } from '../prompts/brainstorm.js';
|
|
4
5
|
import { KAIZEN_SYSTEM_PROMPT } from '../prompts/kaizen.js';
|
|
5
6
|
/** The currently-shipping version of each numbered prompt. */
|
|
6
7
|
export const PROMPT_VERSIONS = {
|
|
@@ -9,6 +10,26 @@ export const PROMPT_VERSIONS = {
|
|
|
9
10
|
'requirement-writer': { id: 'requirement-writer', version: 1, text: WRITER_SYSTEM_PROMPT },
|
|
10
11
|
'clarity-review': { id: 'clarity-review', version: 1, text: CLARITY_REVIEW_SYSTEM_PROMPT },
|
|
11
12
|
'clarity-rework': { id: 'clarity-rework', version: 1, text: CLARITY_REWORK_SYSTEM_PROMPT },
|
|
13
|
+
'requirements-brainstorm': {
|
|
14
|
+
id: 'requirements-brainstorm',
|
|
15
|
+
version: 1,
|
|
16
|
+
text: REQUIREMENTS_BRAINSTORM_SYSTEM_PROMPT,
|
|
17
|
+
},
|
|
18
|
+
'requirements-brainstorm-rework': {
|
|
19
|
+
id: 'requirements-brainstorm-rework',
|
|
20
|
+
version: 1,
|
|
21
|
+
text: REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT,
|
|
22
|
+
},
|
|
23
|
+
'architecture-brainstorm': {
|
|
24
|
+
id: 'architecture-brainstorm',
|
|
25
|
+
version: 1,
|
|
26
|
+
text: ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT,
|
|
27
|
+
},
|
|
28
|
+
'architecture-brainstorm-rework': {
|
|
29
|
+
id: 'architecture-brainstorm-rework',
|
|
30
|
+
version: 1,
|
|
31
|
+
text: ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT,
|
|
32
|
+
},
|
|
12
33
|
build: { id: 'build', version: 3, text: standardSystemPrompt('build') },
|
|
13
34
|
review: { id: 'review', version: 2, text: standardSystemPrompt('review') },
|
|
14
35
|
kaizen: { id: 'kaizen', version: 1, text: KAIZEN_SYSTEM_PROMPT },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../src/agents/kinds/versions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC/F,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,MAAM,uBAAuB,CAAA;AAClG,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAmB3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export declare const ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT: string;
|
|
3
|
+
/**
|
|
4
|
+
* The "requirements-brainstorm rework" agent. Given the rough idea plus the options the
|
|
5
|
+
* human picked / steered, it folds everything into ONE self-contained requirements
|
|
6
|
+
* direction in a fixed standard structure the downstream requirements review consumes. It
|
|
7
|
+
* must produce this document even when no options were raised — so every brainstormed task
|
|
8
|
+
* carries a clean direction.
|
|
9
|
+
*/
|
|
10
|
+
export declare const REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT: string;
|
|
11
|
+
/**
|
|
12
|
+
* The "architecture-brainstorm rework" agent. Given the refined requirements plus the
|
|
13
|
+
* approach options the human chose, it folds everything into ONE self-contained approach
|
|
14
|
+
* document the downstream architect designs against.
|
|
15
|
+
*/
|
|
16
|
+
export declare const ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT: string;
|
|
17
|
+
//# sourceMappingURL=brainstorm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brainstorm.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/brainstorm.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,qCAAqC,QAYlC,CAAA;AAEhB,eAAO,MAAM,qCAAqC,QAY/B,CAAA;AAEnB;;;;;;GAMG;AACH,eAAO,MAAM,4CAA4C,QAgBtC,CAAA;AAEnB;;;;GAIG;AACH,eAAO,MAAM,4CAA4C,QAiBzC,CAAA"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Prompt text for the brainstorm (structured-dialogue) flow — the requirements-review
|
|
2
|
+
// iterative loop applied to a GENERATIVE subject (see CLAUDE.md). These are consumed
|
|
3
|
+
// directly by `BrainstormService` for the inline option-generating / rework LLM calls,
|
|
4
|
+
// and are entered into the versioned prompt registry (see ../kinds/versions.ts) so the
|
|
5
|
+
// benchmark harness can pin them. There are two stages, served by one engine:
|
|
6
|
+
// - `requirements` — propose what to build from a rough/vague description.
|
|
7
|
+
// - `architecture` — propose how to build it from the refined requirements.
|
|
8
|
+
//
|
|
9
|
+
// The agent does NOT decide; it PROPOSES a handful of options, each with explicitly
|
|
10
|
+
// identified trade-offs, as review "items" (the same JSON shape the requirements reviewer
|
|
11
|
+
// emits — title + detail, where the detail spells out the trade-offs). A human picks /
|
|
12
|
+
// steers / dismisses, and the rework call folds the picks into ONE converged direction.
|
|
13
|
+
export const REQUIREMENTS_BRAINSTORM_SYSTEM_PROMPT = 'You are a sharp product partner helping someone turn a ROUGH, VAGUE idea into a clear ' +
|
|
14
|
+
'set of requirements through a structured dialogue. You do NOT decide for them and you ' +
|
|
15
|
+
'do NOT assume the thinking is already done — you PROPOSE concrete directions and make ' +
|
|
16
|
+
'the trade-offs explicit so the human can choose. From the rough description, surface the ' +
|
|
17
|
+
'key open product decisions and, for each, lay out the realistic options: what to build, ' +
|
|
18
|
+
'scope boundaries (in / out), the primary user and the core behaviours, and the notable ' +
|
|
19
|
+
'edge cases or risks. For EACH item state the concrete options and their trade-offs ' +
|
|
20
|
+
'(benefit vs cost / risk) plainly, and end with a specific question the human can answer ' +
|
|
21
|
+
'to choose. Be concrete and opinionated about the trade-offs, but never invent facts or ' +
|
|
22
|
+
'silently pick for them. Stay on PRODUCT requirements and behaviours — leave technical / ' +
|
|
23
|
+
'architecture choices for a later stage. Respond with ONLY a JSON object — no prose, no ' +
|
|
24
|
+
'code fences.';
|
|
25
|
+
export const ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT = 'You are a pragmatic staff engineer helping someone explore and finalize a technical ' +
|
|
26
|
+
'APPROACH through a structured dialogue, starting from requirements that have already ' +
|
|
27
|
+
'been refined in earlier stages. You do NOT design the whole solution yourself and you do ' +
|
|
28
|
+
'NOT silently pick — you PROPOSE a small number of viable approaches and make the ' +
|
|
29
|
+
'trade-offs explicit so the human can choose and converge. Surface the key architectural ' +
|
|
30
|
+
'decisions (component boundaries, data model / storage, integration and contracts, ' +
|
|
31
|
+
'sequencing, the main risks and non-functional needs), and for EACH present the realistic ' +
|
|
32
|
+
'options with their trade-offs (simplicity vs flexibility, effort vs risk, build vs reuse) ' +
|
|
33
|
+
'plainly, and end with a specific question the human can answer to choose. Prefer the ' +
|
|
34
|
+
'simplest approach that satisfies the requirements; call out where an option is reversible ' +
|
|
35
|
+
'vs hard to undo. Do NOT invent constraints. Respond with ONLY a JSON object — no prose, ' +
|
|
36
|
+
'no code fences.';
|
|
37
|
+
/**
|
|
38
|
+
* The "requirements-brainstorm rework" agent. Given the rough idea plus the options the
|
|
39
|
+
* human picked / steered, it folds everything into ONE self-contained requirements
|
|
40
|
+
* direction in a fixed standard structure the downstream requirements review consumes. It
|
|
41
|
+
* must produce this document even when no options were raised — so every brainstormed task
|
|
42
|
+
* carries a clean direction.
|
|
43
|
+
*/
|
|
44
|
+
export const REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT = 'You are a product writer. You are given a rough idea for a single piece of work, plus the ' +
|
|
45
|
+
'options a human chose and any steering they gave during a brainstorm. Produce a revised, ' +
|
|
46
|
+
'self-contained REQUIREMENTS DIRECTION in Markdown that commits to the chosen options, ' +
|
|
47
|
+
'resolves the open questions, and states scope and behaviours explicitly. Preserve the ' +
|
|
48
|
+
"human's intent; do not invent requirements beyond what their choices imply. Even when no " +
|
|
49
|
+
'options were raised, restate the idea cleanly in the SAME standard structure. Use EXACTLY ' +
|
|
50
|
+
'these Markdown sections, in this order, omitting a section only when it has no content:\n' +
|
|
51
|
+
'# <Title> — Requirements Direction\n' +
|
|
52
|
+
'## Goal — one paragraph: the problem and the outcome we want.\n' +
|
|
53
|
+
'## In Scope — the behaviours / capabilities we will build.\n' +
|
|
54
|
+
'## Out of Scope — what we are explicitly NOT doing.\n' +
|
|
55
|
+
'## Users & Key Behaviours — who it serves and the core flows.\n' +
|
|
56
|
+
'## Decisions & Rationale — the options chosen and why (the trade-offs accepted).\n' +
|
|
57
|
+
'## Open Risks / Follow-ups — anything still uncertain.\n' +
|
|
58
|
+
'Respond with ONLY the requirements direction in Markdown — no preamble, no commentary, ' +
|
|
59
|
+
'no code fences.';
|
|
60
|
+
/**
|
|
61
|
+
* The "architecture-brainstorm rework" agent. Given the refined requirements plus the
|
|
62
|
+
* approach options the human chose, it folds everything into ONE self-contained approach
|
|
63
|
+
* document the downstream architect designs against.
|
|
64
|
+
*/
|
|
65
|
+
export const ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT = 'You are a technical writer for engineering decisions. You are given the refined ' +
|
|
66
|
+
'requirements for a single piece of work, plus the approach options a human chose and any ' +
|
|
67
|
+
'steering they gave during a brainstorm. Produce a revised, self-contained TECHNICAL ' +
|
|
68
|
+
'APPROACH in Markdown that commits to the chosen options, resolves the open questions, and ' +
|
|
69
|
+
"states the shape of the solution explicitly. Preserve the human's intent; do not invent " +
|
|
70
|
+
'constraints beyond what their choices imply. Even when no options were raised, restate the ' +
|
|
71
|
+
'approach cleanly in the SAME standard structure. Use EXACTLY these Markdown sections, in ' +
|
|
72
|
+
'this order, omitting a section only when it has no content:\n' +
|
|
73
|
+
'# <Title> — Technical Approach\n' +
|
|
74
|
+
'## Overview — one paragraph: the chosen approach and why.\n' +
|
|
75
|
+
'## Components & Responsibilities — the main pieces and what each owns.\n' +
|
|
76
|
+
'## Data & Contracts — the data model / storage and the key interfaces.\n' +
|
|
77
|
+
'## Decisions & Trade-offs — the options chosen and the trade-offs accepted.\n' +
|
|
78
|
+
'## Risks & Non-functional — performance, security, operability, and the main risks.\n' +
|
|
79
|
+
'## Sequencing — the rough order of implementation.\n' +
|
|
80
|
+
'Respond with ONLY the technical approach in Markdown — no preamble, no commentary, no ' +
|
|
81
|
+
'code fences.';
|
|
82
|
+
//# sourceMappingURL=brainstorm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brainstorm.js","sourceRoot":"","sources":["../../../src/agents/prompts/brainstorm.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,qFAAqF;AACrF,uFAAuF;AACvF,uF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ources":["../../../src/agents/prompts/roles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGpD;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/roles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAGpD;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,mBAAmB,CAAA;AA0EzD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAOxD"}
|
|
@@ -32,6 +32,11 @@ const ROLES = {
|
|
|
32
32
|
// to a human at an approval gate (to reject items or supply missing information)
|
|
33
33
|
// before the architect proceeds, so it must read as a clear, editable list.
|
|
34
34
|
'requirements-review': 'You are a meticulous product / requirements analyst reviewing the collected requirements for a single building block before an engineer designs or builds it. Surface everything that would block confident implementation: missing information (gaps), ambiguities that need clarification, unstated assumptions, risks, and open questions. Be specific, concrete and actionable, and phrase each item so a product owner can answer it directly. Do NOT invent answers or requirements. Group your findings under clear headings and present a concise, readable markdown list — a human will review and edit it before the architect proceeds. Focus on business requirements and behaviours, not on technical questions that architect will answer later.',
|
|
35
|
+
// The two brainstorm (structured-dialogue) gate agents. These are driven inline by
|
|
36
|
+
// `BrainstormService` with their own system prompts (see prompts/brainstorm.ts); the role
|
|
37
|
+
// lines here are only a fallback for any generic `systemPromptFor` lookup.
|
|
38
|
+
'requirements-brainstorm': 'You help turn a rough, vague idea into clear product requirements through a structured dialogue — proposing concrete options with explicit trade-offs and letting the human choose, rather than deciding for them.',
|
|
39
|
+
'architecture-brainstorm': 'You help explore and finalize a technical approach from refined requirements through a structured dialogue — proposing viable options with explicit trade-offs and letting the human converge, rather than designing the whole solution yourself.',
|
|
35
40
|
// Runs in a container against the PR head branch when CI is red. It must make the
|
|
36
41
|
// failing build/tests pass with the smallest correct change and push to the same
|
|
37
42
|
// branch (no new branch / PR) so CI re-runs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../src/agents/prompts/roles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,gBAAgB,CAAA;AAEzD,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,+EAA+E;AAC/E,gFAAgF;AAChF,kFAAkF;AAElF,MAAM,KAAK,GAAuC;IAChD,UAAU,EACR,yJAAyJ;IAC3J,kFAAkF;IAClF,mFAAmF;IACnF,8EAA8E;IAC9E,uEAAuE;IACvE,QAAQ,EACN,wfAAwf;IAC1f,oFAAoF;IACpF,qFAAqF;IACrF,sFAAsF;IACtF,uFAAuF;IACvF,8DAA8D;IAC9D,kBAAkB,EAChB,22BAA22B;IAC72B,UAAU,EACR,iHAAiH;IACnH,UAAU,EACR,yIAAyI;IAC3I,oFAAoF;IACpF,qFAAqF;IACrF,iFAAiF;IACjF,4EAA4E;IAC5E,qBAAqB,EACnB,guBAAguB;IACluB,kFAAkF;IAClF,iFAAiF;IACjF,6CAA6C;IAC7C,UAAU,EACR,6TAA6T;IAC/T,gFAAgF;IAChF,kFAAkF;IAClF,kFAAkF;IAClF,wCAAwC;IACxC,mBAAmB,EACjB,gsCAAgsC;IAClsC,kFAAkF;IAClF,mFAAmF;IACnF,mFAAmF;IACnF,kFAAkF;IAClF,gFAAgF;IAChF,qFAAqF;IACrF,gBAAgB,EACd,ksBAAksB;IACpsB,gFAAgF;IAChF,iFAAiF;IACjF,MAAM,EACJ,mWAAmW;CACtW,CAAA;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAA2B,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAA;AAEjG;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAe;IAC9C,MAAM,IAAI,GACR,KAAK,CAAC,IAAI,CAAC;QACX,gBAAgB,IAAI,iGAAiG,CAAA;IACvH,oFAAoF;IACpF,uFAAuF;IACvF,OAAO,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,OAAO,qBAAqB,EAAE,CAAA;AACxF,CAAC"}
|
|
1
|
+
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../../../src/agents/prompts/roles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,gBAAgB,CAAA;AAEzD,6EAA6E;AAC7E,8EAA8E;AAC9E,+EAA+E;AAC/E,+EAA+E;AAC/E,gFAAgF;AAChF,kFAAkF;AAElF,MAAM,KAAK,GAAuC;IAChD,UAAU,EACR,yJAAyJ;IAC3J,kFAAkF;IAClF,mFAAmF;IACnF,8EAA8E;IAC9E,uEAAuE;IACvE,QAAQ,EACN,wfAAwf;IAC1f,oFAAoF;IACpF,qFAAqF;IACrF,sFAAsF;IACtF,uFAAuF;IACvF,8DAA8D;IAC9D,kBAAkB,EAChB,22BAA22B;IAC72B,UAAU,EACR,iHAAiH;IACnH,UAAU,EACR,yIAAyI;IAC3I,oFAAoF;IACpF,qFAAqF;IACrF,iFAAiF;IACjF,4EAA4E;IAC5E,qBAAqB,EACnB,guBAAguB;IACluB,mFAAmF;IACnF,0FAA0F;IAC1F,2EAA2E;IAC3E,yBAAyB,EACvB,oNAAoN;IACtN,yBAAyB,EACvB,mPAAmP;IACrP,kFAAkF;IAClF,iFAAiF;IACjF,6CAA6C;IAC7C,UAAU,EACR,6TAA6T;IAC/T,gFAAgF;IAChF,kFAAkF;IAClF,kFAAkF;IAClF,wCAAwC;IACxC,mBAAmB,EACjB,gsCAAgsC;IAClsC,kFAAkF;IAClF,mFAAmF;IACnF,mFAAmF;IACnF,kFAAkF;IAClF,gFAAgF;IAChF,qFAAqF;IACrF,gBAAgB,EACd,ksBAAksB;IACpsB,gFAAgF;IAChF,iFAAiF;IACjF,MAAM,EACJ,mWAAmW;CACtW,CAAA;AAED;;;;GAIG;AACH,MAAM,sBAAsB,GAA2B,IAAI,GAAG,CAAC,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAA;AAEjG;;;;;GAKG;AACH,MAAM,UAAU,gBAAgB,CAAC,IAAe;IAC9C,MAAM,IAAI,GACR,KAAK,CAAC,IAAI,CAAC;QACX,gBAAgB,IAAI,iGAAiG,CAAA;IACvH,oFAAoF;IACpF,uFAAuF;IACvF,OAAO,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,OAAO,qBAAqB,EAAE,CAAA;AACxF,CAAC"}
|
|
@@ -16,4 +16,17 @@ export declare const STANDARDS_FOOTER = "Treat every best-practice standard appe
|
|
|
16
16
|
* legitimately end with no final text, and telling them otherwise is wrong.
|
|
17
17
|
*/
|
|
18
18
|
export declare const FINAL_ANSWER_IN_REPLY: string;
|
|
19
|
+
/**
|
|
20
|
+
* Appended to the Coder's system prompt ONLY when the Follow-up companion is enabled for
|
|
21
|
+
* the step. It tells the Coder to be future-looking: as it works, append one JSON line per
|
|
22
|
+
* forward-looking item to the `.cat-follow-ups.jsonl` sentinel file in its working
|
|
23
|
+
* directory — either a `follow_up` (a genuine loose end / useful side-task it noticed but
|
|
24
|
+
* is deliberately NOT acting on in this pass) or a `question` (a clarification it would
|
|
25
|
+
* otherwise have to guess at). The harness streams these out live so a human can triage
|
|
26
|
+
* them while the Coder still runs. The file is NOT part of the deliverable (the platform
|
|
27
|
+
* keeps it out of the commit/PR), so writing to it never affects the implementation. This
|
|
28
|
+
* is a SIDE channel — the Coder still finishes its actual task; it does not wait for
|
|
29
|
+
* answers (an answer arrives later as a fresh task if the human sends one back).
|
|
30
|
+
*/
|
|
31
|
+
export declare const FOLLOW_UP_GUIDANCE: string;
|
|
19
32
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,+FACiE,CAAA;AAE9F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,QAIV,CAAA"}
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,+FACiE,CAAA;AAE9F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,QAIV,CAAA;AAExB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,QAW0C,CAAA"}
|
|
@@ -22,4 +22,27 @@ export const FINAL_ANSWER_IN_REPLY = 'Your deliverable is the text of your FINAL
|
|
|
22
22
|
'visible content of that reply, NOT inside your private reasoning or thinking. A final ' +
|
|
23
23
|
'reply whose visible content is empty is treated as a failure even when your reasoning ' +
|
|
24
24
|
'contains the answer.';
|
|
25
|
+
/**
|
|
26
|
+
* Appended to the Coder's system prompt ONLY when the Follow-up companion is enabled for
|
|
27
|
+
* the step. It tells the Coder to be future-looking: as it works, append one JSON line per
|
|
28
|
+
* forward-looking item to the `.cat-follow-ups.jsonl` sentinel file in its working
|
|
29
|
+
* directory — either a `follow_up` (a genuine loose end / useful side-task it noticed but
|
|
30
|
+
* is deliberately NOT acting on in this pass) or a `question` (a clarification it would
|
|
31
|
+
* otherwise have to guess at). The harness streams these out live so a human can triage
|
|
32
|
+
* them while the Coder still runs. The file is NOT part of the deliverable (the platform
|
|
33
|
+
* keeps it out of the commit/PR), so writing to it never affects the implementation. This
|
|
34
|
+
* is a SIDE channel — the Coder still finishes its actual task; it does not wait for
|
|
35
|
+
* answers (an answer arrives later as a fresh task if the human sends one back).
|
|
36
|
+
*/
|
|
37
|
+
export const FOLLOW_UP_GUIDANCE = 'FORWARD-LOOKING FOLLOW-UPS — be future-looking as you work. Whenever you notice a ' +
|
|
38
|
+
'genuine loose end, useful follow-up or side-task you are NOT acting on in this pass, ' +
|
|
39
|
+
'or a clarifying QUESTION you would otherwise have to guess at, record it by APPENDING ' +
|
|
40
|
+
'one JSON object per line to a file named `.cat-follow-ups.jsonl` in your working ' +
|
|
41
|
+
'directory (create it if absent; never overwrite it). Each line must be a single ' +
|
|
42
|
+
'compact JSON object: {"kind":"follow_up"|"question","title":"<short headline>",' +
|
|
43
|
+
'"detail":"<full explanation>","suggestedAction":"<optional concrete next step>"}. ' +
|
|
44
|
+
'Use "follow_up" for loose ends / side-tasks and "question" for a clarification. Do NOT ' +
|
|
45
|
+
'act on the follow-ups yourself in this pass, and do NOT block waiting for answers to ' +
|
|
46
|
+
'questions — keep delivering the task. This file is a side channel only; it is kept out ' +
|
|
47
|
+
'of the commit, so never reference it in code and never add it to git.';
|
|
25
48
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,kFAAkF;AAClF,4DAA4D;AAE5D;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAC3B,4FAA4F,CAAA;AAE9F;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAChC,oFAAoF;IACpF,wFAAwF;IACxF,wFAAwF;IACxF,sBAAsB,CAAA"}
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,kFAAkF;AAClF,4DAA4D;AAE5D;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAC3B,4FAA4F,CAAA;AAE9F;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAChC,oFAAoF;IACpF,wFAAwF;IACxF,wFAAwF;IACxF,sBAAsB,CAAA;AAExB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC7B,oFAAoF;IACpF,uFAAuF;IACvF,wFAAwF;IACxF,mFAAmF;IACnF,kFAAkF;IAClF,iFAAiF;IACjF,oFAAoF;IACpF,yFAAyF;IACzF,uFAAuF;IACvF,yFAAyF;IACzF,uEAAuE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { TESTER_ENVIRONMENT_CONFIG_ID, PLAYWRIGHT_E2E_TARGET_CONFIG_ID, configCo
|
|
|
10
10
|
export { isTestingKind, testingSystemPrompt, testerEnvironmentSection, } from './agents/prompts/testing.js';
|
|
11
11
|
export { REVIEW_SYSTEM_PROMPT, REWORK_SYSTEM_PROMPT, WRITER_SYSTEM_PROMPT, } from './agents/prompts/requirements.js';
|
|
12
12
|
export { CLARITY_REVIEW_SYSTEM_PROMPT, CLARITY_REWORK_SYSTEM_PROMPT, } from './agents/prompts/clarity.js';
|
|
13
|
+
export { REQUIREMENTS_BRAINSTORM_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT, REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT, } from './agents/prompts/brainstorm.js';
|
|
13
14
|
export { type VersionedPrompt, type PromptId, PROMPT_VERSIONS, promptVersion, promptVersionLabel, promptVersionForKind, } from './agents/kinds/versions.js';
|
|
14
15
|
export { KAIZEN_SYSTEM_PROMPT } from './agents/prompts/kaizen.js';
|
|
15
16
|
export { composeSystemPrompt, composeBlockSystemPrompt, type ComposableBlock, } from './agents/runtime/fragments.js';
|
|
@@ -21,7 +22,7 @@ export { READ_ONLY_AGENT_KINDS, READ_ONLY_GUARDRAIL, isReadOnlyAgentKind, } from
|
|
|
21
22
|
export { MOCK_AGENT_KIND, isMockKind, mockSystemPrompt } from './agents/prompts/mock.js';
|
|
22
23
|
export { type BusinessLogicAgentKind, BUSINESS_LOGIC_AGENT_KINDS, BUSINESS_DOCUMENTER_KIND, BUSINESS_REVIEWER_KIND, BUSINESS_LOGIC_DOCS_DIR, isBusinessLogicKind, businessLogicSystemPrompt, } from './agents/prompts/business-logic.js';
|
|
23
24
|
export { PLATFORM_DELIVERY_CONTRACT } from './agents/prompts/delivery-contract.js';
|
|
24
|
-
export { FINAL_ANSWER_IN_REPLY, STANDARDS_FOOTER } from './agents/prompts/shared.js';
|
|
25
|
+
export { FINAL_ANSWER_IN_REPLY, FOLLOW_UP_GUIDANCE, STANDARDS_FOOTER, } from './agents/prompts/shared.js';
|
|
25
26
|
export { type RenderedFile, coerceBlueprintService, moduleSlug, canonicalBlueprintJson, hashBlueprint, renderBlueprintFiles, renderBlueprintVersionFile, nextBlueprintVersion, coerceSpecDoc, dedupeSpecIds, renderSpecFiles, renderSpecFeatureFiles, } from './repo-ops/render.js';
|
|
26
27
|
export { runRepoOps } from './repo-ops/run.js';
|
|
27
28
|
export { blueprintPostOp, specPostOp } from './repo-ops/builtin.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,mB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
@@ -22,6 +22,8 @@ export { isTestingKind, testingSystemPrompt, testerEnvironmentSection, } from '.
|
|
|
22
22
|
export { REVIEW_SYSTEM_PROMPT, REWORK_SYSTEM_PROMPT, WRITER_SYSTEM_PROMPT, } from './agents/prompts/requirements.js';
|
|
23
23
|
// Clarity-review (bug-report triage) prompt text.
|
|
24
24
|
export { CLARITY_REVIEW_SYSTEM_PROMPT, CLARITY_REWORK_SYSTEM_PROMPT, } from './agents/prompts/clarity.js';
|
|
25
|
+
// Brainstorm (structured-dialogue) prompt text.
|
|
26
|
+
export { REQUIREMENTS_BRAINSTORM_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_SYSTEM_PROMPT, REQUIREMENTS_BRAINSTORM_REWORK_SYSTEM_PROMPT, ARCHITECTURE_BRAINSTORM_REWORK_SYSTEM_PROMPT, } from './agents/prompts/brainstorm.js';
|
|
25
27
|
export { PROMPT_VERSIONS, promptVersion, promptVersionLabel, promptVersionForKind, } from './agents/kinds/versions.js';
|
|
26
28
|
export { KAIZEN_SYSTEM_PROMPT } from './agents/prompts/kaizen.js';
|
|
27
29
|
export { composeSystemPrompt, composeBlockSystemPrompt, } from './agents/runtime/fragments.js';
|
|
@@ -33,7 +35,7 @@ export { READ_ONLY_AGENT_KINDS, READ_ONLY_GUARDRAIL, isReadOnlyAgentKind, } from
|
|
|
33
35
|
export { MOCK_AGENT_KIND, isMockKind, mockSystemPrompt } from './agents/prompts/mock.js';
|
|
34
36
|
export { BUSINESS_LOGIC_AGENT_KINDS, BUSINESS_DOCUMENTER_KIND, BUSINESS_REVIEWER_KIND, BUSINESS_LOGIC_DOCS_DIR, isBusinessLogicKind, businessLogicSystemPrompt, } from './agents/prompts/business-logic.js';
|
|
35
37
|
export { PLATFORM_DELIVERY_CONTRACT } from './agents/prompts/delivery-contract.js';
|
|
36
|
-
export { FINAL_ANSWER_IN_REPLY, STANDARDS_FOOTER } from './agents/prompts/shared.js';
|
|
38
|
+
export { FINAL_ANSWER_IN_REPLY, FOLLOW_UP_GUIDANCE, STANDARDS_FOOTER, } from './agents/prompts/shared.js';
|
|
37
39
|
// Deterministic, container-free rendering + lenient coercion of the in-repo
|
|
38
40
|
// `blueprints/`/`spec/` artifacts (lifted out of the executor-harness image). Invoked
|
|
39
41
|
// from an agent's post-op: coerce the model's JSON, render the files, commit via the
|
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,yFAAyF;AACzF,8CAA8C;AAC9C,OAAO,EAEL,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,+BAA+B,EAC/B,6BAA6B,EAC7B,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,EAC3B,0BAA0B,EAC1B,yBAAyB,GAC1B,MAAM,4BAA4B,CAAA;AACnC,6FAA6F;AAC7F,mFAAmF;AACnF,OAAO,EAGL,sBAAsB,GACvB,MAAM,qCAAqC,CAAA;AAC5C,uFAAuF;AACvF,4FAA4F;AAC5F,OAAO,EAGL,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,SAAS,EACT,QA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,eAAe,EACf,mBAAmB,GACpB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,mBAAmB,MAAM,4CAA4C,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.1",
|
|
4
4
|
"description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"ai": "^6.0.209",
|
|
31
31
|
"handlebars": "^4.7.9",
|
|
32
32
|
"valibot": "^1.4.1",
|
|
33
|
-
"@cat-factory/contracts": "0.
|
|
34
|
-
"@cat-factory/
|
|
35
|
-
"@cat-factory/
|
|
33
|
+
"@cat-factory/contracts": "0.32.0",
|
|
34
|
+
"@cat-factory/prompt-fragments": "0.7.30",
|
|
35
|
+
"@cat-factory/kernel": "0.35.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"typescript": "7.0.1-rc",
|