Task Finish Contract
name: task-finish-contract
by dalomeve · published 2026-03-22
$ claw add gh:dalomeve/dalomeve-task-finish-contract---
name: task-finish-contract
description: Enforce task completion with explicit Goal/Progress/Next state. Prevent mid-task stalls and ensure evidence-based completion.
---
# Task Finish Contract
Prevent mid-task stalls. Every task must finish with explicit state and evidence.
Problem
Agents often:
Workflow
1. State Output (Each Substantial Step)
**Goal**: What finished looks like
**Progress**: What has been done
**Next**: One concrete action executing now2. Completion Proof Format
For tasks with 2+ steps, include:
**DONE_CHECKLIST**:
- [ ] Item 1 completed
- [ ] Item 2 completed
**EVIDENCE**:
- Executed: command/action summary
- Artifact: path/URL/id
- Verified: check command result
**NEXT_AUTONOMOUS_STEP**:
- One follow-up that runs without user input3. Anti-Stall Rule
Executable Completion Criteria
| Criteria | Verification |
|----------|-------------|
| Goal stated | `Select-String "Goal" memory/{date}.md` matches |
| Progress tracked | `Select-String "Progress" memory/{date}.md` matches |
| Next action defined | `Select-String "Next" memory/{date}.md` matches |
| Evidence present | Artifact path/URL exists |
| No unresolved markers | `Select-String "TODO|PENDING|TBD" artifact` returns nothing |
Privacy/Safety
Self-Use Trigger
Use when:
---
**Finish what you start. Prove it with evidence.**
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...