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.
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
stopEnvandredeployEnvcan 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)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).