-
Notifications
You must be signed in to change notification settings - Fork 4
[ACP-HARDEN-310] SSOT freshness contractとdrift検出を追加する #3665
Copy link
Copy link
Open
Labels
area:contractsSchemas and contractsSchemas and contractsarea:productProduct positioning and docsProduct positioning and docsassurance-control-planeAgent-neutral assurance control plane roadmapAgent-neutral assurance control plane roadmapcodex-readyIssue body is structured for Codex CLI executionIssue body is structured for Codex CLI executionpriority:p2Later or follow-up sliceLater or follow-up slicerisk:mediumExpected medium implementation riskExpected medium implementation risktype:taskImplementation taskImplementation task
Description
Activity
Metadata
Metadata
Assignees
Labels
area:contractsSchemas and contractsSchemas and contractsarea:productProduct positioning and docsProduct positioning and docsassurance-control-planeAgent-neutral assurance control plane roadmapAgent-neutral assurance control plane roadmapcodex-readyIssue body is structured for Codex CLI executionIssue body is structured for Codex CLI executionpriority:p2Later or follow-up sliceLater or follow-up slicerisk:mediumExpected medium implementation riskExpected medium implementation risktype:taskImplementation taskImplementation task
Parent: #3655
Depends on: ACP-HARDEN-120, ACP-HARDEN-220
Blocks: #3640
Codex lane:
docs/ssot-freshness-contract背景
主要SSOT文書には
lastVerifiedとverificationCommandがあるが、current source revision、next review date、関連path変更後のdriftを機械的に追跡する共通contractがない。文書が古いままでも、frontmatterのlastVerifiedだけでは現在mainとの関係を判断できない。Private Matchのresearch recordでは
last_verified_at、next_review_at、source statusを保持し、期限切れとHTTP availabilityを別warningとして扱った。同じ原則をarchitecture、policy、security、runbookへ適用する。目的
SSOT文書の検証revision、対象path、verification command、next reviewを閉じたfrontmatter contractとして定義し、期限切れとsource driftを検出する。
Codex CLI preflight
docRole: ssot|derived|narrativeProposed frontmatter
最低限:
Derived documentはcanonical sourcesとsource digestsを保持する。
実装タスク
docs/のdocRole/lastVerified/owner/verificationCommand inventoryを作る。nextReviewAt < todayをstale-review-dateとしてwarningまたはprofile-selected blockにする。verifiedAgainst.revision以降にrelevant pathが変更された場合をsource-driftとして検出する。lastVerifiedやrevisionを更新しない。再検証commandの実行と人間reviewを要求する。Acceptance criteria
nextReviewAtを検出する。Validation
pnpm -s run check:doc-consistencypnpm -s run verify:lite非目標
Stop condition