@productbrain/mcp 0.0.1-beta.7930 → 0.0.1-beta.7931

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.
@@ -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 mapGovernanceEntry = (e) => ({
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 mapGovernanceEntry = (e) => ({
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-CZJ2WYBV.js.map
14924
+ //# sourceMappingURL=chunk-FO5X64D4.js.map