Carl Niklas Rydberg
b7b4b2f195
Add ASL log encoding/decoding
2026-01-17 12:51:32 +01:00
Carl Niklas Rydberg
a91ab91e39
Add indexed ASL store ops and tests
2026-01-17 12:44:33 +01:00
Carl Niklas Rydberg
0fc1fbd980
Something
2025-12-23 09:15:47 +01:00
Carl Niklas Rydberg
b3d776adb4
audit: kernel params bound and docgraph removal
2025-12-22 12:40:06 +01:00
Carl Niklas Rydberg
a932363ad0
pel: require params for pel.bytes.params and add test
2025-12-22 12:17:40 +01:00
Carl Niklas Rydberg
d0005e54c3
Fix TGK store conflict error mapping and add regression test
2025-12-22 11:50:00 +01:00
Carl Niklas Rydberg
222fe2f84e
tgk1-edge: accept unknown hash ids and add regression test
2025-12-22 11:42:41 +01:00
Carl Niklas Rydberg
5b7d07e033
Fix trace DAG EncodedRef validation and test unknown hash ids
2025-12-22 11:24:43 +01:00
Carl Niklas Rydberg
a4932b1217
PEL/TRACE-DAG: wire exec_result_ref + node failure diagnostics
...
Persist pre-trace ExecutionResult to embed exec_result_ref in traces
Capture node-level runtime diagnostics and clone into trace artifacts
Clarify trace spec for pre-trace result linkage
Add tests for exec_result_ref and node-failure diagnostics
2025-12-22 11:16:23 +01:00
Carl Niklas Rydberg
b00f2c8575
Enforce PEL1 result invariants and add regression test
2025-12-22 09:15:15 +01:00
Carl Niklas Rydberg
f02be17d6c
Patched overflow checks in the encoder and added regression tests.
...
Changes:
Added early bounds checks for nodes_len/roots_len against UINT32_MAX, plus safe guards for order allocation and roots_len * 8 overflow. pel_program_dag.c
New tests for oversized counts: test_pel_program_dag_encode.c
Wired the new test into CMake: CMakeLists.txt
2025-12-22 08:46:03 +01:00
Carl Niklas Rydberg
f5e1ab8801
Add PEL DAG scheme descriptor codec and validation
...
If you want a longer one:
Add codec + tests for PEL DAG scheme descriptor
2025-12-22 08:16:58 +01:00
Carl Niklas Rydberg
ef2fd955f1
Hide DAG exec entrypoints
2025-12-22 07:01:11 +01:00
Carl Niklas Rydberg
e838e2c977
Add deterministic diagnostics and OOM handling
2025-12-22 06:55:29 +01:00
Carl Niklas Rydberg
92edd06642
Fix PEL DAG params plumbing and surface IO
2025-12-22 06:25:52 +01:00
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
9754582ae7
Implement store error IO class, optional config validation, and ops init helper
2025-12-21 23:29:24 +01:00
Carl Niklas Rydberg
8e26d11e3b
Fixed the test include so AMDUAT_ENC_ASL1_CORE_V1 is visible. Re-run:
...
cmake --build build --target amduat_test_asl_ref_derive && ./build/amduat_test_asl_ref_derive
2025-12-21 22:39:11 +01:00
Carl Niklas Rydberg
0188e10cee
Add ASL ref-derive test and use central derivation
2025-12-21 22:36:08 +01:00
Carl Niklas Rydberg
39712f7b70
Added a central ASL reference-derivation API and wired the filesystem store (plus the PEL stub store) to use it, so all reference creation now goes through the canonical encode+hash path.
2025-12-21 22:22:17 +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
Carl Niklas Rydberg
d7ac826407
Add PEL queue with head tracking and tests
2025-12-21 08:05:59 +01:00
Carl Niklas Rydberg
1c5bae927e
Add TGK core edge types and TGK1 edge encoding/tests
2025-12-21 00:41:44 +01:00
Carl Niklas Rydberg
a7ff4ec25a
Implement PEL/1-SURF run with trace artifacts and stub store test
2025-12-20 15:16:07 +01:00
Carl Niklas Rydberg
a6425067bf
Add PEL program DAG validation and kernel op execution
2025-12-20 14:27:26 +01:00
Carl Niklas Rydberg
585844a6fc
Implement PEL encodings and tests
2025-12-20 13:54:18 +01:00