cli: add safe owning general-key hash sets

Add std.hashset with explicit pure hash/equality policies and complete
owning keys. Duplicate/full insert returns the original input, while
remove/pop and nonempty free preserve explicit resource ownership.

Reuse safe HashMap storage and failure/peak/refund accounting. Integrate
normative contracts, RFC, references, complexity measurements, CLI/profile
checks and independent Copy/owner set traces.

Validation: 973 conformance cases; runtime set GC and schedule stress;
unit/Quick Reference, formatting, hosted smoke, 53 CLI checks, 106 source
coverage constructs and bundle generation.
This commit is contained in:
dev committed 2026-10-07 11:14:53 +03:00
1 parent 7743f515c5
commit 4716cda0f1
43 files changed
+2696 -7

No files matched your search

+2
View File
@@ -34,6 +34,8 @@ jobs:
- run: python3 tools/map_vectors.py
- run: python3 tests/hosted/source_hashmap.py
- run: python3 tools/hashmap_vectors.py
- run: python3 tests/hosted/source_hashset.py
- run: python3 tools/hashset_vectors.py
- run: zig-out/bin/aji run --grant out=io.write --grant heap=mem.alloc:64 docs/agent/syntax-example.air
- run: zig build agent-reference
- name: Source construct coverage (Phase 6A)