Skip to content

feat: Broad-Side zero-config slicing (#140) - #152

Merged
TheAmericanMaker merged 2 commits into
mainfrom
feat/140-broadside-zero-config-executive
Aug 24, 2026
Merged

feat: Broad-Side zero-config slicing (#140)#152
TheAmericanMaker merged 2 commits into
mainfrom
feat/140-broadside-zero-config-executive

Conversation

@TheAmericanMaker

Copy link
Copy Markdown
Member

The defect, conventions, and porting lenses now slice by auto instead of always per-directory:

  • A repo whose matching files fit within the lens's char cap collapses to a single whole-repo slice — one request instead of one per module.
  • A repo too large for one slice still splits by top-level directory (full coverage preserved).

The decision is deterministic from file sizes (a stat pass, not a full read) and recorded implicitly in the slice layout. Small repos stop paying per-module request overhead; large repos keep full coverage.

2 tests updated/added (small-repo collapse, large-repo directory split). 36 broadside tests, 396 total, all passing.

Closes #140. Note: this branch inserts a bullet at the top of the CHANGELOG 'Added' section, as do #149/#150/#151 — trivial list-merge conflicts expected on whichever merges later; keep all bullets.

The defect, conventions, and porting lenses now slice by 'auto' instead
of always per-directory. A repo whose matching files fit within the
lens's char cap collapses to a single whole-repo slice — one request
instead of one per module — while a repo too large for one slice still
splits by top-level directory. Small repos stop paying per-module
request overhead; large repos keep full coverage.

The decision is deterministic from file sizes (stat, not a full read)
and recorded implicitly in the slice layout. 2 tests updated/added
(small-repo collapse, large-repo directory split); 36 broadside tests,
396 total, all passing.
@TheAmericanMaker
TheAmericanMaker merged commit 4e455e9 into main Aug 24, 2026
5 checks passed
@TheAmericanMaker
TheAmericanMaker deleted the feat/140-broadside-zero-config-executive branch August 24, 2026 06:32
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.

Broad-Side: zero-config executive mode (auto lens + resolution selection)

2 participants