Commit graph

30 commits

Author SHA1 Message Date
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 6dfcb2bfc6 Implemented descriptor-aware program binding checks so program interpretation now consults the descriptor’s program_type_tag and program_enc_profile before decoding or tagging artifacts. 2025-12-22 08:27:41 +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 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 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 e562bfc63f Fix CLI link deps after format refactor 2025-12-20 21:26:57 +01:00
Carl Niklas Rydberg bdbe9cd6fc Extract shared IO/parse/decode/run utilities
add artifact/ref IO, format parse, opreg formatting, PEL decode/run modules
refactor PEL/ASL CLIs and pel_run/seed to use shared helpers
update build to include new sources and headers
2025-12-20 21:03:31 +01:00
Carl Niklas Rydberg 74eed45a5a Extract PEL CLI formatting/helpers into amduat_format library 2025-12-20 19:12:51 +01:00
Carl Niklas Rydberg 790c540594 Add amduat-pel CLI with PEL/PROGRAM-DAG tooling 2025-12-20 18:26:52 +01:00
Carl Niklas Rydberg 441b0191e8 Add PEL seed/run tools and quickstart README 2025-12-20 17:23:37 +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
Carl Niklas Rydberg 1e88925ece Fix CLI link order for ASL parsing 2025-12-20 11:28:42 +01:00
Carl Niklas Rydberg edc81beb9b Promote ASL IO helpers 2025-12-20 11:19:08 +01:00
Carl Niklas Rydberg f48b73b75f Promote ASL ID parsing helpers 2025-12-20 11:16:16 +01:00
Carl Niklas Rydberg 4bc40995b4 Promote ASL reference hex helpers 2025-12-20 11:14:06 +01:00
Carl Niklas Rydberg f406e1d10a Add amduat-asl CLI skeleton 2025-12-20 08:40:57 +01:00
Carl Niklas Rydberg c6f9c6a696 Add ASL FS metadata and layout helper 2025-12-20 07:54:23 +01:00
Carl Niklas Rydberg 428f657f4f Add hex encode/decode helpers 2025-12-20 00:05:17 +01:00
Carl Niklas Rydberg b32c164313 Add ASL/1 core codec and refactor fs store to use it 2025-12-19 23:55:27 +01:00
Carl Niklas Rydberg 04f993aa6f Define POSIX feature macro for asl_store_fs 2025-12-19 23:25:18 +01:00
Carl Niklas Rydberg ca66d5757c Add SHA-256 implementation for HASH/ASL1 2025-12-19 21:13:23 +01:00
Carl Niklas Rydberg b47b914224 Scaffold C layout and ASL registry model 2025-12-19 19:22:40 +01:00