@productbrain/mcp 0.0.1-beta.14430 → 0.0.1-beta.14453

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.
@@ -1797,7 +1797,7 @@ function coherencyRefusedResult(toolName, entryId, refusal) {
1797
1797
  }
1798
1798
  function updateRefusedResult(toolName, entryId, refusal) {
1799
1799
  if (refusal.category !== "auth") return coherencyRefusedResult(`${toolName} action=update`, entryId, refusal);
1800
- const recovery = authorityRecovery(refusal) ?? "Route this change to the accountable role or Team Lead.";
1800
+ const recovery = refusal.proposal?.line ?? authorityRecovery(refusal) ?? "Route this change to the accountable role or Team Lead.";
1801
1801
  return failureResult(
1802
1802
  `Update refused: **${entryId}**.
1803
1803
 
@@ -2491,8 +2491,9 @@ async function handleVerifyChain(server, { collection, mode: mode2 }) {
2491
2491
  const updateResult = await kernelMutation("chain.updateEntry", {
2492
2492
  entryId: targetEntryId,
2493
2493
  data: { codeMapping: updated },
2494
- changedBy: getAgentSessionId() ? `agent:${getAgentSessionId()}` : void 0
2495
- // TASK-752 (DEC-2032): judged as the role this session acts as
2494
+ changedBy: getAgentSessionId() ? `agent:${getAgentSessionId()}` : void 0,
2495
+ propose: false
2496
+ // TASK-752: the session's role; TASK-1671: a batch fix asks no seat
2496
2497
  });
2497
2498
  if (updateResult.outcome === "refused") {
2498
2499
  fixRefusals.push({
@@ -6899,6 +6900,7 @@ function buildDocCompletenessSection(collections) {
6899
6900
  function buildTaskAlignmentLines(ta) {
6900
6901
  if (!ta) return [];
6901
6902
  const lines = ["## Alignment Check"];
6903
+ if (ta.named) lines.push(`**${ta.named.heading}:**`, ...ta.named.entries.map((e) => `- ${e.label}`));
6902
6904
  lines.push(ta.wording);
6903
6905
  if (ta.candidates.length > 0) {
6904
6906
  lines.push("");
@@ -7527,7 +7529,8 @@ async function _handleOrient({ mode: mode2 = "full", tier, task, startupSignals,
7527
7529
  }
7528
7530
  }
7529
7531
  if (orientView?.taskAlignment) {
7530
- lines.push(`Task alignment: ${orientView.taskAlignment.wording.replace(/\*\*/g, "")}`);
7532
+ const n = orientView.taskAlignment.named;
7533
+ lines.push(...n ? n.line ? [n.line] : [`${n.heading}:`, ...n.entries.map((e) => `- ${e.label}`)] : [], `Task alignment: ${orientView.taskAlignment.wording.replace(/\*\*/g, "")}`);
7531
7534
  }
7532
7535
  const degradedLineBrief = buildDegradedPreloadsLine(orientView?.degradedPreloads);
7533
7536
  if (degradedLineBrief) lines.push(degradedLineBrief);
@@ -12421,4 +12424,4 @@ export {
12421
12424
  SERVER_VERSION,
12422
12425
  createProductBrainServer
12423
12426
  };
12424
- //# sourceMappingURL=chunk-3P364LMS.js.map
12427
+ //# sourceMappingURL=chunk-MBG5IVX3.js.map