Skip to content

Choose the slices and their order #232

Closed

Description

@jtklein-agents

Question

Which files make one leaf ticket each, how are store/Run.js (1,675 lines) and store/RunOptions.js (873 lines) sliced, and in what order do leaves land? Does the preload land first so the bridge type exists, and where do the three src/common parsers go?
Also: which leaf adds types for lodash and d3-array, and whether as @types/* packages or module declarations?

Activity

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

    @jtklein-agents
    OwnerAuthor

    Resolution

    Seventeen leaves. A leaf is one pull request holding one or several whole files, grouped by family. No file is split or partly converted, so store/Run.js is one leaf on its own.

    # Leaf Files Lines
    1 No-implicit-any check and lint rules scripts/typecheck-baseline.js, .eslintrc.cjs, a parse-filepath declaration, 4 lint fixes in src/app/components n/a
    2 Renderer bridge type and preload src/common/rendererBridge.ts (new), src/preload/index, src/app/bootstrap.ts, type exports in src/main 186
    3 Option base store/Option 76
    4 Alignment parsers src/common/fastaParser, phylipParser, typecheckAlignment 409
    5 Page helpers paths, report, githubIssue, promisedComputed, store/host 194
    6 Store bases store/StoreBase, InputFile, AstralTree, Config, AppStore, Citation 422
    7 Alignment and part options store/AlignmentOptions, PartOptions 339
    8 Run options store/RunOptions 873
    9 Partition family store/FinalPartition, Partition 303
    10 Final alignment store/FinalAlignment 224
    11 Alignment store/Alignment 463
    12 Run store/Run 1,675
    13 Run list and store entry store/RunList, store/index 113
    14 Input-file cards AlignmentCard, AstralTreeCard, TreeCard, PartitionFileCard, PartitionEditor 1,021
    15 Run panels Input, Model, Output, Raxml, Console, CitationModal 945
    16 App shell components/ErrorDialog, App, index 733
    17 Close-out build config leftovers, docs, scripts/page-store-coverage.js n/a

    Paths without a folder are under src/app. Line counts are from master at b0d2729.

    Order. Only these edges are fixed:

    • Leaf 1 first, leaf 2 second.
    • Leaf 3 before leaves 7 and 8.
    • Leaf 16 after every other conversion leaf.
    • Leaf 17 last.

    Everything else may land in any order or in parallel. Parallel leaves collide in two shared files, scripts/typecheck-baseline.txt and src/common/rendererBridge.ts; small merge conflicts there are accepted.

    Other decisions

    • Untyped packages: @types/lodash and @types/d3-array as dev dependencies, each added by the first leaf that converts an importer. lodash is imported by leaves 10 and 12; d3-array by leaf 8.
    • The empty baseline: leaf 1 changes scripts/typecheck-baseline.js so an empty baseline file passes. The mechanism stays. The last 4 baseline lines are in App.js (leaf 16) and store/index.js (leaf 13).
    • scripts/page-store-coverage.js is deleted by the close-out leaf. It finds store members by decorator, the store has none since MobX 7, and nothing runs it.

    Consequences from the inventory, per leaf

    • src/pageNodeImports.test.js reads three files by fixed path: store/Alignment.js (leaf 11), store/Run.js (leaf 12), app/index.js (leaf 16). Each leaf updates its line.
    • The direct prop-types dependency leaves package.json in whichever of leaves 14, 15, 16 deletes the last import.
    • Close-out covers electron.vite.config.js (moduleTypes: { '.js': 'jsx' } and the babel option kept for JSX in .js), the tracker and coding-standards doc edits not already made by leaves 1 and 2, and any TODO.md note.
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