Validation

A change that adds or modifies a promise merges only once a person approved it, and a gap only once a person accepted it.

Status: available, on hosted CI and on a repository that keeps its own CI and runs putnami observe --upload with its specs declared.

A declaration says what the code must do, or why it is built the way it is: a putnami.features.json or features/*.json, a specs/*.json, a putnami.architecture.json, or a decision record (ADR). A gap is what the change leaves unproven: a new requirement no test proves yet, or a proof the change lost against main. The checks run without waiting for either; the verdict waits for the decisions before the change merges.

Who decides

Decision Who Where
Approve a declaration change A workspace admin; also a person the repository's CODEOWNERS file names for the file The Validation tab, the run's verdict, the check on GitHub, or the MCP approve_declarations tool
Accept a gap A workspace admin The Validation tab, the run's verdict, or the MCP accept_gaps tool
Approve a change to a putnami.verdict-policy.json An owner of its directory: a person the base's CODEOWNERS file names, or a workspace admin The check on GitHub for the first; the Validation tab or the MCP approve_declarations tool for the second

A verdict policy decides which declaration changes wait and what each gap costs.

Approve a change, feature by feature

The change page's Validation tab opens on one sentence: how many features wait, how many of them change what was approved before and how many are new, and how many requirements they state. Each waiting feature is one card: how many requirements the change adds or changes, how many are proven, and by how many tests.

  • Approve feature approves the whole feature at the displayed commit.
  • Approve all (N), in the change's head next to Actions and in the bar that keeps the title on scroll, and Approve them all (N) under the tab's first sentence, open one confirmation. It lists every approval and every gap it accepts, and its button sends them all in one click. It does not merge the change.
  • Open a card to read what the feature promises, its changes marked, then each requirement with its text and the test that proves it, and approve one requirement alone.
  • A declaration that states no feature, such as an ADR, is a card of its own.

Each click gives one decision, and the page shows it at once: you approve three features in a row without waiting, and no click reloads the page. Putnami applies each decision in the background; the page reads the change again once none is pending. A decision that fails shows on its own card, with Retry. If what you read changed since, Putnami refuses the decision, and the page shows what the change says now. The title, the tab and the action box count the features left. A merged change says which features it merged without an approval.

Below the cards, the tab says in one sentence what else the change reaches, then lists only the projects that hold a requirement with no proof. Folded below: the features approved before that the change does not touch, and the gaps accepted before, by project, feature and requirement, each with Revoke.

The tab also shows the proof against main in three counts: the requirements proven on main and lost here, the new ones not proven, and the newly proven, with how many of those the change adds. See Read what a change proved and lost.

What an approval covers

An approval is a decision about the content you read, piece by piece: each feature of a features file, each requirement of a spec, each export and import of an architecture file, and the rest of the file. It holds on every commit that holds the same content: 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 is asked again, once, and no other. A declaration Putnami cannot read waits for you. A carried approval keeps the original person and time.

The default branch asks nothing: its checks show the decisions that landed with each commit. When the default branch lands another content for a piece, the earlier approvals of that piece end, so a pull request that brings back an older content asks again.

Accept a gap once

A requirement you approve also accepts the gap it brings: a new requirement with no proof yet, or a requirement the change rewrote that lost its proof. The card shows that gap on the requirement before you approve, and Accept gaps leaves it out: one click decides both. Withdraw the approval, or push a new version of the requirement, and the gap waits again.

When the change edits a requirement and none of its tests, the requirement says "The requirement changed; its tests did not." It blocks nothing: read the test before you approve.

A lost proof the change did not declare waits on its own. Its acceptance holds for that commit: a new push asks again, unless it changed neither the requirement nor the tests that proved it at the base. A gap of a project the change only reaches, and a proof the run did not read, are for information and wait for nobody.

Approve from the check on GitHub

The checks of a pull request never wait for its declarations. A push to a ready pull request, a pull request you mark ready for review, Run the checks, and a retry start its checks at once. When its head changes a spec or an architecture file whose new content nobody approved, the check declarations to approve on the commit names each file and links to the change page, and Work lists the change under Waits for you.

When the repository's CODEOWNERS file names your GitHub login for a file, Approve intent on the check approves it too. Without a CODEOWNERS file, you approve every file in Putnami: the check still shows Approve intent, and a click on it approves nothing.

Your approval, wherever you give it, counts at once in the verdict of the pull request's current head, even when you approved at an earlier commit, and starts no new run. Each approval updates the declarations to approve check on that head to the files that still wait, and your last approval passes it.

A draft runs no checks when you push to it. To run them, mark it ready for review, add the workspace's run label to the pull request, or run:

putnami cloud ci start --repo <owner/name> --pr <number> --sha <head> --reason "<why>"

The verdict of that run still waits for the approvals.

Screenshots

The Validation tab of a pull request also shows its screenshots. For each page the change touches, it shows desktop and mobile, in light and dark, each with the page before and after the change side by side. A capture that ended on another page, such as the sign-in page, names where it ended. When you push after the capture, the tab says the screenshots show an older commit. When the verification comment of putnami change finalize waives the screenshots, the tab shows the reason. A change that edits web pages with neither screenshots nor a waiver is flagged.

When a page declares the feature requirements it proves, the tab shows each requirement with the captures of the pages that prove it, linked to its row on the feature page once main declares it; a page that proves two requirements shows under both, and the pages that prove none follow, listed by page. putnami change screenshots captures them, and change finalize uploads them under your login. The MCP get_change tool lists the same pages and captures, each with the URL of its image.

Next