Skip to content

wfredricks/solution-intelligence-graph-adapter

@solution-intelligence/graph-adapter 🖇️

SI/G — PolyGraph adapter, GraphLoader, three-tier-schema enforcement, DSL validator, chainblocks audit integration.

Part of Solution Intelligence v0.1. This package is the only thing in the SI pipeline allowed to write to the durable graph (SI/G), and the only thing that turns .sigdsl files into graph nodes and edges.

Status

0.1.0-pre — scaffold only. The real adapter, GraphLoader, DSL validator, and chainblocks integration land in build Stage 3. Today this package exports a version string so the toolchain can be verified end to end.

Install

npm install @solution-intelligence/graph-adapter

For local Solution Intelligence development, this package is referenced as a file: dependency from sibling SI repos.

What this will do (Stage 3)

  • Adapt PolyGraph (polygraph-db) for SI's three-tier schema (Tier 1 / Tier 2 / Tier 3 per MODEL.md §2.1).
  • Be the sole writer to the durable graph (SI/G): all writes go through GraphLoader.applyDsl(...).
  • Validate .sigdsl documents before they touch the graph.
  • Emit a chainblocks audit block for every state-changing operation, attributed to the acting user.
  • Expose a read-only GraphReader for downstream consumers (analysts, deliverable generators).

License

Apache-2.0. See LICENSE.

Part of the Solution Intelligence ecosystem

Component What it does
SI/S Studio Blackboard substrate + parser/analyst host
SI/G Graph (this) Durable graph adapter + audit
SI/W Window Consumer-facing role-scoped views
SI/I Identity bangauth wrapper for SI's 5-role model

See Solution Intelligence for the full architecture.

About

SI/G — PolyGraph adapter, GraphLoader, three-tier-schema enforcement, DSL validator, chainblocks audit integration. Part of Solution Intelligence v0.1.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors