-
Notifications
You must be signed in to change notification settings - Fork 26
Add auto-implement label that skips triage and opens a draft PR #447
Copy link
Copy link
Open
Labels
area:workflowGitHub workflows, Python automation, or Oz integrationGitHub workflows, Python automation, or Oz integrationenhancementNew feature or requestNew feature or requestready-to-implementIndicates that an issue is ready for a code implementation coupled with the associated plan.Indicates that an issue is ready for a code implementation coupled with the associated plan.repro:highThe report looks highly reproducible from the available informationThe report looks highly reproducible from the available informationtriagedInitial Oz triage has been completed for this issueInitial Oz triage has been completed for this issue
Metadata
Metadata
Assignees
Labels
area:workflowGitHub workflows, Python automation, or Oz integrationGitHub workflows, Python automation, or Oz integrationenhancementNew feature or requestNew feature or requestready-to-implementIndicates that an issue is ready for a code implementation coupled with the associated plan.Indicates that an issue is ready for a code implementation coupled with the associated plan.repro:highThe report looks highly reproducible from the available informationThe report looks highly reproducible from the available informationtriagedInitial Oz triage has been completed for this issueInitial Oz triage has been completed for this issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Motivation
Today, every newly-opened issue routes through
triage-new-issues. Maintainers who already know an issue is implementation-ready have to wait for triage, then move the issue throughready-to-spec/ready-to-implement(and assignoz-agent) before the bot will start work.We want a single label —
auto-implement— that says "skip triage and spec, just implement this and open a draft PR." The motivating use case is trusted intake pipelines: a verified Warp team member, or a verified-scope social-media bot that files issues on behalf of real users, applies the label at issue-creation time so the bot dispatches in one step.Desired behavior
When an issue is filed (
issues.opened) with theauto-implementlabel pre-applied:triage-new-issues.create-implementation-from-issuedoes today forready-to-implement+oz-agent-assigned issues.Trust model
GitHub already restricts label application to repository collaborators (or bot identities granted that permission). That is the trust boundary — anyone who can apply
auto-implementis by definition authorized to bypass triage. As a consequence:issues.openedflow drops bot-authored issues; that drop needs to be bypassed whenauto-implementis present.)oz-agentassignee precondition. The label itself is the gate.Scope / non-goals
issues.openedonly. Addingauto-implementto an existing issue after the fact should be a no-op. Existing labels (ready-to-spec,ready-to-implement) already cover the "promote later" case.create-implementation-from-issueworkflow already opens a draft PR, auto-assignsoz-agent, posts a progress comment, and surfaces the session link via the cron poller. The change should be limited to routing.auto-implementGitHub label itself; operators add it to repositories that want this behavior.Acceptance criteria
auto-implementlabel →create-implementation-from-issuedispatched, no triage comment posted.auto-implementlabel by a bot account → still dispatched.auto-implement→ existing triage behavior unchanged.auto-implementto an existing issue → no dispatch (logged + dropped, like other unhandled labels).tests/test_routing.py.core/routing.pyupdated to mention the new label.