Repository navigation
feat(loop): builders follow a reuse-first ladder ported from ponytail, and the critic walks it - #231
Merged
Merged
Conversation
The reviewer profile's first two values — every layer pays rent, built-in before library before own code — reached only review-pr. implement-ticket, address-review and fix-ci wrote with no reuse-first rule, so bloat was built and then reviewed out, once per PR, and SahajAtlasWeb#243/#247 show the critic passing it clean while the reviewer still asked about the aggregate. ladder.md is ponytail's core prompt (MIT, at 96608e0), trimmed to the rungs and the floor. A routine loads no plugin, so it is ported like change-outline.md rather than installed. implement-ticket and address-review also read the profile's Values, ranked before building; fix-ci takes the ladder alone, for its bug-fix rule. The floor is split by role: builders never remove trust-boundary validation, data-loss handling, security or accessibility, and never add machinery against an unmeasured harm. The critic's side follows in the next commit. Co-Authored-By: Claude Opus 5.5 <[email protected]>
review-pr's simplicity lens asked whether the diff was bigger than the ticket, but never named what made a new piece unnecessary. The profile's "every layer must pay rent" findings arrive as the reviewer's questions instead: "isn't there already a withRetry?", "any Vike plugin for this?". The critic now asks, for each file, function, type or dependency the diff adds, whether the repo, the platform or an installed package already does it, and files only an answer it can name. A named shortcut: is a decision. The check raises no test, scale or speed point, because the profile says the reviewer never does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The ladder, and ponytail in maintainers' local sessions, mark an accepted limit as `shortcut: <the limit>, <when to upgrade>`, and /ponytail-debt lists them. Nothing protected that marker: a Saturday comment sweep could collapse it, and comment-lint would flag one that happened to contain a banned phrasing such as "as requested". K6 in comment-protect.json keeps the limit and the trigger through any sweep (reworded is fine), comment-lint skips the line as it skips a ⚠, and the canonical rule names it beside the other protected comments. The four product-repo copies of the rule's canonical block follow in one PR each. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The simplicity angle looked for indirection, unused options and renaming
wrappers, but not for the duplicates ponytail's audit lists: two helpers
doing one job, and near-copies that must change together. The profile asks
the same question in review ("isn't there already a withRetry function?",
WeMeditateWeb#107); this lets Saturday find the ones already merged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ardnived
marked this pull request as ready for review
October 31, 2026 16:34
This was referenced Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
review-prwalks the same ladder for each new piece.shortcut:becomes a protected comment marker, and hygiene looks for duplicate helpers.Failure prevented: the profile's top two values ("every layer must pay rent", then built-in → library → own code) reached only the critic.
implement-ticket,address-reviewandfix-cihad no reuse-first rule. So bloat was built first and then reviewed out, one critic pass per PR. SahajAtlasWeb#243 and #247 passed that pass clean on every thread, and the reviewer still asked why the diff needed so many helpers.Change outline
Who reads the ladder
The floor, split by role
builder (ladder.md) never remove: trust-boundary validation, data-loss handling, security, a11y, anything asked for never add: unasked machinery against an unmeasured harm (rate limit, cache, dedupe, retry, redaction) critic (review-pr) the profile: the ladder check raises no test, scale or speed pointThe
shortcut:markerTest results
claude plugin validate ./workflow --strict, plusnode --test workflow/lib/*.test.mjs97/97, with a new K6 fixture.comment-lint.mjs --selftestpasses with a new sparing case.rule-delta.mjs --base origin/main workflow/skills: 89 → 90 directives. Added: "Never remove". No directive disappeared./security-review. There is no frontmatter orallowed-toolschange and no new script. The one new regex is an alternation (\bshortcut:) with no backtracking.Notes for reviewer
shortcut:lines to the copies' canonical block.comment-rule-sync.mjscompares the copies with each other, so all four move together.improve-loopkeeps refining a single file.fix-cigets the ladder only.implement-ticketstep 9 already demands a test that fails first for every changed behaviour.improve-loopgrades this PR. Over the next weeks, watch simplicity and reuse threads per PR (critic's and yours),address-reviewrounds per PR, and lines added per ticket.Detail
skills/ponytail/SKILL.mdin DietrichGebert/ponytail at96608e0(v5.3.3), MIT. The licence sits beside the copy asladder.LICENSE, and the README credits it.why.md#a-skill-can-name-a-plugin-no-routine-hasrecordedListPluginscoming back empty in 31 routine sessions. Maintainers run the plugin itself locally.ponytail-reviewwhole. Its test, scale and speed categories are areas the profile forbids. Its four-part findings overflow thereviewBodyandreviewReplybudgets. It would also repeat finalize-pr's/simplify+/code-reviewpass.ponytail-map.js. It's more code to maintain, and SahajCloud overflows its 2,000-character budget.CLAUDE.mdloading off. Against these repos' rules and profile, expect a smaller effect.🤖 Generated with Claude Code