Loading Lion artifact…
Inspect Lion Program Source (JSON)
[
"begin",
[
"relation",
"org_node",
[
"id",
"label",
"kind",
"owner",
"summary",
"tone"
],
{
"certified": true,
"description": "Company brain entities: teams, initiatives, decisions, and commitments",
"key": [
"id"
]
}
],
[
"relation",
"org_edge",
[
"from",
"to",
"rel",
"tone"
],
{
"certified": true,
"references": {
"from": [
"org_node",
"id"
],
"to": [
"org_node",
"id"
]
}
}
],
[
"relation",
"commitment",
[
"id",
"topic",
"target",
"source",
"owner_id"
],
{
"key": [
"id"
]
}
],
[
"relation",
"ui_state",
[
"k",
"v"
],
{
"key": [
"k"
]
}
],
[
"fact",
[
"org_node",
"maya",
"Maya Chen",
"owner",
"VP Product",
"Owns Q3 launch roadmap and enterprise readiness sign-off.",
"ok"
],
[
"org_node",
"devon",
"Devon Park",
"owner",
"Infra Lead",
"Leads multi-region sync engine and storage durability milestones.",
"ok"
],
[
"org_node",
"launch",
"Q3 Enterprise Launch",
"initiative",
"maya",
"GA milestone requiring audited multi-region sync and SOC2 sign-off.",
"accent"
],
[
"org_node",
"adr_sync",
"ADR-19: Prolly Sync",
"decision",
"devon",
"Chose content-addressed Prolly trees over central locks for offline branch merges.",
"ok"
],
[
"org_node",
"soc2",
"SOC2 Audit Gate",
"audit_gate",
"maya",
"External auditor requires immutable evidence log before GA date.",
"warn"
],
[
"org_edge",
"maya",
"launch",
"sponsors",
"ok"
],
[
"org_edge",
"devon",
"adr_sync",
"authored",
"ok"
],
[
"org_edge",
"adr_sync",
"launch",
"enables",
"ok"
],
[
"org_edge",
"soc2",
"launch",
"gates",
"warn"
],
[
"commitment",
"c1",
"GA Launch Date",
"Oct 15",
"Board Deck p.4 (Sep 02)",
"maya"
],
[
"commitment",
"c2",
"GA Launch Date",
"Nov 01",
"Infra RFC-19 (Sep 14)",
"devon"
],
[
"commitment",
"c3",
"Audit Evidence",
"Prolly Merkle Log",
"Security Review #12",
"maya"
],
[
"ui_state",
"selected",
"launch"
],
[
"ui_state",
"aligned",
false
]
],
[
"relation",
"conflict",
[
"topic"
]
],
[
"rule",
[
"conflict",
"?t"
],
[
"commitment",
"?id1",
"?t",
"?a",
"?_s1",
"?_o1"
],
[
"commitment",
"?id2",
"?t",
"?b",
"?_s2",
"?_o2"
],
[
"not",
[
"=",
"?a",
"?b"
]
]
],
[
"define",
"view",
[
"lambda",
[],
[
"begin",
[
"define",
"sel",
[
"array/head",
[
"find",
"?v",
[
"ui_state",
"selected",
"?v"
]
]
]
],
[
"define",
"is_aligned",
[
"array/head",
[
"find",
"?v",
[
"ui_state",
"aligned",
"?v"
]
]
]
],
[
"define",
"active_conflicts",
[
"cond",
[
"is_aligned",
[
"assuming",
[
"fact",
[
"commitment",
"c1",
"GA Launch Date",
"Nov 01",
"Aligned Exec Decision (Sep 18)",
"maya"
]
],
[
"find",
"?t",
[
"conflict",
"?t"
]
]
]
],
[
"else",
[
"find",
"?t",
[
"conflict",
"?t"
]
]
]
]
],
[
"define",
"nodes",
[
"find",
{
"group": "?kind",
"id": "?id",
"label": "?label",
"subtitle": "?kind",
"tone": "?tone"
},
[
"org_node",
"?id",
"?label",
"?kind",
"?_o",
"?_sum",
"?tone"
]
]
],
[
"define",
"edges",
[
"find",
{
"from": "?a",
"label": "?r",
"to": "?b",
"tone": "?t"
},
[
"org_edge",
"?a",
"?b",
"?r",
"?t"
]
]
],
[
"define",
"sel_info",
[
"array/head",
[
"find",
{
"kind": "?k",
"label": "?l",
"owner": "?o",
"summary": "?sum"
},
[
"org_node",
"sel",
"?l",
"?k",
"?o",
"?sum",
"?_t"
]
]
]
],
[
"define",
"commit_rows",
[
"cond",
[
"is_aligned",
[
"assuming",
[
"fact",
[
"commitment",
"c1",
"GA Launch Date",
"Nov 01",
"Aligned Exec Decision (Sep 18)",
"maya"
]
],
[
"find",
{
"id": "?owner",
"owner": "?owner",
"source": "?src",
"target": "?val",
"topic": "?topic"
},
[
"commitment",
"?_cid",
"?topic",
"?val",
"?src",
"?owner"
]
]
]
],
[
"else",
[
"find",
{
"id": "?owner",
"owner": "?owner",
"source": "?src",
"target": "?val",
"topic": "?topic"
},
[
"commitment",
"?_cid",
"?topic",
"?val",
"?src",
"?owner"
]
]
]
]
],
[
"define",
"why_conflict",
[
"why",
[
"conflict",
"GA Launch Date"
]
]
],
[
"ui/stack",
{
"gap": "lg"
},
[
"ui/hero",
{
"badges": [
"quote",
[
{
"label": "Company Brain",
"tone": "accent"
},
{
"label": "Evidence Provenance",
"tone": "ok"
},
{
"label": "Live Contradiction Detection",
"tone": "warn"
}
]
],
"eyebrow": "Omnigraph Blueprint 01 · Org Knowledge",
"subtitle": "Unify people, initiatives, ADRs, and commitments in one typed graph. Lion automatically flags conflicting commitments and traces every claim back to its source.",
"title": "Company Brain & Decision Alignment"
}
],
[
"ui/grid",
{
"cols": 3,
"gap": "md"
},
[
"ui/metric",
{
"caption": "Typed people, decisions, and gates",
"label": "Org Entities",
"value": [
"array/length",
"nodes"
]
}
],
[
"ui/metric",
{
"caption": "Backed by cited source docs",
"label": "Tracked Commitments",
"tone": "ok",
"value": [
"array/length",
"commit_rows"
]
}
],
[
"ui/metric",
{
"caption": [
"cond",
[
[
"=",
[
"array/length",
"active_conflicts"
],
0
],
"All launch targets aligned"
],
[
"else",
"Board Deck vs Infra RFC disagree"
]
],
"label": "Open Contradictions",
"tone": [
"cond",
[
[
"=",
[
"array/length",
"active_conflicts"
],
0
],
"ok"
],
[
"else",
"warn"
]
],
"value": [
"array/length",
"active_conflicts"
]
}
]
],
[
"ui/section",
{
"badge": [
"cond",
[
"is_aligned",
"Aligned"
],
[
"else",
"1 Conflict Detected"
]
],
"step": "01",
"subtitle": "Click any node to highlight its direct sponsors, decisions, and dependencies. Toggle alignment to simulate reconciling the conflicting GA launch date.",
"title": "Explore Organization Graph",
"tone": [
"cond",
[
"is_aligned",
"ok"
],
[
"else",
"warn"
]
]
},
[
"ui/card",
[
"ui/toggle",
{
"checked": "is_aligned",
"label": "Apply Exec Alignment Decision: move Board Deck target from Oct 15 -> Nov 01 (assuming)",
"onChange": [
"quote",
[
"fact",
[
"ui_state",
"aligned",
"value"
]
]
]
}
]
],
[
"cond",
[
[
"=",
[
"array/length",
"active_conflicts"
],
0
],
[
"ui/alert",
{
"title": "Commitments Reconciled",
"tone": "ok"
},
"Both Product and Infra now commit to Nov 01. Zero active contradictions remain in the Company Brain."
]
],
[
"else",
[
"ui/alert",
{
"title": "Contradiction Derived by Datalog: GA Launch Date",
"tone": "warn"
},
"Maya's Board Deck commits to Oct 15 while Devon's Infra RFC-19 commits to Nov 01. Toggle alignment above or inspect the provenance below."
]
]
],
[
"ui/graph",
{
"edges": "edges",
"height": 220,
"layout": "layered",
"nodes": "nodes",
"onSelect": [
"quote",
[
"fact",
[
"ui_state",
"selected",
"value"
]
]
],
"selected": "sel",
"title": "Organization Knowledge Graph"
}
]
],
[
"ui/section",
{
"step": "02",
"subtitle": "Clicking a commitment row highlights its owner in the graph above and syncs the focused context panel on the right.",
"title": "Linked Commitments & Focused Context"
},
[
"ui/split",
{
"gap": "md",
"ratio": "3:2"
},
[
"ui/table",
{
"columns": [
"quote",
[
{
"key": "topic",
"label": "Topic"
},
{
"key": "target",
"label": "Commitment"
},
{
"key": "source",
"label": "Cited Source"
},
{
"key": "owner",
"label": "Owner"
}
]
],
"onSelect": [
"quote",
[
"fact",
[
"ui_state",
"selected",
"value"
]
]
],
"rowKey": "id",
"rows": "commit_rows",
"selected": "sel",
"title": "Source-Backed Commitments (click a row to focus owner)"
}
],
[
"ui/card",
{
"subtitle": [
"object/get",
"sel_info",
"summary"
],
"title": [
"object/get",
"sel_info",
"label"
]
},
[
"ui/kv",
{
"columns": 2,
"items": [
"array/make",
{
"label": "Entity ID",
"mono": true,
"value": "sel"
},
{
"label": "Kind",
"value": [
"object/get",
"sel_info",
"kind"
]
},
{
"label": "Owner / Lead",
"value": [
"object/get",
"sel_info",
"owner"
]
},
{
"label": "Conflict Status",
"value": [
"cond",
[
"is_aligned",
"Clear"
],
[
"else",
"Needs Sign-off"
]
]
}
]
}
]
]
]
],
[
"ui/section",
{
"step": "03",
"subtitle": "Expand the derivation tree to audit exactly which two facts triggered the GA Launch Date contradiction.",
"title": "Audit Contradiction Provenance"
},
[
"ui/accordion",
{
"badge": "why(conflict)",
"open": false,
"subtitle": "Kernel-checked Datalog derivation tree for the date discrepancy",
"title": "Inspect Derivation Proof for GA Launch Date Conflict"
},
[
"ui/why",
{
"title": "Derivation Tree"
},
"why_conflict"
]
]
]
]
]
],
{
"persist": true
}
],
[
"view"
]
]