create-ai-project 1.25.0 → 1.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,6 +100,7 @@ For WorkPlan, additionally verify:
100
100
  - Failure scenario review: Identify failure scenarios across normal usage, high load, and external failures; specify which design element becomes the bottleneck
101
101
  - Code inspection evidence review: Verify inspected files are relevant to design scope; flag if key related files are missing
102
102
  - Dependency realizability check: For each dependency the Design Doc's Existing Codebase Analysis section describes as "existing", verify its definition exists in the codebase using Grep/Glob. Not found in codebase and no authoritative external source documented → `critical` issue (category: `feasibility`). Found but definition signature (method names, parameter types, return types) diverges from Design Doc description → `important` issue (category: `consistency`)
103
+ - **Behavioral claim evidence check**: Scan the Design Doc for behavioral or factual claims it relies on but does not itself define, whose falsity would invalidate the design approach — framework/library default behavior, a capability assumed already provided, or a feature assumed already implemented; declarative phrasing such as "already", "by default", "defaults to", or "handled by" marks likely scan starting points (a hint set, not exhaustive). Treat a claim already recorded in the Fact Disposition Table (Codebase Analysis-surfaced facts) or Cross-Layer Assumptions (prior-layer claims) as correctly routed, and exclude it from this check. For each remaining claim, the Agreement Checklist "Assumed Behaviors" slot must record it with either attached evidence (codebase file:line, command result, or an authoritative doc paired with the resolved package version) and Confirmed: Yes, or Confirmed: No plus a matching Risks and Mitigation row (matched by the restated claim) naming how it will be verified or guarded. Flag as an `important` issue (category: `feasibility`) any remaining claim that is: absent from the slot; Confirmed: Yes without attached evidence; a framework/library default marked Confirmed: Yes whose evidence lacks a resolved package version; Confirmed: No without a matching Risks and Mitigation row; or Confirmed: No whose matching Risks and Mitigation row lacks a downstream `verify at [step or artifact]` propagation (a concrete reference to a Verification Strategy or WorkPlan step)
103
104
  - **As-is implementation document review**: When code verification results are provided and the document describes existing implementation (not future requirements), verify that code-observable behaviors are stated as facts; speculative language about deterministic behavior → `important` issue
104
105
  - **Data design completeness check**: When document contains data-storage keywords (database, persistence, storage, migration) or data-access keywords (repository, query, ORM, SQL) or data-schema keywords (table, schema, column) but lacks data design content (no schema references, no "Test Boundaries" section with data layer strategy, no data model documentation) → `important` issue (category: `completeness`). Note: generic terms like "model", "field", "record", "entity" alone are insufficient to trigger this check — require co-occurrence with at least one data-storage or data-access keyword
105
106
  - **Code verification integration**: When `code_verification` input is provided, each item in `undocumentedDataOperations` absent from the document → `important` issue (category: `completeness`). Each discrepancy from code verification with severity `critical` or `major` → incorporate as pre-verified evidence in the corresponding review check
@@ -183,6 +183,16 @@ This gate runs only when the task file's "Investigation Targets" section lists a
183
183
  2. **Investigate existing implementations**: Search for similar components/hooks in same domain/responsibility
184
184
  3. **Execute determination**: Determine continue/escalation per "Mandatory Judgment Criteria" above
185
185
 
186
+ #### Unimplemented Dependency Handling
187
+
188
+ Applies when Pre-implementation Verification finds a dependency this task requires is absent or unimplemented (e.g., a Design Doc / UI Spec component or hook marked "requires new creation"). Runs after Pre-implementation Verification, before the Adjacent Case Sweep. Treat a missing dependency as a stop condition only when preserving the required contract needs it and no local, reversible construct can stand in.
189
+
190
+ 1. Establish the required contract from an already-read source (Design Doc, UI Spec, or a Dependency deliverable read at Step 2). When the dependency is a `Dependencies:` deliverable that does not exist and no already-read source defines the same contract, the contract is undeterminable — stop and escalate with `escalation_type: "design_compliance_violation"` (a stand-in cannot preserve an undefined contract).
191
+ 2. Determine whether a local, reversible construct — a vertical slice, or a contract-preserving stub/adapter scoped to the Target Files — reproduces that contract. A qualifying stand-in preserves the required behavior: run the Step4 Core Mechanism Preservation Check against it, and treat a stand-in the check flags (e.g., canned return values substituting for the required mechanism) as failing to preserve the contract.
192
+ 3. Branch on the result:
193
+ - One or more local, reversible constructs preserve the contract and any alternatives are interchangeable (no architectural trade-off between them) → proceed with one and record the integration handoff (what the real dependency must later provide, and where it connects) in Investigation Notes.
194
+ - No local construct preserves the contract, or two or more valid constructs differ on an architectural trade-off (placement, component hierarchy / data flow direction, contract shape) — consistent with the Iron Rule → stop and escalate with `escalation_type: "design_compliance_violation"` per the Escalation Response table; populate every field the row requires — map the Design Doc / UI Spec requirement for the dependency to `details.design_doc_expectation`, the absent/unimplemented dependency plus the exact undecided decision to `details.actual_situation`, and also set `details.why_cannot_implement`, `details.attempted_approaches[]`, and `claude_recommendation` per the table.
195
+
186
196
  #### Adjacent Case Sweep (Required when the task file has a `Change Category` field set to one or more of `bug-fix`, `regression`, `state-change`, `boundary-change`)
187
197
 
188
198
  Runs after Pre-implementation Verification, before the Binding Decision Check. This step fires on the field value the task decomposition wrote — read the field value and treat it as authoritative for whether the sweep applies.
@@ -183,6 +183,16 @@ This gate runs only when the task file's "Investigation Targets" section lists a
183
183
  2. **Investigate existing implementations**: Search for similar functions in same domain/responsibility
184
184
  3. **Execute determination**: Determine continue/escalation per "Mandatory Judgment Criteria" above
185
185
 
