@cat-factory/agents 0.27.0 → 0.27.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.
@@ -18,7 +18,7 @@ export declare const PROMPT_VERSIONS: {
18
18
  };
19
19
  readonly 'requirement-writer': {
20
20
  readonly id: 'requirement-writer';
21
- readonly version: 1;
21
+ readonly version: 2;
22
22
  readonly text: string;
23
23
  };
24
24
  readonly 'clarity-review': {
@@ -7,7 +7,7 @@ import { KAIZEN_SYSTEM_PROMPT } from '../prompts/kaizen.js';
7
7
  export const PROMPT_VERSIONS = {
8
8
  'requirement-review': { id: 'requirement-review', version: 2, text: REVIEW_SYSTEM_PROMPT },
9
9
  'requirement-rework': { id: 'requirement-rework', version: 2, text: REWORK_SYSTEM_PROMPT },
10
- 'requirement-writer': { id: 'requirement-writer', version: 1, text: WRITER_SYSTEM_PROMPT },
10
+ 'requirement-writer': { id: 'requirement-writer', version: 2, text: WRITER_SYSTEM_PROMPT },
11
11
  'clarity-review': { id: 'clarity-review', version: 1, text: CLARITY_REVIEW_SYSTEM_PROMPT },
12
12
  'clarity-rework': { id: 'clarity-rework', version: 1, text: CLARITY_REWORK_SYSTEM_PROMPT },
13
13
  'requirements-brainstorm': {
@@ -1 +1 @@
1
- {"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,QAQV,CAAA;AAEvB;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,QAqBV,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,QAeV,CAAA"}
1
+ {"version":3,"file":"requirements.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,oBAAoB,QAQV,CAAA;AAEvB;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,QAqBV,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,QAiBV,CAAA"}
@@ -61,12 +61,14 @@ export const WRITER_SYSTEM_PROMPT = 'You are a senior engineer acting as a Requi
61
61
  'finding, recommend exactly that and set "fromStandard" to its id; (2) the in-repo `spec/` ' +
62
62
  '(business requirements) and `tech-spec/` (architecture, tech-stack, cross-cutting patterns ' +
63
63
  'like pagination / transport) excerpts provided; (3) web search, for anything the project ' +
64
- 'material leaves open — prefer current, widely-adopted practice and cite what you relied on ' +
65
- 'inside the recommendation text. Be specific and actionable; do NOT hedge with "it depends" ' +
66
- 'without giving a concrete default. Respond with ONLY a JSON object of this exact shape no ' +
67
- 'prose, no code fences:\n' +
68
- '{ "recommendations": [ { "itemId": "<the finding id>", "recommendation": "<the suggested ' +
69
- 'answer, in prose>", "fromStandard": "<best-practice fragment id if the answer came straight ' +
70
- 'from one, else null>" } ] }\n' +
64
+ 'material leaves open — prefer current, widely-adopted practice and cite it BRIEFLY (a ' +
65
+ 'standard id, or a source name / short URL) rather than explaining at length. Be precise, ' +
66
+ 'concrete and SUCCINCT: state the answer directly in at most two or three sentences (or a few ' +
67
+ 'short bullets) — do NOT restate the finding, add preamble, or pad the wording. Give a concrete ' +
68
+ 'default rather than hedging with "it depends". Respond with ONLY a JSON object of this exact ' +
69
+ 'shape no prose, no code fences:\n' +
70
+ '{ "recommendations": [ { "itemId": "<the finding id>", "recommendation": "<the concrete ' +
71
+ 'suggested answer — precise and succinct>", "fromStandard": "<best-practice fragment id if the ' +
72
+ 'answer came straight from one, else null>" } ] }\n' +
71
73
  FINAL_ANSWER_IN_REPLY;
72
74
  //# sourceMappingURL=requirements.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"requirements.js","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mFAAmF;AACnF,qFAAqF;AACrF,6EAA6E;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAC/B,8EAA8E;IAC9E,mFAAmF;IACnF,oFAAoF;IACpF,qFAAqF;IACrF,qFAAqF;IACrF,uEAAuE;IACvE,8DAA8D;IAC9D,qBAAqB,CAAA;AAEvB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,kFAAkF;IAClF,oFAAoF;IACpF,oFAAoF;IACpF,uEAAuE;IACvE,qFAAqF;IACrF,mFAAmF;IACnF,sFAAsF;IACtF,4EAA4E;IAC5E,4BAA4B;IAC5B,oDAAoD;IACpD,qFAAqF;IACrF,6EAA6E;IAC7E,uDAAuD;IACvD,iFAAiF;IACjF,mDAAmD;IACnD,oFAAoF;IACpF,0DAA0D;IAC1D,+DAA+D;IAC/D,2EAA2E;IAC3E,8BAA8B;IAC9B,qBAAqB,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,yFAAyF;IACzF,yFAAyF;IACzF,sFAAsF;IACtF,wFAAwF;IACxF,4FAA4F;IAC5F,6FAA6F;IAC7F,2FAA2F;IAC3F,6FAA6F;IAC7F,6FAA6F;IAC7F,8FAA8F;IAC9F,0BAA0B;IAC1B,2FAA2F;IAC3F,8FAA8F;IAC9F,+BAA+B;IAC/B,qBAAqB,CAAA"}
1
+ {"version":3,"file":"requirements.js","sourceRoot":"","sources":["../../../src/agents/prompts/requirements.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mFAAmF;AACnF,qFAAqF;AACrF,6EAA6E;AAE7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAEnD,MAAM,CAAC,MAAM,oBAAoB,GAC/B,8EAA8E;IAC9E,mFAAmF;IACnF,oFAAoF;IACpF,qFAAqF;IACrF,qFAAqF;IACrF,uEAAuE;IACvE,8DAA8D;IAC9D,qBAAqB,CAAA;AAEvB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,kFAAkF;IAClF,oFAAoF;IACpF,oFAAoF;IACpF,uEAAuE;IACvE,qFAAqF;IACrF,mFAAmF;IACnF,sFAAsF;IACtF,4EAA4E;IAC5E,4BAA4B;IAC5B,oDAAoD;IACpD,qFAAqF;IACrF,6EAA6E;IAC7E,uDAAuD;IACvD,iFAAiF;IACjF,mDAAmD;IACnD,oFAAoF;IACpF,0DAA0D;IAC1D,+DAA+D;IAC/D,2EAA2E;IAC3E,8BAA8B;IAC9B,qBAAqB,CAAA;AAEvB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,yFAAyF;IACzF,yFAAyF;IACzF,sFAAsF;IACtF,wFAAwF;IACxF,4FAA4F;IAC5F,6FAA6F;IAC7F,2FAA2F;IAC3F,wFAAwF;IACxF,2FAA2F;IAC3F,+FAA+F;IAC/F,iGAAiG;IACjG,+FAA+F;IAC/F,qCAAqC;IACrC,0FAA0F;IAC1F,gGAAgG;IAChG,oDAAoD;IACpD,qBAAqB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/agents",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
5
5
  "repository": {
6
6
  "type": "git",