Set up review
Turn on a review of each pull request against the issue and the declarations it touches, and choose which findings block the merge.
Review is off by default. Putnami hosts no review: it starts the review on the Claude routine of the person who pushed the pull request.
What happens in the cloud
- A pull request becomes ready for review. Drafts and pull requests from forks get no review.
- The platform finds the person who pushed the head and fires that person's Putnami routine on their own claude.ai plan. It never uses another member's routine.
- The routine runs the
reviewskill. It reads the code against the declarations of the components the change touches, and the pull request title, description and linked issues. Code that contradicts them is a finding. - The routine reports each finding to Putnami: a severity, a title, a file, a line and an explanation.
- Putnami's GitHub App posts the high and critical findings as line comments, with one summary comment. It resolves a comment once its finding is fixed.
- The
Putnami Verdictcheck counts the open findings against the thresholds you set.
The platform reviews each commit once. Marking the pull request ready again on the same commit starts nothing. The review spends no CI minutes: its tokens are those of the person's routine.
Do it
Your Putnami routine
Each person keeps one Putnami routine per workspace. Putnami starts it for the review and the rebase of their pull requests, and for the build of an issue they start. The repository holds the skills it runs when putnami.workspace.json lists extension:@putnami/cloud in agentArtifacts.
The shortest path needs only putnami.app. Select Start on an issue in Backlog. With no routine yet, a window connects one:
- On claude.ai, create the routine: New task, then Set up manually. The window gives each value in the form's order: the name, the one-line instructions, API as the trigger, a cloud environment whose setup script installs Putnami in the checkout and whose network reaches the Putnami domains, then, under Advanced settings, the repository and the Putnami connector alone. Select Create, then copy the trigger's Fire URL and its token. claude.ai shows the token once.
- Paste the URL and the token in the window. Putnami stores them sealed.
From a terminal, the putnami-routine skill creates the same routine from your Claude Code session at the workspace root. Add the API trigger on claude.ai, then store it. The token comes from standard input only:
printf %s "$ROUTINE_TOKEN" | putnami agency trigger register \
--url https://api.anthropic.com/v1/claude_code/routines/<routine>/fire --token-stdin
putnami agency trigger showtrigger show prints the routine Putnami starts, never the token. trigger remove removes it. A routine for one task still works: register it with --skill rebase or --skill build, and it answers before your Putnami routine.
The routine runs only the skills on its allowlist and refuses any other request, including a review when its skills lack review. One routine shares its quota and fire cap across tasks.
Let the pusher's routine review each pull request
A workspace admin turns the review on. Open Settings, section Factory, in putnami.app. Under Review, set Executor to the Claude routine of the person who pushed. The MCP tool set_factory_settings does the same.
The executor is none or pusher-routine, and the default is none. The trigger is ready-for-review: when the pull request becomes ready, then at each commit while it stays ready. A setting named Post the findings of an observed change (off by default) posts the findings that your own CI uploads. Each change to the settings is a new revision that names who made it. Putnami refuses a change sent on an older revision: read the settings again.
Choose what blocks the merge
Under Blocking thresholds, set the most open findings of each severity (critical, high, medium, low) that a verdict lets through. The value is 0 to 1000. Leave a field empty for no threshold.
- The
Putnami Verdictcheck fails when open findings of one severity exceed its maximum. A dismissed finding stops counting. - With a threshold set, the check waits for the review of the head. It fails when no review arrives within 30 minutes of the run's end. Turn the review on before you set a threshold.
- Thresholds hold pull request runs only. The merge queue reads the head's
Putnami Verdictand does not apply them again. - A review that rates findings P1 to P3 reports P1 as
high, P2 asmediumand P3 aslow. Nothing maps tocritical.
Dismiss a finding
A workspace admin decides a finding on the change page: tab Checks, the code review row. Select Dismiss on an open finding and give a reason of 1 to 500 characters. An accepted finding stops counting too. The MCP tool decide_finding does the same. Machine tokens are refused.
Let the pusher's routine rebase a conflicting pull request
When the merge queue finds a pull request in conflict with its base, and the rebase executor is pusher-routine, Putnami starts the routine of the person who pushed the head. The routine runs the rebase skill and only proposes a patch series. Putnami builds it on the base branch and runs the checks on it. Its GitHub App moves the head only when the checks pass and nobody pushed in between. A pull request with no conflict keeps GitHub's Update branch.
The rebase executor is not in putnami.app and not in set_factory_settings. A person with the workspace manage permission changes it with PUT /v1/workspaces/{workspace}/factory. The default is none: nothing runs.
Putnami's own rebase job is suspended. When the pusher has no routine, the routine refuses to start, or it sends nothing within 30 minutes, nothing rebases, and the pull request says what fixes it.
Store the organization's model key
Putnami's own rebase job uses the organization's model key. That job is suspended and nothing else uses the key today, so you can skip this step. An organization admin stores it from standard input:
printf %s "$ANTHROPIC_API_KEY" | putnami agency model-key set --stdin
putnami agency model-key statusset takes --max-tokens (1,000 to 50,000,000) and --max-model-minutes (1 to 120) for each run. model-key revoke --expected-generation <n> --confirm revokes the key. Settings, Organization, Model key in putnami.app does the same. Putnami never reads the key back.
What you see
- Change page, tab Checks. The code review row lists the open findings, highest severity first, each with its file and line.
- GitHub. Line comments on high and critical findings, and one summary comment.
Putnami Verdict. It names the findings over the threshold, or says it waits for the review.
When it fails
| You see | Cause | Fix |
|---|---|---|
| No review starts | The executor is none, the pull request is a draft or from a fork, or the pusher has no routine. |
Set the executor, mark the pull request ready, or connect the routine. |
| Review refused | The routine's skills lack review. |
Update the checkout the routine uses. |
Putnami Verdict fails: review missing |
A threshold is set and no review arrived in 30 minutes. | Turn the review on, or run the head again. |
| Settings change refused | Someone changed them since you read them. | Read the settings again. |