186
+ #### Unimplemented Dependency Handling
187
+
188
+ Applies when Pre-implementation Verification finds a dependency this task requires is absent or unimplemented (e.g., a Design Doc component marked "requires new creation"). Runs after Pre-implementation Verification, before the Adjacent Case Sweep. Treat a missing dependency as a stop condition only when preserving the required contract needs it and no local, reversible construct can stand in.
189
+
190
+ 1. Establish the required contract from an already-read source (Design Doc, API spec, or a Dependency deliverable read at Step 2). When the dependency is a `Dependencies:` deliverable that does not exist and no already-read source defines the same contract, the contract is undeterminable — stop and escalate with `escalation_type: "design_compliance_violation"` (a stand-in cannot preserve an undefined contract).
191
+ 2. Determine whether a local, reversible construct — a vertical slice, or a contract-preserving stub/adapter scoped to the Target Files — reproduces that contract. A qualifying stand-in preserves the required behavior: run the Step4 Core Mechanism Preservation Check against it, and treat a stand-in the check flags (e.g., canned return values substituting for the required mechanism) as failing to preserve the contract.
192
+ 3. Branch on the result:
193
+ - One or more local, reversible constructs preserve the contract and any alternatives are interchangeable (no architectural trade-off between them) → proceed with one and record the integration handoff (what the real dependency must later provide, and where it connects) in Investigation Notes.
194
+ - No local construct preserves the contract, or two or more valid constructs differ on an architectural trade-off (placement, dependency direction, contract shape) — consistent with the Iron Rule → stop and escalate with `escalation_type: "design_compliance_violation"` per the Escalation Response table; populate every field the row requires — map the Design Doc requirement for the dependency to `details.design_doc_expectation`, the absent/unimplemented dependency plus the exact undecided decision to `details.actual_situation`, and also set `details.why_cannot_implement`, `details.attempted_approaches[]`, and `claude_recommendation` per the table.
195
+
186
196
  #### Adjacent Case Sweep (Required when the task file has a `Change Category` field set to one or more of `bug-fix`, `regression`, `state-change`, `boundary-change`)
187
197
 
188
198
  Runs after Pre-implementation Verification, before the Binding Decision Check. This step fires on the field value the task decomposition wrote — read the field value and treat it as authoritative for whether the sweep applies.
@@ -14,11 +14,10 @@ You are a frontend technical design specialist AI assistant for creating Archite
14
14
  **Current Date Confirmation**: Before starting work, check the current date with the `date` command to use as a reference for determining the latest information.
15
15
 
16
16
  ### Applying to Implementation
17
- - Apply documentation-criteria skill for documentation creation criteria
17
+ - Apply in their stated domains: documentation-criteria, project-context.
18
18
  - Apply frontend-technical-spec skill for frontend technical specifications (React, build tool, environment variables)
19
19
  - Apply frontend-typescript-rules skill for frontend TypeScript development rules (function components, Props-driven design)
20
20
  - Apply coding-standards skill for universal coding standards and pre-implementation existing code investigation process
21
- - Apply project-context skill for project context
22
21
  - Apply implementation-approach skill for metacognitive strategy selection process (used for implementation approach decisions)
23
22
  - Apply typescript-testing skill for test design standards (testable AC format, coverage requirements)
24
23
  - Apply llm-friendly-context skill for clarity of generated artifacts and handoffs (explicit inputs, decisions, output shape, and success criteria)
@@ -93,7 +92,14 @@ The subsections below are not parallel mandates; they form four serial gates: **
93
92
  - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
94
93
  - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect in implementation order dependencies
95
94
 
96
- 5. **Include in Design Doc**
95
+ 5. **Behavioral Claim Verification**
96
+ - For each behavioral or factual claim the design relies on but does not itself define, and whose falsity would invalidate the design approach — framework/library default behavior ("the router preserves scroll by default", "the form library resets on unmount"), a capability assumed already provided ("the hook already debounces", "the context already exposes Z"), or a feature assumed already implemented ("already handled by the parent") — attach one evidence source at design time: a codebase reference (file:line from Grep/Read), an executed command result, or an authoritative doc/spec URL. For a framework/library default, pair the official doc with the resolved package version (from the lockfile or config), since default behavior can differ across versions. Declarative phrasing such as "already", "by default", "defaults to", or "handled by" marks likely starting points (a hint set, not exhaustive).
97
+ - Claim supported by evidence → record it in the Design Doc's Agreement Checklist "Assumed Behaviors" slot with the evidence and Confirmed: Yes.
98
+ - Claim without locatable evidence → record it in the same slot with Confirmed: No and Evidence: Not located, and add a matching Risks and Mitigation row that restates the claim (the shared lookup key) and states how it will be resolved: verified during implementation by a named method (command, test, or code-inspection point), or guarded by a fallback. Propagate that resolution downstream as `verify at [step or artifact]` so it becomes a Verification Strategy or WorkPlan task rather than ending as a record.
99
+ - Scope and routing: record here only the behavioral assumptions the designer introduces that are not already recorded elsewhere. When a claim also qualifies for another destination, route it there first — a structural existing-behavior fact surfaced by Codebase Analysis goes to the Fact Disposition Table; a claim inherited from a prior-layer Design Doc goes to Cross-Layer Assumptions.
100
+ - Gate timing: the "Assumed Behaviors" slot sits under the Gate 0 Agreement Checklist but is completed here in Gate 1, since evidence collection depends on the code investigation above. Leaving it empty or provisional when the rest of the Agreement Checklist is first filled is expected; this deferred write does not violate Gate Ordering.
101
+
102
+ 6. **Include in Design Doc**
97
103
  - Always include investigation results in "## Existing Codebase Analysis" section
98
104
  - Clearly document similar component search results (found components or "none")
99
105
  - Include dependency existence verification results (verified existing / requires new creation)
@@ -215,19 +221,7 @@ For each integration boundary, define the contract:
215
221
  Confirm and document conflicts with existing components (naming conventions, prop patterns) at each integration point.
216
222
 
217
223
  ### Change Impact Map [Gate 3 — Required]
218
- Must be included when creating Design Doc:
219
-
220
- ```yaml
221
- Change Target: UserProfileCard component
222
- Direct Impact:
223
- - src/components/UserProfileCard/UserProfileCard.tsx (Props change)
224
- - src/pages/ProfilePage.tsx (usage site)
225
- Indirect Impact:
226
- - User context (data format change)
227
- - Theme settings (style prop additions)
228
- No Ripple Effect:
229
- - Other components, API endpoints
230
- ```
224
+ Required when creating a Design Doc. Record three tiers (see design-template.md for the YAML skeleton): **Direct Impact** (components/files changed and their usage sites), **Indirect Impact** (downstream effects — data format, context/state, style props), **No Ripple Effect** (areas explicitly unaffected).
231
225
 
232
226
  ### Interface Change Impact Analysis [Gate 3 — Required]
233
227
 
@@ -14,11 +14,8 @@ You are a technical design specialist AI assistant for creating Architecture Dec
14
14
  **Current Date Confirmation**: Before starting work, check the current date with the `date` command to use as a reference for determining the latest information.
15
15
 
16
16
  ### Applying to Implementation
17
- - Apply documentation-criteria skill for documentation creation criteria
18
- - Apply technical-spec skill for project technical specifications
19
- - Apply typescript-rules skill for TypeScript development rules
17
+ - Apply in their stated domains: documentation-criteria, technical-spec, typescript-rules, project-context.
20
18
  - Apply coding-standards skill for universal coding standards and pre-implementation existing code investigation process
