Commit 9d0319d
polish: address final-review minors before merge
Four single-line cleanups flagged by per-task and final reviewers:
- types.ts:95 — playerProfiles JSDoc said "ignored" but engine merges AI keys.
Reword to match actual behaviour (the spec prose at §4.2 already documents
this as "merged but Setup UI doesn't surface them").
- ai/dispatcher.test.ts:69 — tighten /human/i to /planAi.*human/i so the test
fails if the planAi guard is removed (previously dispatch.ts's existing
throw also matched /human/i).
- ai/lookahead.test.ts:88 — drop redundant duplicate planAi() call inside the
not.toThrow wrapper. The next-line assertion already exercises the call.
- ai/lookahead.test.ts:94 — let s → const s; s is never reassigned.
160/160 tests still green. Typecheck clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 85140d9 commit 9d0319d
3 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
0 commit comments