Skip to main content

Module human

Module human 

Source
Expand description

Human waiting, claim locks, tools, and submission.

Constants§

FIELDS_READ_BYTES
Read one sentinel byte beyond the bound to detect oversized files without loading them.
MAX_RESULT_BYTES
Bound owner fields and serialized Human results consistently across CLI, editor and submission so untrusted JSON cannot grow the review audit without limit.

Functions§

claim
default_reviewer
open
The saved request’s Run repository and its receipts, where its Human actions are recorded.
run_human_tool
Run tool for the reviewer who holds the claim, its output reaching run’s Tool log. A refusal before it starts ends the run with the refusal.
submit
Invalid results remain correctable; only a valid submission performs the final fingerprint check.
submit_and_publish
submit, then publish the settled result to the configured remote review store.
tool_commands
What every registered Human tool of a waiting request would run, by tool name; needs no claim and runs nothing. A tool that cannot be resolved carries its error.
unclaim
Release the reviewer lock without a verdict, so another reviewer can claim the request.