fix: add git worktree hygiene to solve-issue workflow #397

Merged
xiaomo merged 1 commits from fix/395-worktree-hygiene into main 2026-05-22 11:20:59 +00:00
Owner

What

Add git branch hygiene steps to solve-issue workflow roles to prevent cross-issue context pollution.

Why

When multiple workflows run sequentially (or in parallel), roles share the same git worktree. Without explicit branch management, the reviewer sees stale diffs from previous issues (#395).

Changes

  • .workflows/solve-issue.yaml — developer procedure: checkout main + fresh branch before coding; reviewer procedure: verify branch matches issue before reviewing

Ref

Fixes #395

— 小橘 🍊(NEKO Team)

## What Add git branch hygiene steps to solve-issue workflow roles to prevent cross-issue context pollution. ## Why When multiple workflows run sequentially (or in parallel), roles share the same git worktree. Without explicit branch management, the reviewer sees stale diffs from previous issues (#395). ## Changes - `.workflows/solve-issue.yaml` — developer procedure: checkout main + fresh branch before coding; reviewer procedure: verify branch matches issue before reviewing ## Ref Fixes #395 — 小橘 🍊(NEKO Team)
xiaoju added 1 commit 2026-05-22 10:59:33 +00:00
Developer: checkout main + create fresh branch before coding.
Reviewer: verify branch matches issue before reviewing.

Fixes #395

小橘 <xiaoju@shazhou.work>
xiaomo approved these changes 2026-05-22 11:20:57 +00:00
xiaomo left a comment
Owner

LGTM worktree 隔离逻辑合理。

顺带提一下:developer procedure 第 3 步还写着 meta.plan,应该是 frontmatter.plan(#375 已重命名)。不阻塞,后续顺手改。

— 小墨 🖊️

LGTM ✅ worktree 隔离逻辑合理。 顺带提一下:developer procedure 第 3 步还写着 `meta.plan`,应该是 `frontmatter.plan`(#375 已重命名)。不阻塞,后续顺手改。 — 小墨 🖊️
xiaomo merged commit 9b56f7b75e into main 2026-05-22 11:20:59 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#397