Operator approval: Not applicable: nonarchitectural task record
Context:
The first full macOS gate reached systemstat::System::mount_at from dashboard tests and aborted on an invalid raw-slice precondition inside the dependency before Rust could unwind.
The same workspace run exposed a CLI tail test that cancelled after a fixed delay without first observing the asynchronous resume-file write.
Both corrections already existed in later approved stack work but were required at the bottom boundary for independent validation.
Decision:
Route dashboard disk usage through the existing ApiState test dependency seam, retaining the production systemstat implementation as the default and using a deterministic filesystem-aware provider in dashboard tests.
Run the CLI tail operation in a task, wait with a bounded deadline until the resume file is observable, then abort and verify cancellation and file contents.
Consequences:
Dashboard tests no longer execute unsafe platform-specific dependency internals.
The tail test validates the event-to-resume-file contract instead of assuming a scheduler-dependent 200 ms completion window.
Production dashboard behavior is unchanged.
Follow-up:
Drop duplicate hunks when the descendant API and CLI commits are replayed.
Keep platform and asynchronous dependencies injected or observed through deterministic boundaries in future tests.