docs: TVFプロトコル4層設計反映 (cmd_510 v2 / cmd_517)#157
Closed
ysaitogrander wants to merge 1 commit into
Closed
Conversation
…517)
軍師 cmd_510 v2 で策定された TVF (Task Verification First / 事実検証ファースト)
プロトコル 4 層設計を、Lord の前提主張と外部実態(Figma / 仕様書 / 外部API 等)の
乖離による誤実装を未然に防ぐ仕組みとして全エージェントに義務化。
■ 反映先 (source templates)
- CLAUDE.md: TVF Protocol 横断ルール節(4層構造 + purpose_gap 必須化 + skill 連携)
- instructions/roles/karo_role.md: 家老指示テンプレ 4ブロック (tvf_protocol YAML)
- instructions/roles/ashigaru_role.md:
- Report Format に purpose_gap フィールド必須化 (TVF Protocol C)
- TVF (事実検証ファースト) プロトコル節 (Self-check + サブエージェント自動チェック)
■ 自動展開 (generated files)
- scripts/build_instructions.sh により以下が自動再生成
- instructions/generated/{ashigaru,karo}.md
- instructions/generated/{codex,copilot,kimi}-{ashigaru,karo}.md
- AGENTS.md (Codex auto-load)
- .github/copilot-instructions.md (Copilot auto-load)
- agents/default/system.md (Kimi auto-load)
- 冪等性確認済 (build_instructions.sh 2回連続実行で diff なし)
■ 関連 skill 候補(軍師 cmd_510 v2 提案・採用判断は殿)
- figma-fresh-fetch-guard (High)
- figma-component-type-checker (Med-High)
- lord-assumption-verifier (High推奨へ昇格)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Author
|
誤って upstream リポジトリ (yohey-w) を base にしてしまったため close。origin (ysaitogrander) に再作成。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
軍師 cmd_510 v2 で策定された TVF (Task Verification First / 事実検証ファースト) プロトコル 4 層設計を
CLAUDE.mdおよびinstructions/roles/*に反映する文書追記。Lord の前提主張と外部実態(Figma / 仕様書 / 外部API 等)の乖離による誤実装を未然に防ぐ仕組みとして全エージェントに義務化する。
TVF プロトコル 4 層設計
instructions/roles/karo_role.mdinstructions/roles/ashigaru_role.mdCLAUDE.md+ashigaru_role.mdinstructions/roles/ashigaru_role.md変更ファイル
Source templates (3 ファイル)
CLAUDE.md— TVF Protocol 横断ルール節(4層構造 + purpose_gap 必須化 + skill 連携)instructions/roles/karo_role.md— 家老指示テンプレ 4ブロック (tvf_protocolYAML)instructions/roles/ashigaru_role.mdpurpose_gapフィールド必須化(TVF Protocol C)Generated files (11 ファイル、build_instructions.sh で自動展開)
instructions/generated/{ashigaru,karo}.mdinstructions/generated/{codex,copilot,kimi}-{ashigaru,karo}.mdAGENTS.md(Codex auto-load).github/copilot-instructions.md(Copilot auto-load)agents/default/system.md(Kimi auto-load)検証
bash scripts/build_instructions.sh成功git diff差分なしgit diff --exit-code instructions/generated/相当のドリフトなし(コミット時点)purpose_gapキーワードが全 generated ファイルへ展開済関連 skill 候補(軍師 cmd_510 v2 提案・採用判断は殿)
figma-fresh-fetch-guard— Pre-PR hook で 48h 以内取得証跡を必須化(High推奨)figma-component-type-checker— Figma 種別と実装 UI の差分自動検知(Med-High)lord-assumption-verifier— Lord 指示の事実主張を自動検証(Med → High 昇格推奨)関連
Test plan
🤖 Generated with Claude Code