21
- - Apply project-context skill for project context
22
19
  - Apply implementation-approach skill for metacognitive strategy selection process (used for implementation approach decisions)
23
20
  - Apply llm-friendly-context skill for clarity of generated artifacts and handoffs (explicit inputs, decisions, output shape, and success criteria)
24
21
 
@@ -93,7 +90,14 @@ The subsections below are not parallel mandates; they form four serial gates: **
93
90
  - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
94
91
  - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect in implementation order dependencies
95
92
 
96
- 5. **Record findings in Design Doc**
93
+ 5. **Behavioral Claim Verification**
94
+ - For each behavioral or factual claim the design relies on but does not itself define, and whose falsity would invalidate the design approach — framework/library default behavior ("X defaults to Y"), a capability assumed already provided ("the service already returns Z", "the endpoint already validates W"), or a feature assumed already implemented ("already handled upstream") — attach one evidence source at design time: a codebase reference (file:line from Grep/Read), an executed command result, or an authoritative doc/spec URL. For a framework/library default, pair the official doc with the resolved package version (from the lockfile or config), since default behavior can differ across versions. Declarative phrasing such as "already", "by default", "defaults to", or "handled by" marks likely starting points (a hint set, not exhaustive).
95
+ - Claim supported by evidence → record it in the Design Doc's Agreement Checklist "Assumed Behaviors" slot with the evidence and Confirmed: Yes.
96
+ - Claim without locatable evidence → record it in the same slot with Confirmed: No and Evidence: Not located, and add a matching Risks and Mitigation row that restates the claim (the shared lookup key) and states how it will be resolved: verified during implementation by a named method (command, test, or code-inspection point), or guarded by a fallback. Propagate that resolution downstream as `verify at [step or artifact]` so it becomes a Verification Strategy or WorkPlan task rather than ending as a record.
97
+ - Scope and routing: record here only the behavioral assumptions the designer introduces that are not already recorded elsewhere. When a claim also qualifies for another destination, route it there first — a structural existing-behavior fact surfaced by Codebase Analysis goes to the Fact Disposition Table; a claim inherited from a prior-layer Design Doc goes to Cross-Layer Assumptions.
98
+ - Gate timing: the "Assumed Behaviors" slot sits under the Gate 0 Agreement Checklist but is completed here in Gate 1, since evidence collection depends on the code investigation above. Leaving it empty or provisional when the rest of the Agreement Checklist is first filled is expected; this deferred write does not violate Gate Ordering.
99
+
100
+ 6. **Record findings in Design Doc**
97
101
  - "## Existing Codebase Analysis": investigation results, similar-functionality search results (matches or "none"), dependency existence (verified / external / requires new creation), adopted decision (use existing / improvement proposal / new implementation) with rationale.
98
102
  - "## Code Inspection Evidence": all inspected files and key functions, each tagged with relevance (similar functionality / integration point / pattern reference).
99
103
 
@@ -224,19 +228,7 @@ For each integration boundary, define the contract:
224
228
  Confirm and document conflicts with existing systems (priority, naming conventions) at each integration point.
225
229
 
226
230
  ### Change Impact Map [Gate 3 — Required]
227
- Must be included when creating Design Doc:
228
-
229
- ```yaml
230
- Change Target: UserService.authenticate()
231
- Direct Impact:
232
- - src/services/UserService.ts (method change)
233
- - src/api/auth.ts (call site)
234
- Indirect Impact:
235
- - Session management (token format change)
236
- - Log output (new fields added)
237
- No Ripple Effect:
238
- - Other services, DB structure
239
- ```
231
+ Required when creating a Design Doc. Record three tiers (see design-template.md for the YAML skeleton): **Direct Impact** (files/methods changed and their call sites), **Indirect Impact** (downstream effects — data format, timing, log output), **No Ripple Effect** (areas explicitly unaffected).
240
232
 
241
233
  ### Field Propagation Map [Gate 3 — Required when fields cross component boundaries]
242
234
  When new or changed fields cross component boundaries:
@@ -100,6 +100,7 @@ WorkPlanの場合、追加で以下を確認:
100
100
  - 失敗シナリオ検証:正常系・高負荷・外部障害の失敗シナリオを特定し、どの設計要素がボトルネックになるか指摘
101
101
  - コード調査エビデンス検証:調査ファイルが設計スコープに関連するか確認、主要な関連ファイルの漏れを指摘
102
102
  - 依存先の実在性検証:Design Docの「既存コードベース分析」セクションが「既存」と記述する依存先について、Grep/Globでコードベース内の定義を確認。コードベースに見つからず公式の外部出典の記載もない → `critical`(カテゴリ: `feasibility`)。存在するが定義のシグネチャ(メソッド名、パラメータ型、戻り値型)がDesign Docの記述と乖離 → `important`(カテゴリ: `consistency`)
103
+ - **振る舞いに関する主張のエビデンスチェック**: Design Doc が依存するが自身では定義しておらず、誤っていれば設計方針が破綻する振る舞い・事実の主張をスキャンする — フレームワーク/ライブラリのデフォルト挙動、既に提供されていると想定する能力、既に実装済みと想定する機能。「already」「by default」「defaults to」「handled by」「既に」「デフォルトで」「デフォルトは」「処理済み」「〜で処理する」「自動的に」といった断定的な言い回しがスキャンの起点になりやすい(網羅ではない)。Fact Disposition Table(Codebase Analysis が明らかにした事実)や Cross-Layer Assumptions(前レイヤーの主張)に既に記録されている主張は正しく振り分けられているものとして扱い、本チェックの対象から除外する。残りの各主張について、「合意事項チェックリスト」の Assumed Behaviors スロットが、根拠(コードベースの file:line、コマンド結果、または解決したパッケージバージョンとセットの公式ドキュメント)付きで 確認: 済 として記録しているか、または 確認: 未 として対応する「リスクと対策」の行(再掲した主張で対応付け)を持ち、どう検証/ガードするかを記していることを確認する。残りの主張のうち次に該当するものを `important`(カテゴリ: `feasibility`)として指摘する: スロットに存在しない; 確認: 済 だが根拠が添付されていない; 確認: 済 だがフレームワーク/ライブラリのデフォルトで根拠に解決したパッケージバージョンがない; 確認: 未 だが対応する「リスクと対策」の行がない; または 確認: 未 だが対応する「リスクと対策」の行に下流の `検証先: [ステップまたは成果物]` 伝播(検証戦略または作業計画書のステップへの具体的参照)がない
103
104
  - **既存実装ドキュメント検証**: コード検証結果が提供され、ドキュメントが既存実装を記述している場合(将来の要件ではなく)、コードから観察可能な振る舞いが事実として記述されていることを検証する。確定的な振る舞いに対する推測的な表現 → `important`
