Markus Maiwald
fca9ac13e0
feat(integration): Wire Relay Forwarding & CLI Control
...
Phase 14 Integration:
- Relay Forwarding integrated into CapsuleNode event loop
- Handle LWF frames
- Forward packets to next hop (or local delivery if final)
- Added CLI commands: , ,
- Tests passing (140/140)
Capabilities:
✅ Relay Forwarding (Mock Encryption)
✅ Dynamic Relay Service Control
✅ Statistics Reporting
2026-01-31 21:47:40 +01:00
Markus Maiwald
43156fc033
feat(relay): Implement RelayPacket and onion wrapping logic
2026-01-31 18:11:09 +01:00
Markus Maiwald
e2f9a8c38d
feat(capsule): Admin CLI & Emergency Lockdown
...
- Added Admin CLI commands:
- Peer Management: ban, unban, trust, slash
- Diagnostics: sessions, dht, qvl-query, identity
- Security: lockdown, unlock, airlock
- Implemented L0 Transport Airlock & global lockdown flag
- Integrated SoulKey identity inspection
- Added comprehensive Admin CLI documentation
2026-01-31 10:41:38 +01:00
Markus Maiwald
26050655c5
Phase 8 Complete: Rust Policy Enforcer Armed
...
- Zig L1: Added qvl_get_did export (NodeID -> DID lookup)
- Rust L2: Added get_did wrapper and punish_if_guilty logic
- Rust L2: Fixed policy_enforcer_neutral test (Accept default)
- Alignment: Mapped AnomalyReason to SlashReason
The PolicyEnforcer can now detect, target, and slash betrayers autonomously.
2026-01-31 04:06:51 +01:00
Markus Maiwald
a60fd16e45
Phase 7 Complete: Slash Protocol Integration
...
- Integrated QuarantineList into L0Service (Hooks ready)
- Validated all tests (173/173 + new Slash/Quarantine tests)
- Weaponized stack: L0 can now hold and check blacklist of DIDs.
Next: Connect L2 trigger (FFI) to complete the active defense loop.
2026-01-31 03:50:49 +01:00
Markus Maiwald
cc68e4f9a2
Phase 7 Sprint 1&2: SlashSignal and QuarantineList
...
- Implemented l1-identity/slash.zig (SlashSignal, PunishmentType)
- Implemented l0-transport/quarantine.zig (QuarantineList, Honeypot mode)
- Integrated modules into build.zig
- Validated with unit tests
Ready for enforcement hooks.
2026-01-31 03:47:14 +01:00
Markus Maiwald
1b05a6555c
Phase 6C COMPLETE: L0-L2 IPC Bridge
...
- Zig L0: Implemented ipc/client.zig (Unix Domain Sockets)
- Zig L0: Hooked utcp/socket.zig to stream PacketReceived events to L2
- Rust L2: Implemented IpcServer (see previous commit)
- Refactor: Updated UTCP.init signature globally to accept allocator
- Verified: 173 Zig tests passing, Rust IPC server verified
Nervous system connected. Ready for Phase 7 (Slash Protocol).
2026-01-31 03:43:29 +01:00
Markus Maiwald
995e74dc18
Phase 4: Advanced L0 Validation (Deterministic Ordering, Replay Filtering, and Trust Distance Integration)
2026-01-31 01:09:05 +01:00
Markus Maiwald
2276954ba3
Phase 4: Established L0 Transport Pipeline with UTCP and Segmented WAL OPQ
2026-01-31 00:51:20 +01:00
Markus Maiwald
722c5fafba
docs: Add Panopticum Phase 1 - Sovereign Indexes and layer docs
...
Non-breaking changes to align with Panopticum repository architecture:
- Add Sovereign Indexes (l0_transport.zig, l1_identity.zig)
- Single import point for each layer
- Re-export all layer modules
- Add layer README files
- l0-transport/README.md: LWF and Time documentation
- l1-identity/README.md: All L1 components documented
- AI-friendly, colocated documentation
- Update root README.md
- Add Sovereign Index usage examples
- Update L0 component list
Benefits:
- Simplified imports: `const l0 = @import("l0_transport.zig");`
- Self-contained layer documentation for AI agents
- Zero breaking changes (existing imports still work)
Phase 1 complete. Deferred: Feature folders, colocated tests (Phase 2-3)
2026-01-30 22:28:55 +01:00
Markus Maiwald
76b05c7f49
feat(l0): LWF v1.1 - 72-byte header with 24-byte DID hints
...
BREAKING CHANGE: Header size increased from 64 to 72 bytes
- Expand DID hints from 20 to 24 bytes (192-bit, 2^96 collision resistance)
- Clarify timestamp as u64 nanoseconds (Bytes 60-67, big-endian)
- Update frame payload capacities (-8 bytes per frame class)
- All tests passing (14/14 L0 tests)
Rationale:
- 24-byte DID hints provide future-proof routing scalability
- 8-byte overhead per frame is negligible (0.6% loss on Standard frames)
- Aligns with Sovereign Time Protocol (RFC-0105) L0/L1 split
Files modified:
- l0-transport/lwf.zig: Header structure, serialization, tests
- l0-transport/time.zig: New file for L0 time primitives
- build.zig: Time module dependencies
RFC Impact: RFC-0000 (LWF Wire Protocol), RFC-0105 (Sovereign Time)
2026-01-30 22:28:22 +01:00
Markus Maiwald
be4e50d446
feat(sdk): initial libertaria-sdk implementation
...
L0 Transport Layer:
- LWF frame codec (64-byte headers, variable payload, 36-byte trailers)
- CRC32 checksum verification
- Manual byte-level serialization for deterministic wire format
- Full encode/decode with big-endian support
L1 Identity & Crypto:
- X25519-XChaCha20-Poly1305 AEAD encryption
- Point-to-point encryption with ephemeral keys
- WORLD tier encryption (symmetric shared secret)
- Ed25519 signature support (trailer structure)
Build System:
- Zig 0.15.2 compatible module architecture
- Automated test suite (8/8 tests passing)
- Example programs (lwf_example, crypto_example)
Documentation:
- README.md with SDK overview
- INTEGRATION.md with developer guide
- Inline documentation for all public APIs
Status: Production-ready, zero memory leaks, all tests passing
2026-01-30 18:42:04 +01:00