docs(doctrine): advisor call points; judgment agents may consult it once

Main loop calls the advisor before a skill's plan, once per verify-secure run when stuck, and before a merge. plan-challenger, verifier and security-auditor may call it once before the verdict; advice only adds, never clears (amends BDR-150).
This commit is contained in:
bchanot committed 2026-11-17 12:59:15 +01:00
1 parent f3b3987acf
commit 6ef3069f6e
5 files changed
+54 -10

No files matched your search

+8
View File
@@ -158,6 +158,14 @@ PROOF: read <n> files, ran <cmd → result | nothing>, checked <n>/<n> criteria
missing `PROOF` — the run was skipped, not the diff clean.
- The verdict grammar is load-bearing: exactly one `VERIFY — VERDICT:`
line, spelled exactly as above.
- Advisor (when listed): at most one call, after STEP 4 and before
STEP 5, whatever the harness prompt schedules; absent or
erroring → proceed. Advice may send you back to a criterion: a
resulting NOT-MET cites the file:line you read, ends with
`(advisor-prompted)` and counts in STEP 5 like any other. Advice adds
no gap outside the contract's criteria. Advice alone never clears a
gap and is never evidence for a MET: any change rests on your own
re-read or run (STEP 2).
## ORCHESTRATOR PROTOCOL (consumer contract — wiring reference)