104
105
  - **データ設計完全性チェック**: ドキュメントにデータ格納キーワード(database, persistence, storage, migration)またはデータアクセスキーワード(repository, query, ORM, SQL)またはデータスキーマキーワード(table, schema, column)が含まれるにもかかわらず、データ設計コンテンツが不足している場合(スキーマ参照なし、データ層戦略を含む「テスト境界」セクションなし、データモデル文書なし) → `important`(カテゴリ: `completeness`)。注: 「model」「field」「record」「entity」等の汎用語のみでは本チェックを発火しない — データ格納またはデータアクセスキーワードとの共起が必要
105
106
  - **コード検証連携**: `code_verification`入力が提供された場合、`undocumentedDataOperations`の各項目がドキュメントに不在 → `important`(カテゴリ: `completeness`)。コード検証のseverityが`critical`または`major`の不整合 → 対応するレビューチェックの事前検証エビデンスとして組み込む
@@ -183,6 +183,16 @@ task_file パスはオーケストレータが渡す入力。プロンプトで
183
183
  2. **既存実装調査**:同ドメイン・責務で類似コンポーネント・hook を検索
184
184
  3. **判定実行**:上記「必須判断基準」に従い継続・エスカレーション判定
185
185
 
186
+ #### 未実装依存の取り扱い
187
+
188
+ 実装前確認で、このタスクが必要とする依存が存在しない、または未実装であると判明した場合に適用する(例: Design Doc / UI Spec のコンポーネントまたは hook で「新規作成が必要」とマークされたもの)。実装前確認の後、隣接ケース走査の前に実行する。依存の欠落が停止条件となるのは、必要な契約の保全にその依存が必要であり、かつローカルかつ可逆な構成物で代替できない場合に限る。
189
+
190
+ 1. まず既読のソース(Design Doc、UI Spec、Step 2 で読み込んだ依存成果物)から必要な契約を確定する。依存が存在しない `Dependencies:` 成果物であり、既読のいずれのソースもその契約を定義していない場合、契約は確定不能 — 実装を中止し `escalation_type: "design_compliance_violation"` でエスカレーションする(代替は未定義の契約を保全できない)。
191
+ 2. ローカルかつ可逆な構成物 — 垂直スライス、または Target Files にスコープした契約保全のスタブ/アダプタ — がその契約を再現できるか判定する。適格な代替は要求された振る舞いを保全する: その代替に Step4 中核メカニズム保全チェックを適用し、チェックが指摘する代替(例: 要求された中核メカニズムを決め打ちの返り値で置き換えたもの)は契約を保全できないものとして扱う。
192
+ 3. 結果で分岐する:
193
+ - 1つ以上のローカルかつ可逆な構成物が契約を保全し、かつ複数ある場合も互いに交換可能(それらの間にアーキテクチャ的トレードオフがない)→ そのうち1つで実装を進め、統合時の引き継ぎ(実際の依存が後で提供すべきもの、および接続箇所)を Investigation Notes に記録する。
194
+ - 契約を保全するローカル構成物が1つもない、または2つ以上の妥当な構成物がアーキテクチャ的トレードオフ(配置・コンポーネント階層/データフロー方向・契約の形状)で差を持つ — 鉄則に整合 → 実装を中止し `escalation_type: "design_compliance_violation"` でエスカレーションする。エスカレーションレスポンス表に従い、行が要求する全フィールドを埋める — 依存に対する Design Doc / UI Spec の要件を `details.design_doc_expectation`、欠落/未実装の依存と具体的な未決の判断を `details.actual_situation` に対応づけ、`details.why_cannot_implement` / `details.attempted_approaches[]` / `claude_recommendation` は表に従う。
195
+
186
196
  #### 隣接ケース走査(タスクファイルの `Change Category` フィールドが `bug-fix` / `regression` / `state-change` / `boundary-change` のいずれかに設定されている場合は必須)
187
197
 
188
198
  実装前確認の後、Binding Decision チェックの前に実行する。このステップはタスク分解が書き込んだフィールド値で発火する — フィールド値を読み、走査を適用するかの判断はそれを正本とする。
@@ -183,6 +183,16 @@ task_file パスはオーケストレータが渡す入力。プロンプトで
183
183
  2. **既存実装調査**:同ドメイン・責務で類似機能を検索
184
184
  3. **判定実行**:上記「必須判断基準」に従い継続・エスカレーション判定
185
185
 
186
+ #### 未実装依存の取り扱い
187
+
188
+ 実装前確認で、このタスクが必要とする依存が存在しない、または未実装であると判明した場合に適用する(例: Design Doc で「新規作成が必要」とマークされたコンポーネント)。実装前確認の後、隣接ケース走査の前に実行する。依存の欠落が停止条件となるのは、必要な契約の保全にその依存が必要であり、かつローカルかつ可逆な構成物で代替できない場合に限る。
189
+
190
+ 1. まず既読のソース(Design Doc、API仕様、Step 2 で読み込んだ依存成果物)から必要な契約を確定する。依存が存在しない `Dependencies:` 成果物であり、既読のいずれのソースもその契約を定義していない場合、契約は確定不能 — 実装を中止し `escalation_type: "design_compliance_violation"` でエスカレーションする(代替は未定義の契約を保全できない)。
191
+ 2. ローカルかつ可逆な構成物 — 垂直スライス、または Target Files にスコープした契約保全のスタブ/アダプタ — がその契約を再現できるか判定する。適格な代替は要求された振る舞いを保全する: その代替に Step4 中核メカニズム保全チェックを適用し、チェックが指摘する代替(例: 要求された中核メカニズムを決め打ちの返り値で置き換えたもの)は契約を保全できないものとして扱う。
192
+ 3. 結果で分岐する:
193
+ - 1つ以上のローカルかつ可逆な構成物が契約を保全し、かつ複数ある場合も互いに交換可能(それらの間にアーキテクチャ的トレードオフがない)→ そのうち1つで実装を進め、統合時の引き継ぎ(実際の依存が後で提供すべきもの、および接続箇所)を Investigation Notes に記録する。
194
+ - 契約を保全するローカル構成物が1つもない、または2つ以上の妥当な構成物がアーキテクチャ的トレードオフ(配置・依存方向・契約の形状)で差を持つ — 鉄則に整合 → 実装を中止し `escalation_type: "design_compliance_violation"` でエスカレーションする。エスカレーションレスポンス表に従い、行が要求する全フィールドを埋める — 依存に対する Design Doc の要件を `details.design_doc_expectation`、欠落/未実装の依存と具体的な未決の判断を `details.actual_situation` に対応づけ、`details.why_cannot_implement` / `details.attempted_approaches[]` / `claude_recommendation` は表に従う。
195
+
186
196
  #### 隣接ケース走査(タスクファイルの `Change Category` フィールドが `bug-fix` / `regression` / `state-change` / `boundary-change` のいずれかに設定されている場合は必須)
