Skip to content

Main process and app files under strictNullChecks #409

Done

Description

@jtklein-agents

Parent

Spec: strict TypeScript

What to build

The remaining production files outside the store type-check under strictNullChecks, while the flag stays off.

Acceptance criteria

  • src/main/processHelpers.ts handles proc.stdout and proc.stderr being null without !.
  • src/main/modelSelection.ts, src/app/paths.ts and src/app/bootstrap.ts (the array that infers as never[]) type-check under --strict.
  • Production code uses ! only with a one-line comment giving the reason.
  • A fix that would change what the user sees is filed as its own bug issue instead.
  • tsc --noEmit -p tsconfig.json --strict shows zero errors in the non-test files this ticket touches, and a total no higher than before; both counts are in the PR description.
  • yarn verify passes.

Activity

  1. added
    ready-for-agent
    on Nov 27, 2026
  2. jtklein-agents commented on Nov 27, 2026

    @jtklein-agents
    OwnerAuthor

    Merged into spec/406-strict-typescript via #412.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions