Repository navigation
fix(dev-loop): verify() が consentAudit を転送し verify dispatch を監査対象にする (Issue #403) - #404
Merged
Merged
Conversation
…ches are audited (Issue #403)
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
rebuildup
marked this pull request as ready for review
November 21, 2026 06:07
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
Closes #403
dev-loop/devloop.mjsのverify()がrunOperation()へ明示的なフィールドリストで引数を渡す際にconsentAuditを落としており、verify 経由の read dispatch が consent-audit に記録されない実害のある不具合を修正する。PR #400 の CodeRabbit レビュー指摘を起点に、実ホスト evidence(req-mcp-3 欠落)で確認済み。変更
verify()の destructure / 転送リストにconsentAuditを追加confirmRender/confirmDestructive/targetGuardは verify が non-mutating op のみ許可するため発火し得ず転送不要(registry 全 97 op で non-mutating かつ requiresConfirm/destructive の op が存在しないことを確認済み)。転送しない旨をコメントで明記CONSENT_AUDIT_INVALIDで refused になる検証
node --test dev-loop/tests/devloop.test.mjs: 11 pass(新規 2 件は修正前 FAIL → 修正後 PASS)npm test(ae-devtools-cli 全 suite): 全 greenfake/mock only(fake host ベースの unit/contract test。実ホスト再検証は conformance evidence refresh で別途実施)