WriteLine emits Unix LF
Platform spec ADR
WriteLine emits Unix LF
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”Cross-platform hosts may translate line endings below the Beskid API.
Decision
Section titled “Decision”| Rule | Detail |
|---|---|
| Ending | WriteLine must append \n only |
| Windows | Host/platform layer may translate later without API change |
Consequences
Section titled “Consequences”Authors see consistent Beskid source semantics; CRLF is not encoded in corelib strings.
Verification anchors
Section titled “Verification anchors”Output.bd / Error.bd tests; platform IO docs.