fix(repo-assist): remove title-prefix restriction from push-to-pull-request-branch
評価
この issue はまだ評価されていません。
説明
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)
- 主要言語
- Python
- スター
- 1.1k
- フォーク
- 163
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/agentics のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
githubnext/agentics#420 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
githubnext/agentics#402 ·
-
agentic-workflows automated documentation
難易度 1/5 1時間未満 初心者へのやさしさ 1/100
githubnext/agentics#419 ·
-
Frontendオープン
難易度 5/5 1週間以上 初心者へのやさしさ 1/100
githubnext/agentics#418 ·
-
[aw] Detection Runsオープンagentic-workflows
難易度 2/5 1時間未満 初心者へのやさしさ 8/100
githubnext/agentics#415 · コメント 1 件 ·
githubnext/agentics の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
bad-antics/lateralus-lang#1489 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 69/100
anderspitman/awesome-tunneling#330 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
scikit-hep/coffea#1668 ·