@cat-factory/agents 0.142.1 → 0.142.3

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.
@@ -115,11 +115,12 @@ export declare const EFFORT_REPORT_FILE = ".cat-effort.json";
115
115
  export declare const FOLLOW_UPS_FILE = ".cat-follow-ups.jsonl";
116
116
  /**
117
117
  * Appended to EVERY container-agent system prompt (at the container-dispatch chokepoint, see
118
- * `buildKindBody`). It asks the agent to end its work by writing a short, honest self-assessment
119
- * of the effort to a sentinel file — how hard/easy the work was, what reduced its effectiveness,
120
- * and the key obstacles it hit — which the harness lifts onto the result and the platform surfaces
121
- * in run details. This is a SIDE channel: it is kept out of the commit/PR, so writing it never
122
- * affects the deliverable, and the agent still completes its actual task regardless.
118
+ * `buildKindBody`). It asks the agent to close out its work by writing a short, honest
119
+ * self-assessment of the effort to a sentinel file — how hard/easy the work was, what reduced its
120
+ * effectiveness, and the key obstacles it hit — which the harness lifts onto the result and the
121
+ * platform surfaces in run details. This is a SIDE channel: it is kept out of the commit/PR, so
122
+ * writing it never affects the deliverable, and the agent still completes its actual task
123
+ * regardless.
123
124
  *
124
125
  * BOTH halves of the write/no-write reconciliation live HERE, because this is the only text that
125
126
  * reaches every container kind. The chokepoint appends it to the read-only kinds, whose guardrail
@@ -131,6 +132,29 @@ export declare const FOLLOW_UPS_FILE = ".cat-follow-ups.jsonl";
131
132
  * The timing clause is scoped to what the AGENT did ("any commit or push you made") rather than
132
133
  * asserting what the STEP does. A read-only step can still commit: the `spike` kind's findings are
133
134
  * committed and published by a backend post-op the agent takes no part in.
135
+ *
136
+ * The write is ordered BEFORE the final reply, never "at the end", and the text states why. The
137
+ * old "as the last thing you do" made a faithful agent answer first and write this file second,
138
+ * and the pending tool call forces one more closing turn after the tool result. Every harness
139
+ * reads only the very LAST message as the reply (the claude CLI's `result` event in
140
+ * `agent-runner.ts`, Pi's and Codex's last agent message alike), so for a kind whose deliverable
141
+ * IS its reply ({@link FINAL_ANSWER_IN_REPLY}) the one-line afterthought following the tool
142
+ * result displaced the actual answer. A real run lost an 18k-character architect design to this
143
+ * three rework rounds in a row, the companion correctly rejecting each round for "design body
144
+ * missing" while the design sat one message earlier in the transcript. Pinned in
145
+ * `containerAgentJobBody.spec.ts` beside the write/no-write pair.
146
+ *
147
+ * The REASON is stated as what the platform keeps, never as what the reply is FOR, because this
148
+ * text reaches every container kind including the side-effect ones (coder, ci-fixer,
149
+ * conflict-resolver, mocker) that `applySurfaceDirectives` deliberately withholds
150
+ * {@link FINAL_ANSWER_IN_REPLY} from: their product is a pushed commit and they legitimately end
151
+ * with no answer to give, so telling them their last message is their answer is the same wrong
152
+ * claim that fragment's own contract forbids. "The platform keeps only your very last message" is
153
+ * true on both sides of that split, and it is the whole of what the ordering rule needs.
154
+ *
155
+ * The ordering also binds the OTHER sentinel a dispatch may ask for: {@link PR_DESCRIPTION_GUIDANCE}
156
+ * is appended AFTER this text for a PR-opening coding kind, so a "write it at the end" there would
157
+ * be the LAST ordering statement the agent reads and would reinstate the trailing write this fixed.
134
158
  */
135
159
  export declare const EFFORT_REPORT_GUIDANCE: string;
