You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How the test files group into conversion tickets after the swap #294
After the swap ticket, 66 test files (62 under src/, 4 in e2e/helpers/) and 5 support files in src/test/ convert to TypeScript. The first conversion ticket is fixed: the support files and the bridge helper. How do the rest group into tickets sized for one agent session each: by directory (src/app/store has about 40 files), by what the tests need (bridge users, React-rendering .jsx, main process, shell-config, e2e helpers), or by a file-count cap? Which tickets block which, and which can run in parallel on the spec branch? Which ticket carries the tsconfig.json include and the wider second pass of scripts/typecheck-baseline.js for e2e/?
Group by what the tests need, about 1,200 lines of test code per ticket at most. After the swap ticket, the spec has ten conversion tickets and one closing ticket. Line counts are from master at 2044cbc.
#
Ticket
Files
Lines
1
Support files and bridge helper (src/test/)
5
145
2
Main-process tests (src/main/)
12
694
3
Shell-config tests (src/*.test.js) and e2e helper tests (e2e/helpers/)
10
927
4
Page tests outside the store (src/app/, src/app/components/), including .jsx → .tsx
8
471
5
Store: alignment
6
1,191
6
Store: partition
3
906
7
Store: run computeds, options and input actions
3
1,063
8
Store: run lifecycle, run list, start and cancel
4
817
9
Store: substitution, tree, model and input-file options
9
1,063
10
Store: citation, host, menu and the small bridge-call tests
11
626
11
Closing ticket
n/a
n/a
Store files per ticket (all under src/app/store/, names without .test.js):
Bridge helper adoption: each conversion ticket replaces the direct window.rendererBridge = … assignments in its own files. Ticket 1 does not touch the other tests.
Blocking: the swap blocks everything. Ticket 1 blocks tickets 4 to 10. Tickets 2 and 3 depend only on the swap and can run in parallel with ticket 1 and each other. Tickets 4 to 10 touch separate files and can run in parallel once ticket 1 is merged. Ticket 11 is blocked by all the others.
e2e typecheck wiring: ticket 3 carries the tsconfig.json include for e2e/helpers/*.test.ts and the wider second pass in scripts/typecheck-baseline.js.
Closing ticket: narrows the Vitest include to .ts and .tsx, fixes the "Jest owns *.test.js" comment in e2e/playwright.config.js, and checks the destination's done list.
Agent docs:docs/agents/checks.md, AGENTS.md and CODING_STANDARDS.md are kept out of git on the driving dev's clone, so no pull request carries them. The swap ticket's body lists the exact doc edits as a checklist to apply in the main checkout when the swap merges, so the docs describe Vitest before the conversion tickets start.
Rejected: one ticket per directory, which leaves a single 5,600-line store ticket.
Activity
jtklein-agents commentedon Nov 22, 2026
Resolution
Group by what the tests need, about 1,200 lines of test code per ticket at most. After the swap ticket, the spec has ten conversion tickets and one closing ticket. Line counts are from
masterat2044cbc.src/test/)src/main/)src/*.test.js) and e2e helper tests (e2e/helpers/)src/app/,src/app/components/), including.jsx→.tsxStore files per ticket (all under
src/app/store/, names without.test.js):alignmentStore,AlignmentOptions,finalAlignment,parseAlignment,loadAlignment,writeConcatenatedAlignmentPart,Partition,loadPartitionFileRun.computeds,RunSimpleOptions,runInputActionsrunLifecycle,RunList,startRun,cancelRunsubstitutionOptions,treeFileOptions,InputFile,modelSelection,OutGroup,Option,astral,loadTree,loadAstralTreecitationConfig,pageStoreGaps,host,menu,checkOutputName,selectOutputDir,showItemInFolder,openPath,provideStateReport,readText,versionRules
window.rendererBridge = …assignments in its own files. Ticket 1 does not touch the other tests.tsconfig.jsoninclude fore2e/helpers/*.test.tsand the wider second pass inscripts/typecheck-baseline.js.includeto.tsand.tsx, fixes the "Jest owns*.test.js" comment ine2e/playwright.config.js, and checks the destination's done list.docs/agents/checks.md,AGENTS.mdandCODING_STANDARDS.mdare kept out of git on the driving dev's clone, so no pull request carries them. The swap ticket's body lists the exact doc edits as a checklist to apply in the main checkout when the swap merges, so the docs describe Vitest before the conversion tickets start.Rejected: one ticket per directory, which leaves a single 5,600-line store ticket.