@telora/mcp-products 0.22.115 → 0.22.119

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.
@@ -1 +1 @@
1
- export declare const AUDIT_TREE_AUTHORING_GUIDE = "# Audit Tree-Authoring Protocol (CRT -> injections -> anchored plan)\n\nA safe audit emits a **tree and a plan, never a task checklist.** You are\nREAD-ONLY: discovery only. You author the intent structure -- the current\nreality, its root causes, and the leverage points -- and you anchor a plan of\ninjection-anchored remediation deliveries. You do NOT fix anything, and you do\nNOT file remediation Task/Bug issues. Remediation is scoped LATER, one root\ncause at a time, from the injections you anchor here -- so there is no flat\nchecklist to complete with completion-vigor and churn stays bounded to the real\ndefects.\n\nWhat happens to the deliveries you anchor depends on the focus posture, so do\nnot assume a human gate that may not exist:\n- On a **read-only audit focus**, the anchored deliveries rest at `planning`\n behind the human ratify gate -- a human reviews the plan and ratifies it\n before anything executes.\n- On a **live, past-planning focus**, the anchored deliveries are created\n `queued` and execute AUTONOMOUSLY through the normal review gate -- there is\n no human step before they run.\n\nEither way, if you believe the work must NOT run, that is a fork to DECIDE:\ntake the reversible option that preserves both futures and record it for the\nfocus review, never write the belief into a delivery's acceptance criteria.\n\nTwo artifacts, one purpose:\n- **CRT (current reality)** -- entities + undesired effects (UDEs) wired by\n causal edges, surfacing the systemic structure so cross-area root causes\n become visible in ONE focus tree (NOT one delivery per audit area).\n- **FRT (future reality)** -- injections at the root causes, self-validated to\n confirm they flip the UDEs, then anchored to planning deliveries whose\n acceptance is the future-state desired effect each injection produces.\n\n## Rounds (distinct jobs -- not \"find more\")\n1. **Facts -> CRT.** Author the current reality. Create the focus's reality\n tree if none exists (`telora_reality_tree action=create`), then add an\n **entity** node per real component/observation and an **undesired_effect**\n (UDE) node per observed problem (`telora_reality_tree_node action=create`).\n State what IS, in evidence terms -- not a fix.\n2. **Relationships -> causal edges.** Wire cause -> effect with\n `telora_reality_tree_edge action=create` (cause node -> effect node). This\n is the load-bearing round: edges turn a list of symptoms into a causal\n structure, so a single deep cause feeding many surface UDEs across different\n audit areas becomes visible as ONE root in ONE tree -- which is exactly what\n stops the \"one delivery per area\" sprawl.\n3. **Leverage -> injections.** Propose **injection** nodes at the LOWEST / root\n causes (the nodes with the most downstream UDEs), not at the symptoms.\n One injection at a root can clear a whole subtree of UDEs; that leverage is\n the whole reason for the tree. As you aim an injection at the UDE(s) it\n addresses (`telora_reality_tree_node action=target`), DECLARE each target's\n desired effect up front via `restatements` (the resolved future-state that\n UDE becomes) -- a flipped node must read as its future state, not its problem\n text. A flip left without a declared desired effect is an omission the machine\n can only backfill with a weaker draft.\n4. **Self-validate -> derive_frt.** Call\n `telora_reality_tree action=derive_frt` with the treeId. This is read-only:\n it returns the cleared/flipped UDE sets the injections produce. Confirm each\n injection flips the UDEs you targeted. If a UDE is left unresolved by your\n injection set, REPORT it -- do not hide it and do not lower the bar to make\n the tree look clean. An honest \"this UDE has no injection yet\" is signal; a\n silently dropped UDE is noise.\n5. **Anchor the plan -> injection-anchored deliveries.** For each injection,\n create a remediation delivery with\n `telora_product_delivery action=create`, passing\n `injectionNodeId=<the injection node>` and `executionStatus=\"planning\"`.\n Set its acceptance to the **FRT desired effect** -- the future-state the\n injection produces (what becomes true once the root cause is cleared), NOT a\n list of edits and NOT process instructions.\n\nExplicitly, in the audit phase your output is **the tree + the anchored\nplanning deliveries only.** Do NOT create remediation Task or Bug issues. Do\nNOT create one delivery per audit area -- unify the audit into ONE focus tree\nand let each injection (each root cause) anchor exactly one planning delivery.\nDo NOT attempt fixes.\n\n## Acceptance criteria carry the future state ONLY -- never a hold\nA remediation delivery's acceptanceCriteria state ONLY the **FRT desired\neffect**: the future-state that becomes true once the root cause is cleared.\nAcceptanceCriteria are NOT workflow state and NOT a channel to a human. Never\nwrite into acceptanceCriteria:\n- process instructions or step-by-step directions to the executing team,\n- a hold, a pause, or an approval requirement (e.g. \"HOLD FOR HUMAN REVIEW\n BEFORE EXECUTING\", \"do not execute until ...\", \"wait for sign-off\"),\n- status commentary or notes about what you think should happen next.\n\nProse is invisible to the workflow: a hold written into acceptanceCriteria\ngates nothing, and on a live focus the executing team either obeys a stop the\nmachine never enforces or is misled by an instruction it should never have been\ngiven. If you believe the work must NOT run yet, that is a fork to DECIDE, not\nto defer to a human: take the reversible option that preserves both futures --\nauthor the delivery against its real future-state and let it run -- and record\nthe doubt (the question, the options, what you chose, why it is reversible, and\nwhat changes if the human decides otherwise) for the focus review. Reserve an\nescalation for a genuine do-not-run reason you cannot resolve yourself -- a\nmissing dependency, work that truly needs human intent -- and never encode the\ndoubt as acceptance-criteria text.\n\n## Statement quality (Goldratt Categories of Legitimate Reservation)\nHold every node to three statement-quality reservations AS YOU WRITE IT --\ninline with the rounds above, not a separate pass:\n- **Clarity.** Each statement is ONE unambiguous declarative sentence that\n reads standalone -- no jargon or pronoun a reviewer must guess at.\n- **Entity Existence.** Each entity / UDE names a COMPLETE, REAL state that\n actually exists, not a sentence fragment or a vague gesture. Prefer a\n grounded observation over an invented abstraction.\n- **Tautology.** In the relationships round, no cause -> effect pair may be\n circular: an effect must NOT be offered as the reason its own cause exists.\n\nA node that fails any of these radiates unearned certainty; fix the statement\nbefore you wire it. These reservations cost no extra call -- they are how you\nwrite each node, not a gate you run afterward.\n\n## Two hard integrity gates (deterministic; a tree must pass to present)\nThe tree dump (`telora_reality_tree action=dump`) computes and surfaces two\ndeterministic doubt-revealer gates near its header, so unearned certainty\ncannot hide:\n- **Connectivity (NO ORPHANS).** A node with zero edges of ANY type AND no\n `evidence` is an ORPHAN -- it floats, neither wired into the causal graph nor\n folded into its own evidence. A single orphan makes the tree **NOT\n presentable**; the dump names the orphan seqs. Fix it: wire the node to a\n cause/effect with an edge, or ground it by setting `evidence`. An orphan is\n reality with nothing to measure it against -- it must not survive to review.\n- **Evidence-or-assumed.** An `entity` / `undesired_effect` with empty/null\n `evidence` renders an `[assumed]` marker; with evidence it renders\n `(evidence)`. Assumed is NOT a violation -- it is an honest hedge that the\n claim is unearned certainty until grounded. Set `evidence` on the nodes you\n can actually observe; leave the rest visibly `[assumed]` rather than dressing\n a guess up as a proven cause.\n\n## Why this shape (the discipline it enforces)\nA flat checklist invites an agent to \"complete\" it -- to keep going until every\nbox is ticked, which churns code well beyond the real defects. An\ninjection-anchored plan inverts that: remediation is scoped one root cause at a\ntime from an injection, with acceptance pinned to a desired effect, so there is\nnothing to over-complete. The structured CRT + FRT make a wrong root cause\nlegible as a plan -- catchable up front rather than only after code has moved.";
1
+ export declare const AUDIT_TREE_AUTHORING_GUIDE = "# Audit Tree-Authoring Protocol (CRT -> injections -> anchored plan)\n\nA safe audit emits a **tree and a plan, never a task checklist.** You are\nREAD-ONLY: discovery only. You author the intent structure -- the current\nreality, its root causes, and the leverage points -- and you anchor a plan of\ninjection-anchored remediation deliveries. You do NOT fix anything, and you do\nNOT file remediation Task/Bug issues. Remediation is scoped LATER, one root\ncause at a time, from the injections you anchor here -- so there is no flat\nchecklist to complete with completion-vigor and churn stays bounded to the real\ndefects.\n\nWhat happens to the deliveries you anchor depends on the focus posture, so do\nnot assume a human gate that may not exist:\n- On a **read-only audit focus**, the anchored deliveries rest at `planning`\n behind the human ratify gate -- a human reviews the plan and ratifies it\n before anything executes.\n- On a **live, past-planning focus**, the anchored deliveries are created\n `queued` and execute AUTONOMOUSLY through the normal review gate -- there is\n no human step before they run.\n\nEither way, if you believe the work must NOT run, that is a fork to DECIDE:\ntake the reversible option that preserves both futures and record it for the\nfocus review, never write the belief into a delivery's acceptance criteria.\n\nTwo artifacts, one purpose:\n- **CRT (current reality)** -- entities + undesired effects (UDEs) wired by\n causal edges, surfacing the systemic structure so cross-area root causes\n become visible in ONE focus tree (NOT one delivery per audit area).\n- **FRT (future reality)** -- injections at the root causes, self-validated to\n confirm they flip the UDEs, then anchored to planning deliveries whose\n acceptance is the future-state desired effect each injection produces.\n\n## Rounds (distinct jobs -- not \"find more\")\n1. **Facts -> CRT.** Author the current reality. Create the focus's reality\n tree if none exists (`telora_reality_tree action=create`), then add an\n **entity** node per real component/observation and an **undesired_effect**\n (UDE) node per observed problem (`telora_reality_tree_node action=create`).\n State what IS, in evidence terms -- not a fix.\n2. **Relationships -> causal edges.** Wire cause -> effect with\n `telora_reality_tree_edge action=create` (cause node -> effect node). This\n is the load-bearing round: edges turn a list of symptoms into a causal\n structure, so a single deep cause feeding many surface UDEs across different\n audit areas becomes visible as ONE root in ONE tree -- which is exactly what\n stops the \"one delivery per area\" sprawl.\n3. **Leverage -> injections.** Propose **injection** nodes at the LOWEST / root\n causes (the nodes with the most downstream UDEs), not at the symptoms.\n One injection at a root can clear a whole subtree of UDEs; that leverage is\n the whole reason for the tree. As you aim an injection at the UDE(s) it\n addresses (`telora_reality_tree_node action=target`), DECLARE each target's\n desired effect up front via `restatements` (the resolved future-state that\n UDE becomes) -- a flipped node must read as its future state, not its problem\n text. A flip left without a declared desired effect is an omission the machine\n can only backfill with a weaker draft.\n4. **Self-validate -> derive_frt.** Call\n `telora_reality_tree action=derive_frt` with the treeId. This is read-only:\n it returns the cleared/flipped UDE sets the injections produce. Confirm each\n injection flips the UDEs you targeted. If a UDE is left unresolved by your\n injection set, REPORT it -- do not hide it and do not lower the bar to make\n the tree look clean. An honest \"this UDE has no injection yet\" is signal; a\n silently dropped UDE is noise.\n5. **Anchor the plan -> injection-anchored deliveries.** For each injection,\n create a remediation delivery with\n `telora_product_delivery action=create`, passing\n `injectionNodeId=<the injection node>` and `executionStatus=\"planning\"`.\n Set its acceptance to the **FRT desired effect** -- the future-state the\n injection produces (what becomes true once the root cause is cleared), NOT a\n list of edits and NOT process instructions.\n\nExplicitly, in the audit phase your output is **the tree + the anchored\nplanning deliveries only.** Do NOT create remediation Task or Bug issues. Do\nNOT create one delivery per audit area -- unify the audit into ONE focus tree\nand let each injection (each root cause) anchor exactly one planning delivery.\nDo NOT attempt fixes.\n\n## Acceptance criteria carry the future state ONLY -- never a hold, never a waiver\nA remediation delivery's acceptanceCriteria state ONLY the **FRT desired\neffect**: the future-state that becomes true once the root cause is cleared.\nAcceptanceCriteria are NOT workflow state and NOT a channel to a human. Never\nwrite into acceptanceCriteria:\n- process instructions or step-by-step directions to the executing team,\n- a hold, a pause, or an approval requirement (e.g. \"HOLD FOR HUMAN REVIEW\n BEFORE EXECUTING\", \"do not execute until ...\", \"wait for sign-off\"),\n- status commentary or notes about what you think should happen next,\n- a WAIVER of a criterion this delivery cannot satisfy (e.g. \"do not expect\n this to change\", \"judge by attempt, not by the retired count\") -- such a\n criterion belongs at the focus altitude; relocate it there.\n\nProse is invisible to the workflow: a hold written into acceptanceCriteria\ngates nothing, and on a live focus the executing team either obeys a stop the\nmachine never enforces or is misled by an instruction it should never have been\ngiven. If you believe the work must NOT run yet, that is a fork to DECIDE, not\nto defer to a human: take the reversible option that preserves both futures --\nauthor the delivery against its real future-state and let it run -- and record\nthe doubt (the question, the options, what you chose, why it is reversible, and\nwhat changes if the human decides otherwise) for the focus review. Reserve an\nescalation for a genuine do-not-run reason you cannot resolve yourself -- a\nmissing dependency, work that truly needs human intent -- and never encode the\ndoubt as acceptance-criteria text.\n\nProse is equally invisible as a WAIVER. A criterion you cannot satisfy at this\ndelivery's altitude is not satisfied by a note asking the reviewer to disregard\nit -- the note lowers the bar and, like a prose hold, leaves no trace. A\ncriterion only the FOCUS can satisfy (an outcome that spans deliveries) belongs\nat the focus altitude: relocate it there rather than parking it on a delivery\nthat cannot measure it and annotating it away.\n\n## Statement quality (Goldratt Categories of Legitimate Reservation)\nHold every node to three statement-quality reservations AS YOU WRITE IT --\ninline with the rounds above, not a separate pass:\n- **Clarity.** Each statement is ONE unambiguous declarative sentence that\n reads standalone -- no jargon or pronoun a reviewer must guess at.\n- **Entity Existence.** Each entity / UDE names a COMPLETE, REAL state that\n actually exists, not a sentence fragment or a vague gesture. Prefer a\n grounded observation over an invented abstraction.\n- **Tautology.** In the relationships round, no cause -> effect pair may be\n circular: an effect must NOT be offered as the reason its own cause exists.\n\nA node that fails any of these radiates unearned certainty; fix the statement\nbefore you wire it. These reservations cost no extra call -- they are how you\nwrite each node, not a gate you run afterward.\n\n## Two hard integrity gates (deterministic; a tree must pass to present)\nThe tree dump (`telora_reality_tree action=dump`) computes and surfaces two\ndeterministic doubt-revealer gates near its header, so unearned certainty\ncannot hide:\n- **Connectivity (NO ORPHANS).** A node with zero edges of ANY type AND no\n `evidence` is an ORPHAN -- it floats, neither wired into the causal graph nor\n folded into its own evidence. A single orphan makes the tree **NOT\n presentable**; the dump names the orphan seqs. Fix it: wire the node to a\n cause/effect with an edge, or ground it by setting `evidence`. An orphan is\n reality with nothing to measure it against -- it must not survive to review.\n- **Evidence-or-assumed.** An `entity` / `undesired_effect` with empty/null\n `evidence` renders an `[assumed]` marker; with evidence it renders\n `(evidence)`. Assumed is NOT a violation -- it is an honest hedge that the\n claim is unearned certainty until grounded. Set `evidence` on the nodes you\n can actually observe; leave the rest visibly `[assumed]` rather than dressing\n a guess up as a proven cause.\n\n## Why this shape (the discipline it enforces)\nA flat checklist invites an agent to \"complete\" it -- to keep going until every\nbox is ticked, which churns code well beyond the real defects. An\ninjection-anchored plan inverts that: remediation is scoped one root cause at a\ntime from an injection, with acceptance pinned to a desired effect, so there is\nnothing to over-complete. The structured CRT + FRT make a wrong root cause\nlegible as a plan -- catchable up front rather than only after code has moved.";
@@ -71,7 +71,7 @@ NOT create one delivery per audit area -- unify the audit into ONE focus tree
71
71
  and let each injection (each root cause) anchor exactly one planning delivery.