136
160
  /**
@@ -204,6 +228,12 @@ export declare const PR_DESCRIPTION_FILE = ".cat-pr-description.md";
204
228
  * the PR falls back to the generic dispatch-time text (`prBody`), which is composed BEFORE the
205
229
  * agent runs and so can never describe the decisions actually made. This is a SIDE channel: the
206
230
  * platform keeps the file out of the commit, so writing it never affects the deliverable.
231
+ *
232
+ * Its closing sentence orders the write the same way {@link EFFORT_REPORT_GUIDANCE} does, and must
233
+ * keep doing so: the chokepoint appends THIS text after that one (`buildCodingAgentBody` folds it
234
+ * into the already-composed role prompt), so whatever it says about timing is the last ordering
235
+ * statement in the prompt. "At the end of your work" put a tool call back after the final reply,
236
+ * which is exactly the displacement the effort-report ordering exists to prevent.
207
237
  */
208
238
  export declare const PR_DESCRIPTION_GUIDANCE: string;
209
239
  export declare const FRAGMENT_ADHERENCE_GUIDANCE: string;
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,QAEE,CAAA;AAEvC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,QAIV,CAAA;AAExB;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,sBAAsB,QAsBkC,CAAA;AAErE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,kBAAkB,QAQiD,CAAA;AAEhF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,QAQT,CAAA;AAE/B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,QAQA,CAAA;AAEjC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,qBAAqB,CAAA;AAEpD;;;;;GAKG;AACH,eAAO,MAAM,eAAe,0BAA0B,CAAA;AAEtD;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sBAAsB,QAYuD,CAAA;AAE1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,0BAA0B,QAeb,CAAA;AAE1B;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,6BAA6B,2BAGhC,CAAA;AAEV,oGAAoG;AACpG,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAExE;AAED;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,2BAA2B,CAAA;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,QAoBX,CAAA;AAiDzB,eAAO,MAAM,2BAA2B,QAOyC,CAAA;AAEjF,eAAO,MAAM,yCAAyC,QAStB,CAAA;AAEhC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,QAW0C,CAAA"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../src/agents/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S_FILE = '.cat-follow-ups.jsonl';
165
165
  /**
166
166
  * Appended to EVERY container-agent system prompt (at the container-dispatch chokepoint, see
167
- * `buildKindBody`). It asks the agent to end its work by writing a short, honest self-assessment
168
- * of the effort to a sentinel file — how hard/easy the work was, what reduced its effectiveness,
169
- * and the key obstacles it hit — which the harness lifts onto the result and the platform surfaces
170
- * in run details. This is a SIDE channel: it is kept out of the commit/PR, so writing it never
171
- * affects the deliverable, and the agent still completes its actual task regardless.
167
+ * `buildKindBody`). It asks the agent to close out its work by writing a short, honest
168
+ * self-assessment of the effort to a sentinel file — how hard/easy the work was, what reduced its
169
+ * effectiveness, and the key obstacles it hit — which the harness lifts onto the result and the
170
+ * platform surfaces in run details. This is a SIDE channel: it is kept out of the commit/PR, so
171
+ * writing it never affects the deliverable, and the agent still completes its actual task
172
+ * regardless.
172
173
  *
173
174
  * BOTH halves of the write/no-write reconciliation live HERE, because this is the only text that
174
175
  * reaches every container kind. The chokepoint appends it to the read-only kinds, whose guardrail
@@ -180,9 +181,32 @@ export const FOLLOW_UPS_FILE = '.cat-follow-ups.jsonl';
180
181
  * The timing clause is scoped to what the AGENT did ("any commit or push you made") rather than
181
182
  * asserting what the STEP does. A read-only step can still commit: the `spike` kind's findings are
182
183
  * committed and published by a backend post-op the agent takes no part in.
184
+ *
185
+ * The write is ordered BEFORE the final reply, never "at the end", and the text states why. The
186
+ * old "as the last thing you do" made a faithful agent answer first and write this file second,
187
+ * and the pending tool call forces one more closing turn after the tool result. Every harness
188
+ * reads only the very LAST message as the reply (the claude CLI's `result` event in
189
+ * `agent-runner.ts`, Pi's and Codex's last agent message alike), so for a kind whose deliverable
190
+ * IS its reply ({@link FINAL_ANSWER_IN_REPLY}) the one-line afterthought following the tool
191
+ * result displaced the actual answer. A real run lost an 18k-character architect design to this
192
+ * three rework rounds in a row, the companion correctly rejecting each round for "design body
193
+ * missing" while the design sat one message earlier in the transcript. Pinned in
194
+ * `containerAgentJobBody.spec.ts` beside the write/no-write pair.
195
+ *
196
+ * The REASON is stated as what the platform keeps, never as what the reply is FOR, because this
197
+ * text reaches every container kind including the side-effect ones (coder, ci-fixer,
198
+ * conflict-resolver, mocker) that `applySurfaceDirectives` deliberately withholds
199
+ * {@link FINAL_ANSWER_IN_REPLY} from: their product is a pushed commit and they legitimately end
200
+ * with no answer to give, so telling them their last message is their answer is the same wrong
201
+ * claim that fragment's own contract forbids. "The platform keeps only your very last message" is
202
+ * true on both sides of that split, and it is the whole of what the ordering rule needs.
203
+ *
204
+ * The ordering also binds the OTHER sentinel a dispatch may ask for: {@link PR_DESCRIPTION_GUIDANCE}
205
+ * is appended AFTER this text for a PR-opening coding kind, so a "write it at the end" there would
206
+ * be the LAST ordering statement the agent reads and would reinstate the trailing write this fixed.
183
207
  */
