adf-retrofit-verification
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseADF Retrofit Verification
ADF Retrofit Verification
目的
Purpose
預設 VERIFY ONLY;分析 Legacy 與 Target,使用相同案例做 Golden/Dual Execution、Normalization、Comparison 與 Traceability,缺陷經 Human Review 後另開 CHANGE。
VERIFY ONLY by default; analyze Legacy and Target, use the same cases for Golden/Dual Execution, Normalization, Comparison, and Traceability; after Human Review, open a separate CHANGE for any defects.
ADF 共通不變條件
ADF Common Invariants
- Work Type 僅使用 、
NEW、CHANGE。MIGRATION - 每個 Module 同一時間只允許一個 Active Work Item;Module 是主要隔離邊界。
- 預設採 Compact Artifacts:、
requirements.md、rules.md、standards.md、design.md、test-cases.md。traceability.md - 檔案存在不代表 Stage 已完成。
- 穩定識別碼維持英文:、
REQ-*、BR-*、VAL-*、Q-*、UI-*、DEV-*。MIG-* - 無法證明的行為必須標記 或
UNKNOWN。REVIEW_REQUIRED - 不得為了取得 而弱化 Expected Result。
PASS - Project-wide Standards 放在 。
standards/
- Work Type may only use ,
NEW, orCHANGE.MIGRATION - Each Module may have only one Active Work Item at a time; the Module is the primary isolation boundary.
- Compact Artifacts are used by default: ,
requirements.md,rules.md,standards.md,design.md, andtest-cases.md.traceability.md - The existence of a file does not mean that the Stage is complete.
- Stable identifiers remain in English: ,
REQ-*,BR-*,VAL-*,Q-*,UI-*, andDEV-*.MIG-* - Any behavior that cannot be proven must be marked or
UNKNOWN.REVIEW_REQUIRED - Expected Result must not be weakened merely to obtain a .
PASS - Project-wide Standards are stored in .
standards/
Verify Only
Verify Only
第一階段禁止自動修改 Target。發現差異先保存 Evidence 與分類;確認為 後,經 Human Gate 決定是否建立獨立 進行修復與 Re-Verify。
MIGRATION_DEFECTCHANGEThe first phase prohibits automatic modification of the Target. When differences are discovered, first preserve the Evidence and classify it; after confirming that the difference is a , the Human Gate determines whether to create an independent for remediation and Re-Verify.
MIGRATION_DEFECTCHANGEEvidence-Guided Q&A
Evidence-Guided Q&A
解析單一官方來源 下的 interactive-review、question-schema、approval-gate 與 terminology,依其規則執行。來源缺少或版本不相容時停止需要 Review 的階段,不維護本地副本。
adf-project-install/references/Parse the interactive-review, question-schema, approval-gate, and terminology from the single official source under , and follow their rules. If the source is missing or version-incompatible, stop any phase that requires Review; do not maintain a local copy.
adf-project-install/references/v5.1 資源與舊專案相容性
v5.1 Resource and Legacy Project Compatibility
- 官方資源唯一位置以 為準;不複製到專案
adf-project-install/references/resources.json,不使用客製範本。.adf/templates/ - 從本專案 或
.agents/skills/解析來源;可使用安裝 Skill 的.claude/skills/。兩處版本或內容衝突時停止,不回退到全域。scripts/project.mjs resolve <project> <resource-key> - 官方資源來源 Skill 未安裝或版本不相容時,提示透過 在專案層級安裝適用正式版本。Review 不可跳過。
npx skills - 先讀取專案 與已核准 Evidence;官方規範範例不是專案核准規範,不自動套用。
standards/ - 保留 v5.0 的 Module 文件、完成狀態與核准紀錄;新版缺少欄位或文件列為補做建議,不自動撤銷核准。需要補做另走 CHANGE。
- 在尚未採用新版 Gate 的舊 Module,只列出 Functional Scenario / specification 差異;已明確採用的新工作才檢查新版要求。
- The sole authoritative location for official resources is ; do not copy them into the project’s
adf-project-install/references/resources.jsondirectory or use custom templates..adf/templates/ - Parse sources from the project’s or
.agents/skills/; the installed Skill’s.claude/skills/may be used. If the versions or content conflict between the two locations, stop and do not fall back to the global location.scripts/project.mjs resolve <project> <resource-key> - If the Skill that provides the official resources is not installed or is version-incompatible, prompt the user to install the applicable official version at the project level using . Review cannot be skipped.
npx skills - First read the project’s and approved Evidence; examples in the official specification are not project-approved standards and are not automatically applied.
standards/ - Retain v5.0 Module documents, completion statuses, and approval records; fields or documents missing from the new version are listed as follow-up recommendations, and approvals are not automatically revoked. Any follow-up work must go through a separate .
CHANGE - For legacy Modules that have not yet adopted the new Gate, list only Functional Scenario or specification differences; check the new-version requirements only for newly adopted work.