Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
notFrost
left a comment
There was a problem hiding this comment.
Lead review (Lukas). I verified this PR, then merged it into feat/bot-icon-timeline-server. It goes nowhere near custom-nightly. A formal approval wasn't possible because the account has no write-review permission.
Checks:
-
Fixtures only. Every added line is one of:
- the
DEFAULT_BOT_ICON_RULESimport, iconRules: DEFAULT_BOT_ICON_RULES,workingSince/deliveredAt/erroredAt: null.
The other changed lines are formatter reflow.
- the
-
Same tree as the contract commit. This branch's tree is identical to
0b4854811b's. That commit held these lines until Frost asked for them to be split out. -
Typecheck, run by me in the PR worktree:
vp run typecheckgives44/44 successful, exit 0. -
Tests, run by me: the three touched files pass, 28 of 28 tests.
These are the typecheck fixes Frost asked to keep in their own PR. The PR is stacked on the server branch because the new fields only exist there.
Part of notFrost/sophie#692.
Part A adds
iconRulesto the Bot record and three timestamps (workingSince,deliveredAt,erroredAt) to the roster entry, all required once decoded. Three client test files build those records by hand, so without these fields the repo typecheck fails. Frost asked to split these out so part A stays contract and server only.Only test data changes:
iconRules: DEFAULT_BOT_ICON_RULES(plus its import) in the Bot fixtures ofpackages/client-runtime/src/botForm.test.ts,packages/client-runtime/src/state/bots.test.tsandapps/web/src/components/bots/sidebarMode.logic.test.ts.workingSince: null, deliveredAt: null, erroredAt: nullon the hand-built roster entries instate/bots.test.tsandsidebarMode.logic.test.ts.No source files and no assertions change.
Tests
Repo typecheck (
vp run typecheck) on this branch:vp test run packages/client-runtime/src/botForm.test.ts packages/client-runtime/src/state/bots.test.ts apps/web/src/components/bots/sidebarMode.logic.test.ts:The pre-commit hook passed: fmt, lint and knip.
🤖 Generated with Claude Code