184
- export const EFFORT_REPORT_GUIDANCE = 'EFFORT SELF-ASSESSMENT — as the last thing you do, once your work is complete (including any ' +
185
- 'commit or push you made), write a ' +
208
+ export const EFFORT_REPORT_GUIDANCE = 'EFFORT SELF-ASSESSMENT — once your work is complete (including any commit or push you made) ' +
209
+ 'and BEFORE you compose your final reply, write a ' +
186
210
  `file named \`${EFFORT_REPORT_FILE}\` in your working directory containing a SINGLE compact ` +
187
211
  'JSON object: {"difficulty":<1-10>,"summary":"<one or two sentences on how hard or easy this ' +
188
212
  'was and why>","reducedEffectiveness":"<what, if anything, reduced your effectiveness — ' +
@@ -192,7 +216,10 @@ export const EFFORT_REPORT_GUIDANCE = 'EFFORT SELF-ASSESSMENT — as the last th
192
216
  'this one file is expected even where your instructions forbid you to create, modify or commit ' +
193
217
  'files: it is the single exception those instructions permit, because the harness keeps it out ' +
194
218
  'of every commit, so writing it changes nothing in the repository. It is a side channel only: ' +
195
- 'never reference it in code and never add it to git. Write it exactly once, at the end.';
219
+ 'never reference it in code and never add it to git. Write it exactly once. Ordering matters: ' +
220
+ 'the effort file first, your final reply last, and no tool call after the reply. The platform ' +
221
+ 'keeps only your very last message, so a tool call made after you have replied replaces what ' +
222
+ 'you wrote with the brief remark that follows the tool result.';
196
223
  /**
197
224
  * Appended to EVERY container-agent system prompt at the same chokepoint as
198
225
  * {@link EFFORT_REPORT_GUIDANCE} (`buildKindBody`): what the execution environment can and cannot
@@ -283,6 +310,12 @@ export const PR_DESCRIPTION_FILE = '.cat-pr-description.md';
283
310
  * the PR falls back to the generic dispatch-time text (`prBody`), which is composed BEFORE the
284
311
  * agent runs and so can never describe the decisions actually made. This is a SIDE channel: the
285
312
  * platform keeps the file out of the commit, so writing it never affects the deliverable.
313
+ *
314
+ * Its closing sentence orders the write the same way {@link EFFORT_REPORT_GUIDANCE} does, and must
315
+ * keep doing so: the chokepoint appends THIS text after that one (`buildCodingAgentBody` folds it
316
+ * into the already-composed role prompt), so whatever it says about timing is the last ordering
317
+ * statement in the prompt. "At the end of your work" put a tool call back after the final reply,
318
+ * which is exactly the displacement the effort-report ordering exists to prevent.
286
319
  */
287
320
  export const PR_DESCRIPTION_GUIDANCE = 'PULL REQUEST DESCRIPTION — when you have finished the work, write the reviewer-facing pull ' +
