Skip to content

Remove unused keptThoughts (#687) - #689

Merged
aisixteen-fantastic-team[bot] merged 1 commit into
mainfrom
rig/b687
Nov 15, 2026
Merged

aisixteen-fantastic-team[bot] merged 1 commit into
mainfrom
rig/b687

Conversation

@aisixteen-fantastic-team

Copy link
Copy Markdown
Contributor

Closes #687.

  • chat_view.html: keptThoughts removed. It had no caller since AI chat view in the mock's look, with rendering tests (#609) #680; the view calls thoughtsOf on rows it already read.
  • chat_view_logic.test.ts: thoughtsOf takes keptThoughts' place in the test api. The paging test now checks thoughtsOf(await readHead(call, 2)), with the same assertions, including the null answer.

Written by the team's CLI on the rig (Sonnet 5.5 lead, one Haiku 5.5 worker) as a paid trial run.

Checked on the laptop: node --test tests/chat_view_logic.test.ts 19/19, all canvas node tests 561/561, canvas typecheck clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XC62LX3AUpPAHPUXeDZTmz

The view calls thoughtsOf on rows it already read; keptThoughts had no caller since #680.
Its unit test now checks thoughtsOf(readHead(...)) with the same assertions.
Written by the team (Sonnet lead, Haiku worker) on the rig.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XC62LX3AUpPAHPUXeDZTmz
@aisixteen-fantastic-team
aisixteen-fantastic-team Bot merged commit 27ee852 into main Nov 15, 2026
@aisixteen-fantastic-team
aisixteen-fantastic-team Bot deleted the rig/b687 branch November 15, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chat_view.html: keptThoughts has no caller since #680

0 participants