Markus Maiwald
6f26b67d19
docs: add RFC-0140 Libertaria SSI Stack specification
...
Complete Self-Sovereign Identity stack specification:
- Four Pillars: Communication, Contracts/Law, Economy, Decentralized Production
- L0-L4 Architecture: SoulKey + QVL / VC Layer / State Channels / Chapter Federation
- did:libertaria method spec with versioning (?versionId= fallback)
- Comparison table: Libertaria vs blockchain SSI systems
- Security & Privacy considerations
- Implementation status and roadmap
Key differentiators documented:
- No blockchain required
- Offline-first operation
- Exit as architectural primitive
- Kenya Rule compliant
Refs: IOP Morpheus lineage, W3C DID/VC compatibility
2026-02-06 13:06:45 +01:00
Markus Maiwald
0f0f1a4d57
fix(build): resolve module import issues post-refactor
...
Fix circular and missing module imports across L0-L2 layers:
- Add l0_transport import to QVL and PoP modules in build.zig
- Fix gateway test to use DhtService parameter
- Convert l0_transport imports to direct time imports in L1
- Fix soulkey to use module import (@import("pqxdh"))
- Fix policy.zig to use module import (@import("lwf"))
- Refactor mod.zig exports to avoid circular dependencies
- Update service.zig and utcp/socket.zig to use module imports
- Fix all QVL test files to import time directly
Results: 254+ tests passing (was 124), 1 module conflict remaining
in service tests (opq/store.zig in both lwf and opq modules).
Refs: Night Sprint 2026-02-05
2026-02-05 22:17:11 +01:00
Markus Maiwald
0a86a93cf5
refactor: complete repository restructure with tiered licensing
...
BREAKING CHANGE: Repository restructured from flat layout to tiered:
FOLDER REORGANIZATION:
- core/ - L0-L3 layers (Commonwealth LCL-1.0)
- l0-transport/ - Transport with MIMIC, Noise, PNG
- l1-identity/ - Identity, QVL, Crypto
- l2_session/ - Session management
- l2-federation/ - Cross-chain bridging
- l2-membrane/ - Policy enforcement
- sdk/ - L4+ and bindings (Sovereign LSL-1.0)
- janus-sdk/
- l4-feed/
- apps/ - Examples (Unbound LUL-1.0)
- examples/
- legal/ - All license texts
- LICENSE_COMMONWEALTH.md
- LICENSE_SOVEREIGN.md
- LICENSE_UNBOUND.md
IMPORT FIXES (All Layers):
- L0: 13 files fixed - all relative imports corrected
- L1: 14 files fixed - module imports for cross-layer dependencies
- L2: 6 files fixed - session, membrane, federation
- Capsule: 9 files fixed - TUI, node, main, control
- Examples: 2 files fixed - lwf, crypto
LICENSES ADDED:
- LCL-1.0: Viral reciprocity for Core (SaaS-proof)
- LSL-1.0: Business-friendly for SDK
- LUL-1.0: Maximum freedom for docs/apps
NO CLA REQUIRED - contributors keep copyright
README.md REWRITTEN:
- Documents new folder structure
- Explains tiered licensing strategy
- Clear SPDX identifiers per component
TODO:
- Fix remaining test module configuration issues
- Full green build in follow-up
Refs: 4 sub-agents parallel execution
2026-02-05 21:50:54 +01:00