acpmux: base compiles again: hint::check passes the device (#25038 x #25049)

Merged
TE
13d ago
+2-1

Restores base: acpmux does not compile on feat-cmux-next at 74b2df7c9f6 or later.

Cause

Two PRs merged 51 seconds apart:

  • #25049 (21:03:02) moved remote_guard::check to check_inner, behind a new remote_guard/hint.rs check that adds data.servedAs.
  • #25038 (21:03:53) added a device: Option<&str> argument to remote_guard::check.

Git merged the text cleanly. check_inner and every caller in requests.rs got the device argument, but hint::check did not. That gave four E0061 errors, so every job that builds acpmux (clippy, headless cmux-tui, the macOS artifacts) is red on base.

Fix

hint::check takes device: Option<&str> after auth and passes it to check_inner. This is 2 lines, with no behaviour change: the device argument reaches the check exactly as #25038 intended, and servedAs is unchanged.

Tests

The red is the compile on base (for example clippy on #25069, run 40160610444). Fleet run at this head: cargo fmt --check, cargo clippy -p acpmux --all-targets -D warnings, and cargo test -p acpmux --test remote_guard_codex_bridge plus the remote_guard filter (results below).

No timers, observers or loops. No capture: nothing visible changes.

Agent session: big-red
šŸ¤– Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.