Skip to content

Slice and order the strict TypeScript spec #405

Done

Description

@jtklein-agents

Question

How is the spec "strict TypeScript" sliced into ready-for-agent children, and in what order?

Inputs: the three decisions on Map: strict TypeScript (How Alignment and Run represent data that isn't parsed yet, How tests and InputFile build store objects without a parent, How option components type setValue under strictFunctionTypes), the map's rollout note (fix area by area with strict off, check each with ad-hoc tsc --noEmit -p tsconfig.json --strict on its files, flip last), and the 149-error starting point.

To settle: the slices (for example: parse boundary + store models; option components + prop types; main process and mechanical fixes; tests), their blocking order, which slice owns the flag flip and the removal of the redundant flags, and how each slice proves "no new errors in my files" while the flag is off.

Activity

  1. added
    wayfinder:grilling
    on Nov 27, 2026
  2. jtklein-agents commented on Nov 27, 2026

    @jtklein-agents
    OwnerAuthor

    Resolution

    Spec written: Spec: strict TypeScript, four children:

    1. Turn on strictFunctionTypes: generic OptionSelect, IPC event types, RunList listener; turns the flag on at once (its 9 errors all sit here), a deliberate exception to "flip last".
    2. Parse result and store models under strictNullChecks
    3. Main process and app files under strictNullChecks
    4. Strict tests and turn on strict mode: blocked by 1–3; sets "strict": true and drops the flags it covers.

    1–3 are independent. Proof while strictNullChecks is off: tsc --noEmit -p tsconfig.json --strict before and after, zero errors in the child's own non-test files, total not rising, both counts in the PR. Type-only: no new tests; yarn verify is the bar. The spec/406-strict-typescript feature branch is created by whoever implements the first child, per docs/agents/spec-branch.md.

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

Metadata

Metadata

Labels

wayfinder:grilling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions