š fix: the asks job starts on a member's comment alone
Merged
AT
25d ago+45+45+01234567890123456789-11-11-01234567890123456789
Slice: #99
Follow-up to #177, found by Cubic on athya_mono's v0.5.28 pin:
- Before: the client's
process-rules-asksjob, which may write to issues and pull requests, started on any comment containingNeeds you:,Proposal:orDecision:, whoever wrote it.needs-owneritself acts only on the agent's ask and the owner's answer (src/asks.ts), so no outsider's comment wrote anything; it only ran the job. - Now: the job's
ifalso needs the comment'sauthor_associationto beOWNER,MEMBERorCOLLABORATOR. AthyaBot comments on athya_mono asMEMBER. - Upgrade: onboard rewrites a 0.5.28 asks job's condition when it moves the pins. The plan says "needs-owner job only for members".
pnpm check: 1007 tests pass; coverage 99.43% lines, 97.45% branches.
š¤ Generated with Claude Code
Summary by cubic
Fixes the process-rules-asks job so an outsider's comment no longer starts it. The trigger now requires the comment's author to be an OWNER, MEMBER or COLLABORATOR; needs-owner labeling itself is unchanged, since it already acted only on the agent's ask and the owner's answer.
Migration
- When repinning,
onboardadds the author check to a 0.5.28process-rules-asksjob's condition, planning it as "needs-owner job only for owners, members and collaborators".