Repository navigation
cmux NEXT apps: AppsWireDecoding is an instantiated value (base red) - #28869
Conversation
The conventions lint fails on base: AppsWireDecoding, moved into CmuxNextApps by 52842e0, is an all-static public struct (namespace-type ERROR). A caseless enum would trip the namespace-enum rule instead, so the decoder becomes a value with a public init and instance methods, and DaemonAppsTransport's three call sites build one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?id=aid-159afad10a5ab45ea16c
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Not verified: macOS jobs did not run: compile and app tests were skipped on CI passes on Written by Shipped in:
|
|
Owned by an agent session · session |
AppsWireDecoding and the AppJSON <-> Settings JSON bridge are pure decoding of the supervisor's replies; they belong to the apps client package, not the App target (SW14). Moves 72 App lines down (pays for this branch's App lines) and the apps.mount.failed string with its 21 locales.
|
Found 3 test failures on Blacksmith runners: Failures
|
Bugbot needs on-demand usage enabledBugbot uses usage-based billing for this team and requires on-demand usage to be enabled. A team admin can enable on-demand usage in the Cursor dashboard. |
|
Review (codex, router-review): SHIP at 2c8707c Reviewer: codex gpt-6.1-sol xhigh, fast tier. SHIP at 2c8707c Visual verdict: no images; Leo tries the build No correctness findings. All call sites are updated; decoder behavior is unchanged. Package conventions lint passes. Compilation was not run because Swift is unavailable. Follow-ups: none |
…re-decoding-namespace
|
Review (codex, router-review): SHIP at 7f8f3a1 Reviewer: codex gpt-6.1-sol xhigh, fast tier. SHIP at 7f8f3a1 Visual verdict: no images; Leo tries the build No findings. All three callers are updated; decoder behavior is unchanged. Full package conventions lint passes, and the reconstructed base decoder reproduces the reported error. Swift build/tests were not run; the toolchain is unavailable. Follow-ups: none |
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Base red fix.
cmux-next checksfails on feat-cmux-next in Package conventions lint:The struct became public when 52842e0 moved it from the App target into
CmuxNextApps, and the rule checks public all-static types.Fix
AppsWireDecodinggets a publicinit(), and its three decoders (event,list,logs) become instance methods.DaemonAppsTransport's three call sites build one:AppsWireDecoding().event(...).namespace-enumrule instead, so the type stays a struct. No behavior changes: the methods read only their arguments.Tests
scripts/lint-ios-package-conventions.shreports no ERROR lines on this branch.decodingvalue with an injected mount-failure string); this fix keeps to the lint and stays compatible with that direction.No capture: no visible change; AppsWireDecoding's three decoders become instance methods and DaemonAppsTransport builds one, nothing on screen moves.
risk:normal
Agent session: agent session
🤖 Generated with Claude Code