File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1224,3 +1224,16 @@ PRD: ralph/kernel-hardening (46 stories)
12241224 - MockRuntimeDriver from kernel/test/helpers.ts is reusable in integration tests (import via relative path)
12251225 - To test pipe EOF with real runtimes, mount both MockRuntimeDriver (as pipe host) and the real runtime, use ki.spawn with stdoutFd override
12261226---
1227+
1228+ ## 2026-03-17 - US-078
1229+ - Added complete device layer behavior tests
1230+ - Files changed: packages/kernel/test/device-layer.test.ts
1231+ - Fixed /dev/zero write test to actually write to /dev/zero (was testing /dev/null instead)
1232+ - Added /dev/stdout read fallthrough test (stdin and stderr already had tests)
1233+ - Added /dev/stdout and /dev/stderr write passthrough tests
1234+ - All 21 device-layer tests pass, typecheck passes
1235+ - **Learnings for future iterations:**
1236+ - Device layer only intercepts writes to /dev/null (discard) — writes to other device paths pass through to backing VFS
1237+ - readFile for /dev/stdin, /dev/stdout, /dev/stderr passes through to backing VFS (not intercepted)
1238+ - TestFileSystem supports these passthrough operations for testing
1239+ ---
You can’t perform that action at this time.
0 commit comments