Skip to content

docs: prefer design fixes over regression-only guards - #1722

Merged
thymikee merged 3 commits into
mainfrom
chore/tooling-simplicity-review
Aug 10, 2026
Merged

docs: prefer design fixes over regression-only guards#1722
thymikee merged 3 commits into
mainfrom
chore/tooling-simplicity-review

Conversation

@thymikee

@thymikee thymikee commented Aug 10, 2026

Copy link
Copy Markdown
Member

Summary

Prefer fixing recurring error classes at the owning interface over accumulating regression tests and custom guards.

The guidance asks contributors to make invalid states or paths impossible with types, registries, or a single construction path, then keep only the smallest interface-level regression as evidence. Reviewers should stop extending guards that reconstruct compiler or schema behavior and move the invariant to its source of truth instead.

Validation

Docs-only change across two files; runtime and device validation do not apply.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 2.13 MB 2.13 MB 0 B
JS gzip 695.5 kB 695.5 kB 0 B
npm tarball 826.8 kB 826.8 kB -22 B
npm unpacked 2.88 MB 2.88 MB -262 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 26.4 ms 26.8 ms +0.4 ms
CLI --help 65.2 ms 64.5 ms -0.8 ms

Top changed chunks: no changes in the largest emitted chunks.

@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-10 19:16 UTC

Comment thread scripts/tooling-simplicity-review-model.ts Fixed
@thymikee thymikee changed the title ci: require simplicity review for large tooling changes docs: prefer design fixes over regression-only guards Aug 10, 2026
@thymikee
thymikee merged commit fa9a350 into main Aug 10, 2026
28 checks passed
@thymikee
thymikee deleted the chore/tooling-simplicity-review branch August 10, 2026 19:15
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.

2 participants