Skip to content

Commit e70e19e

Browse files
committed
chore: update progress for US-078
1 parent 05a014c commit e70e19e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

progress.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
---

0 commit comments

Comments
 (0)