cli: add explicit owning buffered file adapters
Add pinned std.io.reader and std.io.writer using safe source, explicit fixed allocation and file transfer. Finish/discard return complete resources; writer failures preserve pending data and prohibit unsound partial retries. Specify cursor, acceptance, failure and cleanup contracts in spec 16, RFC 0034, the API reference and source bundle. Add standalone conformance, independent byte oracles, task/GC stress, CLI/package/profile checks and hosted partial-write tests with a raised child quota to detect retries. Validation: 1061 conformance cases; 34 buffered cases with per-step GC and 12 schedule seeds; unit/Quick Reference, formatting, hosted smoke, 89 CLI checks, 115 source coverage constructs and reference generation.
This commit is contained in:
1 parent
3e1c0f34e8
commit
8d8bef8f3e
51 files changed
+1916
-8
No files matched your search
@@ -40,6 +40,8 @@ jobs:
|
||||
- run: python3 tools/heap_vectors.py
|
||||
- run: python3 tests/hosted/source_io.py
|
||||
- run: python3 tools/io_vectors.py
|
||||
- run: python3 tests/hosted/source_buffered_io.py
|
||||
- run: python3 tools/buffered_io_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)
|
||||
|
||||
Reference in new issue
Block a user