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
Project Actions added or edited through the desktop UI are absent from the resumable MCP Action list. This prevents an agent from launching a newly saved, explicitly opted-in Action.
The chat UI persists changes through projectScriptOverrides settings in apps/web/src/components/ChatView.tsx. ActionResume.listProjectActionsImpl and its launch lookup instead read project.scripts from the orchestration snapshot in apps/server/src/actionResume/ActionResume.ts.
Reproduction: add a uniquely named Action through Script actions, enable Allow Codex and Claude to run and resume, save, and call list_project_actions. The UI menu shows the new Action while MCP returns only the old project script list. A read-only check of the project projection confirms it contains the old list.
Expected: list and launch resolve the same effective scripts and opt-in flags as the UI, preserving the current continuation guard. No runtime restart or database editing should be required.
Observed while delivering the migration-history fix. Workaround for that delivery is an existing opted-in Action invoking a temporary self-restoring launcher that delegates to the intended clean worktree.
Additional MCP-only reproduction in the same Project/environment: t3_project_read initially returned scripts: []. Importing the repository definition with t3_project_update succeeds, and subsequent project reads retain the script below, but list_project_actions still returns { "actions": [] } in both the parent and a child worktree. The Project and environment identities match. Setting async: true also leaves discovery empty. No UI script editing was involved.
This prevents launching the existing resumable Project Prep Watcher despite persisted opt-in. The isolated app preparation remains durable. A tracked managed exec of the exact same read-only watcher executable can read/ack retained milestones; no provider polling, detached process, direct database edits, or runtime restart was used. Please verify the effective project-script source used by read/update, Action list, and Action launch; if this differs from the override bug, split this repro into a follow-up.
The mismatch still reproduces in the parent thread after fresh tool discovery:
t3_project_read for project c4d3a516-855a-4371-80b8-99468d230dee returns saved script project-prep-watcher, command node --import tsx prototype/certificate-translation-poc/scripts/project-prep-watcher.ts watch, async: true, and allowAgentResume: true.
list_project_actions({}) in that same project returns { "actions": [] }, with no disabled entry or reason.
Parent thread 1c13d1d6-68d2-416c-b26a-a351bcbed8d7, environment b58f7d3a-534f-4d97-bf16-fdca8a09f774, is using worktree /Users/lasto/.lastcode/worktrees/certificate-translations/t3-dbef274c; the Project workspace is /Users/lasto/projects/certificate-translations.
This blocks the required parent-mediated preparation watcher Action. The saved script is present and opted in; no Action launch was attempted because no eligible ID is returned. Engineering work continues independently. Please keep the target-worktree selection visible in the eventual fix, since launching the parent workspace's package against a child's isolated Project would be a separate targeting error.
Additional observed case: a read-only native preparation wait Action was saved with t3_project_update using an 18-character ID and allowAgentResume:true. The update succeeded, and a fresh t3_project_read returned the new Action. list_project_actions continued returning only the original three Actions, including after another automated follow-up. Adding the same definition to the bound worktree's t3.json also did not make it discoverable in that session. The temporary definitions were removed afterward.
This differs from the hidden overlong-ID validation in #457: that error was corrected first, and the subsequent project update was successful. The remaining blocker is saved/effective Action discovery, so no unlisted ID was launched. No database edits or application restart were performed.
Another observed variant: an existing eligible Action keeps its old command after a successful saved-script update.
project-prep-watcher was already listed and opted in.
t3_project_update changed that same ID to an absolute executable/loader in a reviewed clean worktree. A subsequent t3_project_read returned the new command.
run_project_action_and_resume still returned and launched node --import tsx prototype/certificate-translation-poc/scripts/project-prep-watcher.ts watch, the previous command.
This repeated in runs 09a2d50e-fcc7-452d-b990-dd00b155fa5c and c166b86c-89b9-4e13-845c-deec280c8359; updating the bound worktree's t3.json also did not change the launched command. The first run preceded the saved-project update; the second followed a successful update and readback.
The old read-only watcher could safely track this preparation target, so preparation was not interrupted. Temporary settings were restored. No database edit or LastCode restart was used.
Please cover same-ID command replacement in addition to discovery of new Actions. Returning the effective command in launch receipts exposed this mismatch and should remain part of the contract.
Activity
lastobelus commentedon Oct 26, 2026
Additional MCP-only reproduction in the same Project/environment:
t3_project_readinitially returnedscripts: []. Importing the repository definition witht3_project_updatesucceeds, and subsequent project reads retain the script below, butlist_project_actionsstill returns{ "actions": [] }in both the parent and a child worktree. The Project and environment identities match. Settingasync: truealso leaves discovery empty. No UI script editing was involved.{"id":"project-prep-watcher","name":"Project Prep Watcher","command":"node --import tsx prototype/certificate-translation-poc/scripts/project-prep-watcher.ts watch","icon":"test","runOnWorktreeCreate":false,"allowAgentResume":true,"async":true}This prevents launching the existing resumable Project Prep Watcher despite persisted opt-in. The isolated app preparation remains durable. A tracked managed exec of the exact same read-only watcher executable can read/ack retained milestones; no provider polling, detached process, direct database edits, or runtime restart was used. Please verify the effective project-script source used by read/update, Action list, and Action launch; if this differs from the override bug, split this repro into a follow-up.
lastobelus commentedon Oct 27, 2026
The mismatch still reproduces in the parent thread after fresh tool discovery:
t3_project_readfor projectc4d3a516-855a-4371-80b8-99468d230deereturns saved scriptproject-prep-watcher, commandnode --import tsx prototype/certificate-translation-poc/scripts/project-prep-watcher.ts watch,async: true, andallowAgentResume: true.list_project_actions({})in that same project returns{ "actions": [] }, with no disabled entry or reason.1c13d1d6-68d2-416c-b26a-a351bcbed8d7, environmentb58f7d3a-534f-4d97-bf16-fdca8a09f774, is using worktree/Users/lasto/.lastcode/worktrees/certificate-translations/t3-dbef274c; the Project workspace is/Users/lasto/projects/certificate-translations.This blocks the required parent-mediated preparation watcher Action. The saved script is present and opted in; no Action launch was attempted because no eligible ID is returned. Engineering work continues independently. Please keep the target-worktree selection visible in the eventual fix, since launching the parent workspace's package against a child's isolated Project would be a separate targeting error.
lastobelus commentedon Oct 28, 2026
Additional observed case: a read-only native preparation wait Action was saved with
t3_project_updateusing an 18-character ID andallowAgentResume:true. The update succeeded, and a fresht3_project_readreturned the new Action.list_project_actionscontinued returning only the original three Actions, including after another automated follow-up. Adding the same definition to the bound worktree'st3.jsonalso did not make it discoverable in that session. The temporary definitions were removed afterward.This differs from the hidden overlong-ID validation in #457: that error was corrected first, and the subsequent project update was successful. The remaining blocker is saved/effective Action discovery, so no unlisted ID was launched. No database edits or application restart were performed.
lastobelus commentedon Oct 29, 2026
Another observed variant: an existing eligible Action keeps its old command after a successful saved-script update.
project-prep-watcherwas already listed and opted in.t3_project_updatechanged that same ID to an absolute executable/loader in a reviewed clean worktree. A subsequentt3_project_readreturned the new command.run_project_action_and_resumestill returned and launchednode --import tsx prototype/certificate-translation-poc/scripts/project-prep-watcher.ts watch, the previous command.09a2d50e-fcc7-452d-b990-dd00b155fa5candc166b86c-89b9-4e13-845c-deec280c8359; updating the bound worktree'st3.jsonalso did not change the launched command. The first run preceded the saved-project update; the second followed a successful update and readback.The old read-only watcher could safely track this preparation target, so preparation was not interrupted. Temporary settings were restored. No database edit or LastCode restart was used.
Please cover same-ID command replacement in addition to discovery of new Actions. Returning the effective command in launch receipts exposed this mismatch and should remain part of the contract.