Nondominium Development Report

Executive Summary

This document provides a comprehensive overview of the Nondominium project's development progress, tracing its historical evolution from early research in peer production systems to its current implementation as a decentralized resource transfer engine. The report outlines the project's origins, current status, and future roadmap.

Historical Context and Project Origins

The Nondominium project builds upon more than a decade of research in peer production systems conducted by the Sensorica laboratory. Since 2011, Sensorica has been at the forefront of developing collaborative resource management systems that embody the principles of Open Value Networks.

Real-World Validation: PEP Master Venture

A critical milestone in shaping the Nondominium requirements is the PEP Master venture, a collaborative project creating open source DIY hardware and software for cystic fibrosis therapy. In collaboration with Sainte Justine Children's Hospital in Montreal and the Breathing Games community, PEP Master is developing a medical device that requires:

  • Trust-based economy model: A system where trust between doctors and patients is established based on the quality (safety and efficiency) of medical instruments
  • Certainty of provenance: Digital infrastructure providing proof of origin for device designs
  • On-demand verification: Methods for validating fabrication quality in distributed manufacturing
  • Contribution accounting: Fair reward distribution for everyone involved in producing the instruments

This real-world medical device context provides crucial validation for Nondominium's design, particularly around:

  • Non-fungible tokens (NFTs) for digital certificates representing device provenance
  • Third-generation DLT for contractual and transactional primitives
  • Open value network governance models for collaborative ventures

The NRP-CAS Foundation

In 2013, Sensorica collaborated with Lynn Foster and Bob Haugen to develop the Network Resource Planning and Contribution Accounting System (NRP-CAS). This system was specifically designed to operationalize Open Value Network principles, providing a framework for managing resources and tracking contributions across collaborative projects. The initial prototype was implemented using Django and Python, serving as an internal tool for the laboratory's operations for several years.

However, the NRP-CAS prototype demonstrated stability and security limitations that precluded production deployment. Despite these technical constraints, the project established a crucial theoretical foundation: Foster and Haugen leveraged the NRP-CAS implementation to develop the Valueflows ontology, an extension of William E. McCarthy's Resource-Event-Agent (REA) framework. This ontology would later become a cornerstone of the Nondominium architecture.

Evolution to Web 3 and Architecture Refinement

The year 2025 marked a significant milestone with the initiation of TrueCommons, a Web 3 implementation designed to modernize the NRP-CAS concept. TrueCommons leverages Holochain as its underlying infrastructure and incorporates hREA, the Holochain-native implementation of the Valueflows ontology. The ambitious vision for TrueCommons encompassed a comprehensive implementation of Valueflows to support complete peer production processes.

During the development process, a critical architectural insight emerged: the need to isolate the resource transfer mechanism as a distinct, reusable component. This recognition led to a strategic separation of concerns between two complementary systems.

Nondominium serves as the resource transfer and flow engine, designed as an organization-agnostic system that embeds governance rules directly within resource definitions. This approach enables resources to carry their own governance parameters, ensuring that transfer protocols remain consistent regardless of organizational context.

TrueCommons builds upon the Nondominium foundation to provide a complete peer production system. It incorporates additional capabilities including contribution accounting, benefit redistribution algorithms, and project management functionalities.

Current Development Scope

The initial release of Nondominium focuses on validating the core concept of non-proprietary resource transfer systems through the implementation of essential primitives. This first version encompasses three foundational components.

Core Resource Transfer System

The primary deliverable is a minimal viable implementation of the resource transfer mechanism, demonstrating the feasibility of governance-embedded, non-proprietary resource flows. This system establishes the technical foundation upon which future enhancements will be built.

Agent Management Foundation

The implementation includes fundamental person agent management capabilities with multi-device support, recognizing that modern collaborative workflows require seamless cross-device functionality.

Governance-as-Operator Architecture

The Resource and Governance zomes (modules) adopt a "governance as operator" paradigm, wherein resources remain static until explicitly modified through governance actions. This architectural approach ensures that all state transitions are governed by well-defined rules embedded within the resource itself.

