Repository navigation
Main process and app files under strictNullChecks - #412
Merged
jtklein-agents merged 1 commit intoNov 27, 2026
Merged
jtklein-agents merged 1 commit into
jtklein-agents merged 1 commit into
Conversation
processHelpers optional-chains the stdout/stderr pipes, modelSelection throws explicitly on a missing best-model match (same catch, same user message), paths falls back on pop(), bootstrap spreads instead of [].concat. --strict errors: 149 -> 142, zero in these files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jtklein-agents
merged commit Nov 27, 2026
4e12a35
into
spec/406-strict-typescript
7 of 10 checks passed
6 tasks
jtklein-agents
deleted the
409-main-process-and-app-files-under-strictnullchecks
branch
November 27, 2026 19:49
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 #409
Summary
No
!added. Before this change, a missing modeltest-ng match threw aTypeErroronnull[1]. Now it throws an explicitError. Both land in the samecatch, so the user sees the same "Couldn't parse best models" error. Only the console log text changes.Evidence
tsc --noEmit -p tsconfig.json --strict:processHelpers.ts(2× TS18047),modelSelection.ts(2× TS2531),paths.ts(TS2322, TS2345),bootstrap.ts(TS2769).After: 142 errors total, 0 in the touched files.
yarn verify: lint, typecheck and 72 files / 497 tests pass.Merge Danger
Door: two-way
Blast Radius: none
The changes only narrow types. The model-selection failure message and the run output streaming behave the same as before.
🤖 Generated with Claude Code