Repository navigation
Replies: 1 comment
|
A useful regression case is opening an existing full-access task on mobile, changing only its title, and checking the saved runtime mode, thread binding and model options. Displaying an effective-permissions summary before save would also make silently retained authority visible while the editors gain parity. This is a proposed check, not a reproduced bug. AI-assisted feedback. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
ScheduledTaskUpsertInput(packages/contracts/src/scheduledTask.ts:260-279) stores user-configurable fields that the Settings editors don't all expose:threadId(bound thread, MCPbindToCurrentThread/boundThreadIdinpackages/contracts/src/orchestratorMcp.ts:659-684, mapped inapps/server/src/mcp/OrchestratorMcpService.ts:262,1961-1984,2036-2056)modelSelectionincl.options(reasoning/effort etc.)runtimeMode(approval-required/auto-accept-edits/auto/full-access)interactionMode(default/plan)workspaceStrategy,projectId,schedule,title/prompt/enabled(these are covered)Web (
apps/web/src/components/settings/ScheduledTasksSettings.tsx):threadId) is read-only display only (ScheduledTaskDestination:1135-1165, used at1469-1471). Draft holdsthreadId:144and saves it through (1348), but there is no control to bind/unbind/pick a thread.runtimeMode:150/interactionMode:151and saves them (1351-1352), but there is no picker for either.1569-1586) picks instance+model only; provider options (reasoning etc.) have no control onmain.Mobile (
apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx,scheduledTaskDraft.ts:199-213,ScheduledTaskPickerScreens.tsx:91-101):threadId: draft.task?.threadId ?? null:792preserved on save). Web shows it, mobile doesn't.ScheduledTaskDrafthasruntimeMode(editable via model-picker screen) but nointeractionModefield; save preserves withdraft.task?.interactionMode ?? "default":804. No UI forinteractionModeanywhere.threadId).So
bindToCurrentThread/boundThreadIdexist in MCP + server + contract, and the web UI displays the bound thread, but neither editor lets the user change the binding, andruntimeMode(web) /interactionMode(both) have no controls despite being stored and used at run time (apps/server/src/scheduledTasks/ScheduledTaskService.ts:909-911).Steps to reproduce
schedule_taskwithbindToCurrentThread:true) or observe an existing bound task.threadId/interactionModesilently.Expected behavior
Every user-configurable field in
ScheduledTaskUpsertInputis either editable in both Settings editors or explicitly display-only with a reason:runtimeMode: editable on web (mobile already has it via model picker).interactionMode: editable (or explicitly hidden with justification) on both.modelSelection.options: editable on web (mobile + MCP already have it).Actual behavior
Fields are silently preserved: web
threadId/runtimeMode/interactionModeround-trip without controls; mobilethreadId/interactionModeround-trip without display/controls; web model options have no control onmain.Related
target) + feat(web): scheduled tasks can set a reasoning level #25864 (open, web reasoning viaTraitsPicker— covers web model options).Area
apps/web
Impact
Minor bug or occasional failure
Version or commit
main @ 37d7615
Environment
Source inspection + grep on worktree; no live repro beyond reading stored drafts.
Before submitting
All reactions