Align D4 inline admission before freeze (#488) - #489
Merged
Merged
Conversation
Kewton
marked this pull request as ready for review
September 16, 2026 17:03
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.
Problem and change
D4のO/V1/SWALLOWは既存の形成段階で再提案になっていましたが、直接登録では固定でき、要求を保つV2への書換えも拒否されていました。
Next.js/createの当該run所有・未設定の生成契約を対象に、最終判定と同じ分類・要求評価を使って新規inline検査を登録前に検査します。3つの登録入口で候補全体を先に検査し、不適格な候補があれば契約や作成義務を書き換えません。
D4の文字列検査には、対象ファイル・条件・順序・診断文・成功出力を維持する限定的な書換えを追加しました。元の要求と書換えの対応を記録し、条件欠落や失敗の握りつぶしを拒否します。既存のモデル/hostの担当・出力義務、3回の提案上限、最終判定、profile・identityの各gateを維持します。
Validation
cargo fmt --all -- --check、cargo clippy --all-targets -- -D warnings、sandbox外のcargo testが成功。dev-reports/issue-488/verification.mdに記録。Scope of evidence
保存コマンドの文字列とSHA-256は元のD4対照と一致します。fixtureは縮小した文字列検査用で、業務負例・compile負例は明示した合成対照です。live modelやブラウザーでの実アプリ成功は示していません。shell実行と分類parserから組み立てた直接Node実行の終了結果を比較しており、shellプロセスのargv自体は観測していません。
Tracks #488