Validate a change
Approve the declarations a change adds or edits, and accept the gaps it leaves, so the change can merge.
A declaration states what the code must do or why it is built that way: putnami.features.json or features/*.json, specs/*.json, putnami.architecture.json, or a decision record. A gap is a proof the change loses against main, or a new requirement that no test proves yet. This guide works on hosted CI, and on a repository that keeps its own CI and uploads with putnami observe --upload and its specs declared.
What happens in the cloud
- The checks run at once. They never wait for a decision.
- The platform compares the declarations at the head with the ones at the merge base, piece by piece. It lists what changed on the Validation tab and as the GitHub check
declarations to approve. - The
Putnami Verdictcheck waits until a person approves each declaration change and accepts each gap. - An approval holds for the content you read. It carries to a later push that leaves that piece alone, a rebase, the merge queue's commit, the merge, and another pull request with the same change. A piece that changed asks again.
- Your decision counts at once in the verdict of the current head, with no new run.
See Verdict and decisions for what the verdict answers.
Who decides
| Decision | Who | Where |
|---|---|---|
| Approve a declaration change | A workspace admin, or a person the CODEOWNERS file names for the file | The Validation tab, the GitHub check, or the MCP tool approve_declarations |
| Accept a gap | A workspace admin only | The Validation tab, or the MCP tool accept_gaps |
Approve a putnami.verdict-policy.json change |
A person the base branch's CODEOWNERS names, or a workspace admin | The GitHub check, the Validation tab, or approve_declarations |
The verdict policy decides which declaration changes wait and what a gap costs. A team or an email address in CODEOWNERS cannot approve: the file waits for a workspace admin in putnami.app. Without a CODEOWNERS file, the Approve intent button on GitHub approves nothing.
Do it
Approve a declaration
Open the change page, tab Validation. One sentence says how many features wait, how many are new, and how many requirements they state. Each waiting feature is a card.
- Approve feature approves the whole feature at the displayed commit.
- Approve all (N), in the change head or under the first sentence, opens one confirmation. It lists every approval and every gap it accepts, then sends them in one click. It does not merge the change.
- Open a card to read the feature with its changes marked, then approve one requirement alone.
- A declaration with no feature, such as a decision record, is a card of its own.
Each click applies at once and the page does not reload. A decision that fails shows Retry on its card. When what you read changed, Putnami refuses the decision and shows the change as it is now.
Accept a gap
Approving a requirement the change adds or edits also accepts its gap. Accept gaps leaves that gap out. Withdraw the approval, or push a new version of the requirement, and the gap waits again. Revoke removes an acceptance given before.
The scope of an acceptance depends on the gap kind:
| Gap | The acceptance holds |
|---|---|
no-requirement, unknown-requirements, unproven-requirement |
For the repository and the project, until main no longer carries the gap |
unknown-impact, unknown-declarations, a lost proof, weakened-proof |
For the head commit. A new push or the merge commit asks again. |
unapproved-declaration |
Never accepted. Only an approval clears it. |
An acceptance carries to a new head of the same pull request when what the person judged did not change. It never carries across pull requests. A gap of a project the change only reaches, and a proof the run did not read, wait for nobody.
When the change edits a requirement and none of its tests, the tab says "The requirement changed; its tests did not." It blocks nothing: read the test before you approve.
Approve from GitHub
When the head changes a declaration nobody approved, the check declarations to approve names each file and links to the change page. When CODEOWNERS names your GitHub login for a file, Approve intent on the Putnami Verdict check approves it. Each approval updates declarations to approve to the files that still wait, and your last approval passes it.
A draft pull request runs no CI unless it carries the label run-ci. Adding the label starts nothing: the next push does. To run the checks now:
putnami cloud ci start --repo <owner/name> --pr <number> --sha <head> --reason "<why>"Read the screenshots
The Validation tab also shows desktop and mobile screenshots, in light and dark, of each page the change touches, before and after. When you push after the capture, the tab says the screenshots show an older commit. putnami change screenshots captures them and putnami change finalize uploads them.
What you see
- Change page, tab Validation. The cards, the proof against
mainin three counts (lost, new and not proven, newly proven), and the screenshots. - GitHub. The checks
Putnami Verdictanddeclarations to approve. - Work. The change appears under Waits for you while a decision waits.
- CLI.
putnami cloud ci view <run>shows the run.
When it fails
| You see | Cause | Fix |
|---|---|---|
| Approve intent approves nothing | No CODEOWNERS file, or it names a team or an email for the file. | Approve in putnami.app. |
| You cannot accept a gap | Only a workspace admin accepts gaps. | Ask an admin. |
| The decision is refused | What you read changed since. | Read the page again, then decide. |
| The gap asks again after a push | The gap holds for the head commit and the proof changed. | Accept it again. |
| The checks do not run on a draft | A draft runs no CI. | Mark it ready, add run-ci and push, or run ci start. |