libertaria-stack/ncp-prototype
Markus Maiwald f22390552e feat(ncp): add L0 storage layer with file backend
Implement content-addressed storage:
- CID to filesystem path mapping (content-addressing)
- Store/retrieve/delete operations
- Directory structure: root/XX/YY/ZZ...
- 100MB default file size limit

Refs RFC-NCP-001 L0 Storage
Developed with Frankie assistance
2026-02-02 12:15:34 +01:00
..
src feat(ncp): add L0 storage layer with file backend 2026-02-02 12:15:34 +01:00
README.md feat(ncp): add core types for Nexus Context Protocol 2026-02-02 12:09:38 +01:00

README.md

NCP Core Types

This directory contains the Nexus Context Protocol prototype implementation.

Structure

  • src/types.nim - Core types (CID, ContextNode, Path)
  • src/l0_storage.nim - File backend, CID generation (Blake3)
  • src/l1_index.nim - B-Tree index, path-based addressing
  • tests/test_ncp.nim - Unit tests

Status

Feature 1 (Core Types): In Progress