SoushAI analysis. Drafted by Soushi's AI assistant, reviewed and shared by Soushi.
NRP-CAS (Network Resource Planning and Contribution Accounting System) is the Django app Sensorica built with Lynn Foster and Bob Haugen in 2013; Valueflows came out of it, and Nondominium is its Holochain successor. The idea on this board: a full, working Web2 prototype that keeps what NRP users already do every day, but rebuilt on Nondominium's model (NDOs, custodians, governance rules, participation receipts). It serves three ends at once: a bridge for people who know NRP and not Holochain, a dry run of the migration of historic NRP data, and a clean handover from the old system to the new one.
Settled on 2026-11-03. Soushi set two rules: stay as faithful as possible to Nondominium's data structure and to Valueflows 1.0, and build the bridge, not an intermediate backend. The remaining calls were taken on SoushAI's lean while he was away, at his instruction to carry the work through the V; each says so, and any of them can be reopened at requirements. The findings come from reading Sensorica/VerdunNRP, the ERP-bridge, Nondominium's own docs and the Valueflows 1.0 TTL.
documentation/development-report.md (NRP-CAS history), documentation/specifications/protocol-bridge-specifications.md (the generic bridge), documentation/Applications/erp_holochain_bridge.md.VerdunNRP is one Django app doing almost everything: an 11,825-line valueaccounting/models.py, 328 named screens, a small REST API. Read at its only commit on GitHub (7d047ff).
valuenetwork.valueaccounting owns every model and view; equipment, board (a farm inventory kanban) and api add screens and endpoints but no models of their own.The model to map is one file, which makes the concept map tractable.EconomicEvent rows with is_contribution and is_to_distribute. The daily screens are log_past_work, work_now, labnotes, contributions, contribution_history.The work log is the heart of NRP use; the bridge must make it at least as easy./api/people, contexts, economic-events, contributions, resource-types, resources, unitscontribution_events_csv, exchange_events_csv, cash_events_csvdumpdata on PostgreSQL, 70 South migrations documenting the schemaEconomicAgent with is_context=True, and context_agent foreign keys run through processes, commitments, events, exchanges and value equations.Projects and organisations are the same thing in NRP; Nondominium splits them (Group vs NDO).ValueEquation → ValueEquationBucket (percentage, filters) → ValueEquationBucketRule (per event type, a claim formula). A Distribution snapshots the formulas it used and creates Claim rows per agent.This is the OVN benefit-redistribution logic, and Nondominium has no live equivalent yet.AgentResourceRole.owner_percentage records who owns how much of a resource. Nondominium's property regime is built to make that uncapturable.The one concept that should not cross the bridge as it is.verdun.json, starters.json) are seed types only: event types, use cases, units. No agents, events or resources.Real migration needs a database dump from whichever instance people actually used.Every core NRP concept beside its Nondominium counterpart, from crates/shared/src/types.rs and each zome's integrity lib.rs. "Gap" means Nondominium has no counterpart wired today; those are where the bridge has to choose.
| NRP-CAS | Nondominium | Fit |
|---|---|---|
EconomicAgent (person) + AgentUser | Person + PrivatePersonData (zome_person), a key per person | direct |
EconomicAgent with is_context (project) | GroupProfile (zome_group), its products as NDOs | split, see card 4 |
AgentAssociation | GroupMembership, PersonRole (Simple, Accountable, Primary Accountable) | direct |
EconomicResourceType | ResourceSpecification | direct |
EconomicResource | EconomicResource (custodian, operational state) + NondominiumIdentity (Layer 0) | direct, richer |
AgentResourceRole.owner_percentage | custodian + GovernanceRule + Agreement benefit clauses | reframed |
EconomicEvent with is_contribution (work) | Contribution (effort hours, validated by an Accountable Agent) + WorkLog | direct, adds validation |
EconomicEvent (other) | EconomicEvent (VfAction) | direct |
Commitment | Commitment + Claim on fulfilment | direct |
ProcessType, Process, recipes | NDO Layer 2 (Process): post-MVP, not wired | gap |
ValueEquation, Distribution, Claim | Agreement (versioned BenefitClauses); automation waits on Unyt | gap |
Exchange, Transfer, Order | transfer events, transfer_custody | partial |
| (none) | PrivateParticipationClaim (PPR), reputation | new to NRP users |
| (none) | LifecycleStage (Ideation to End of life), PropertyRegime | new to NRP users |
The ERP-bridge is the precedent: a Python proof of concept that pushes an organisation's ERP inventory into Nondominium through hc-http-gw, one way, the organisation signing as one agent. The NRP-bridge looks the same from far and differs where it matters.
nondominium-erp-bridge, odoo-addons-nondominium
this board
protocol-bridge-specifications.md already defines a Bun bridge (REST over the Holochain WebSocket, cache, job queue, signals) with a per-platform integration layer. NRP can be one more platform beside ERPLibre.One bridge codebase, two adapters, instead of a second bridge.bridge/mapper.py turns products into ResourceSpecificationInput and stock into EconomicResourceInput. The NRP mapper is the same shape, much wider.Write the NRP mapping once, in TypeScript, and use it in the prototype, the migration and the live bridge."Web2 version" could mean three builds. Soushi ruled out shape 2: no intermediate backend, the bridge is the work. Shape 3 is the target, and the design system prototype is shape 1 running the bridge's own code against an in-browser stand-in for the conductor.
The same mapping, run on the history. The picture below assumes a one-way import that can be replayed, with each person claiming their own key at handover; the cards decide whether that holds.
Contribution is validated by at least one Accountable Agent. Ten years of NRP work events have no such validation.Either mark migrated work as legacy-validated, or ask current Accountable Agents to re-validate in bulk.Soushi's rule: the bridge is as faithful as possible to Nondominium's data structure and Valueflows 1.0 compliant. Read against crates/shared/src/types.rs, zome_resource/src/lib.rs and the Valueflows 1.0 TTL, the two agree on most of the model and disagree in four places.
| NRP-CAS | Nondominium entry | Valueflows 1.0 |
|---|---|---|
EconomicAgent (person) | Person | vf:Person |
EconomicAgent with is_context | GroupProfile | vf:Organization; projects' processes vf:inScopeOf it |
AgentAssociation | GroupMembership, PersonRole | none: Valueflows 1.0 has no agent relationship class |
EconomicResourceType | ResourceSpecification | vf:ResourceSpecification |
EconomicResource | EconomicResource + NondominiumIdentity | vf:EconomicResource (vf:conformsTo, vf:onhandQuantity, vf:primaryAccountable) |
work EconomicEvent | EconomicEvent (Work) + Contribution | vf:EconomicEvent with vf:action vf:work, vf:effortQuantity |
other EconomicEvent | EconomicEvent (VfAction) | vf:EconomicEvent |
Commitment | Commitment | vf:Commitment |
Claim | Claim | vf:Claim (vf:triggeredBy) |
ValueEquation, Distribution | Agreement (BenefitClause) | vf:Agreement (vf:stipulates); the equation itself has no Valueflows class |
ProcessType, Process | NDO Layer 2, not wired | vf:ProcessSpecification, vf:Process |
Unit | unit: String | vf:Unit (vf:omUnitIdentifier) |
AgentAssociation and Nondominium's GroupMembership both sit outside it.Membership stays a Nondominium entry; the export says so instead of inventing a Valueflows term.EconomicResource has quantity and custodian; Valueflows 1.0 splits accountingQuantity from onhandQuantity and names primaryAccountable. Under the nondominium regime nobody holds the rights, so custody is the on-hand side.Export custodian as the holder of vf:onhandQuantity, and leave vf:primaryAccountable empty for nondominium resources.VfAction has InitialTransfer and AccessForUse, which Valueflows 1.0 lacks, and lacks transferAllRights, pickup, dropoff, deliverService and copy, which it has.The bridge writes Nondominium's actions and exports the two extras under a Nondominium namespace.unit: String; Valueflows wants a vf:Unit with an OM-2 identifier. NRP's Unit rows carry names and abbreviations.The bridge keeps a small unit table mapping NRP units to OM-2 ids and writes the symbol Nondominium expects.Each call below is now a fact for the requirements stage. "Soushi" marks his own words; "lean" marks a call taken on SoushAI's lean while he was away, open to reversal.
docs/prototypes/BACKEND.md.Sensorica/next-gen-nrp (archived, 2026-02) describes a Holochain NRP on hREA. What it built, and whether any of it carries into the bridge, is not read yet.ValueEquation onto Agreement and Unyt is a design of its own, and it is Sensorica's core OVN logic.Source: 2026-11-03-nrp-bridge-brainstorm.md · theme: theme.css
Anything elsegeneral comments on the whole board, sent with your answers
✎Anything else
General comments on the whole board: what is missing, what is wrong, what to do next. It goes out with your answers.
Your comments are open in their panel.