diff options
| author | Claude <noreply@anthropic.com> | 2026-05-25 05:01:05 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-05-25 05:01:05 +0000 |
| commit | 6890bafa65a309b540cbe1562c39df137f202369 (patch) | |
| tree | a6e08cf0ea814f08268a96802b5839c415e303c6 /web/test/sort-tasks.test.mjs | |
| parent | e766b4c3ef13181ec6adf90ec4abe9db0129fab1 (diff) | |
refactor(api): remove the natural-language elaborate REST endpoint (Phase 3)
Chatbots now elaborate tasks in-conversation and submit them via the chatbot
MCP server, so the POST /api/tasks/elaborate shell-out path is no longer needed.
Removes the route, handleElaborateTask, and the task-elaborate-only helpers
(buildElaboratePrompt, sanitizeElaboratedTask, readProjectContext,
appendRawNarrative, elaborateWith{Claude,Local,Gemini}, and the elaboratedTask/
elaboratedAgent types) plus their dedicated tests.
Shared helpers (extractJSON, claude/geminiBinaryPath, claude/geminiJSONResult,
elaborateTimeout, the per-IP limiter) are retained — the story-elaborate
endpoint and task-validate endpoint still use them. Stories themselves are
untouched here; their removal stays in the Phase 8 cleanup pass.
https://claude.ai/code/session_01SESwn7kQ7oP62trWw6pc39
Diffstat (limited to 'web/test/sort-tasks.test.mjs')
0 files changed, 0 insertions, 0 deletions
