@unson/brainbase-mcp 0.51.4 → 0.51.5

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.
@@ -366,9 +366,11 @@ export function buildOrganizationKnowledgeEvent(request, normalized, summary, ev
366
366
  const isDecision = normalized.kind === 'decision';
367
367
  const personal = request.approval_kind === 'personal_share';
368
368
  const decisionAuthority = isDecision
369
- // A personal decision is the owner's; a candidate decision is owned by the approver
370
- // whose decision authority the organization policy verified.
371
- ? { authorized: true, decider_id: personal ? request.owner_person_id : approverPersonId, domain: normalized.decision_domain }
369
+ // Any decision promoted into the organization Graph is decided by the approver whose
370
+ // RACI decision authority the organization review policy verified — including
371
+ // `personal_share` (where `request.owner_person_id` remains the requester/owner
372
+ // for provenance, lineage, consent, and withdrawal, not the organization decider).
373
+ ? { authorized: true, decider_id: approverPersonId, domain: normalized.decision_domain }
372
374
  : { authorized: true, decider_id: approverPersonId, domain: 'organization_knowledge_review' };
373
375
  return {
374
376
  schema_version: 'knowledge_event.v1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unson/brainbase-mcp",
3
- "version": "0.51.4",
3
+ "version": "0.51.5",
4
4
  "description": "Local-first Brainbase judgment OS that lets supported AI agents reuse a user's approved goals, priorities, decisions, and judgment criteria.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -673,5 +673,5 @@
673
673
  "url": "https://github.com/Unson-LLC/brainbase/issues"
674
674
  },
675
675
  "homepage": "https://github.com/Unson-LLC/brainbase#readme",
676
- "gitHead": "e743dbcbce098f7886dcf2b087a2ec78dd59fae8"
676
+ "gitHead": "efabe4ccec12d385f4bddff29a8c80cf9a932f50"
677
677
  }