docs: the review items of #859 that go on top

- docs/chat-view-plan.md still said a Docker case with working hooks
  updates only at the start and end of a turn; since hostTranscriptPath()
  maps the container path to the host's copy, it gets mid-turn updates.
- The captureIntentPrompt comment said only hook-fed sessions have a
  transcript watcher; statusline reports and full reads start one too.

The third item (the SSE header count) needs no change on the merged tree:
master already had 164 constants under a header that said 163, and with
transcript:update the header's 165 is right.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-12-03 10:22:23 +01:00
1 parent 4be36b0404
commit c3eb9cad22
2 files changed
+11 -7

No files matched your search

+3 -2
View File
@@ -1550,8 +1550,9 @@ export class WebServer extends EventEmitter {
/**
* Read My Mind intent capture: fold one transcript user prompt into the
* case's intent profile (docs/readmymind-plan.md). Opt-in via
* `readMyMindEnabled` (default OFF) and claude-only; the mode gate is
* belt-and-braces since only hook-fed sessions have a transcript watcher.
* `readMyMindEnabled` (default OFF) and claude-only. The mode gate is needed:
* a transcript watcher is started by hook reports, statusline reports and a
* full transcript read (the chat view), not only for hook-fed Claude sessions.
*/
private async captureIntentPrompt(sessionId: string, text: string): Promise<void> {
const session = this.sessions.get(sessionId);