Proof of Done

Connect a coding agent

A coding agent reads the done contract of a work item and submits evidence through the app's MCP server. It has no tool that accepts or rejects evidence.

A done contract is the list of criteria that a work item has to meet, each with evidence. A coding agent such as Claude Code can read the contract and submit evidence itself. It does that through the app’s MCP server, which Atlassian hosts. MCP is the protocol that coding agents use to call outside tools.

Through the server an agent reads a work item and its done contract, starts a contract from criteria that are already written down, and submits evidence for each criterion. It cannot change what a contract says, and it cannot accept or reject evidence. A person or the Proof Verifier does that. The Proof Verifier is a Rovo agent that comes with the app.

Turn the tools on

Access from outside Atlassian is off until an admin turns it on.

  1. A site admin or an organization admin opens Atlassian Administration, then Apps, Sites, the site and Connected apps. There the admin selects Proof of Done, opens its app details and turns on its tools.
  2. Each person who will use an agent opens the Proof of Done panel on any work item once and chooses Allow access. The tools read Jira as that person, so the agent sees no work item that the person cannot see, and it can change a contract only where the person may edit the work item.

Connect the agent

The address of the MCP server ends in the id of the app. For the app from the Atlassian Marketplace the address is https://mcp.atlassian.com/forge/8e9618ee-0af4-4f2a-95af-436f5d28f0b9. A copy of the app that was installed from a link, or one that you deployed yourself, has another id at the end of the address.

In Claude Code, run this command.

claude mcp add --transport http proof-of-done https://mcp.atlassian.com/forge/8e9618ee-0af4-4f2a-95af-436f5d28f0b9

Then run /mcp in Claude Code and sign in. The sign-in page asks which site to connect. For another agent, add the address as a remote MCP server in its settings.

The five tools

get-context-pack
Returns the context pack of a work item. That is what an agent should read before it starts: the description, the parent, linked work items, linked pull requests and builds, recent comments, the done contract and the rules of proof.
get-done-contract
Returns each criterion with its evidence and whether it is proven, and gives the done gate’s answer for the work item. The done gate is the app’s reaction when someone closes a work item whose contract is not proven.
start-done-contract
Creates the contract from the acceptance criteria in the description and the rules of the project. It cannot add criteria of the agent’s own. When the work item already has a contract, the tool returns that contract unchanged.
submit-evidence
Submits one piece of evidence for one criterion and answers at once whether it passed the checks. Evidence that passes still waits for a review.
list-unproven-work
Lists up to 30 work items of a project that have a contract and are not fully proven, with what each still needs. It also returns the number of contracts in the project and the reading of the project’s meter. The meter says whether proven work leaves the project faster than new work arrives.

Every answer has a field ok. When it is false, the answer has a code and an error sentence that says why.

What to tell the agent

The tools do not tell an agent when to use them. Put the working order into the agent’s instructions. For Claude Code that is the file CLAUDE.md in your repository.

When you work on a Jira work item, use the Proof of Done tools.

1. Call get-context-pack with the work item key before you start. Read the contract in the answer.
2. If hasContract is false and the answer suggests criteria, call start-done-contract. If it suggests none, ask me to write the contract in the Proof of Done panel.
3. Put the work item key in the branch name, the pull request title or a commit message.
4. When a criterion is met, call submit-evidence for it. State what you ran in this session and copy the numbers from the output. Give your name in agentName.
5. If the answer has passedChecks false, read problems, fix the cause and submit again.
6. At the end, call get-done-contract. Report how many criteria are proven, how many wait for a review and how many have no evidence.
7. Say "done" only when proof.state is "proven". Leave the work item out of a done status until then.

You cannot accept evidence and you cannot attest. Tell me when evidence waits for a review.

Step 7 names proof.state on purpose. The answer also has gate.passes, which is the done gate’s answer. The gate passes a work item that has no contract, and it passes everything in a project that set “When a work item is closed without proof” to “Do nothing”. So gate.passes can be true while nothing is proven.

What an agent can and cannot do

What the agent receives

get-context-pack sends the agent these things about the work item.

get-done-contract sends the contract. That is each criterion with its five newest pieces of evidence, their summaries, links, details and verdicts. submit-evidence sends back the one criterion in the same form. list-unproven-work sends the key, summary, type and status of the work items it lists, with what each still needs.

The answers hold display names and no account ids. The app cuts long text at the lengths above and filters nothing out of it. The agent runs outside Atlassian. Where it sends what it reads is up to the tool you chose and the person who connected it.

When a tool says no

When a tool cannot do what the agent asked, its answer says why in a sentence. These are the common ones, each by its first sentence.

“Proof of Done cannot act as you yet.”
Open the Proof of Done panel on any work item in Jira and choose Allow access. Then let the agent call the tool again.
“No acceptance criteria were found in the description or the project rules.”
An agent cannot write a contract. Write the criteria in the Proof of Done panel, or add a list under a heading such as “Acceptance criteria” to the description.
“Only a person can attest.”
The agent submitted an attestation. The app stores it as failed evidence and returns this sentence under problems. Ask the person who can vouch for the criterion to add an attestation in the panel.
“You need permission to edit ABC-123 to change its done contract or its proof.”
The person who connected the agent may not edit that work item. Ask a project admin for the permission.
“Work item ABC-123 does not exist, or you do not have access to it.”
Check the key. The agent reads Jira as the person who connected it, so it cannot reach a work item that this person cannot see.
“Proof of Done could not finish this call. Try it again.”
The app ran into an error. If the message stays, send me the time and the name of the tool.

If the agent cannot connect at all, the support page lists what to check.