288
321
  `request description to a file named \`${PR_DESCRIPTION_FILE}\` at the top level of the ` +
@@ -302,8 +335,8 @@ export const PR_DESCRIPTION_GUIDANCE = 'PULL REQUEST DESCRIPTION — when you ha
302
335
  'mention accounts (`@name`), or put issue-closing wording such as "fixes" or "closes" in front ' +
303
336
  'of an issue link: the platform defuses all of those before publishing, so they would render ' +
304
337
  'as inert text rather than doing what you intended. This file is a side channel: it is kept ' +
305
- 'out of the commit, so never reference it in code and never add it to git. Write it once, at ' +
306
- 'the end of your work.';
338
+ 'out of the commit, so never reference it in code and never add it to git. Write it exactly ' +
339
+ 'once, when the work is complete and BEFORE you compose your final reply, never after it.';
307
340
  /**
308
341
  * Appended to a code/PR review agent's system prompt. It asks the reviewer to report, per
309
342
  * best-practice standard, how well the reviewed object adheres — a 1..10 rating plus the specific
@@ -1 +1 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../src/agents/prompts/shared.ts"],"names":[],"mappings":"A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8F;IAC9F,6FAA6F;IAC7F,6FAA6F;IAC7F,0FAA0F,CAAA;AAE5F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,+BAA+B,GACnC,0FAA0F;IAC1F,4FAA4F;IAC5F,iFAAiF;IACjF,+FAA+F;IAC/F,gGAAgG;IAChG,YAAY,CAAA;AAEd,MAAM,CAAC,MAAM,2BAA2B,GACtC,2FAA2F;IAC3F,8FAA8F;IAC9F,SAAS;IACT,+BAA+B;IAC/B,yFAAyF;IACzF,4FAA4F;IAC5F,+EAA+E,CAAA;AAEjF,MAAM,CAAC,MAAM,yCAAyC,GACpD,+FAA+F;IAC/F,+FAA+F;IAC/F,gGAAgG;IAChG,2EAA2E;IAC3E,+BAA+B;IAC/B,kGAAkG;IAClG,kGAAkG;IAClG,4FAA4F;IAC5F,8BAA8B,CAAA;AAEhC;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAC7B,oFAAoF;IACpF,uFAAuF;IACvF,wFAAwF;IACxF,8CAA8C,eAAe,qBAAqB;IAClF,kFAAkF;IAClF,iFAAiF;IACjF,oFAAoF;IACpF,yFAAyF;IACzF,uFAAuF;IACvF,yFAAyF;IACzF,uEAAuE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/agents",
3
- "version": "0.142.1",
3
+ "version": "0.142.3",
4
4
  "description": "Agent catalog, routing, prompts and fragment library for the Agent Architecture Board.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,22 +24,22 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@ai-sdk/anthropic": "^4.0.39",
28
- "@ai-sdk/openai": "^4.0.43",
29
- "@ai-sdk/openai-compatible": "^3.0.31",
27
+ "@ai-sdk/anthropic": "^4.0.41",
28
+ "@ai-sdk/openai": "^4.0.46",
29
+ "@ai-sdk/openai-compatible": "^3.0.35",
30
30
  "@ai-sdk/provider": "^4.0.7",
31
- "ai": "^7.0.68",
31
+ "@cat-factory/contracts": "0.327.0",
32
+ "@cat-factory/kernel": "0.318.0",
33
+ "@cat-factory/prompt-fragments": "1.1.3",
34
+ "ai": "^7.0.77",
32
35
  "handlebars": "^4.7.9",
33
36
  "p-map": "^7.0.6",
34
- "valibot": "^1.4.2",
35
- "@cat-factory/contracts": "0.326.0",
36
- "@cat-factory/kernel": "0.317.1",
37
- "@cat-factory/prompt-fragments": "1.1.2"
37
+ "valibot": "^1.4.2"
38
38
  },
39
39
  "devDependencies": {
40
+ "@cat-factory/caching": "0.20.41",
40
41
  "typescript": "7.0.2",
41
- "vitest": "^4.1.11",
42
- "@cat-factory/caching": "0.20.40"
42
+ "vitest": "^4.1.11"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "tsc -b tsconfig.build.json",