cli: add safe owning general-key hash maps

Use explicit static hash/equality functions, dense complete key/value entries
and Copy probe indices. Preserve returned ownership and allocation failure
state without unsafe code or new runtime instructions.

Add normative contracts, API/reference budgets, 33 conformance cases, independent
Copy/owner dict traces and 55 CLI/package/profile checks. Full corpus: 947 passing.
Collection-every-step scheduler stress remains in progress, recorded in RFC/plan.
This commit is contained in:
dev committed 2026-10-07 10:55:09 +03:00
1 parent f02f4bd55b
commit 7bb5bd7931
52 files changed
+7736 -11

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ python3 tests/hosted/source_hash.py # pure hashes, chunks and source/package/hos
python3 tests/hosted/source_errors.py # pure built-in error construction and authority separation
python3 tests/hosted/source_map.py # exact numeric keys, owning values and profile/package parity
python3 tools/map_vectors.py # independent dictionary oracle for public map traces
python3 tests/hosted/source_hashmap.py # explicit general key policies, profiles and returned ownership
python3 tools/hashmap_vectors.py # independent dict and dense-order oracle, Copy/owning values
(cd tools/eval && python3 -m unittest discover tests) # evaluation harness self-tests
zig fmt --check build.zig src tools
```