@productbrain/mcp 0.0.1-beta.7930 → 0.0.1-beta.7932
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.
|
@@ -6577,7 +6577,7 @@ ${col.validWorkflowStatuses.map((s) => `- ${s}`).join("\n")}`
|
|
|
6577
6577
|
sections.push(`
|
|
6578
6578
|
## Status Vocabulary
|
|
6579
6579
|
|
|
6580
|
-
${col.statusList.map((s) => `- \`${s.label}\` \u2192 ${s.category}`).join("\n")}`);
|
|
6580
|
+
${col.statusList.map((s) => `- \`${s.label}\` \u2192 ${s.category}${s.archiveDefault ? " (archiveDefault)" : ""}`).join("\n")}`);
|
|
6581
6581
|
}
|
|
6582
6582
|
if (col.fields.length > 0) {
|
|
6583
6583
|
const fieldDocs = col.fields.map((f) => {
|
|
@@ -8334,6 +8334,16 @@ ${FEEDBACK_SUBMIT_HINT}` }],
|
|
|
8334
8334
|
}
|
|
8335
8335
|
|
|
8336
8336
|
// src/tools/orient.ts
|
|
8337
|
+
function mapGovernanceEntry(e) {
|
|
8338
|
+
return {
|
|
8339
|
+
entryId: e.entryId,
|
|
8340
|
+
name: e.name,
|
|
8341
|
+
description: typeof e.preview === "string" ? e.preview : void 0,
|
|
8342
|
+
tier: typeof e.tier === "number" ? e.tier : void 0,
|
|
8343
|
+
provenance: e.provenance,
|
|
8344
|
+
anchoredBy: typeof e.anchoredBy === "string" ? e.anchoredBy : void 0
|
|
8345
|
+
};
|
|
8346
|
+
}
|
|
8337
8347
|
var PURPOSE_GAP_PREFIX = "purpose-gap-";
|
|
8338
8348
|
var READINESS_GAPS_MAX = 50;
|
|
8339
8349
|
function formatRetrievalMissLines(verdict) {
|
|
@@ -8682,16 +8692,7 @@ async function _handleOrient({ mode = "full", tier, task, startupSignals, invoca
|
|
|
8682
8692
|
if (orientView) {
|
|
8683
8693
|
lines.push("");
|
|
8684
8694
|
if (task) {
|
|
8685
|
-
const
|
|
8686
|
-
entryId: e.entryId,
|
|
8687
|
-
name: e.name,
|
|
8688
|
-
description: typeof e.preview === "string" ? e.preview : void 0,
|
|
8689
|
-
tier: typeof e.tier === "number" ? e.tier : void 0,
|
|
8690
|
-
// Phase 4 (DEC-1141): thread provenance fields to buildOperatingProtocol.
|
|
8691
|
-
provenance: e.provenance,
|
|
8692
|
-
anchoredBy: typeof e.anchoredBy === "string" ? e.anchoredBy : void 0
|
|
8693
|
-
});
|
|
8694
|
-
const gov = orientView.governance ?? { principles: [], standards: [], businessRules: [] };
|
|
8695
|
+
const gov = orientView.startup?.bindingGovernance ?? { principles: [], standards: [], businessRules: [] };
|
|
8695
8696
|
lines.push(...buildOperatingProtocol({
|
|
8696
8697
|
principles: (gov.principles ?? []).map(mapGovernanceEntry),
|
|
8697
8698
|
standards: (gov.standards ?? []).map(mapGovernanceEntry),
|
|
@@ -8997,16 +8998,7 @@ async function _handleOrient({ mode = "full", tier, task, startupSignals, invoca
|
|
|
8997
8998
|
fullArchitectureNotes.forEach((e) => lines.push(fmt(e)));
|
|
8998
8999
|
lines.push("");
|
|
8999
9000
|
}
|
|
9000
|
-
const
|
|
9001
|
-
entryId: e.entryId,
|
|
9002
|
-
name: e.name,
|
|
9003
|
-
description: typeof e.preview === "string" ? e.preview : void 0,
|
|
9004
|
-
tier: typeof e.tier === "number" ? e.tier : void 0,
|
|
9005
|
-
// Phase 4 (DEC-1141): thread provenance fields to buildOperatingProtocol.
|
|
9006
|
-
provenance: e.provenance,
|
|
9007
|
-
anchoredBy: typeof e.anchoredBy === "string" ? e.anchoredBy : void 0
|
|
9008
|
-
});
|
|
9009
|
-
const gov = orientView.governance ?? { principles: [], standards: [], businessRules: [] };
|
|
9001
|
+
const gov = orientView.startup?.bindingGovernance ?? { principles: [], standards: [], businessRules: [] };
|
|
9010
9002
|
lines.push(...buildOperatingProtocol({
|
|
9011
9003
|
principles: (gov.principles ?? []).map(mapGovernanceEntry),
|
|
9012
9004
|
standards: (gov.standards ?? []).map(mapGovernanceEntry),
|
|
@@ -14929,4 +14921,4 @@ export {
|
|
|
14929
14921
|
createProductBrainServer,
|
|
14930
14922
|
initFeatureFlags
|
|
14931
14923
|
};
|
|
14932
|
-
//# sourceMappingURL=chunk-
|
|
14924
|
+
//# sourceMappingURL=chunk-HHDYHOUB.js.map
|