[EPIC][expert] VERIFY expert: evidence plans, independent validation, proof-carrying outcomes, and exact Frozen-Spec acceptance #414
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#414
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent: #376
Depends on: #377, #378
Consumes: #56, #93 VERIFY, #380, #381
Goal
Add the canonical VERIFY Expert responsible for deciding whether the exact Frozen Spec is satisfied by current observable evidence.
This expert is the acceptance boundary for the closed loop. Planner, Write, Repair, model output, test prose, or worker self-report cannot declare success on its behalf.
Outcome vocabulary
Preserve at least:
Missing evidence is not failure; failure is not success; a model saying “done” is not evidence.
Responsibilities
Verification planning
The expert may construct a verification plan, but actual runnable deterministic operations such as
run/1remain plan-native under #355.Example:
Trust/evidence model
Compose with #56. Preserve distinction between:
A valid proof over untrusted premises is not automatically accepted evidence.
Model-generated claims may guide what to check, but they do not satisfy requirements unless the requirement explicitly treats a model result as the required observation.
Symbolic verification
Use Prolog and constraint solvers where appropriate:
Normal verification should support zero model calls.
An optional review/model fallback may help formulate or interpret fuzzy evidence only when explicitly enabled; any material acceptance decision still requires admissible structured evidence.
Independent acceptance
Write Expert cannot self-verify its mutation. Repair Expert cannot weaken acceptance. Planner cannot drop failed obligations.
Verification should be re-run against fresh post-effect state whenever the relevant evidence generation changed.
Explainability
For each requirement expose:
Aggregate completion should provide a requirement-by-requirement evidence map.
Acceptance
run/1remains plan-native; Verify Expert may request/select it but does not become its executor.Non-goals
Refs #376 #377 #378 #56 #93 #380 #381 #355
Machine Spirit #401B handoff — execution monitoring does not weaken VERIFY
Depth 4B adds monitored procedures, but this issue remains the sole success boundary.
Required clarification:
safe_to_continueis not equivalent to VERIFY deciding the goal/spec is satisfied.Full rationale and adversarial fixtures: #401 Depth-4B.
Machine Spirit #404B / CITADEL-EPOCH handoff
When VERIFY outcomes are used as evidence for learning/promotion, add a noninterference boundary:
Refs #404B / CITADEL-EPOCH fixtures B9-B14, B34, B40.
Machine Spirit #404C handoff — verifier portability is conditional
When VERIFY receipts are exported as learning/promotion evidence, expose stable fingerprints/versions for Frozen Spec, verifier semantics, evidence-admission policy and relevant observation generation. A foreign
satisfiedreceipt authenticates a source evaluation only; it does not satisfy target VERIFY.Target compatibility should classify source verification guarantees as
preserved|translated|weakened|invalidated|unknown|noncomposable. Same verifier name with a different fingerprint is non-equivalent. A stricter target verifier keeps its unmet obligations even if the source verifier passed. Full design: #404C.MACHINE-SPIRIT #404D / CLOCKWORK handoff
Promotion-oriented validation must freeze an immutable EvaluationSnapshot before consuming validation evidence. At minimum bind the exact Frozen-Spec fingerprint, verifier/version, evidence-admission policy, metric/hard-guard contract, candidate/version, baseline, task/environment epoch and relevant dependency generations.
VERIFY remains the acceptance authority for the exact obligation it checks, but VERIFY is not the statistical/generalization promoter. A successful VERIFY receipt is typed evidence consumed by #404 policy. Candidate/verifier/evidence-policy mutation after snapshot freeze makes the promotion evaluation stale/invalid rather than stronger.
Conformance handoff: source retraction/verifier generation changes racing with promotion must be detected through exact snapshot/dependency-generation checks; candidate-authored or candidate-mutated verification cannot count as independent validation by default. Refs #397 #404 #395.
#405B AEGIS-MS VERIFY handoff: VERIFY needs an acceptance dependency/influence closure in addition to ordinary evidence refs. A strong acceptance must reject forbidden self-dependence (candidate/result influences its verifier, metric, evidence selector, test set, endorsement/control rule), stale verifier/control/identity/redaction/authority generations, and effect observations that are not admissibly tied to the intended attempt/object/generation.
verifiedmust identify verifier implementation/config/trusted-base generation; it is not an unqualified truth bit. This does not move authority into VERIFY or create a second verifier system; it hardens #384's existing acceptance boundary. See #405B B7-B12, B24-B28, B41-B44.