Carl Niklas Rydberg
87c8bcc799
Align HASH/ASL1 registry and codecs with spec constraints
...
- reject reserved HashId values across lookup/parse/encode paths
- add reserved-range registry table and remove 0x0000 from runtime list
- forbid SHA-256 impl overrides; add streaming hash API
- update tgk_store_mem test to use unsupported but non-reserved hash id
- document ASL store digest-length constraint in README
2025-12-22 00:21:16 +01:00
Carl Niklas Rydberg
a945a117f6
Added a read‑only snapshot view API so callers can pin queries to a single immutable snapshot; mem/fs adapters now return a snapshot store backed by a cloned mem state, and tests verify snapshot stability across mutations.
2025-12-21 21:52:06 +01:00
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