Skip to content

refactor: localize command surface modules#772

Open
thymikee wants to merge 3 commits into
mainfrom
refactor/localize-command-surface
Open

refactor: localize command surface modules#772
thymikee wants to merge 3 commits into
mainfrom
refactor/localize-command-surface

Conversation

@thymikee

@thymikee thymikee commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

Localizes command surface and runtime ownership into src/commands/<family>/..., leaving root command files as thin composition/public-barrel layers.

Moves runtime implementations, CLI output maps, batch projection, and command-owned unit tests into their owning command families. Provider integration scenarios stay under test/integration because they exercise daemon/provider harness contracts rather than one command module.

Touched 77 files; scope expanded from the initial sample families to all command families per request. Docs/skills were not updated because this is a pure refactor with no user-facing command behavior change.

Validation

Focused migrated-command Vitest suite passed: 26 files, 307 tests.

pnpm check:quick passed.

pnpm check:unit passed: 256 unit files / 2436 tests, plus 8 smoke tests.

@thymikee thymikee force-pushed the refactor/localize-command-surface branch from 0647fcf to f3d95ed Compare June 11, 2026 15:33
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.2 MB 1.2 MB -901 B
JS gzip 400.1 kB 396.6 kB -3.5 kB
npm tarball 519.3 kB 517.8 kB -1.5 kB
npm unpacked 1.7 MB 1.7 MB -901 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 29.0 ms 29.3 ms +0.3 ms
CLI --help 44.8 ms 54.6 ms +9.8 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/3793.js +134.0 kB +40.3 kB
dist/src/7847.js +10.4 kB +3.7 kB
dist/src/input-actions.js +9.4 kB +3.6 kB
dist/src/8173.js -9.3 kB -3.5 kB
dist/src/123.js -4.6 kB -1.8 kB

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant