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
482b5488e6
fix: Correct FeedEvent size 96 bytes, fix PNG types
...
- feed.zig: Fix @sizeOf from 104 to 96 (actual struct size)
- png.zig: Fix type cast in wrapping arithmetic
Refs: RFC-0015
2026-02-03 18:01:15 +01:00
Markus Maiwald
0e21a5340c
fix: Zig 0.15.2 syntax errors in PNG, skins, feed
...
- png.zig: Replace @pow with std.math.pow, fix variable names
- png.zig: Add crypto module import via build.zig
- transport_skins.zig: Replace inline else with explicit arms
- duckdb.zig: Change c_uint to u32
- feed.zig: Fix hex escape syntax, mark unused params
Refs: RFC-0015, Sprint 5
2026-02-03 17:26:44 +01:00
Markus Maiwald
65f9af6b5d
feat(l4): Add FeedStore with DuckDB backend
...
- l4-feed/feed.zig: Complete FeedStore implementation
- l4-feed/duckdb.zig: C API bindings for DuckDB
- build.zig: Add l4_feed module and tests
- RFC-0130: L4 Feed architecture specification
Kenya compliant: embedded-only, no cloud calls
Next: Result parsing for query() method
2026-02-03 17:01:31 +01:00