complete_intent
Record the final status and outcome of an intent with a detailed summary and git metadata, enabling collision warnings for other agents.
Instructions
Close out an intent when work finishes or is abandoned. The outcome summary is required for done and is the most valuable artifact this system produces: write one paragraph covering what actually changed, anything surprising, approaches tried and rejected, and anything deliberately left in place. Gather git facts as exhaust — you already have them at completion time: files = repo-relative paths actually changed (git diff --name-only over the work, committed or not); commits = SHAs created for this work; uncommitted = true if ANY of the work is not yet committed (untracked/unstaged/staged-only) — this flag is what lets other agents' collision checks warn loudly instead of quietly. Omit anything unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The intent id returned by post_intent. | |
| files | No | Repo-relative paths actually changed (from `git diff --name-only` over the work). Omit if unknown. | |
| status | Yes | done = landed; abandoned = stopped without landing. | |
| commits | No | Commit SHAs produced for this work. Omit if unknown. | |
| outcome | Yes | One paragraph: what actually changed, surprises, dead ends, things deliberately left alone. | |
| uncommitted | No | True if ANY of the work is not yet committed (untracked/unstaged/staged-only). This flag escalates collision warnings for other agents. False = all committed. Omit if unknown. |