@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
|
-
//
|
|
370
|
-
//
|
|
371
|
-
|
|
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.
|
|
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": "
|
|
676
|
+
"gitHead": "efabe4ccec12d385f4bddff29a8c80cf9a932f50"
|
|
677
677
|
}
|