You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the 2026-07-19 complementary swarm review (read-only, checked against #220 territory — no overlap).
P1 — dead-but-registered IPC + open-forever run rows
settings_get/settings_upsert/agent_run_finish are registered but have zero call sites (src/lib/db.ts:178-181,200-206; src-tauri/src/lib.rs:308-309,318; db_commands.rs:265,273,328). Consequence: recordForgeDispatch (src/lib/runRecord.ts:51) inserts agent_run_log rows with finishedAt: null that are never finished. Decide: either call agent_run_finish in the dispatch completion path (one line) or delete all three commands + finish_agent_run (crates/pickforge-core/src/db/mod.rs:1417-1427).
P1 — performance
LogcatView issues one IPC invoke per log line. Batch appends.
waitForBootedSerial/waitForBootedSimulator are the same polling function with different predicates (src/stores/runLaunch.ts:149-181). Collapse to waitForDevice(match, epoch).
remoteHostRevokeClient wired through IPC but no UI caller (src/lib/remoteHost.ts:73, remote_commands.rs:130, lib.rs:245) — there is currently no way to revoke a paired remote client. Decision needed: build the UI or delete the path.
Validation
bun run build; unit tests for runLaunch/db; cargo check workspace.
From the 2026-07-19 complementary swarm review (read-only, checked against #220 territory — no overlap).
P1 — dead-but-registered IPC + open-forever run rows
settings_get/settings_upsert/agent_run_finishare registered but have zero call sites (src/lib/db.ts:178-181,200-206;src-tauri/src/lib.rs:308-309,318;db_commands.rs:265,273,328). Consequence:recordForgeDispatch(src/lib/runRecord.ts:51) insertsagent_run_logrows withfinishedAt: nullthat are never finished. Decide: either callagent_run_finishin the dispatch completion path (one line) or delete all three commands +finish_agent_run(crates/pickforge-core/src/db/mod.rs:1417-1427).P1 — performance
P2 — simplify
errorTexthelper duplicated 13× (agentChat.ts:259,operator.ts:420,voiceDock.ts:53,orchestra.ts:238,remoteAttach.ts:33, + ~8 inline). Onesrc/lib/errors.ts, mechanical replacement.waitForBootedSerial/waitForBootedSimulatorare the same polling function with different predicates (src/stores/runLaunch.ts:149-181). Collapse towaitForDevice(match, epoch).remoteHostRevokeClientwired through IPC but no UI caller (src/lib/remoteHost.ts:73,remote_commands.rs:130,lib.rs:245) — there is currently no way to revoke a paired remote client. Decision needed: build the UI or delete the path.Validation
bun run build; unit tests for runLaunch/db;cargo checkworkspace.