2026-11-25 · The interface’s net for unexpected failures, and its commands held to the shell’s

2026-11-25 · The interface’s net for unexpected failures, and its commands held to the shell’s

Context

The review of 25 November (#280, safety nets) found that expected failures are said well (Action, describeError, messages that stay) but unexpected ones not at all: no boundary, no error or unhandledrejection listener, no way for the interface to write to the log. A screen that threw as it was drawn stayed blank, with nothing said and nothing logged, so a bug report had nothing to quote. A failure at start-up showed a chip with no way to try again. And the bridge’s 195 command names and their arguments matched the shell’s by care alone: Rust’s tests tie the handler and the capability to COMMANDS, but nothing tied src/lib/tauri.ts to them.

Decision

Consequences