feat(refactor-mercilessly): at each green, shrink what holds authority
From toybox's lend-the-mower example (dckc/vattr97#50): its boot vat held vatAdmin, bundles, and an ingress, and also rendered the yard page and routed its requests, all reached only by the Cloudflare test, and the kernel test re-implemented its wiring. Dan pointed at agoric-sdk's habit of small vat modules and `*.exo.js` makers, and at security as extreme modularity; splitting it out gave each piece a fast test. Peeling the kernel apart one example at a time, for the same PR, showed the coupling cost: removing one feature took edits across eight files. Dan's caveat shapes the commits rule: reviewers who knew the prior state want small diffs as they go, so fold refactors into history only when the audience changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
384a88899c
commit
6adb4bce33
2 files changed
+68
No files matched your search
@@ -28,6 +28,9 @@ Code](https://code.claude.com/docs/en/skills) and
|
||||
failure path leaves a trace in the logs.
|
||||
- [lazy-tdd](lazy-tdd/SKILL.md) — works the first time? fine. Goofed?
|
||||
You owe a test.
|
||||
- [refactor-mercilessly](refactor-mercilessly/SKILL.md) — at each
|
||||
green, move logic out of the modules that hold authority into small,
|
||||
fast-tested ones; keep refactors in commits of their own.
|
||||
- [docs-files-api](docs-files-api/SKILL.md) — README sells and gets
|
||||
you to TADA; CONTRIBUTING has the rest; AGENTS.md links to it.
|
||||
Exported API docs over file docs. Avoid chit-chat.
|
||||
|
||||
Reference in new issue
Block a user