cli: add explicit bounded standard I/O composition

Add std.io exact stdin/file/TCP reads, bounded file read-to-end and
limited file write/append copies. Use caller slices and resource loans,
exact effects, explicit EOF/capacity/limit and confirmed partial progress.
No implicit heap, open/close, timeout or new AIR/runtime semantics.

Document failure limits and check hosted read errors and a partial
external file write under a child-only file-size quota. Integrate
normative contracts, RFC, source reference budgets, CLI/profile/package
checks and independent byte/count/cursor vectors.

Validation: 1027 conformance cases, 20 I/O GC cases, scheduled stress,
unit/Quick Reference, formatting, hosted smoke, 55 CLI checks, 111 source
coverage constructs and unchanged AIR reference bundle.
This commit is contained in:
dev committed 2026-10-07 12:14:11 +03:00
1 parent cfece6080c
commit 3e1c0f34e8
37 files changed
+1181 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ The other files in `/docs` hold the full rules. Open one only when this page is
| Need | Read |
|---|---|
| built-in bytes/math/text/formatting/hash, option/result, owning Vec/Deque, numeric/general maps, sets/heaps, signatures and failure contracts | `/docs/library/std.md` |
| built-in bytes/math/text/formatting/hash, option/result, owning collections and bounded I/O, signatures and failure contracts | `/docs/library/std.md` |
| initialized buffer storage, explicit growth/drain and child views | `/docs/language/buffers.md` |
| whole-value linear aggregates, unpack, exchange and allocation failure | `/docs/language/linear-aggregates.md` |
| generic declarations/applications, property constraints, static function contracts and specialization limits | `/docs/language/generics.md` |