Skip to content

[Due for payment 2026-09-03] ProposalPolice hides comments from the assigned C+ / reviewers on Help Wanted issues #99101

Closed

Description

@MelvinBot

ProposalPolice™ (rewritten in #97199, merged 2026-08-19) is minimizing comments from C+ contributors and issue assignees, treating their coordination comments as SPAM.

Example: On #97159 it collapsed two comments as minimizedReason: spam:

  • shubham1206agra (assignee/C+), comment 5356254546: "@QichenZhu Would you like to take over here? Or propose a solution"
  • QichenZhu, comment 5356324187: "@shubham1206agra, I don't have a solution yet. If you don't mind, I can take over here and review"

It then posted a template-nag warning: #97159 (comment)

Root cause

The workflow (.github/workflows/proposalPolice.yml) only exempts Expensify employees, via Expensify/expensify-expensify team membership. C+ contributors and the issue's assignee are not exempt, so their comments run through the checks. Comments that don't match the proposal template get an LLM intent call; per prompts/proposalPolice/botActions.ts, SPAM is defined as "claims or bids for the job without offering any technical content," and the examples in prompts/proposalPolice/commentIntentExamples.ts don't cover assignee/reviewer coordination (asking someone to take over, offering to review). Those comments superficially resemble a no-technical-content job claim and are misclassified as SPAM, then collapsed via minimizeComment.

Suggested fix

  • Exempt the issue's current assignee(s) and C+ reviewers from ProposalPolice the same way employees are exempted, and/or
  • Teach the intent classifier that takeover/review coordination is NOT_AN_ATTEMPT rather than SPAM.

Affected comments should be un-minimized.

Reported in Slack.

Activity

  1. added
    Reviewing
    Weekly
    and removed
    Daily
    on Aug 24, 2026
  2. roryabraham commented on Aug 25, 2026

    @roryabraham
    Contributor

    Opened #99465 to fix this

  3. added
    Daily
    and removed
    Reviewing
    Weekly
    on Aug 27, 2026
  4. changed the title [-]ProposalPolice hides comments from the assigned C+ / reviewers on Help Wanted issues[/-] [+][Due for payment 2026-09-03] ProposalPolice hides comments from the assigned C+ / reviewers on Help Wanted issues[/+] on Aug 27, 2026
  5. melvin-bot commented on Aug 27, 2026

    @melvin-bot

    @roryabraham

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.62-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2026-09-03. 🎊

    The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the Contributor+ Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]. If no checklist is needed for this issue, you can click: [no checklist button]

  6. melvin-bot commented on Aug 31, 2026

    @melvin-bot

    @roryabraham Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  7. roryabraham commented on Sep 1, 2026

    @roryabraham
    Contributor

    This is done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Daily

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions