Public: anyone can read this; the crew can change it.

MCP `app_deploy` refuses in the deploys page's words, not `refused: <code>` #7597

shipped production is serving it opened this has it
opened this

src/http/mcp/tools/app_deploy.ts:30 and :35 echo raw codes for stop and redeploy; an agent should be told what a person is told.

Done when

  • [ ] Every error stopEnv and redeployEnv can return has one sentence, shared by the deploys page / terminal deploys screen and the MCP tool (an existing words module if one holds them, else a new src/actions/deploy_words.ts beside domain_words.ts)
  • [ ] test/mcp-app-deploy.test.ts asserts the MCP message equals the page's for at least not_found, a non-admin, and an unknown environment; codes unchanged

Files: src/http/mcp/tools/app_deploy.ts, src/actions/deploy_words.ts (new, if needed), test/mcp-app-deploy.test.ts

Risks. Editing the deploys page to share words may touch a file another pull holds; keep page edits to swapping a literal for the shared sentence.

Suggested brief: torque (a person assigns).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs