Commit Graph

2 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 9b1a1d6736
feat(l0): implement Noise Protocol Framework with MIMIC integration
Add complete Noise Protocol implementation (noiseprotocol.org):
- NoiseState with X25519, ChaCha20-Poly1305
- Patterns: XX (mutual auth), IK (0-RTT), NN (ephemeral)
- CipherState for transport encryption
- NoiseHandshake with MIMIC skin integration

Add comprehensive BDD feature tests:
- noise_protocol.feature with 40+ scenarios
- Tests for handshake, security properties, PNG integration

Update RFC-0015:
- Add Noise Protocol integration section
- Architecture diagram showing Noise + PNG + MIMIC layers
- Update implementation phases

All tests passing
2026-02-05 17:11:49 +01:00