mozilla / mozilla/bugbug

Add a rule/guardrail mechanism for Hackbot actions

Open
#6,642 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

hackbot
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Description

Add a generic policy layer that can enforce rules across actions and agents, for example: no two try pushes in the same run, no two patch submissions in the same run, and refusing to submit a patch to a bug other than the one the run is assigned to.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping the Hackbot actions and agents that can perform try pushes and patch submissions, then identify where a shared policy layer could inspect those actions. Done means the layer can enforce the stated per-run limits and reject submissions for bugs other than the run's assigned bug.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.