-
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 gate is whether every PR in the set has been reviewed, not a night boundary (R6d). Hold every judgement until the last one is in, then post them all at once, winner first.
- On detecting a competitor, promote it. The set is the unit now, and finishing it beats starting anything new. Room in the pass? Review it immediately and resolve tonight — that is the best outcome, not an exception.
- Carrying over. Record each page, post nothing, and log the pair in a Conflicting PRs report section: both numbers, the shared issue, the axis they differ on, which are reviewed, expected winner.
- Read that section before picking work, every pass. An unreviewed partner outranks anything new. A set waiting two passes is the failure this prevents.
The competitor gets a real review on its own merits — the bar goes UP on the one you are choosing, because a decline rides on it.
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.