
Verification Report: ralph【免費(fèi)下載鏈接】oh-my-claudecodeTeams-first Multi-agent orchestration for Claude Code項(xiàng)目地址: https://gitcode.com/GitHub_Trending/oh/oh-my-claudecodeStatus:completeStarted:2026-01-23T15:00:00.000ZCompleted:2026-01-23T15:05:00.000ZSummaryTotal Checks:7Passed:7Failed:0Skipped:0Verdict:APPROVEDMarkdown 模式下每個(gè)檢查項(xiàng)還會(huì)渲染為 ### 小節(jié)狀態(tài)符號(hào)為 ?通過/ ?失敗/ ○未完成并標(biāo)注 (required) / (optional)開啟 includeOutput 后命令輸出以代碼塊形式展示。 ### JSON機(jī)器可讀 json { protocol: {...}, startedAt: 2026-01-23T15:00:00.000Z, completedAt: 2026-01-23T15:05:00.000Z, checks: [...], status: complete, summary: {...} }JSON 格式直接對(duì)清單對(duì)象做JSON.stringify(checklist, null, 2)完整保留協(xié)議、檢查項(xiàng)、證據(jù)與匯總適合下游程序消費(fèi)。Text日志友好Verification Report: ralph Status: complete Started: 2026-01-23T15:00:00.000Z Completed: 2026-01-23T15:05:00.000Z Summary: Total Checks: 7 Passed: 7 Failed: 0 Skipped: 0 Verdict: APPROVEDText 格式每條證據(jù)輸出一行PASSED/FAILED開啟includeOutput時(shí)僅截取輸出前 100 個(gè)字符適合寫入日志。與工作流的真實(shí)集成Ralph Loop完成聲明的架構(gòu)師驗(yàn)證README 展示了 ralph 使用驗(yàn)證協(xié)議確保任務(wù)完成后才退出的模式const protocol createProtocol(ralph, Ralph completion verification, [ STANDARD_CHECKS.TODO, STANDARD_CHECKS.BUILD, STANDARD_CHECKS.TEST, STANDARD_CHECKS.FUNCTIONALITY, STANDARD_CHECKS.ARCHITECT ]); const checklist createChecklist(protocol); await runVerification(checklist); if (checklist.summary?.verdict approved) { // All checks passed - use cancel to cleanly exit console.log([RALPH VERIFIED] Run /oh-my-claudecode:cancel to exit.); }在倉庫真實(shí)實(shí)現(xiàn)中ralph 的驗(yàn)證遠(yuǎn)比代碼示例復(fù)雜src/hooks/ralph/verifier.ts 提供了完整的驗(yàn)證狀態(tài)機(jī)佐證驗(yàn)證狀態(tài)VerificationState含pending、completion_claim、verification_attempts、max_verification_attempts默認(rèn) 3 次、architect_feedback、architect_approved、verification_scopestory或completion等字段狀態(tài)持久化驗(yàn)證狀態(tài)寫入ralph-verification.json默認(rèn)位于 OMC 根目錄有會(huì)話時(shí)使用會(huì)話隔離路徑。這一狀態(tài)文件在 src/features/state-manager/index.ts 中被登記為ralph-verification狀態(tài)鍵同時(shí)在 src/hooks/mode-registry/index.ts 中作為模式標(biāo)記文件使用驗(yàn)證流程ralph 聲明完成 → 進(jìn)入驗(yàn)證模式 → 喚起架構(gòu)師 Agent或 critic / codex 模式核驗(yàn) → 批準(zhǔn)則輸出帶request-id/story-id的ralph-approvedVERIFIED_COMPLETE/ralph-approved關(guān)聯(lián)標(biāo)簽并建議運(yùn)行/oh-my-claudecode:cancel干凈退出 → 拒絕則帶著架構(gòu)師反饋繼續(xù)循環(huán)防偽機(jī)制detectArchitectApproval會(huì)先剝離被注入的驗(yàn)證示例文本再校驗(yàn)request-id與 story 場景下的story-id是否與當(dāng)前請(qǐng)求匹配防止偽造批準(zhǔn)標(biāo)簽重試上限r(nóng)ecordArchitectFeedback在拒絕時(shí)遞增verification_attempts達(dá)到 3 次上限后強(qiáng)制結(jié)束驗(yàn)證避免無限循環(huán)。Ultrawork完成準(zhǔn)則校驗(yàn)const protocol createProtocol(ultrawork, Ultrawork verification, [ STANDARD_CHECKS.TODO, STANDARD_CHECKS.FUNCTIONALITY, STANDARD_CHECKS.ERRORS ]); const checklist createChecklist(protocol); await runVerification(checklist, { parallel: true }); const report formatReport(checklist, { format: markdown });需要說明的是README 中 ultrawork 示例引用的STANDARD_CHECKS.ERRORS在 index.ts 中實(shí)際命名為ERROR_FREEid 為error_free。從源碼結(jié)構(gòu)看當(dāng)前標(biāo)準(zhǔn)檢查集只有ERROR_FREE而沒有ERRORS別名這是 README 與實(shí)現(xiàn)之間的命名出入實(shí)際使用時(shí)請(qǐng)以STANDARD_CHECKS.ERROR_FREE為準(zhǔn)。AutopilotQA 與驗(yàn)證兩階段// QA Phase const qaProtocol createProtocol(autopilot-qa, QA verification, [ STANDARD_CHECKS.BUILD, STANDARD_CHECKS.LINT, STANDARD_CHECKS.TEST ]); // Validation Phase const validationProtocol createProtocol(autopilot-validation, Final validation, [ STANDARD_CHECKS.BUILD, STANDARD_CHECKS.TEST, STANDARD_CHECKS.FUNCTIONALITY, STANDARD_CHECKS.ARCHITECT ]);【免費(fèi)下載鏈接】oh-my-claudecodeTeams-first Multi-agent orchestration for Claude Code項(xiàng)目地址: https://gitcode.com/GitHub_Trending/oh/oh-my-claudecode創(chuàng)作聲明:本文部分內(nèi)容由AI輔助生成(AIGC),僅供參考