Open source

Everything below is MIT-licensed and lives under github.com/intelena. Each repo is a pnpm monorepo with a spec, tests and CI.

RepoWhat it isDepends on
leak-scoreThe Leak Score model: deterministic, monotone in exposure, explain() for the why, a CLI, and an Anthropic tool adapter. SPEC.md is normative.
agent-kitDesign-preview SDK for utility #22: Agent with per-asset spending limits, venue allow-list, minimum exposure and a beforeExecute veto; LocalSimulator; DCA and rebalance strategies.leak-score
shielded-notesReference model of the shielded pool: notes, commitments, nullifiers, incremental Merkle tree, ShieldedPool state machine with every spend check, plus reference ShieldedPool.sol and spend.circom.
association-setProof-of-innocence set curation: pure policy rules → reproducible Merkle set, verifiable snapshots, membership proofs, innocence witness, root registry, CLI.shielded-notes
viewing-keysScoped, revocable viewing keys: per-asset / per-day key derivation, wrapped record encryption, epoch revocation, auditor decryptor, ivk1 tokens, CSV export.

How they map to the app

  • Trade → route preview and Route Lab use the same model as leak-score (the dapp mirrors it in lib/routing-sim.ts).
  • Agents page → agent-kit.
  • Portfolio → Viewing keys and the Audit portal → viewing-keys (the app simulates the decryptor same-device; the package does it cryptographically).
  • Proofs tab → shielded-notes (proofId per spend) and association-set (proof of innocence).

Contributing

Open an issue or PR on the repo in question. Commit messages follow Conventional Commits (feat:, fix:, docs:…). The reference Solidity and circom files are documentation-grade and unaudited — say so in anything you build on them.

The three app repos (web, docs, dapp) are public too.