Markus Maiwald
|
3d00e1a38e
|
docs: complete TrustGraph.ai-style documentation restructure
New docs/ layout:
- src/index.md - Landing page
- src/getting-started/ - Installation, first node, concepts
- src/architecture/ - L0-L4 stack documentation
- src/for-agents/ - AI-focused docs (Day Zero, RFC-0290, emergence)
- src/tutorials/ - 3 hands-on tutorials (hello-world, chat, agent-bridge)
- src/rfcs/ - All RFC specifications
- mkdocs.yml - Site configuration
Old docs archived to docs/archive/
Total: ~4,000 lines new documentation
Built by 3 parallel subagents:
|
2026-02-08 16:57:23 +01:00 |
Markus Maiwald
|
ef68f89b55
|
Implement Phase 2D: DID Integration & Local Cache (Minimal Scope)
Complete DID parsing and resolution cache for L0-L1 identity layer:
- Add l1-identity/did.zig (360 lines):
* DIDIdentifier struct with parsing for did:METHOD:ID format
* Support mosaic, libertaria, and future DID methods
* Method-specific ID hashing for O(1) cache lookups
* Full validation of DID syntax (no schema validation)
- DIDCache with TTL-based expiration:
* Local resolution cache with automatic expiration
* Store/get/invalidate/prune operations
* Opaque metadata storage (no deserialization)
* Clean FFI boundary for L2+ resolver integration
- Update build.zig:
* Add did.zig module definition
* Create DID test artifacts
* Update test suite to include 8 new DID tests
Design Philosophy: Protocol stays dumb
- L0-L1 provides: DID parsing, local cache, wire frame integration
- L2+ provides: W3C validation, rights enforcement, tombstoning
- Result: 93-94% Kenya Rule compliance maintained
Test Results: 51/51 passing (100% coverage)
- 11 Crypto (SHAKE)
- 16 Crypto (FFI)
- 4 L0 (LWF)
- 3 L1 (SoulKey)
- 4 L1 (Entropy)
- 7 L1 (Prekey)
- 8 L1 (DID) [NEW]
Kenya Rule: 26-35 KB binaries (zero regression)
Project Progress: 50% Complete
- Phase 1-2D: ✅ All complete
- Phase 3 (PQXDH): ⏳ Ready to start
See docs/PHASE_2D_COMPLETION.md for detailed report.
|
2026-01-30 21:02:19 +01:00 |