Sync the fix-agent branch onto origin/main in a pre-script wrapper
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
Read the wrapper files introduced by PR #532 and the pinned upstream scripts/pre-fix.sh, along with the Fullsend v0.56.1 harness configuration. Trace how the existing pre-script delegates and how the post-script handles pushes; check the behavior for stale branches and conflicting rebases. Done means a live /fs-fix run meets all four validation criteria, including stopping on conflict without force-pushing; this needs a trusted runner and a human decision.
索引モデルが issue の本文から書いたものです。
説明
What happened
Agents bring their own branch up to date, and they do it wrong.
- PR #523: the agent ran a sync that placed copies of
maincommits on top of the pull request commits. The three-dot diff grew from one file to 28 files and +3227/-1924 lines. The copiedfix:commits then inflated the iteration counter. - PR #496: the branch lagged
mainby 73 commits. Review runs crashed on the removedcreate_issuesconfiguration key before the review agent started. The stale base also caused falseartifact.operation_missingfailures.
An agent cannot read main reliably, because the sandbox has no github.com egress.
Proposed change
Add a repository pre-script for the fix harness:
- Run the pinned upstream
scripts/pre-fix.shunchanged. - Run
git fetch origin main. - Rebase the workspace onto
origin/main. - Push the result, or leave the push to the existing post-script.
Fullsend v0.56.1 allows one pre_script per harness. A local override replaces the base value, so the wrapper must delegate to the upstream script. PR #532 already uses this wrapper pattern for the cache bootstrap. Extend those files instead of adding a second pre-script.
Why a human must decide
- The pre-script runs on the trusted runner and receives
PUSH_TOKEN. It can rewrite the pull request branch. - A rebase can produce conflicts that need a resolution policy.
- The behaviour cannot be verified in the sandbox. It needs one live
/fs-fixrun on a stale branch.
Validation criteria
- One live
/fs-fixrun on a branch that is behindmainstarts from a rebased workspace, and the pull request diff contains only the pull request files. - No merge commit authored by
fullsend-fixappears on the branch. - The upstream pre-script still parses
/fs-fixinstructions and enforces the caps. - A conflicting rebase stops the run with a clear message and does not force-push.
Related issues
- Blocked by #524. PR #532 introduces the wrapper files this change extends.
(AI generated)
- 主要言語
- Go
- スター
- 7
- フォーク
- 9
- 平均マージ
- 22時間 37分
- マージ済み PR(30日)
- 118
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-et/ProtoBot のほかの issue
-
bug component:validator triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
redhat-et/ProtoBot#596 · コメント 5 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation triaged
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
redhat-et/ProtoBot#589 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
redhat-et/ProtoBot#588 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
feature infra needs-human risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
redhat-et/ProtoBot#579 · コメント 6 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
blocked documentation infra risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
redhat-et/ProtoBot#552 · コメント 6 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
redhat-et/ProtoBot の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sresarehumantoo/cc-artex#456 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ollama/ollama#20021 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
factory:subtask
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
release
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
github/gh-aw-mcpg#17603 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tinygo-org/tinygo#6727 ·
メンテナーはふだん 1 日以内に返信