@productbrain/mcp 0.0.1-beta.7709 → 0.0.1-beta.7770

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.
@@ -10843,8 +10843,9 @@ var auditSchema = z21.object({
10843
10843
  "'run': run the hygiene audit for a work package entry."
10844
10844
  ),
10845
10845
  entryId: z21.string().describe("Work package entry ID to audit, e.g. '<PREFIX>-<n>'"),
10846
+ // Chain: WP-770 K2, DEC-1796 — doneWhen/exclusions run unconditionally in both phases.
10846
10847
  phase: z21.enum(["shaping", "handoff"]).default("shaping").optional().describe(
10847
- "'shaping': check shaping-phase fields only. 'handoff': check all required fields including buildContract/buildSequence/exclusions/risks. Default: shaping."
10848
+ "'shaping': run the core hygiene gates only. 'handoff': also runs the outcome-coupling gates (KR linkage, verification window). doneWhen/exclusions are checked unconditionally either way. Default: shaping."
10848
10849
  )
10849
10850
  });
10850
10851
  async function handleAuditRun(entryId, phase) {
@@ -11128,8 +11129,9 @@ var qualitySchema = z22.object({
11128
11129
  context: z22.enum(["capture", "commit", "review"]).default("review").optional().describe("For re-evaluate: evaluation context"),
11129
11130
  collection: z22.string().max(200).optional().describe("For 'verify-chain': collection slug to verify (default: glossary)."),
11130
11131
  mode: z22.enum(["report", "fix"]).optional().describe("For 'verify-chain': 'report' = read-only trust report (default). 'fix' = also update drifted codeMapping statuses."),
11132
+ // Chain: WP-770 K2, DEC-1796 — doneWhen/exclusions run unconditionally in both phases.
11131
11133
  phase: z22.enum(["shaping", "handoff"]).optional().describe(
11132
- "For 'audit': 'shaping' checks shaping-phase fields only (default). 'handoff' checks all required fields including buildContract/buildSequence/exclusions/risks."
11134
+ "For 'audit': 'shaping' runs the core hygiene gates only (default). 'handoff' also runs the outcome-coupling gates (KR linkage, verification window). doneWhen/exclusions are checked unconditionally either way."
11133
11135
  ),
11134
11136
  story: z22.boolean().optional().describe("For 'spine-check': also run the on-demand one-story LLM judgment (never scheduled; result labelled [unvalidated])."),
11135
11137
  refresh: z22.boolean().optional().describe(
@@ -14899,4 +14901,4 @@ export {
14899
14901
  createProductBrainServer,
14900
14902
  initFeatureFlags
14901
14903
  };
14902
- //# sourceMappingURL=chunk-VIHCZCJA.js.map
14904
+ //# sourceMappingURL=chunk-PFQTUWKN.js.map