agora.plan.probe_predicates
Probe-specific postconditions for the tool-call fidelity probe (axis 1).
These three predicates back flows/tool-call-fidelity.plan.yaml. They are
deliberately narrow and byte-exact so a failure attributes to the tool-call
axis (did the model read/concatenate/copy bytes correctly and call the tools
in order) rather than to code-generation or judgment.
Registered into agora.plan.predicate_registry via the standard
@register_predicate decorator; importing this module performs the
registration (the registry imports it at the bottom of its own module so the
names resolve everywhere, exactly like the built-in factories).
All file-reading predicates fail closed: a missing target file returns
False, never a vacuous pass (see the Checkpoint-1 fail-closed audit).
Functions
|
|
|
|
The task must have recorded a completion ( |
- agora.plan.probe_predicates.postcond_file_content_equals_concat(path, first_path, second_path)[source]
pathmust equalfirst_pathbytes followed bysecond_pathbytes (no separator). All three are work_dir-relative.Fails closed: any missing file returns False.