Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions docs/dev/ssot-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,30 @@
keywords: [runtime, verification, policy, skip, exit77, immediate, deferred, not_applicable]
description: 動作検証 AC の運用規約

- id: workflows-design-docs-refinement
path: docs/dev/workflows/issue-refinement-loop-design.md
title: issue-refinement-loop 詳細設計ノート(derived_design_note)
keywords: [issue-refinement-loop, planner, state-machine, loop-state, escalation]
description: |
issue-refinement-loop の詳細設計ノート(ssot_classification: derived_design_note)。
canonical_sources の正本と矛盾した場合は正本が勝つ(conflict_rule: canonical_sources_win)。
sections:
- "## State Model"
- "## Failure Modes and Recovery"
- "## SubAgent Contract Matrix"

- id: workflows-design-docs-impl-review
path: docs/dev/workflows/impl-review-loop-design.md
title: impl-review-loop 詳細設計ノート(derived_design_note)
keywords: [impl-review-loop, subagent-contract, loop-state, escalation, state-machine]
description: |
impl-review-loop の詳細設計ノート(ssot_classification: derived_design_note)。
canonical_sources の正本と矛盾した場合は正本が勝つ(conflict_rule: canonical_sources_win)。
sections:
- "## State Model"
- "## Failure Modes and Recovery"
- "## SubAgent Contract Matrix"

- id: product-spec-lifecycle
path: docs/dev/product-spec-lifecycle.md
title: Product Spec Lifecycle
Expand Down Expand Up @@ -300,6 +324,11 @@ directory_mappings:
- docs/dev/product-spec-lifecycle.md
- docs/product/requirements.md
- docs/adr/0002-sdd-tool-adoption.md
- pattern: "docs/dev/workflows/**"
ssots:
- docs/dev/workflow.md
- docs/dev/agent-skill-boundaries.md
- docs/dev/ssot-registry.md
```

---
Expand Down
2 changes: 2 additions & 0 deletions docs/dev/workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ workflow 不具合の修正方針では、自然言語 workaround を先に積
| GitHub 運用ルールの変更 | `docs/dev/github-ops.md` |
| 物理強制ルールの追加 | `.claude/settings.json` のフック定義 + 該当スクリプト |
| GitHub Milestone 操作 | `docs/dev/milestone-ops.md` |
| 運用単位(issue-refinement-loop / impl-review-loop 等)の状態機械・SubAgent 契約・escalation 方針の変更 | `docs/dev/workflows/*.md`(derived_design_note) |

## SSOT Routing Table

Expand All @@ -298,6 +299,7 @@ SSOT 追加時の参照先を集約した索引。AI エージェントは実装
| プレイテストの実施手順・フィードバック分類・PII 保護方針・Spec Delta Gate | `docs/product/playtest-protocol.md` |
| プレイテスト結果の記録・YAML テンプレート・スキーマ定義 | `docs/product/playtest-log.md` |
| ゲームロジック仕様(状態遷移・入力・時間モデル・衝突・勝敗・保存境界) | `docs/product/game-logic.md` |
| issue-refinement-loop / impl-review-loop の詳細設計(SubAgent 契約・state machine・escalation 分類)。architecture review / contract migration 時のみロード | `docs/dev/workflows/*.md` |

### 新規 SSOT 追加時の必須更新セット

Expand Down
40 changes: 40 additions & 0 deletions docs/dev/workflows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# docs/dev/workflows/

## 配置意図

本ディレクトリは、`LOOP_PROTOCOL` の主要ループ(`issue-refinement-loop` / `impl-review-loop`)に関する**運用単位別の詳細設計ノート**を格納する。

## 位置づけ(SSOT 階層内の役割)

```
[SSOT 正本]
docs/dev/workflow.md ← 開発フロー全体の SSOT
docs/dev/agent-skill-boundaries.md ← SubAgent / Skill 責務境界
.claude/skills/<skill>/SKILL.md ← 各 Skill の手順・LOOP_STATE 定義
.claude/agents/<agent>.md ← 各 SubAgent の定義

[派生設計ノート(derived_design_note)] ← 本ディレクトリ
docs/dev/workflows/*.md
```

本ディレクトリの各ファイルは `ssot_classification: derived_design_note` かつ `conflict_rule: canonical_sources_win` であり、**正本と矛盾した場合は常に正本が勝つ**。

## ファイル一覧

| ファイル | 対象ループ | 説明 |
|---|---|---|
| `issue-refinement-loop-design.md` | issue-refinement-loop | planner/orchestrator 境界・anchor comment 設計・escalation 分類 |
| `impl-review-loop-design.md` | impl-review-loop | control-plane/data-plane 境界・LOOP_STATE field owner・PR conflict 方針 |

## 使い分け

| シナリオ | 参照先 |
|---|---|
| ループの日常的な実行 | `.claude/skills/<skill>/SKILL.md`(正本を直接参照) |
| architecture review / contract migration | 本ディレクトリの設計ノート |
| failure-mode update / escalation runbook | 本ディレクトリの設計ノート |
| SubAgent の責務境界確認 | `docs/dev/agent-skill-boundaries.md` |

## 更新ルール

本ディレクトリのファイルを変更する際は、`canonical_sources` に列挙された正本と矛盾しないように注意する。変更が `docs/dev/ssot-registry.md` への更新を必要とする場合は同一 PR で行う。
Loading