feat: certify codegen chat drafts through loop

This commit is contained in:
thanhnv
2026-07-08 23:20:54 +09:00
parent 780fe86273
commit b3b0544ba8
15 changed files with 359 additions and 24 deletions
@@ -34,6 +34,9 @@ echo "===== Plan-18 MVP-0 prompt router ====="
[[ "$(mode_of 'run tests')" == "OPERATOR" ]] \
&& pass "registered operator action -> OPERATOR" || fail "run tests not OPERATOR"
[[ "$(mode_of 'generate code for a hello function')" == "CODEGEN" ]] \
&& pass "codegen draft request -> CODEGEN" || fail "codegen request not CODEGEN"
[[ "$(mode_of 'deploy now' '--model-verdict READ_ONLY')" == "NOT_SUPPORTED" ]] \
&& pass "rule wins over model READ_ONLY" || fail "model overrode rule"