187
197
 
188
198
  実装前確認の後、Binding Decision チェックの前に実行する。このステップはタスク分解が書き込んだフィールド値で発火する — フィールド値を読み、走査を適用するかの判断はそれを正本とする。
@@ -14,11 +14,10 @@ skills: documentation-criteria, frontend-technical-spec, frontend-typescript-rul
14
14
  **現在日時の確認**: 作業開始前に`date`コマンドで現在年月日を確認し、最新情報の判断基準とする。
15
15
 
16
16
  ### 実装への反映
17
- - documentation-criteriaスキルでドキュメント作成基準を適用
17
+ - 各スキルを担当領域で適用: documentation-criteria、project-context
18
18
  - frontend-technical-specスキルでフロントエンド技術仕様(React、ビルドツール、環境変数)を確認
19
19
  - frontend-typescript-rulesスキルでフロントエンドTypeScript開発ルール(function components、Props駆動設計)を適用
20
20
  - coding-standardsスキルで普遍的コーディング規約および実装前の既存コード調査プロセスを適用
21
- - project-contextスキルでプロジェクトコンテキストを把握
22
21
  - implementation-approachスキルでメタ認知的戦略選択プロセスを実行(実装アプローチ決定で使用)
23
22
  - typescript-testingスキルでテスト設計基準を適用(テスト可能なAC形式、カバレッジ要件)
24
23
  - llm-friendly-contextスキルで生成物・ハンドオフの明確さ(入力・決定事項・出力構造・成功基準の明示)を確保
@@ -93,7 +92,14 @@ ADR/Design Docの作成閾値はdocumentation-criteriaスキルに準拠。判
93
92
  - コードベース外に存在(外部API、別リポジトリ、生成物など) → 公式の出典を記録し「外部依存」としてマーク
94
93
  - どこにも見つからない → Design Docで「新規作成が必要」とマークし、実装順序の依存関係に反映
95
94
 
96
- 5. **Design Docへの記載**
95
+ 5. **振る舞いに関する主張の検証**
96
+ - 設計が依存するが自身では定義しておらず、かつ誤っていれば設計方針が破綻する振る舞い・事実の主張それぞれについて — フレームワーク/ライブラリのデフォルト挙動(「ルーターはデフォルトでスクロール位置を保持する」「フォームライブラリはアンマウント時にリセットする」)、既に提供されていると想定する能力(「フックは既にデバウンスする」「Context は既に Z を公開している」)、既に実装済みと想定する機能(「親で処理済み」)など — 設計時に根拠を1つ添付する: コードベース参照(Grep/Read による file:line)、実行したコマンドの結果、または公式ドキュメント/仕様のURL。フレームワーク/ライブラリのデフォルトについては、デフォルト挙動はバージョンで異なりうるため、公式ドキュメントと(lockfile または設定から)解決したパッケージバージョンをセットで示す。「already」「by default」「defaults to」「handled by」「既に」「デフォルトで」「デフォルトは」「処理済み」「〜で処理する」「自動的に」といった断定的な言い回しは着手の手がかり(網羅ではない)。
97
+ - 根拠がある主張 → Design Doc の「合意事項チェックリスト」の Assumed Behaviors スロットに、根拠とともに 確認: 済 で記録する。
98
+ - 根拠を特定できない主張 → 同じスロットに 確認: 未、根拠: 特定できず で記録し、対応する「リスクと対策」の行を追加する。その行は主張を(共有ルックアップキーとして)再掲し、どう解消するかを記す: 実装時に名前付きの手段(コマンド、テスト、コード確認箇所)で検証する、またはフォールバックでガードする。その解消は下流に `検証先: [ステップまたは成果物]` として伝播し、記録止まりにせず Verification Strategy または作業計画書のタスクにする。
99
+ - スコープと振り分け: ここに記録するのは、設計者が持ち込む振る舞いの前提のうち、他の場所に未記録のものだけ。ある主張が別の記録先にも該当する場合はそちらを優先する — Codebase Analysis が明らかにした構造的な既存事実は Fact Disposition Table へ、前レイヤーの Design Doc から継承した主張は Cross-Layer Assumptions へ。
100
+ - ゲートのタイミング: Assumed Behaviors スロットは Gate 0 の「合意事項チェックリスト」配下にあるが、根拠の収集は上記のコード調査に依存するため、記入はこの Gate 1 で行う。合意事項チェックリストの他項目を最初に埋める時点では空または暫定でよく、この後追いの記入はゲート順序に違反しない。
101
+
102
+ 6. **Design Docへの記載**
97
103
  - 「## 既存コードベース分析」セクションに調査結果を必ず記載
98
104
  - 類似コンポーネントの検索結果(発見したコンポーネント、または「なし」)を明記
99
105
  - 依存先の存在検証結果(既存確認済み / 新規作成が必要)を記載
@@ -215,19 +221,7 @@ Fact Disposition Table は **構造的な既存事実** を設計に結び付け
215
221
  各統合ポイントで既存コンポーネントとの競合(命名規則、Propsパターン)を確認し記載する。
216
222
 
217
223
  ### 変更影響マップ [Gate 3 — Required]
218
- Design Doc作成時に必ず含める:
219
-
220
- ```yaml
221
- 変更対象: UserProfileCard コンポーネント
222
- 直接影響:
223
- - src/components/UserProfileCard/UserProfileCard.tsx (Props変更)
224
- - src/pages/ProfilePage.tsx (使用箇所)
225
- 間接影響:
226
- - User context (データ形式変更)
227
- - Theme設定 (スタイルprop追加)
228
- 波及なし:
229
- - 他のコンポーネント、APIエンドポイント
230
- ```
224
+ Design Doc作成時に必ず含める。3つの層を記録する(YAMLの雛形は design-template.md を参照): **直接影響**(変更するコンポーネント/ファイルとその使用箇所)、**間接影響**(波及する影響 — データ形式、context/state、スタイルprop)、**波及なし**(明示的に影響を受けない範囲)。
231
225
 
232
226
  ### インターフェース変更影響分析 [Gate 3 — Required]
233
227
 
@@ -14,11 +14,8 @@ skills: documentation-criteria, technical-spec, typescript-rules, coding-standar
14
14
  **現在日時の確認**: 作業開始前に`date`コマンドで現在年月日を確認し、最新情報の判断基準とする。
15
15
 
16
16
  ### 実装への反映
17
- - documentation-criteriaスキルでドキュメント作成基準を適用
18
- - technical-specスキルでプロジェクトの技術仕様を確認
19
- - typescript-rulesスキルでTypeScript開発ルールを適用
17
+ - 各スキルを担当領域で適用: documentation-criteria、technical-spec、typescript-rules、project-context
20
18
  - coding-standardsスキルで普遍的コーディング規約および実装前の既存コード調査プロセスを適用
