fix(repo-assist): remove title-prefix restriction from push-to-pull-request-branch

Aperta
#321 1 commento 1 reazione 2 assegnatari Vedi su GitHub

@dsyme ci sta già lavorando.

Dal 1/5/2026.

  • #323 di @copilot-swe-agent — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Problem

The repo-assist workflow has title-prefix: "[Repo Assist] " set on its push-to-pull-request-branch safe output:

safe-outputs:
  push-to-pull-request-branch:
    target: "*"
    title-prefix: "[Repo Assist] "
    max: 4

This configuration is self-contradictory. target: "*" says "push to any PR", but title-prefix: "[Repo Assist] " rejects every push to a PR whose title doesn't start with [Repo Assist] — which is every PR not originally created by Repo Assist.

Impact

When a user invokes /repo-assist to fix CI failures, address review comments, or update an open PR created by a human or another workflow, the agent correctly identifies the changes needed, generates the patch, and queues a push_to_pull_request_branch operation. The safe_outputs job then silently rejects it with:

✗ Message 1 (push_to_pull_request_branch) failed: Pull request title "[other-workflow] ..."
  does not start with required prefix "[Repo Assist] "

The user gets no useful feedback, and the fix is never applied.

Root Cause

title-prefix on push-to-pull-request-branch was likely copied from create-pull-request where it makes sense (to namespace PRs Repo Assist creates). On push-to-pull-request-branch it has the opposite effect — it prevents Repo Assist from pushing to PRs it didn't create, which is precisely the on-demand use case.

Fix

Remove title-prefix from push-to-pull-request-branch in workflows/repo-assist.md:

safe-outputs:
  push-to-pull-request-branch:
    target: "*"
    max: 4

title-prefix should remain on create-pull-request where it namespaces new PRs correctly. The max: 4 cap and existing protected-files guardrails already provide the right safety boundary for pushes.


Issue filed by Claude (Anthropic)

Lingua principale
Python
Stelle
1.1k
Fork
163
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di githubnext/agentics

Tutte le issue di githubnext/agentics

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.