Commit graph

9 commits

Author SHA1 Message Date
Carl Niklas Rydberg f83dc9c2bd Implemented batch ingest API and tests 2025-12-21 21:31:55 +01:00
Carl Niklas Rydberg d3224b26ac Added targeted ingest/remove + epoch tests in test_tgk_store_mem.c
Added the FS ingest/remove + epoch test in test_tgk_store_fs.c and fixed the missing ref_edge initialization
2025-12-21 21:23:55 +01:00
Carl Niklas Rydberg 47504644f7 Added identity-domain validation and duplicate EdgeRef handling to the FS adapter, plus new FS tests 2025-12-21 20:42:20 +01:00
Carl Niklas Rydberg 070265085f Implemented order‑key pagination for scan_edges in the in‑memory TGK store. The cursor is now the canonical ReferenceBytes of the last edge in the page, and results honor the same (hash_id, digest) ordering. Default page size is 256 edges. Invalid or unsupported tokens now fail the call. Changes are in tgk_store_mem.c
Added a pagination test that walks multiple scan_edges pages and validates full coverage + ordering
2025-12-21 20:36:19 +01:00
Carl Niklas Rydberg eedbe65957 Added three tests in test_tgk_store_mem.c 2025-12-21 20:24:34 +01:00
Carl Niklas Rydberg d7b456654b Fix TGK mem multi-encoding handling 2025-12-21 19:46:56 +01:00
Carl Niklas Rydberg 05baf8e847 Add tgk store fs adapter and tests 2025-12-21 19:23:41 +01:00
Carl Niklas Rydberg 257280934f Add TGK provenance operators and tests 2025-12-21 18:41:32 +01:00
Carl Niklas Rydberg 8b2a5f830a Implement TGK store API and in-memory adapter with tests 2025-12-21 08:44:04 +01:00