fix: rev fallback asks for multi-line markdown reply bodies

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
naps62
2026-08-11 20:15:40 +00:00
parent 19bd110188
commit 984616f5c4
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
## Rev code reviews
- For code-change reviews, hand the user a URL on the always-on rev server: `http://localhost:7373/review?dir=<url-encoded abs worktree path>&base=<base>`. Do not start crit for code diffs.
- Poll `GET http://localhost:7373/api/comments?dir=<dir>&since=<cursor>&wait=1` (seed the cursor from an initial call); reply in-thread via `POST /api/comments` with author `"agent"` and `parentId` = root comment id. Never mark threads resolved.
- Poll `GET http://localhost:7373/api/comments?dir=<dir>&since=<cursor>&wait=1` (seed the cursor from an initial call); reply in-thread via `POST /api/comments` with author `"agent"`, `parentId` = root comment id, and a real multi-line markdown body (pipe a heredoc through `jq -Rs`, never a body inlined on one line). Never mark threads resolved.
## Crit (plans, live pages, HTML files — code diffs go to rev)