KamoCRM

Build member facts from the org graph, next to the old query path (KamoCollab CP02 T5)

Featurekamo-shared-library
Shipped
October 5, 2026 at 6:08 AM UTC
Author
Kamo
Commit
3debf19

ChatPolicySnapshotLoader gains a constructor taking LongFunction<OrgGraph>. With it, load() maps the organization's graph to MemberFacts through the new MemberFactsFromGraph, asking for the graph once per load of an org with an active set. The ChatPolicyFactsRepository constructor and loadFacts are unchanged; Task 18 removes them once both services have switched. **************** feeds the same rows to a verbatim copy of today's loadFacts and to OrgGraphRows.fromSql + OrgGraphBuilder + MemberFactsFromGraph, over 2,000 random orgs and the fixed loop, dangling and out-of-range cases, and asserts the two maps are equal.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing