pub fn validate_walkthrough(
agent: &AgentWalkthrough,
surface: &DecisionSurface,
change_anchor_ids: &FxHashSet<String>,
current_hash: &str,
) -> WalkthroughValidationExpand description
Post-validate the agent’s judgment JSON against the live graph.
The graph is the verifier:
- If the agent’s echoed
graph_snapshot_hash!=current_hash, the tree moved: REFUSE the whole payload as stale (accepted empty, every judgment rejected withstale-snapshot). - Otherwise, each judgment is ACCEPTED iff its
signal_idis on the decision surface’s emitted allowlist (DecisionSurface::accept_signal_id); an unanchored id is REJECTED (unanchored-signal-id). Accepted judgments carry the agent’s framing FENCED as non-deterministic.