Split stream modules per fd
Platform spec ADR
Split stream modules per fd
Spec standingStandard
- Contracts and edge cases MUST rules for standard stream reads, writes, and error handling.
- Design model Stream module boundaries and syscall descriptor model for standard I/O.
- Examples Standard stream read and write usage patterns.
- Flow and algorithm Read and write algorithms for standard stream helpers.
- Verification and traceability Runtime syscall and corelib anchors for standard stream I/O.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”A single Console IO type obscures direction and syscall descriptors.
Decision
Section titled “Decision”| Rule | Detail |
|---|---|
| Modules | System.Input, System.Output, System.Error |
| Forbidden | Monolithic console IO type for standard streams |
Consequences
Section titled “Consequences”Each module binds one StandardStream descriptor; cross-stream APIs stay separate.
Verification anchors
Section titled “Verification anchors”packages/runtime/src/System/Input.bd, Output.bd, Error.bd.