Skip to content

Remove blanket bot-author filter from dispatch shim issue comments #8894

Closed

Description

@ifireball

What happens

The dispatch job in the checked-in .github/workflows/fullsend.yaml and its source template internal/scaffold/fullsend-repo/templates/shim-per-repo.yaml rejects every bot-authored issue_comment before calling the reusable dispatcher. A registered role bot's /fs-do comment therefore cannot reach the mint-backed authorization path being tested in #8414 (PR #8824).

What should happen

The shim should forward /fs- issue comments regardless of actor type. The dispatcher can then apply the provider-backed bot-role authorization from #8414: registered bots may reach matching harnesses; unregistered bots and failed lookups are denied.

Scope

  • Remove only the blanket github.event.comment.user.type != 'Bot' predicate from the dispatch job in both workflow copies.
  • Keep the /fs- prefix filter, scaffold-install branch exclusion, separate human-only /fs-fix-stop job guard, and legacy Bash stage guards.
  • Keep Go authorization and the behavior-test matrix in Consolidate platform actor authorization into one behavior matrix #8414. Do not expand this issue into other shim filters or event types.

Verification

A bot-authored /fs-do comment reaches reusable dispatch; a non-/fs- comment remains filtered; /fs-fix-stop remains human-only. The registered, unregistered, and lookup-failure dispatch outcomes are verified in #8414.

This workflow prerequisite blocks #8414 and is distinct from the OIDC/mint URL wiring completed in #8814.

Activity

  1. fullsend-ai-triage commented on Oct 28, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 9:55 PM UTC · Completed 9:57 PM UTC

    Commit: cc4fa1c · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.17

  2. self-assigned this
    on Oct 28, 2026
  3. added
    triaged
    on Oct 28, 2026
  4. fullsend-ai-triage commented on Oct 28, 2026

    @fullsend-ai-triage

    Triage summary

    The request is well specified. Both the checked-in workflow and the scaffold template carry the bot-type predicate in the dispatch job's if:. Each file also has a similar predicate in the stop-fix job. That one must stay, because /fs-fix-stop is intended to be human-only.

    Related work: No open PR addresses this issue. PR #8824 and issue #8414 depend on this change rather than blocking it, so this issue has no prerequisites.

    ⚠ Manual intervention required: The fix edits files under .github/workflows/ and the shim template that generates them. The code agent can't modify workflow files under current permissions, so a human PR or maintainer action is needed. Automatic code-agent dispatch is skipped for this reason.

    Suggested test case

    Parse the dispatch job's if: expression in both the checked-in workflow and the scaffold template.
    - It must still contain the '/fs-' prefix check and the scaffold-install branch exclusion.
    - It must not reference comment.user.type.
    - The stop-fix job's if: must still exclude Bot authors.
    - The two copies must agree on the dispatch condition.
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  5. added a commit that references this issue on Nov 1, 2026
  6. added 2 commits that reference this issue on Nov 2, 2026
  7. added 2 commits that reference this issue on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triaged

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions