Repository navigation
Done
4 / 44 of 4 issues completedLabels
wayfinder:mapWayfinder map
Description
Destination
A ready-for-agent spec ticket whose children end with "strict": true in tsconfig.json, the now-redundant noImplicitAny, noImplicitThis and strictBindCallApply lines removed, and yarn typecheck passing with no new @ts-ignore or @ts-expect-error. An implementer can pick up each child without asking anything else.
Notes
- Settled while charting:
- The destination is a spec, run like Spec: Electron build and runtime packages current on a
spec/<n>-…feature branch. - One tsconfig. Test files (
*.test.ts(x),src/test/,e2e/helpers) are held to strict too. - Type-only changes are in scope (narrowing, guards that keep behavior). A real bug that strict mode exposes and whose fix changes what the user sees is filed as its own
bugissue, not fixed here. - Rollout: children fix one area at a time with
strictstill off, each checked with an ad-hoctsc --noEmit -p tsconfig.json --strictlimited to its files; the last child flips the flag. Notypescript-strict-plugin, no second tsconfig. - Non-null assertions: production code narrows for real and uses
!only with a one-line why comment; tests may use!.
- The destination is a spec, run like Spec: Electron build and runtime packages current on a
- Starting point (2026-11-27, at
2dbadc8):--strictgives 149 errors. 141 come fromstrictNullChecks(about 100 in tests; production hot spotssrc/app/store/Alignment.ts,Run.ts,Option.ts,PartOptions.ts,InputFile.ts), the rest fromstrictFunctionTypes(ipcMain.handlehandlers typedIpcMainEventinsrc/main/api.ts, theRunListlistener,src/test/setup.ts, and theApp.tsx/AlignmentCard.tsxprop errors from optionsetValuevariance).strictPropertyInitializationanduseUnknownInCatchVariablesadd nothing. - Mechanical fixes (IPC event types,
proc.stdoutnull,paths.ts,modelSelection.ts,StoreBaseoptional call) need no decision ticket; they go straight into the spec's slices. - Grilling tickets use the grilling and domain-modeling skills. Read
docs/agents/checks.mdfor the typecheck anddocs/agents/spec-branch.mdfor the spec branch.
Decisions so far
- How Alignment and Run represent data that isn't parsed yet: typechecked parse result with required fields at the main/common boundary; store keeps late-set fields
| undefinedand widensAlignmentLike/PartitionAlignment/Run.dataTypeto match, readers narrow; can't-miss lookups throw anError; the protein-matrixexecmiss is a separate bug. - How tests and InputFile build store objects without a parent: no production code lacks a parent;
InputFile.rundrops its= nullinitializer,RunParentstays required, the threenew Run( null, … )tests use the existing{} as RunParentcast idiom; no shared factory. - How option components type setValue under strictFunctionTypes: generic
OptionSelectOptionLike<Value>and genericobserverOptionSelectwith one commentedas Valuefor MUI's change event; every embedding field names its value type, no default;OptionTextField/OptionCheckunchanged; method syntax rejected. - Slice and order the strict TypeScript spec: written as Spec: strict TypeScript with four children;
strictFunctionTypesturns on in the first, two parallelstrictNullChecksproduction slices, then tests plus"strict": true; type-only, no new tests.
Not yet specified
(none: slicing graduated into a ticket)
Out of scope
noUncheckedIndexedAccess,exactOptionalPropertyTypes, and other flags beyondstrict.- Dropping
allowJs/checkJs(no JS left insrc/); may ride along in the final child if trivial, but nothing here waits on it. - Enforcing the
!convention with@typescript-eslint/no-non-null-assertion; a possible small follow-up. - Behavior fixes for real bugs strict mode exposes; each becomes its own
bugissue.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 4 sub-issues
Metadata
Metadata
Assignees
Labels
wayfinder:mapWayfinder map
Activity
jtklein-agents commentedon Nov 27, 2026
All decisions resolved; spec #406 landed upstream in AntonelliLab#530.