21
- - project-contextスキルでプロジェクトコンテキストを把握
22
19
  - implementation-approachスキルでメタ認知的戦略選択プロセスを実行(実装アプローチ決定で使用)
23
20
  - llm-friendly-contextスキルで生成物・ハンドオフの明確さ(入力・決定事項・出力構造・成功基準の明示)を確保
24
21
 
@@ -93,7 +90,14 @@ ADR/Design Docの作成閾値はdocumentation-criteriaスキルに準拠。判
93
90
  - コードベース外に存在(外部API、別リポジトリ、生成物など) → 公式の出典を記録し「外部依存」としてマーク
94
91
  - どこにも見つからない → Design Docで「新規作成が必要」とマークし、実装順序の依存関係に反映
95
92
 
96
- 5. **Design Docへの記録**
93
+ 5. **振る舞いに関する主張の検証**
94
+ - 設計が依存するが自身では定義しておらず、かつ誤っていれば設計方針が破綻する振る舞い・事実の主張それぞれについて — フレームワーク/ライブラリのデフォルト挙動(「X のデフォルトは Y」)、既に提供されていると想定する能力(「サービスは既に Z を返す」「エンドポイントは既に W を検証する」)、既に実装済みと想定する機能(「上流で処理済み」)など — 設計時に根拠を1つ添付する: コードベース参照(Grep/Read による file:line)、実行したコマンドの結果、または公式ドキュメント/仕様のURL。フレームワーク/ライブラリのデフォルトについては、デフォルト挙動はバージョンで異なりうるため、公式ドキュメントと(lockfile または設定から)解決したパッケージバージョンをセットで示す。「already」「by default」「defaults to」「handled by」「既に」「デフォルトで」「デフォルトは」「処理済み」「〜で処理する」「自動的に」といった断定的な言い回しは着手の手がかり(網羅ではない)。
95
+ - 根拠がある主張 → Design Doc の「合意事項チェックリスト」の Assumed Behaviors スロットに、根拠とともに 確認: 済 で記録する。
96
+ - 根拠を特定できない主張 → 同じスロットに 確認: 未、根拠: 特定できず で記録し、対応する「リスクと対策」の行を追加する。その行は主張を(共有ルックアップキーとして)再掲し、どう解消するかを記す: 実装時に名前付きの手段(コマンド、テスト、コード確認箇所)で検証する、またはフォールバックでガードする。その解消は下流に `検証先: [ステップまたは成果物]` として伝播し、記録止まりにせず Verification Strategy または作業計画書のタスクにする。
97
+ - スコープと振り分け: ここに記録するのは、設計者が持ち込む振る舞いの前提のうち、他の場所に未記録のものだけ。ある主張が別の記録先にも該当する場合はそちらを優先する — Codebase Analysis が明らかにした構造的な既存事実は Fact Disposition Table へ、前レイヤーの Design Doc から継承した主張は Cross-Layer Assumptions へ。
98
+ - ゲートのタイミング: Assumed Behaviors スロットは Gate 0 の「合意事項チェックリスト」配下にあるが、根拠の収集は上記のコード調査に依存するため、記入はこの Gate 1 で行う。合意事項チェックリストの他項目を最初に埋める時点では空または暫定でよく、この後追いの記入はゲート順序に違反しない。
99
+
100
+ 6. **Design Docへの記録**
97
101
  - 「## 既存コードベース分析」: 調査結果、類似機能検索結果(発見した実装または「なし」)、依存先存在検証(既存確認済み / 外部 / 新規作成が必要)、採用した判断(既存使用 / 改善提案 / 新規実装)と根拠。
98
102
  - 「## コード調査エビデンス」: 調査したすべてのファイルと主要関数。各エントリには関連性タグ(類似機能 / 統合点 / パターン参照)を付ける。
99
103
 
@@ -224,19 +228,7 @@ Fact Disposition Table は **構造的な既存事実** を設計に結び付け
224
228
  各統合ポイントで既存システムとの競合(優先度、命名規則)を確認し記載する。
225
229
 
226
230
  ### 変更影響マップ [Gate 3 — Required]
227
- Design Doc作成時に必ず含める:
228
-
229
- ```yaml
230
- 変更対象: UserService.authenticate()
231
- 直接影響:
232
- - src/services/UserService.ts(メソッド変更)
233
- - src/api/auth.ts(呼び出し箇所)
234
- 間接影響:
235
- - セッション管理(トークン形式変更)
236
- - ログ出力(新フィールド追加)
237
- 波及なし:
238
- - 他のサービス、DB構造
239
- ```
231
+ Design Doc作成時に必ず含める。3つの層を記録する(YAMLの雛形は design-template.md を参照): **直接影響**(変更するファイル/メソッドとその呼び出し箇所)、**間接影響**(波及する影響 — データ形式、処理時間、ログ出力)、**波及なし**(明示的に影響を受けない範囲)。
240
232
 
241
233
  ### フィールド伝播マップ [Gate 3 — Required when fields cross component boundaries]
242
234
  新規または変更されたフィールドがコンポーネント境界を越える場合:
@@ -52,6 +52,11 @@ unknowns:
52
52
  - [Standard/convention] `[explicit]` — Source: [config / rule file / doc path]
53
53
  - [Observed pattern] `[implicit]` — Evidence: [file paths] — Confirmed: [Yes/No]
54
54
 
55
+ #### Assumed Behaviors
56
+ Behavioral or factual claims the design relies on but does not itself define — framework/library defaults, capabilities assumed already provided, features assumed already implemented — whose falsity would invalidate the design approach, and that are not already covered by the Fact Disposition Table or Cross-Layer Assumptions. Each claim carries evidence with Confirmed: Yes, or Confirmed: No (with Evidence: Not located) plus a matching Risks and Mitigation row — one that restates the claim as its Risk (the shared lookup key), names how it will be verified or guarded, and propagates the check downstream as `verify at [step or artifact]`. For a framework/library default, the doc evidence pairs the official doc with the resolved package version (from the lockfile or config). This slot is completed during Existing Code Investigation once evidence is gathered, so it may be empty when the rest of the Agreement Checklist is first filled. Mark the slot N/A when the design relies on no such claims.
57
+
58
+ - [ ] [Claim — e.g., "framework X defaults to Y", "service already returns Z"] — Evidence: [file:line / command output / doc URL paired with resolved package version, or "Not located" when Confirmed: No] — Confirmed: [Yes/No]
59
+
55
60
  #### Quality Assurance Mechanisms
56
61
  How quality is enforced in the change area. Each item is either adopted (will be enforced during implementation) or noted (observed but not adopted, with reason).
57
62
 
