@productbrain/mcp 0.0.1-beta.12653 → 0.0.1-beta.12658

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.
@@ -232,6 +232,8 @@ var LINK_REFUSAL_WORDS = {
232
232
  notChanged: (entryId) => `${entryId} was not changed.`,
233
233
  /** The accept preview's label for an accept that would not go through (signed row 31). */
234
234
  wouldBeRefused: "Would be refused",
235
+ /** The accept preview's label for an accept that would go through, beside wouldBeRefused. */
236
+ wouldBeAccepted: "Would be accepted",
235
237
  /** The refusal panel's steps (CoherencyRefusalPanel.svelte): each step's title and its retry button, carried on the payload. */
236
238
  steps: {
237
239
  link: { title: "Link the authorizing entry", cta: "I've linked it \u2014 retry" },
@@ -1681,7 +1683,7 @@ var commitEntrySchema = z7.object({
1681
1683
  preview: z7.boolean().optional().describe("If true, validates the accept without writing. Returns what would happen. Default false."),
1682
1684
  // WP-465 slice ⑤ — relay-only (TEN-2233): validation/recording live in Convex.
1683
1685
  steeringOverrideReason: z7.string().optional().describe("Why it stands alone, at least 12 characters. Your name is kept with it."),
1684
- qualityOverrideReason: z7.string().optional().describe("Why (\u226512 chars) to accept over a failing quality checklist \u2014 recorded as an override with who wrote it."),
1686
+ qualityOverrideReason: z7.string().optional().describe("Why a text passes after its checklist failed. Your name is kept with it."),
1685
1687
  // TASK-954
1686
1688
  coherencyAcknowledgement: z7.object({
1687
1689
  response: z7.enum(["linked", "accepted-fix", "diverged"]).describe("Your answer to why it stands alone."),
@@ -1870,7 +1872,7 @@ async function handleCommitEntry({ entryId, preview, steeringOverrideReason, qua
1870
1872
  if (result2?.preview) {
1871
1873
  const wouldBlock = result2.wouldBlock === true;
1872
1874
  const previewContradictionAdvisory = result2?.contradictionAdvisory;
1873
- const previewVerdict = wouldBlock ? LINK_REFUSAL_WORDS.wouldBeRefused.toLowerCase() : "would be accepted";
1875
+ const previewVerdict = wouldBlock ? LINK_REFUSAL_WORDS.wouldBeRefused.toLowerCase() : LINK_REFUSAL_WORDS.wouldBeAccepted.toLowerCase();
1874
1876
  const previewEnvelope = success(
1875
1877
  `Preview: ${entryId} ${previewVerdict} \u2014 no DB writes`,
1876
1878
  {
@@ -2608,7 +2610,7 @@ var entriesSchema = z12.object({
2608
2610
  "For 'update'/'accept': why it stands alone, at least 12 characters. Your name is kept with it."
2609
2611
  ),
2610
2612
  qualityOverrideReason: z12.string().max(2e3).optional().describe(
2611
- "For 'update'/'accept': why (\u226512 chars) to keep a spine text its quality checklist failed; recorded as an override with who wrote it."
2613
+ "For 'update'/'accept': why a text keeps or passes after its checklist failed; on update, at least 12 characters. Your name is kept with it."
2612
2614
  ),
2613
2615
  coherencyAcknowledgement: coherencyAcknowledgementFlatSchema.optional().describe(
2614
2616
  "For 'update'/'accept': your answer when an entry links to nothing."
@@ -11975,4 +11977,4 @@ export {
11975
11977
  SERVER_VERSION,
11976
11978
  createProductBrainServer
11977
11979
  };
11978
- //# sourceMappingURL=chunk-4PK3AGDW.js.map
11980
+ //# sourceMappingURL=chunk-NAY6UWWU.js.map