Target Ecosystem Integration

The initial implementation targets the Moss ecosystem (https://moss.social), a peer-to-peer, privacy-first groupware platform designed for small teams. Moss provides an ideal deployment environment as it is built on Holochain and supports Holochain applications, enabling immediate integration and real-world validation of the Nondominium concepts.

Governance-as-Operator Architecture

Nondominium implements a sophisticated governance-as-operator architecture that establishes a clear separation between data management and business logic enforcement. This design pattern enables independent evolution of resource data structures and governance rules, providing modularity, testability, and swappability.

Core Architectural Principles:

The Resource zome operates as a pure data model responsible for resource specification management, economic resource lifecycle operations, and data persistence. It contains no business logic or validation rules, performing only CRUD operations on data structures. All governance decisions are delegated to the Governance zome through well-defined cross-zome interfaces.

The Governance zome functions as a state transition operator, evaluating governance rules and policies, validating agent permissions and roles, authorizing or rejecting state transitions, and generating economic events for audit trails. Its logic is implemented as pure functions that evaluate state transitions without side effects, enabling comprehensive unit testing and governance scheme swappability.

Cross-Zome Communication Protocol:

Communication between zomes follows a Request-Evaluate-Apply pattern implemented through the GovernanceTransitionRequest and GovernanceTransitionResult structures. When a resource state change is requested:

  1. The Resource zome calls request_resource_transition() with the proposed action, current resource state, requesting agent, and transition context
  2. The Governance zome evaluates the request via evaluate_state_transition(), checking agent permissions, applicable governance rules, and state transition validity
  3. The Resource zome applies approved state changes, records generated economic events, and updates state transition links

This architecture ensures that all resource state transitions are governed by well-defined rules embedded within the resource itself, with complete audit trails through economic event generation. The event-driven design integrates seamlessly with the PPR reputation system, enabling comprehensive tracking of agent participation and resource lifecycle history.

Implementation Status

The Nondominium project has achieved substantial implementation completeness across all core systems. The current development state represents a production-ready Holochain application with comprehensive ValueFlows compliance and advanced privacy features. Overall completion stands at approximately 85-90%, with all fundamental functionality operational and tested.

Architecture Context

Nondominium implements a custom ValueFlows-compliant architecture designed to validate novel governance and reputation mechanisms. This independent implementation was developed to prove the PPR (Private Participation Receipt) system concept and governance-as-operator paradigms before committing to deeper ecosystem integration.

The governance-as-operator architecture enables independent evolution of data structures and governance rules, providing modularity, testability, and swappability as fundamental design principles. This separation of concerns allows different governance schemes to be applied to the same resource types without modifying the core resource data model. The pure function approach to governance logic enables comprehensive unit testing and facilitates the substitution of governance mechanisms as organizational requirements evolve. This architectural flexibility positions Nondominium to support diverse collaborative models while maintaining consistent resource management primitives.

The project maintains a strategic distinction between current implementation and future architecture. While Nondominium currently operates as a standalone system with complete ValueFlows data structures, a separate roadmap exists for integrating hREA (the Holochain Regenerative Economics Architecture) as a backend engine. This future integration, detailed in the hREA/integration-strategy.md document, would position hREA as the foundational ValueFlows implementation layer while preserving Nondominium's specialized innovations in privacy, governance, and reputation tracking.

This architectural approach enables the project to demonstrate unique value propositions through practical implementation before adopting ecosystem standards, ensuring that innovations can be properly validated and potentially contributed back to the broader hREA community.

Phase 1: Foundation System

Person Management System (95% Complete)

The Person zome provides comprehensive agent identity management with full multi-device support and role-based access control. The system distinguishes between public profiles (name, avatar, bio) and private data (legal name, contact information, address), with capability-based access control governing sensitive information. Six role types have been implemented, ranging from SimpleAgent for basic network participation to PrimaryAccountableAgent for advanced governance capabilities. The multi-device support allows agents to register and manage multiple devices while maintaining a unified identity, with proper security validation and activity tracking.

Resource Management System (90% Complete)

The Resource zome implements a complete ValueFlows-compliant data model with resource specifications, economic resource instances, and embedded governance rules. Resource specifications define the template for resource types, including naming, categorization, and governance requirements. Economic resources represent individual instances with precise quantity tracking, custodian assignment, and location metadata. The system supports five resource states (PendingValidation, Active, Maintenance, Retired, Reserved) with comprehensive lifecycle management. The governance architecture allows rules to be directly embedded within resources, ensuring that all state transitions follow defined protocols.

Testing Infrastructure

A robust 4-layer testing strategy encompasses Foundation tests (basic zome functionality and connectivity), Integration tests (cross-zome interactions and multi-agent scenarios), Scenario tests (complete user journeys and end-to-end workflows), and Performance tests (load testing for the PPR system). This comprehensive approach ensures approximately 95% test coverage for the Person zome, 90% for the Resource zome, and 75% for the Governance zome.

Governance Architecture Implementation

The governance-as-operator architecture implementation is substantially complete, with core cross-zome communication protocols operational and state transition logic functional.

Cross-Zome Interface (85% Complete)

The GovernanceTransitionRequest and GovernanceTransitionResult structures are defined and in use, providing the foundation for cross-zome communication. The Resource zome request_resource_transition() function is implemented and functional, while the Governance zome evaluate_state_transition() function is operational with permission checking and rule evaluation. Economic event generation for approved transitions is integrated with the PPR reputation system.

State Transition Logic (80% Complete)

The pure function governance engine is implemented with stateless evaluation logic. Agent permission and role checking is operational, supporting the progressive trust model. The governance rule evaluation framework is functional with support for resource-embedded governance rules. State calculation logic correctly determines new resource states based on requested actions and context.

Known Integration Gaps: Cross-zome integration points include some temporarily disabled validation calls due to integration challenges during development. These need to be re-enabled to complete the governance-as-operator architecture, specifically the bidirectional validation between Resource and Governance zomes for certain state transition scenarios.

Phase 2: Advanced Governance and Reputation

PPR Reputation System (70% Complete)

The Private Participation Receipt system provides the foundational infrastructure for cryptographic reputation tracking across 16 distinct claim categories. These categories encompass the full resource lifecycle: network entry (ResourceCreation, ResourceValidation), custodianship transfers (CustodyTransfer, CustodyAcceptance), specialized services (Maintenance, Storage, Transport with commitment and fulfillment tracking), network governance (DisputeResolutionParticipation, ValidationActivity, RuleCompliance), and resource end-of-life (EndOfLifeDeclaration, EndOfLifeValidation).

Implemented Core Features: All 16 claim categories are defined and functional with comprehensive performance metrics tracking (timeliness, quality, reliability, communication, and overall satisfaction). The reputation aggregation system calculates weighted averages across claims with category-based breakdowns. Private data storage ensures claim confidentiality while enabling privacy-preserving reputation summaries.

Critical Gaps: The bilateral authentication workflow requires completion before the system can achieve its intended cryptographic authenticity guarantees. Currently, PPR signatures use placeholder counterparty signatures rather than true bilateral signing. The automatic PPR generation function exists but requires test coverage validation. Multi-agent signing scenarios beyond 2-agent interactions need implementation for production scalability.

Production Readiness: The PPR system provides functional reputation tracking for single-agent scenarios and comprehensive metrics calculation. However, the missing bilateral authentication workflow represents a critical gap that must be addressed before the system can deliver its core value proposition of cryptographically-authenticated, peer-validated reputation tracking.

Economic Processes

Four structured economic processes with role-based access control have been implemented to govern resource interactions. The Use process enables resource utilization without ownership transfer, requiring Accountable Agent status and implementing time-limited access with usage tracking. The Transport process manages resource movement between locations, requiring Primary Accountable Agent status and implementing custody transfer with location tracking. The Storage process handles resource preservation and maintenance, while the Repair process manages resource restoration and improvement. Each process integrates with the PPR system for reputation tracking and generates appropriate economic events.

Progressive Trust Model

A three-tier progressive trust model enables agent advancement based on validated participation and reputation accumulation. Simple Agents represent basic network membership with general capability tokens, allowing resource creation and initial transactions. Accountable Agents represent stewardship-level participation with restricted capability tokens, enabling resource access and validation of other agents. Primary Accountable Agents represent coordination and governance-level participation with full capability tokens, permitting custody holding and validation of specialized roles. Advancement between tiers occurs through validated transaction participation and PPR milestone achievements.

Frontend Foundation

Svelte 5 + TypeScript frontend infrastructure has been established with Holochain integration components. However, the current UI implementation requires a complete rewrite to be functional and compatible with the Moss ecosystem. The technical foundation is in place, but user-facing components need redevelopment to align with Moss integration requirements and provide functional workflows for end users.

Remaining Technical Work

Frontend Development

The Svelte 5 + TypeScript infrastructure exists but requires a complete rewrite to create a functional, user-friendly interface compatible with the Moss ecosystem. This includes implementing profile management interfaces, resource browsing and discovery tools, role assignment capabilities, capability management controls, and real-time DHT synchronization. This represents a significant development effort rather than polish work.

Backend Technical Debt

Several backend items require attention for full production optimization. Cross-zome integration points require specific attention to complete the governance-as-operator architecture: some temporarily disabled validation calls between Resource and Governance zomes need to be re-enabled, specifically the bidirectional validation for state transition scenarios where request_resource_transition() must validate against evaluate_state_transition() results. Resource link management requires addressing duplicate resource links that occur during custody transfer scenarios, which affects resource counting accuracy. Code quality improvements include removing unused imports and ambiguous glob re-exports for cleaner compilation. These backend items represent polish and optimization work rather than missing core features, with the cross-zome validation re-enabling being the most significant for architectural completeness.

PPR System Completion

The Private Participation Receipt system requires completion of its bilateral authentication workflow to achieve full functionality. Current implementation uses placeholder counterparty signatures rather than true multi-party cryptographic signing. Required work includes: implementing a two-step signature collection mechanism, adding pending signature status tracking, creating counterparty notification systems, and developing automatic PPR finalization when both signatures are received. Additionally, the automatic PPR generation function exists but requires comprehensive testing to validate production behavior.

Future Roadmap: hREA Integration

A separate roadmap exists for integrating hREA as the foundational ValueFlows backend engine. This integration, detailed in hREA/integration-strategy.md, represents a future architectural enhancement rather than current implementation. The strategy employs a git submodule approach with cross-DNA calls, enabling Nondominium to leverage hREA's proven ValueFlows patterns while maintaining its specialized PPR system, private data innovations, and governance mechanisms.

The integration roadmap comprises four phases: Person zome pilot integration, Resource lifecycle expansion, Governance system integration with PPR enhancement, and Production readiness optimization. This future evolution positions Nondominium to contribute validated innovations back to the hREA ecosystem while achieving immediate ValueFlows compliance through its current custom implementation.

Post-MVP Development Roadmap

Following the completion of the initial release, the project team has identified several strategic enhancements designed to extend Nondominium's capabilities and establish it as a foundational technology for peer production systems.

Protocol Standardization

A primary objective is to standardize the Nondominium resource transfer system as a formal protocol, with the long-term vision of establishing it as an ISO standard for peer production systems. Documentation of this protocol is available in the resource-transport-flow-protocol specification.

Digital Resource Integrity

The team plans to implement a Digital Resource Integrity feature designed to ensure the authenticity and integrity of resources throughout their lifecycle. This capability will provide cryptographic proof that downloaded resource data remains identical to the original data uploaded to the Holochain DHT, addressing concerns about data integrity in distributed systems. Further details are available in the digital-resource-integrity specification.

Valueflows Domain-Specific Language

To enable more sophisticated resource management, the team is developing a Valueflows Domain-Specific Language (DSL). This DSL will facilitate the scripted definition and management of resource flows and transactions, enabling automated resource allocation and distribution based on predefined rules. The valueflows-dsl specification provides additional technical details on this initiative.