@productbrain/mcp 0.0.1-beta.11212 → 0.0.1-beta.11217
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.
|
@@ -3074,6 +3074,14 @@ async function handleMoveEntry(entryId, toCollection, canonicalKey) {
|
|
|
3074
3074
|
changedBy: sessionId ? `agent:${sessionId}` : void 0
|
|
3075
3075
|
});
|
|
3076
3076
|
if (result2.outcome === "refused") {
|
|
3077
|
+
if (result2.refusal.code === "QUALITY_HELD") {
|
|
3078
|
+
const fix = result2.refusal.requiredAction ?? "Fix the text so it meets that checklist, then move it again.";
|
|
3079
|
+
return failureResult(`# ${entryId} not moved
|
|
3080
|
+
|
|
3081
|
+
${result2.refusal.reason}
|
|
3082
|
+
|
|
3083
|
+
${fix}`, "QUALITY_HELD", result2.refusal.reason, fix, void 0, { entryId, toCollection, refusal: result2.refusal });
|
|
3084
|
+
}
|
|
3077
3085
|
const recovery = result2.refusal.requiredAction ?? "Ask the record owner or relevant Team Lead for the required authority change.";
|
|
3078
3086
|
return failureResult(
|
|
3079
3087
|
`Move refused for **${entryId}**.
|
|
@@ -12828,4 +12836,4 @@ export {
|
|
|
12828
12836
|
createProductBrainServer,
|
|
12829
12837
|
initFeatureFlags
|
|
12830
12838
|
};
|
|
12831
|
-
//# sourceMappingURL=chunk-
|
|
12839
|
+
//# sourceMappingURL=chunk-Y7YDQNWU.js.map
|