Skip to content

refactor(issue-flow): move branch creation guidance to operations layer#896

Closed
liplus-lin-lay wants to merge 1 commit intomainfrom
891-move-branch-rules-to-operations
Closed

refactor(issue-flow): move branch creation guidance to operations layer#896
liplus-lin-lay wants to merge 1 commit intomainfrom
891-move-branch-rules-to-operations

Conversation

@liplus-lin-lay
Copy link
Copy Markdown
Collaborator

@liplus-lin-lay liplus-lin-lay commented Mar 27, 2026

Refs #891
Part of #889

変更内容

Issue_Flow 内のブランチ関連記述を operations レイヤー (Branch_And_Label_Flow) に移動。on_issue で読む内容を issue 管理に集中させた。

背景

Issue_Flow にブランチ操作のルール(sub-issue のブランチ制約、gh issue develop リンク先ルール)が混在していた。サブエージェントが on_issue で Issue_Flow を読むとき、ブランチ操作は on_branch で operations から読むのが自然。

変更の具体

Li+github.md (Issue_Flow)

  • 削除: sub-issue ブランチルール(L85-91: 「sub-issue にはブランチを作らない」「セッションブランチは親にリンク」等)
  • 削除: gh issue develop リンク制約の理由(L93-96)
  • 削除: Branch linking セクション(L142-144: 「gh issue develop は子 issue に対して実行」)
  • 追加: 各所に see Li+operations.md Branch_And_Label_Flow の参照

Li+operations.md (Branch_And_Label_Flow)

  • 追加: Sub-issue branch rules サブセクション(sub-issue にはブランチを作らない、セッションブランチは親にリンク等)
  • 追加: Branch linking target(gh issue develop は子 issue に対して実行、理由付き)

docs/2.-Task.md

  • sub-issue セクション: inline のブランチルールをオペレーション層参照に置換
  • ブランチリンクセクション: 同上

docs/3.-Operations.md

  • ブランチ作成セクション: sub-issue ブランチルールとリンクターゲットルールを追加

Copy link
Copy Markdown
Collaborator

@smileygames smileygames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

とりあえずOKだけど修正が必要になったな。

Copy link
Copy Markdown
Collaborator

@smileygames smileygames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

さっきみたきがするがまあ任せる

…_Label_Flow

Issue_Flow のブランチ関連記述(sub-issue ブランチルール、gh issue develop リンク制約、
ブランチリンクターゲット)を operations レイヤーの Branch_And_Label_Flow に移動。
on_issue で読み込む内容を issue 管理(ラベル・アサイン・body)に集中させる。
docs/2.-Task.md と docs/3.-Operations.md も対応更新。

Refs #891
@liplus-lin-lay liplus-lin-lay force-pushed the 891-move-branch-rules-to-operations branch from 2583d31 to beff8bd Compare March 27, 2026 13:30
@liplus-lin-lay
Copy link
Copy Markdown
Collaborator Author

変更内容は #895 のマージで全て upstream に反映済み。rebase 後に空 diff となったため close。

auto-merge was automatically disabled March 27, 2026 13:34

Pull request was closed

@liplus-lin-lay liplus-lin-lay deleted the 891-move-branch-rules-to-operations branch March 27, 2026 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move link-branch creation guidance from Issue_Flow to operations layer

2 participants