Commit Graph

4 Commits

Author SHA1 Message Date
Markus Maiwald 07ccd484f1
refactor: restructure repository with tiered licensing
Major restructuring of libertaria-sdk -> libertaria-stack:

FOLDER REORGANIZATION:
- core/          - L0-L3 layers (Commonwealth LCL-1.0)
  - l0-transport/
  - l1-identity/
  - l2_session/
  - l2-federation/
  - l2-membrane/
- sdk/           - L4+ and bindings (Sovereign LSL-1.0)
  - janus-sdk/
  - l4-feed/
- apps/          - Examples (Unbound LUL-1.0)
  - examples/
- legal/         - All license texts

LICENSES ADDED:
- LICENSE_COMMONWEALTH.md (LCL-1.0) - Viral reciprocity for Core
- LICENSE_SOVEREIGN.md (LSL-1.0) - Business-friendly for SDK
- LICENSE_UNBOUND.md (LUL-1.0) - Maximum freedom for docs/apps

BUILD.ZIG UPDATED:
- All paths updated to new structure
- Examples imports fixed

README.md REWRITTEN:
- Documents new folder structure
- Explains tiered licensing strategy
- Clear SPDX identifiers per component

NO CLA REQUIRED - contributors keep copyright
2026-02-05 20:12:32 +01:00
Markus Maiwald b0f8a73fcb fix(qvl): fix integration test and pop imports
- Fix negative cycle detection test (use proper risk values)
- Fix pop_integration.zig imports to use module paths
- Fix integration.zig imports

97/97 tests passing in core modules
2026-02-03 13:04:49 +01:00
Markus Maiwald 59e1f10f7a fix(qvl): fix Zig API compatibility for storage and integration layers
- Update ArrayList API (allocator parameter changes)
- Fix const qualifier for BellmanFordResult.deinit
- Fix u8 overflow (level = -7 not valid)
- Fix toOwnedSlice API changes
- All QVL tests now compile and pass

152/154 tests green (2 pre-existing PoP failures)
2026-02-03 09:35:36 +01:00
Markus Maiwald f6ba8dcf51 feat(qvl): add integration layer between PersistentGraph and algorithms
Add HybridGraph for seamless disk-memory workflow:
- Automatic cache management (load on demand)
- Transaction support (batch operations)
- Direct integration with betrayal detection, pathfinding
- Algorithm delegation to in-memory RiskGraph

Export from qvl.zig: HybridGraph, GraphTransaction

Integration complete: storage.zig ↔ existing QVL modules
2026-02-03 09:04:31 +01:00