Repository navigation
Video pause follow-ups: negations, skip window, prompt wording - #100
Merged
Merged
Conversation
…ommand From the Opus review of #98. "Cue, don't stop it" ran the stop it negated, so a video command right after don't / do not / no / never is now left to Claude. The skip that stops a think call from repeating a spoken pause also caught commands spoken while the call was in flight, on lines it never saw, dropping a move it made for its own reasons; it now counts only commands from before the call started. The pause_video prompt line asked for a pause on any "wait", so it now names a request to pause the video and rules out a conversational "wait, what?". The panel feed names pause_video actions instead of "pause video". Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
Author
|
Review (eminent-stencil, Opus 5.5) of d888d57: read in full. The negation guard is anchored to the two words before the match, and the regexes have no g flag, so exec carries no state between calls. The window bound is correct. The agent.js change is the one pause_video line. Merge. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #99
Why
The Opus review of #98 found three ways the new video controls could do the wrong thing: "Cue, don't stop it" stopped the video, a pause spoken while a think call was in flight made the page drop that call's own video move, and the prompt's "hold on, wait" could pause a video at a conversational "wait, what?".
Change
public/app.js: a video pause, resume or stop is skipped when don't / do not / no / never comes up to two words before the matched phrase. Claude still sees the line. "No, keep going" still resumes because the comma ends the negation, but a transcript that drops the comma ("no stop the video") is now left to Claude.public/app.js: the think call skips its pause, stop or same-video replay only for commands from after the last look and before the call started (videoCmdAt > lastLook && videoCmdAt <= now), so it only skips moves the call could have seen.agent.js: the pause_video line now reads "only when someone asks you to pause the video ("hold on", "wait") or to resume it, not at a conversational "wait, what?"". Nothing else in the prompt changed.panel/panel.js: the feed says "Paused the video" / "Resumed the video".Screenshots
None: nothing visible changes on Cue's screen.
Verified
npm run checkpasses.?test=1,/api/thinkmocked), 13/13 checks passed. With a video up, "don't stop it", "do not close it", "don't pause", "never pause the video" and "no don't stop the video" left it playing, and "don't resume yet" left it paused. "Cue, pause" and "Cue, no, keep going" worked. "Cue, pause it" started a call that returnedstop_video, and the page skipped it. A pause spoken while a slow call was in flight paused the video, and that call'sstop_videostill applied when it returned.Review
Review: pending (manager). This PR touches agent.js.
🤖 Generated with Claude Code