Skip to main content

amend

Function amend 

Source
pub fn amend(
    project_root: &Path,
    number: u64,
    agent: &str,
    input: AmendInput,
) -> Result<TaskAckV1, CloudError>
Expand description

Amend the result of vault task number as agent (the rules of lean_ctx_protocol::cloud::tasks::amend_rule and may_amend). Fails closed: it checks the request, the screening and the task (read only) and then refuses, sending nothing, because no Cloud serves AMEND_ROUTE yet; the task stays unchanged.