-
Notifications
You must be signed in to change notification settings - Fork 0
Running It
Save the four pages as local .md files, then:
export KIT=~/astryx-review-loop # where you saved them
export ASTRYX_MAIN=~/astryx # any checkout; the loop only reads itSpawn an agent with:
Read
$KIT/Reviewer-Brief.mdand$KIT/Critic-Rules.mdin full and follow them. Then review facebook/astryx PR #NNNN. Do the loop: draft → critique yourself against R1–R15 → rewrite → critique the rewrite. Read-only: post nothing, push nothing. Return the output block the brief specifies.
One PR per agent. That is the whole interface — no install, no dependencies
beyond gh and whatever the repo already needs.
1. Order of consequence. Four levels; the review spends itself on the highest unsettled one.
- Is this the right thing to do at all?
- Is this the right way — shape, where behavior lives, what surface it adds?
- Does it actually work?
- What else does it need — docs, tests, changeset?
When level 2 is open, level-4 findings are churn against code that may not survive. Say that instead of listing them.
2. Run the thing. Every genuinely useful bug this found came from executing code, not reading it:
- a mask engine that turned
555into11555, because a literal digit in the pattern round-tripped as data - a number input that committed
1239when you typedathen9— the rejected keystroke threw the caret to the end - a token retune that made three shipped themes unreadable (contrast 8.33 → 1.40)
- an
text-overflow: ellipsisthat never fired once across 11 layout cases, because the parent flex child could not shrink
None were visible in the diff.
3. Hard word caps. Approve summary ≤30 words, request-changes ≤150, inlines ≤20. Drafts fail this constantly, and the fix is always to delete a finding, never to compress the prose.
- Taste in what to flag. It converges on form fast and on judgment slowly. On one PR it missed the finding a maintainer caught in ten seconds.
- It over-blocks. Left alone it turns "would be nice" into "must", demands refactors before merge, and leads with duplication nobody cares about. Half the rules in the critic exist to stop that.
- It escalates too readily. A reviewer that sends every design question to the TL is the same bottleneck with extra steps.
-
Author bucket drives the verdict.
.github/ENGOWNERSand.github/DESIGNOWNERS→ approve-with-nits; everyone else → request-changes, because they cannot merge and the review has to carry their loop. - The rubric is the bar. The Component Audit Rubric wiki page is the single source of truth for what counts as a defect. The agent cites check ids to itself and never puts them in a posted comment.
- The PR Analysis Report already posts bundle size, the a11y audit and preview links, so any evidence comment is gap-filler only. Screenshots are usually the real gap.
-
Never review from a stale checkout.
git fetch originand read viagit show origin/main:<path>. -
Screenshots publish to an
assets/pr-<NNNN>orphan branch on your own fork, never on the upstream repo.
Every posted review ends with exactly:
[Reviewed by Robohands]
Nothing else — no "generated by", no disclaimer, no model name.
The nightly meets one PR at a time, so a set is resolved across two passes (R6d).
- Night 1 — discover and hold. The radius question turns up a competitor. Review this PR fully anyway, then post nothing. Record the page, and add the pair to a Conflicting PRs section in the run report: both numbers, the shared issue, the axis they differ on, which you expect to win.
- Night 2 — review the other, then resolve. Same standard, on its own merits. Then post both judgements in one run, winner first.
- Read the Conflicting PRs section before picking work, every night. An entry that has waited two passes takes priority over anything new.
Exception: a competitor that already merged is not a set — same-night close naming the merged commit.
Never post a decline that names a replacement nobody has read.