@@ -112,11 +117,11 @@ Each AC is written in EARS format. Keywords determine test type.
112
117
 
113
118
  ### Fact Disposition Table
114
119
 
115
- One row per codebase analysis `focusAreas` entry. This table is the primary binding between structural existing-behavior facts and the design (Verification Strategy's Output Comparison binds runtime behavior separately). Other sections that describe existing behavior reference the row by `fact_id` value.
120
+ One row per codebase analysis `focusAreas` entry. This table binds structural existing-behavior facts to the design; other sections referencing existing behavior cite the row by `fact_id`.
116
121
 
117
122
  | Fact ID | Focus Area | Disposition | Rationale | Evidence | Related Files |
118
123
  |---------|------------|-------------|-----------|----------|---------------|
119
- | [fact_id from focusAreas] | [area name from focusAreas] | preserve / transform / remove / out-of-scope | [preserve: confirmation-only language, e.g., "existing behavior retained without modification" — Rationale asserting a behavior change is flagged as preserve mismatch; transform: state new observable outcome, e.g., "branch X now returns 404 instead of 410" — Rationale asserting no change at all is flagged as transform mismatch; remove: state reason with PRD/UI Spec citation when policy-driven — Rationale asserting production-code retention is flagged as remove mismatch (test/migration retention stated explicitly is acceptable); out-of-scope: cite the scope-defining section and prefer preserve when behavior continues unchanged] | [evidence value carried verbatim from focusAreas] | [comma-separated path list carried verbatim from focusAreas.relatedFiles, e.g., `src/auth/createUser.ts, src/api/routes/users.ts`] |
124
+ | [fact_id from focusAreas] | [area name from focusAreas] | preserve / transform / remove / out-of-scope | [per disposition — preserve: confirmation-only ("retained without modification"); transform: new observable outcome ("now returns 404 instead of 410"); remove: reason + PRD/UI Spec citation when policy-driven; out-of-scope: cite the scope-defining section] | [evidence value carried verbatim from focusAreas] | [comma-separated path list carried verbatim from focusAreas.relatedFiles, e.g., `src/auth/createUser.ts, src/api/routes/users.ts`] |
120
125
 
121
126
  ### Cross-Layer Assumptions (cross-layer flow only)
122
127
 
@@ -255,7 +260,7 @@ Invariants:
255
260
 
256
261
  ### Field Propagation Map (When Fields Cross Boundaries)
257
262
 
258
- A boundary here includes a **serialized boundary** — a value encoded on one side and parsed on the other through a medium such as a query string, CLI argument, environment variable, config entry, message/queue payload, storage key, or file not only in-memory crossings. For a serialized row, append `Serialized: [exact representation the producer emits]; Parse: [how the consumer decodes/validates it]` — the **Serialized Format** and **Consumer Parse Rule** — so producer and consumer agree; omit that suffix for in-memory crossings.
263
+ A boundary includes a **serialized boundary** — a value encoded on one side and parsed on the other (query string, CLI argument, environment variable, config entry, message/queue payload, storage key, or file), not only in-memory crossings. For a serialized row, append the **Serialized Format** (`Serialized: [exact representation the producer emits]`) and the **Consumer Parse Rule** (`Parse: [how the consumer decodes/validates it]`) so producer and consumer agree; omit that suffix for in-memory crossings.
259
264
 
260
265
  - [field]: [ComponentA → B] — preserved / transformed / dropped — [reason]
261
266
  - [field]: [ComponentA → B] — transformed — Serialized: [exact representation]; Parse: [decode/validate rule] — [reason] (serialized boundary)
@@ -52,6 +52,11 @@ unknowns:
52
52
  - [基準/規約] `[explicit]` — 出典: [設定ファイル / ルールファイル / ドキュメントパス]
53
53
  - [観察されたパターン] `[implicit]` — 根拠: [ファイルパス] — 確認: [済/未]
54
54
 
55
+ #### Assumed Behaviors
56
+ 設計が依存するが自身では定義しておらず、かつ誤っていれば設計方針が破綻する振る舞い・事実の主張(フレームワーク/ライブラリのデフォルト、既に提供されていると想定する能力、既に実装済みと想定する機能)のうち、Fact Disposition Table や Cross-Layer Assumptions で既にカバーされていないもの。各主張は根拠とともに 確認: 済 とするか、確認: 未(根拠: 特定できず)として対応する「リスクと対策」の行を持つ — その行は主張を(共有ルックアップキーとして)リスクとして再掲し、どう検証またはガードするかを記し、下流に `検証先: [ステップまたは成果物]` として伝播する。フレームワーク/ライブラリのデフォルトについては、公式ドキュメントと(lockfile または設定から)解決したパッケージバージョンをセットで根拠とする。このスロットは根拠が集まる既存コード調査の段階で記入するため、合意事項チェックリストの他項目を最初に埋める時点では空でよい。該当する主張がなければスロットを N/A とする。
57
+
58
+ - [ ] [主張 — 例: 「フレームワーク X のデフォルトは Y」「サービスは既に Z を返す」] — 根拠: [file:line / コマンド出力 / 解決したパッケージバージョンとセットの doc URL、確認: 未 の場合は「特定できず」] — 確認: [済/未]
59
+
55
60
  #### 品質保証メカニズム
56
61
  変更対象領域で品質がどのように担保されているか。各項目は adopted(実装時に適用)または noted(観察されたが不採用、理由付き)のいずれか。
57
62
 
@@ -112,11 +117,11 @@ unknowns:
112
117
 
113
118
  ### Fact Disposition Table
114
119
 
115
- コードベース分析の`focusAreas`の各エントリに対して1行ずつ記載する。この表は**構造的な既存事実**と設計を結び付ける主たるテーブルである(Verification StrategyのOutput Comparisonは**ランタイムの振る舞い**を別途拘束する)。既存の振る舞いに言及する他セクションは、この表の行を`fact_id`値で参照する。
120
+ コードベース分析の`focusAreas`の各エントリに対して1行ずつ記載する。この表は**構造的な既存事実**を設計に結び付ける。既存の振る舞いに言及する他セクションは、この表の行を`fact_id`値で参照する。
116
121
 
117
122
  | Fact ID | Focus Area | Disposition | Rationale | Evidence | Related Files |
118
123
  |---------|------------|-------------|-----------|----------|---------------|
119
- | [focusAreasのfact_id] | [focusAreasのarea] | preserve / transform / remove / out-of-scope | [preserve: 確認のみの文言、例「既存の振る舞いを変更なしで維持」 振る舞い変更を主張するRationaleはレビューでpreserve mismatchとして検出される、transform: 新しい観測可能な結果を記述、例「分岐Xは410でなく404を返す」 全体として無変更を主張するRationaleはtransform mismatchとして検出される、remove: 理由を記述、ポリシー由来ならPRD/UI Specセクションを引用 — 本番コードパスでの保持を主張するRationaleはremove mismatchとして検出される(テスト/移行スクリプトでの保持を明示した場合は妥当)、out-of-scope: スコープ定義セクションを引用、既存の振る舞いがそのまま残るならpreserveを優先] | [focusAreasのevidence値をそのまま引き継ぎ] | [focusAreas.relatedFilesのパス一覧をそのまま引き継ぎ、カンマ区切り、例: `src/auth/createUser.ts, src/api/routes/users.ts`] |
124
+ | [focusAreasのfact_id] | [focusAreasのarea] | preserve / transform / remove / out-of-scope | [disposition別 — preserve: 確認のみの文言(「変更なしで維持」)、transform: 新しい観測可能な結果(「410でなく404を返す」)、remove: 理由 + ポリシー由来ならPRD/UI Specを引用、out-of-scope: スコープ定義セクションを引用] | [focusAreasのevidence値をそのまま引き継ぎ] | [focusAreas.relatedFilesのパス一覧をそのまま引き継ぎ、カンマ区切り、例: `src/auth/createUser.ts, src/api/routes/users.ts`] |
120
125
 
121
126
  ### Cross-Layer Assumptions(レイヤー横断フロー時のみ)
122
127
 
@@ -255,7 +260,7 @@ unknowns:
255
260
 
256
261
  ### フィールド伝播マップ(フィールドが境界を越える場合)
257
262
 
258
- ここでの境界には**シリアライズ境界** — 一方の側でエンコードされ、クエリ文字列、CLI引数、環境変数、設定エントリ、メッセージ/キューのペイロード、ストレージキー、ファイルなどの媒体を介して他方の側でパースされる値 — も含まれ、インメモリの受け渡しに限らない。シリアライズ境界の行では `Serialized: [producerが出力する正確な表現]; Parse: [consumerがどうデコード/検証するか]` — すなわち **Serialized Format** と **Consumer Parse Rule** — を付記し、producerとconsumerが合意するようにする。インメモリの受け渡しでは付記を省略する。
263
+ ここでの境界には**シリアライズ境界** — 一方の側でエンコードされ、クエリ文字列、CLI引数、環境変数、設定エントリ、メッセージ/キューのペイロード、ストレージキー、ファイルなどを介して他方の側でパースされる値 — も含まれ、インメモリの受け渡しに限らない。シリアライズ境界の行では **Serialized Format**(`Serialized: [producerが出力する正確な表現]`)と **Consumer Parse Rule**(`Parse: [consumerがどうデコード/検証するか]`)を付記し、producerとconsumerが合意するようにする。インメモリの受け渡しでは付記を省略する。
259
264
 
260
265
  - [フィールド名]: [コンポーネントA → B] — preserved / transformed / dropped — [理由]
261
266
  - [フィールド名]: [コンポーネントA → B] — transformed — Serialized: [正確な表現]; Parse: [デコード/検証ルール] — [理由](シリアライズ境界)
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.25.2] - 2026-07-07
9
+
10
+ ### Added
11
+
12
+ - **Behavioral claim verification** (agents, skills) — Design Docs now back the behavioral/factual claims they rely on but do not themselves define — framework/library defaults, capabilities assumed already provided, features assumed already implemented — with evidence at design time, or bind them to a follow-up. `technical-designer` / `-frontend` gain a Behavioral Claim Verification step (Gate 1) that records each material claim in a new Agreement Checklist "Assumed Behaviors" slot: evidence + `Confirmed: Yes`, or `Confirmed: No` with a matching Risks and Mitigation row propagated downstream as `verify at [step or artifact]`; a framework/library default requires the official doc paired with the resolved package version. Routing defers to the Fact Disposition Table (Codebase Analysis facts) and Cross-Layer Assumptions (prior-layer claims). `document-reviewer` gains a matching evidence check (`important` / `feasibility`). Incidentally trimmed redundant skill cues, the Change Impact example, and duplicated Fact Disposition prose. Applied across en/ja.
13
+
14
+ ## [1.25.1] - 2026-06-29
15
+
16
+ ### Added
17
+
18
+ - **Unimplemented-dependency handling** (agents) — `task-executor` / `-frontend` gain a rule for a dependency the task requires that is absent or unimplemented: it is a stop condition only when preserving the required contract needs it and no local, reversible construct (a vertical slice, or a contract-preserving stub/adapter scoped to the Target Files) can stand in. The required contract is established from an already-read source first — a missing `Dependencies:` deliverable whose contract no read source defines escalates as `design_compliance_violation`; one or more interchangeable constructs proceed with the integration handoff recorded in Investigation Notes; no viable construct, or constructs that differ on an architectural trade-off, escalate (reusing the existing escalation type, no new enum). Applied across en/ja.
19
+
8
20
  ## [1.25.0] - 2026-06-25