72
72
  Do NOT attempt fixes.
73
73
 
74
- ## Acceptance criteria carry the future state ONLY -- never a hold
74
+ ## Acceptance criteria carry the future state ONLY -- never a hold, never a waiver
75
75
  A remediation delivery's acceptanceCriteria state ONLY the **FRT desired
76
76
  effect**: the future-state that becomes true once the root cause is cleared.
77
77
  AcceptanceCriteria are NOT workflow state and NOT a channel to a human. Never
@@ -79,7 +79,10 @@ write into acceptanceCriteria:
79
79
  - process instructions or step-by-step directions to the executing team,
80
80
  - a hold, a pause, or an approval requirement (e.g. "HOLD FOR HUMAN REVIEW
81
81
  BEFORE EXECUTING", "do not execute until ...", "wait for sign-off"),
82
- - status commentary or notes about what you think should happen next.
82
+ - status commentary or notes about what you think should happen next,
83
+ - a WAIVER of a criterion this delivery cannot satisfy (e.g. "do not expect
84
+ this to change", "judge by attempt, not by the retired count") -- such a
85
+ criterion belongs at the focus altitude; relocate it there.
83
86
 
84
87
  Prose is invisible to the workflow: a hold written into acceptanceCriteria
85
88
  gates nothing, and on a live focus the executing team either obeys a stop the
@@ -93,6 +96,13 @@ escalation for a genuine do-not-run reason you cannot resolve yourself -- a
93
96
  missing dependency, work that truly needs human intent -- and never encode the
94
97
  doubt as acceptance-criteria text.
95
98
 
99
+ Prose is equally invisible as a WAIVER. A criterion you cannot satisfy at this
100
+ delivery's altitude is not satisfied by a note asking the reviewer to disregard
101
+ it -- the note lowers the bar and, like a prose hold, leaves no trace. A
102
+ criterion only the FOCUS can satisfy (an outcome that spans deliveries) belongs
103
+ at the focus altitude: relocate it there rather than parking it on a delivery
104
+ that cannot measure it and annotating it away.
105
+
96
106
  ## Statement quality (Goldratt Categories of Legitimate Reservation)
97
107
  Hold every node to three statement-quality reservations AS YOU WRITE IT --
98
108
  inline with the rounds above, not a separate pass:
@@ -1 +1 @@
1
- {"version":3,"file":"auditTreeAuthoringGuide.js","sourceRoot":"","sources":["../../src/handlers/auditTreeAuthoringGuide.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,2EAA2E;AAC3E,0EAA0E;AAC1E,0EAA0E;AAC1E,gFAAgF;AAChF,EAAE;AACF,gFAAgF;AAChF,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,+EAA+E;AAC/E,0EAA0E;AAC1E,8EAA8E;AAC9E,+EAA+E;AAC/E,4EAA4E;AAC5E,8DAA8D;AAC9D,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,4EAA4E;AAC5E,mEAAmE;AACnE,0EAA0E;AAC1E,4EAA4E;AAC5E,m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
@@ -28,6 +28,7 @@ type FocusToolParams = {
28
28
  focusId?: string;
29
29
  name?: string;
30
30
  description?: string;
31
+ acceptanceCriteria?: string;
31
32
  targetDate?: string;
32
33
  status?: "proposed" | "active" | "complete" | "cancelled";
33
34
  readOnly?: boolean;
@@ -63,6 +64,12 @@ type FocusToolParams = {
63
64
  reversibleWhy: string;
64
65
  ifHumanDecidesOtherwise: string;
65
66
  }>;
67
+ acVerdicts?: Array<{
68
+ criterion: string;
69
+ verdict: "met" | "not_met" | "excused";
70
+ rationale?: string;
71
+ reviewSessionId?: string;
72
+ }>;
66
73
  clearReviewRequest?: boolean;
67
74
  ratify?: boolean;
68
75
  limit?: number;
@@ -77,6 +77,7 @@ const focusToolSchema = {
77
77
  focusId: focusRefSchema.optional().describe("Focus UUID or ephemeral focusKey like \"f3\" (required for update)"),
78
78
  name: z.string().max(200).optional().describe("Focus name (required for create)"),
79
79
  description: z.string().max(4000).optional().describe("What this focus aims to achieve"),
80
+ acceptanceCriteria: z.string().max(4000).optional().describe("Focus-level (outcome) acceptance criteria: criteria that span the focus and no single delivery can satisfy alone. This is the home for an outcome-level criterion relocated up from a delivery. Enumerated by review_complete alongside each delivery's criteria, so a relocated criterion is verdicted like any other -- never annotated away in a delivery footnote."),
80
81
  targetDate: z.string().optional().describe("Target date (ISO 8601)"),
81
82
  status: z.enum(FOCUS_STATUSES).optional().describe("Focus status. On update: sets the focus status. On list: filters to that status (omit to get the default active+proposed-first page where f1/f2/f3 lead)."),
82
83
  readOnly: z.boolean().optional().describe("Whether this focus runs in read-only audit mode. Honored on CREATE (an audit-authored focus is read_only=true by construction). The daemon is the sole writer that flips it back to false on ratified release, so passing it on update is a no-op -- it cannot disable audit mode."),
@@ -117,6 +118,21 @@ const focusToolSchema = {
117
118
  "the options considered, what was chosen, why the choice is reversible, and what changes if the human " +
118
119
  "decides otherwise. Rendered as an explicit section in the stored review summary; omit (or pass []) " +
119
120
  "when no such decisions were taken and the section renders explicitly empty."),
121
+ acVerdicts: z
122
+ .array(z.object({
123
+ criterion: z.string(),
124
+ verdict: z.enum(["met", "not_met", "excused"]),
125
+ rationale: z.string().optional(),
126
+ reviewSessionId: z.string().uuid().optional(),
127
+ }))
128
+ .optional()
129
+ .describe("Per-acceptance-criterion verdicts folded into the focus review (review_complete only). " +
130
+ "One entry per acceptance criterion across the focus's deliveries, each naming the criterion " +
131
+ "verbatim and a verdict of met / not_met / excused. `not_met` requires a rationale naming the gap " +
132
+ "and blocks an approved review. `excused` waives the criterion (lowers a bar) and requires BOTH a " +
133
+ "non-empty rationale AND reviewSessionId set to your review session id -- the same separation of " +
134
+ "duties a ratified shortfall requires. An unmet criterion is named, never absorbed into the summary; " +
135
+ "omit only when the focus has no acceptance criteria."),
120
136
  clearReviewRequest: z.boolean().optional().describe("If true, clears product_focuses.review_requested_at (update only). Use to unstick a focus whose review_requested_at is set but no review will run."),
121
137
  ratify: z.boolean().optional().describe("If true, RATIFIES this focus's remediation plan: stamps product_focuses.ratified_at=now (update only). On a read-only audit focus this is the human gate signal -- the daemon then performs the sole planning->execution crossing (flips read_only=false and releases held planning deliveries to queued). Distinct from readOnly: the human sets ratified_at; the daemon flips read_only."),
122
138
  limit: z.number().int().min(1).max(500).optional().describe("Max results (1-500, default 50)"),
@@ -171,7 +187,7 @@ export function buildFocusHandler(getCreds, profile, callApi = (body) => callPro
171
187
  // readOnly is honored at CREATE (audit focus by construction). It is NOT
172
188
  // in the update field list -- the daemon is the sole writer that flips
173
189
  // read_only=false on ratified release.
174
- const fields = buildFields(params, ['name', 'description', 'targetDate', 'readOnly']);
190
+ const fields = buildFields(params, ['name', 'description', 'acceptanceCriteria', 'targetDate', 'readOnly']);
175
191
  const body = {
176
192
  action: "focus_create",
177
193
  productId: params.productId,
@@ -198,7 +214,7 @@ export function buildFocusHandler(getCreds, profile, callApi = (body) => callPro
198
214
  if (params.assignedAgentRoleId && (params.armNote === undefined || params.armNote.trim().length === 0)) {
199
215
  return validationError("arm_note_required: arming a focus is a declared act -- pass armNote stating the activation intent in the same call as assignedAgentRoleId.");
200
216
  }
201
- const fields = buildFields(params, ['name', 'description', 'targetDate', 'status', 'readOnly', 'assignedAgentRoleId', 'armNote', 'pipelineConfig']);
217
+ const fields = buildFields(params, ['name', 'description', 'acceptanceCriteria', 'targetDate', 'status', 'readOnly', 'assignedAgentRoleId', 'armNote', 'pipelineConfig']);
202
218
  // clearReviewRequest is a write-only escape hatch: translate it to
203
219
  // reviewRequestedAt=null on the wire. Idempotent -- calling against
204
220
  // a focus where review_requested_at is already NULL is a no-op write.
@@ -314,6 +330,7 @@ export function buildFocusHandler(getCreds, profile, callApi = (body) => callPro
314
330
  agentSessionId: params.agentSessionId,
315
331
  startedAt: params.startedAt,
316
332
  decisions: params.decisions,
333
+ acVerdicts: params.acVerdicts,
317
334
  },
318
335
  });
319
336
  return successResult(result.review);
@@ -1 +1 @@
1
- {"version":3,"file":"focusHandlers.js","sourceRoot":"","sources":["../../src/handlers/focusHandlers.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,qCAAqC;AACrC,4DAA4D;AAC5D,yEAAyE;AACzE,yEAAyE;AACzE,iEAAiE;AACjE,8EAA8E;AAE9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,GAGhB,MAAM,cAAc,CAAC;AAGtB,4EAA4E;AAC5E,8EAA8E;AAC9E,2EAA2E;AAC3E,wEAAwE;AACxE,MAAM,OAAO,GAAG,+EAA+E,CAAC;AAChG,MAAM,YAAY,GAAG,QAAQ,CAAC;AAE9B,6EAA6E;AAC7E,MAAM,UAAU,MAAM,CAAC,GAAW;IAChC,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC3B,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,c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EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oEAAoE,CAAC;CAClI,CAAC;AAOF,MAAM,UAAU,kBAAkB,CAChC,MAAiB,EACjB,QAAkB,EAClB,UAAuB,MAAM;IAE7B,MAAM,YAAY,GAAG,iBAAiB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;IAE1D,MAAM,CAAC,IAAI,CACT,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EACf,WAAW,CAAC,YAAY,CAAC,CAC1B,CAAC;IAEF,+DAA+D;IAC/D,mEAAmE;IACnE,8DAA8D;IAC9D,MAAM,CAAC,IAAI,CACT,yBAAyB,EACzB,0KAA0K,EAC1K,mBAAmB,EACnB,WAAW,CAAC,KAAK,EAAE,MAA2B,EAAE,EAAE;QAChD,MAAM,UAAU,GAAoB;YAClC,GAAG,MAAM;YACT,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,UAAU;YAC5C,QAAQ,EAAE,MAAM,CAAC,QAAQ,IAAI,MAAM,CAAC,WAAW;SAChD,CAAC;QACF,OAAO,YAAY,CAAC,UAAU,CAAC,CAAC;IAClC,CAAC,CAAC,CACH,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telora/mcp-products",
3
- "version": "0.22.115",
3
+ "version": "0.22.119",
4
4
  "description": "MCP server exposing Telora product operations to Claude Code",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@modelcontextprotocol/sdk": "^1.12.1",
41
- "@telora/daemon-core": "^0.2.75",
41
+ "@telora/daemon-core": "^0.2.78",
42
42
  "ts-morph": "^28.0.0",
43
43
  "zod": "^4.3.6"
44
44
  },