Markus Maiwald
7077e37c06
fix(gql): fix all Zig 0.15.2 API breaking changes for GQL parser
...
- ArrayList: init(), append(allocator, item), deinit(allocator)
- Fixed errdefer const qualifier issues with mutable variables
- Fixed all AST struct deinit() calls (no allocator needed)
- All 6 GQL parser tests now passing
Lexer: 4/4 tests
Parser: 2/2 tests
2026-02-03 11:04:30 +01:00
Markus Maiwald
c944e08202
feat(qvl): add GQL parser (ISO 39075) - Sprint 2 WIP
...
Add Graph Query Language parser components:
- gql/ast.zig: AST types (Query, Match, Create, Return, etc.)
- gql/lexer.zig: Tokenizer with ISO 39075 keywords
- gql/parser.zig: Recursive descent parser
- gql.zig: Module entry point with parse() function
Supports:
- MATCH, CREATE, DELETE, RETURN statements
- Node and Edge patterns with properties
- Variable length paths (*1..3 quantifiers)
- WHERE clauses with AND/OR logic
- Property comparisons (=, <>, <, <=, >, >=)
Note: Tests need Zig API updates (ArrayList changes)
Part of Sprint 2: GQL Parser.
2026-02-03 09:59:50 +01:00
Markus Maiwald
59e1f10f7a
fix(qvl): fix Zig API compatibility for storage and integration layers
...
- Update ArrayList API (allocator parameter changes)
- Fix const qualifier for BellmanFordResult.deinit
- Fix u8 overflow (level = -7 not valid)
- Fix toOwnedSlice API changes
- All QVL tests now compile and pass
152/154 tests green (2 pre-existing PoP failures)
2026-02-03 09:35:36 +01:00
Markus Maiwald
f6ba8dcf51
feat(qvl): add integration layer between PersistentGraph and algorithms
...
Add HybridGraph for seamless disk-memory workflow:
- Automatic cache management (load on demand)
- Transaction support (batch operations)
- Direct integration with betrayal detection, pathfinding
- Algorithm delegation to in-memory RiskGraph
Export from qvl.zig: HybridGraph, GraphTransaction
Integration complete: storage.zig ↔ existing QVL modules
2026-02-03 09:04:31 +01:00
Markus Maiwald
5aab5cdc8d
feat(qvl): add libmdbx persistent storage layer
...
Add PersistentGraph with libmdbx backend for Kenya Rule compliance.
2026-02-03 08:59:13 +01:00
Markus Maiwald
4498da5ce6
feat(capsule): implement discovery, federation, and persistence (Phase 10)
2026-01-31 08:35:22 +01:00
Markus Maiwald
8cb89065bd
Phase 9 Complete: Autonomous Immune Response Operational 🛡️ (Artifacts Removed)
2026-01-31 04:32:09 +01:00
Markus Maiwald
8b55df50b5
Phase 6A: QVL FFI C exports for L2 integration
...
- Created qvl_ffi.zig: C ABI exports (qvl_init, qvl_deinit, trust scoring, PoP verification, betrayal detection, graph mutations)
- Created qvl.h: C header with full API documentation
- Created test_qvl_ffi.c: C test harness (manual compilation)
- Added FFI tests to build.zig with libc linking
- Fixed API mismatches: TrustGraph.init (3 args), BellmanFordResult.betrayal_cycles usage
- All tests passing (173/173: 137 SDK + 36 FFI)
FFI enables Rust Membrane Agents (L2) to consume L1 trust functions.
2026-01-31 03:06:20 +01:00
Markus Maiwald
27d182a117
Phase 4B: L1 QVL Advanced Graph Engine (Bellman-Ford, A*, Aleph Gossip, Belief Propagation)
2026-01-31 02:24:19 +01:00