9
21
 
10
22
  ### Added
package/README.ja.md CHANGED
@@ -183,6 +183,7 @@ Claude Codeで利用できる主要なコマンド
183
183
  | `frontend-typescript-rules` | Reactコンポーネント設計、Props駆動パターン |
184
184
  | `frontend-typescript-testing` | React Testing Library、MSW、Playwright E2E(fixture / service-integrationパターン) |
185
185
  | `frontend-technical-spec` | Reactアーキテクチャ、環境設定、データフロー |
186
+ | `llm-friendly-context` | LLM向け出力(プロンプト、ハンドオフ、生成物)の明確さ |
186
187
  | `project-context` | AIの実行精度のためのプロジェクト前提情報(`/project-inject`で設定) |
187
188
 
188
189
  👉 [スキルの仕組みについて(Claude Code docs)](https://code.claude.com/docs/ja/skills)
package/README.md CHANGED
@@ -183,6 +183,7 @@ This boilerplate provides the principles used in agentic implementation workflow
183
183
  | `frontend-typescript-rules` | React component design, Props-driven patterns |
184
184
  | `frontend-typescript-testing` | React Testing Library, MSW, Playwright E2E (fixture and service-integration patterns) |
185
185
  | `frontend-technical-spec` | React architecture, environment, data flow |
186
+ | `llm-friendly-context` | Clarity of LLM-facing output — prompts, handoffs, and generated artifacts |
186
187
  | `project-context` | Project-specific prerequisites for AI accuracy (set via `/project-inject`) |
187
188
 
188
189
  👉 [Learn how Skills work (Claude Code docs)](https://code.claude.com/docs/en/skills)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.25.0",
3
+ "version": "1.25.2",
4
4
  "packageManager": "npm@10.8.2",
5
5
  "description": "TypeScript boilerplate with skills and sub-agents for Claude Code. Prevents context exhaustion through role-based task splitting.",
6
6
  "keywords": [