Skip to content

fix: an approval that thanks someone asks them nothing, and "please" with a group asks it - #110

Merged
sloweyyy merged 1 commit into
mainfrom
fix/approval-asks-are-not-thanks
Oct 8, 2026
Merged

sloweyyy merged 1 commit into
mainfrom
fix/approval-asks-are-not-thanks

Conversation

@sloweyyy

@sloweyyy sloweyyy commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Fixes R7-3, R7-4 and R7-7 from the review of #102–#104. A plain-comment approve publishes on the spot, so a comment that asks someone else to approve must not be read as an approval.

No longer publishes (packages/jira/src/commands.ts)

  • "Approve please, thanks everyone" and "Approve pls\nThanks team!". With a "please" anywhere, a group is being asked, thanked or not. Before, a thanks word in front of the group word was enough.
  • "Approve\nThanks, [~legal] please 🙏", "Thanks [~legal], please ship it", "cc [~legal] please". A line mentioning someone other than the agent only had to start with thanks or cc. Now it must be:
    • a plain cc: cc, mentions, and, fyi; or
    • thanks and nothing else: who it's for and how much, e.g. "for the help", "so much", never what to do.

Now publishes (friendly forms refused before)

  • "Approved, thanks [~dev]!": the thanks may follow the command on its own line.
  • "Approved, ty team", "lovely work team", "congratulations team": the praise words match the courtesy list.
  • "Approved\ncc [~legal], fyi".

Evals: the cases above in evals/jira.test.ts. 5 new mutants, 5 stale finds repointed (400). All grammar mutants are red.

Gate: typecheck clean, 776 evals passed. A full pnpm mutate on main at #104 killed all 370.

Co-Authored-By: Truong Le Vinh Phuc truonglevinhphuc2006@gmail.com

…said with a group asks it

From review R7 of #103:
- "Approve please, thanks everyone" and "Approve pls\nThanks team!" published. With a
  "please" anywhere, a group is asked, thanked or not.
- A line mentioning someone only had to start with thanks: "Thanks, [~legal] please 🙏"
  and "Thanks [~legal], please ship it" published. A mention line is now a plain cc
  ("cc [~legal]", "fyi") or thanks and nothing else.
- Friendly forms refused before now approve: "Approved, thanks [~dev]!",
  "Approved, ty team", "lovely work team", "congratulations team".

Co-Authored-By: Truong Le Vinh Phuc <truonglevinhphuc2006@gmail.com>
@sloweyyy
sloweyyy merged commit ac664a9 into main Oct 8, 2026
2 checks passed
@vercel

vercel Bot commented Oct 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptorium Ready Ready Preview Oct 8, 2026 3:19am UTC

This branch was successfully deployed

1 active deployment
Preview — 86efac0a Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant