From 40fd4abb2c07243d3ed69de83f2ac4b44f3bd68c Mon Sep 17 00:00:00 2001 From: liplus-lin-lay Date: Fri, 27 Mar 2026 22:07:21 +0900 Subject: [PATCH] feat(delegation): add Li+github.md to subagent convey list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hook 非対応環境でサブエージェントが Issue_Flow(ラベル定義、PR body フォーマット、 ブランチリンクルール等)を参照できるよう、Li+github.md をサブエージェントへの 伝達リストに追加した。4ファイル(Li+github.md, Li+agent.md, docs/2.-Task.md, docs/4.-Adapter.md)の Subagent Delegation セクションを一括更新。 Refs #897 --- Li+agent.md | 6 +++--- Li+github.md | 6 +++--- docs/2.-Task.md | 2 +- docs/4.-Adapter.md | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Li+agent.md b/Li+agent.md index ec2e818..ffa7bd4 100644 --- a/Li+agent.md +++ b/Li+agent.md @@ -82,10 +82,10 @@ Purpose: When delegating to a subagent, convey: - Li+core.md path and Li+operations.md path (subagent reads both before any action). -- Issue number, repository, working directory, intent. +- Li+github.md path, issue number, repository, working directory, intent. - Execute the full cycle (branch, implementation, commit, push, PR, CI loop) and report result. -Do not convey: Li+github.md, branch name, commit message, step-by-step procedure, file scope constraint. -Subagent reads the issue and operations rules, then decides execution details autonomously. +Do not convey: branch name, commit message, step-by-step procedure, file scope constraint. +Subagent reads the issue, Li+github.md, and operations rules, then decides execution details autonomously. Subagent issue management: - Subagent may update issue body when premise or constraints change during implementation. diff --git a/Li+github.md b/Li+github.md index 9f4ff3d..751444c 100644 --- a/Li+github.md +++ b/Li+github.md @@ -130,9 +130,9 @@ Issue Rules Subagent executes: branch, implementation, commit, push, PR, CI loop, merge. Convey to subagent: - Li+core.md path, Li+operations.md path, issue number, repository, intent. - Do not convey: Li+github.md, step-by-step procedure, branch name, commit message. - Subagent reads Li+core.md and Li+operations.md, then decides execution details. + Li+core.md path, Li+github.md path, Li+operations.md path, issue number, repository, intent. + Do not convey: step-by-step procedure, branch name, commit message. + Subagent reads Li+core.md, Li+github.md, and Li+operations.md, then decides execution details. Detailed parent instructions risk conflicting with operations rules. Issue body update: diff --git a/docs/2.-Task.md b/docs/2.-Task.md index 8972283..1eb3122 100644 --- a/docs/2.-Task.md +++ b/docs/2.-Task.md @@ -148,7 +148,7 @@ issue / commit / PR の形式に適用する。 ### 伝達内容 -親はサブエージェントに Li+core.md パス、Li+operations.md パス、issue 番号、リポジトリ、意図を伝える。Li+github.md、手順の詳細、ブランチ名、コミットメッセージは伝えない。サブエージェントが Li+core.md と Li+operations.md を読んで実行詳細を自ら決定する。親からの詳細指示はオペレーションルールと矛盾するリスクがある。 +親はサブエージェントに Li+core.md パス、Li+github.md パス、Li+operations.md パス、issue 番号、リポジトリ、意図を伝える。手順の詳細、ブランチ名、コミットメッセージは伝えない。サブエージェントが Li+core.md、Li+github.md、Li+operations.md を読んで実行詳細を自ら決定する。親からの詳細指示はオペレーションルールと矛盾するリスクがある。 ### issue body 更新 diff --git a/docs/4.-Adapter.md b/docs/4.-Adapter.md index 7f0ba41..1acda0b 100644 --- a/docs/4.-Adapter.md +++ b/docs/4.-Adapter.md @@ -127,9 +127,9 @@ bootstrap は次回セッションから有効。現セッションは Li+config ### 伝達内容 -メインエージェントはサブエージェントに Li+core.md パス、Li+operations.md パス、issue 番号、リポジトリ、作業ディレクトリ、意図を伝える。サブエージェントはブランチ作成から実装、コミット、プッシュ、PR 作成、CI ループまでの全サイクルを実行し、結果を報告する。 +メインエージェントはサブエージェントに Li+core.md パス、Li+github.md パス、Li+operations.md パス、issue 番号、リポジトリ、作業ディレクトリ、意図を伝える。サブエージェントはブランチ作成から実装、コミット、プッシュ、PR 作成、CI ループまでの全サイクルを実行し、結果を報告する。 -Li+github.md、ブランチ名、コミットメッセージ、手順の詳細、ファイルスコープ制約は伝えない。サブエージェントが issue とオペレーションルールを読み、実行詳細を自律的に決定する。 +ブランチ名、コミットメッセージ、手順の詳細、ファイルスコープ制約は伝えない。サブエージェントが issue、Li+github.md、オペレーションルールを読み、実行詳細を自律的に決定する。 ### issue 管理