Repository navigation
Open
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementationtestTest / verification changestriage-requiredNeeds owner triage for priority decision
Description
contract_schema_version: v1
issue_kind: implementation
parent_issue: "none"
goal_ref: "docs-only Issue で fields/keys 完備を検証する VC pattern を SSOT 化し、false positive を構造的に防ぐ"
change_kind: docsParent Issue
none
Parent Goal Ref
- Goal: 「rg でキーワードが 1 件ヒットすれば PASS」という弱い VC pattern の再発を防ぎ、厳密な完備検証パターンを SSOT に定義する
- Desired Destination: N/A(standalone improvement)
Current Validated Scope
docs/dev/runtime-verification-policy.mdまたはdocs/dev/body-authoring.mdへの VC pattern 追記- Python 3 行スクリプトのサンプル提示
Remaining Parent Gaps
なし
Outcome
今後の docs-only Issue で「fields/keys が揃っている」ことを検証する場合の VC pattern が docs/dev/runtime-verification-policy.md または docs/dev/body-authoring.md に記載され、Python 3 行スクリプトのサンプルが提示されている。
Note: Issue #148 自体は既に CLOSED のため、当該ファイルの VC を遡及修正する対象ではない。本 Issue の目的は今後の同種 Issue での false positive 防止。
In Scope
docs/dev/runtime-verification-policy.mdまたはdocs/dev/body-authoring.mdへの VC pattern セクション追加- 「N キー全件揃い」「M フィールド全件完備」を検証する VC の記述ガイドライン
- Python 3 行スクリプトのサンプル(例:
python3 -c "import re; keys=['a','b','c','d']; text=open('f').read(); assert all(k in text for k in keys)"相当) rg | wc -l >= N方式が「全キー揃い」を保証しない理由の説明
Out of Scope
- Issue 実装: post-M1 playable outcome roadmap を docs/product/playable-roadmap.md に記録する (M-A5) #148 の VC 遡及修正
- CLOSED Issue の再オープン
- CI/CD での自動バリデーション実装
Acceptance Criteria
-
docs/dev/runtime-verification-policy.mdまたはdocs/dev/body-authoring.mdに「rg | wc -l >= N は全キー揃いを保証しない」旨の説明が追加されている - 厳密な全件完備確認のための VC pattern(Python または bash)のサンプルが 1 つ以上示されている
- サンプルが docs-only Issue の典型的な検証シナリオ(複数キー全件存在確認)を網羅している
Verification Commands
rg "wc -l\|false positive\|全件\|all.*keys" docs/dev/runtime-verification-policy.md docs/dev/body-authoring.md 2>/dev/null# AC1: false positive 説明の存在確認rg "python3\|assert all\|all(k in" docs/dev/runtime-verification-policy.md docs/dev/body-authoring.md 2>/dev/null# AC2: Python サンプルの存在確認
Allowed Paths
docs/dev/runtime-verification-policy.mddocs/dev/body-authoring.md
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
Required Skills
- docs authoring(Markdown)
- Python / bash スクリプト基礎
Scope Delta(任意)
N/A
Source
- origin_skill: post-merge-cleanup
- origin_pr: docs: post-M1 playable outcome roadmap を docs/product/playable-roadmap.md に記録する (#148) #226
- dedupe_key:
playable-roadmap-vc-tightening - extracted_from: PR docs: post-M1 playable outcome roadmap を docs/product/playable-roadmap.md に記録する (#148) #226 本文
## Process Observationsセクション
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasestate/queuedQueued for implementationtestTest / verification changestriage-requiredNeeds owner triage for priority decision
Activity