Repository navigation
Conversation
…, for #50 Most ticks of a meeting need nothing on screen, yet each one paid for a full Claude call (about 1.6 s and $0.002) just to answer "stay quiet". Jev answers that one question in about 230 ms for about $0.00002, so it now runs first. Claude gets the tick only when Jev isn't confident the answer is no (p(quiet) < JEV_QUIET_AT, 0.7). The reflex must never cost a request: being addressed ("Cue, ...", which the page now sends as `addressed`, or a wake word in the last 3 lines) skips it, and any error or a slow answer (over 2.5 s) goes on to Claude. In the replay, Jev settled 10 of 22 quiet ticks with none wrong and no action tick blocked. Tyler wants Cue in the hackathon's System One track. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 13, 2026
4 tasks
This was referenced Nov 13, 2026
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 #50
Why
Tyler wants Cue in the hackathon's "Best Use of System One Models" track (closes 3:00 PM PST today). Cue has a natural System 1 job. Every few seconds it must decide whether anything should go on the shared screen, and the answer is usually no. Until now each of those "no"s cost a full Claude call, about 1.6 s and $0.002.
Flag for Tyler: this adds OpenRouter (Jev) as an outside service with its own key.
OPENROUTER_API_KEYis now in the root.envon Tyler's laptop, copied from jev-score's.env.local.Change
typesafe/jev-1.13, OpenRouter's decisions API).agent.js'sjevGate()asks one scored question, "would putting something on the shared screen right now clearly help?", with the criteria No / Maybe / Yes. The state it gets: the newest 12 lines, CURRENT SCREEN and recent actions. Cue stays quiet only when Jev puts at leastJEV_QUIET_AT(0.7) on "No".addressed: truewith the request, and the server also checks the last 3 lines for a wake word.OPENROUTER_API_KEYis set.CUE_GATE=offturns it off.think()returnsgate: {model, score, confidence, quiet, ms, usd, act}. The server log adds[system 1 jev act|quiet Nms], and the console showsjev: quiet score … p(quiet) … conf …..env.example,CLAUDE.mdand thedocs/VISION.mdbudgets section say how the two systems split the work.Builds on #36 (merged), which owns
think()'s plumbing. Its Haiku gate (CLAUDE_GATE_MODEL) is left as it was.Screenshots
None: nothing visible on Cue's screen changes.
Verified
npm run checkpasses.SKIP_FILLER=1, gate on. Gate-off numbers are from Measure think calls; research in ~5 s at ~$0.90 an hour; write down the budgets #36's table:The projected hour barely moves because research ticks dominate the cost. The win is speed and calls avoided on the quiet half of the meeting.
Not checked: a real Recall call.
Review
Pending (manager). This changes
agent.jsandserver.js, so it needs an Opus review before merge.🤖 Generated with Claude Code