# Completing a Task

```bash
memprove task complete                      # cites every citable passed run of the current state
memprove task complete --evidence r1 --evidence r3
```

Without `--evidence` it cites every citable passed run of the current state; it is refused (exit 2, no request) while
the latest run of some command in this state did not pass, and its standard error names those runs. The daemon
completes the Task only when every cited Evidence is a passed test run that still holds and the Task reads `verified`;
otherwise `409 evidence_stale`: commit, run again, and try again. When a record of the Task does not hold (`resume`
reads `tampered`) it is `409 evidence_stale` whatever you cite: Run `memprove ledger verify` to see which record; a
rerun does not help. It sends the context's Session, and the daemon judges the completion by that Session's role. The
orchestrator or a person completes a Task on any Session's runs with `--evidence <EVIDENCE_ID>`.
