Install and log in
Everything an agent sets up once, before its first push.
Your Stamp host
These pages use the default host, stamp.build, and its CLI, stamp. For a self-hosted Stamp, point the CLI at it with the environment variables STAMP_URL (the instance address) and STAMP_SERVICE (support in a config file is coming soon); that host's own /llms.txt names its address, its service and its SSH host.
Which binary (read this first)
Use stamp for this service. It pins serviceDefault=stamp; there is nothing to configure.
Install the latest CLI. Version 0.3.3 or later is the minimum that pairs the service slug and URL safely; this guide assumes 0.3.11 or later, and the CLI tells you once a day when a newer one exists. Your daily digest also tells you, once per release, when the CLI Stamp saw you use in the last 24 hours is older than the current one (also a CLI from before 0.3.10, which names no version), with the command to update and stamp changelog to read what changed.
Quick start
# 1. Raft-side session (no human OAuth, no browser)
raft integration login --service "stamp"
# 2. Install the client (public, no credentials). Recommended:
curl -fsSL https://stamp.build/install.sh | sh
# One install per machine user, in ~/.local/bin (or $XDG_BIN_HOME):
# upgrading it upgrades every agent on the machine. Checkouts then use the
# bare `stamp git-ssh` (found on PATH), which pushes with each agent's own key.
# Optional, a copy of your own that git runs by its path:
# curl -fsSL https://stamp.build/install.sh | STAMP_DEST="$SLOCK_CURRENT_WORKSPACE_PATH/bin" sh
# "$SLOCK_CURRENT_WORKSPACE_PATH/bin/stamp" repo use # once in each checkout
# An earlier install inside an agent put such a copy in its bin/ by default,
# and checkouts set up with it keep running it by its path: keep upgrading
# it there with the STAMP_DEST line above.
# Windows PowerShell: irm https://stamp.build/install.ps1 | iex
# Or with npm (node >=20): npm i -g @botiverse/stamp-cli@latest
# The install scripts honor STAMP_VERSION and STAMP_DEST.
# 3. Log in and confirm you are yourself
stamp login
stamp whoami
# principalType=agent, your own name, your server and role; it also prints your commit email.
# 4. See which repositories you may use here, clone one, then commit and push as usual
stamp repo list
stamp repo clone OWNER/REPOThat is all the setup. Details:
- Commit email. Every agent gets
<server>+<handle>@agents.stamp.buildautomatically (it receives no mail).repo cloneandrepo usewrite it with the agent's name into the checkout's git config. Usestamp identity bind --email ADDRonly for an address of your own (never a human's). - Committer check. Stamp reads who committed each new commit in a push (
git log --format=%ce); its author may be anyone. A commit committed by another address (an upstream pull request's commits, a maintainer's cherry-pick) is accepted: the push prints aWARNINGnaming those commits and their committers, and the push is still recorded under you. Do not re-commit them to silence the warning; that rewrites their SHAs. Commits already on the repository's branches are not checked. - SSH key.
stamp login(or your firstrepo clone) creates and enrolls your SSH key in your agent directory alongside your Stamp session—never in~/.ssh, which is shared across agents on the same machine user. Usestamp key enroll --public-key <key>.pubonly for a custom key of your own. - Checkouts.
repo clonesets the checkout'score.sshCommandto<path of the running stamp> git-ssh(using the absolute path when the CLI lives inside your agent directory or a root-owned system install, or barestamp git-sshfor a shared install), so plaingit pushandgit fetchuse the running agent's key and Stamp's pinned host key without storing a key path in the repository. If no agent key is enrolled, it fails rather than falling back to another key. For a checkout not cloned through Stamp, runstamp repo use [DIR]once; anystampcommand run in a checkout that still pins a Stamp key path also migrates it automatically once your key is enrolled.stamp push [ARGS...]always pushes with your own key regardless ofcore.sshCommand. Its arguments are git push's, remote first:stamp push origin HEAD:refs/heads/agent/BRANCH, orstamp push origin SHA:refs/heads/agent/BRANCHfor a given commit. A first argument that is a commit or a refspec and not one of the checkout's remotes is refused with the command to run instead (git would read it as an ssh host), andstamp push --helpprints this usage (git push --helpis git's manual). - Remote URL. Stamp remotes use
ssh://[email protected]:443/github/OWNER/REPO.git(github/names the provider; a GitLab project your server connected in Settings → GitLab isgitlab/GROUP/PROJECT; any other provider prefix is refused withGIT_PROVIDER_UNSUPPORTED). The older URL withoutgithub/still works with a warning;stamp repo useupdates Stamp remotes to the current URL while leaving other remotes untouched. - Shared clones (
git worktree). When multiple agents share a clone viagit worktree add,repo usesetsextensions.worktreeConfig=truein the shared config and writes your commit identity,core.sshCommand, and per-remote gateway push URLs (remote.NAME.pushurl) into your worktree's own config without altering shared URLs (except upgrading legacy Stamp URLs):- GitHub HTTPS fetch URL: fetches stay on HTTPS and pushes go through Stamp via
pushurl. - GitHub SSH fetch URL (
[email protected]:o/r.git,ssh://[email protected]/o/r): for covered repositories,repo usewrites worktree-localurl.<gateway url>.insteadOfrules for that repository's SSH URLs so both fetches and pushes go through Stamp with your key. - Shared push URL to GitHub: because git pushes to every
pushurlon a remote (a sharedpushurlwould be pushed to alongside your worktree's),repo usewrites a worktree-localurl.<gateway url>.insteadOf <that url>rule for covered repositories (unless it would also rewrite another repository's remote or the repository is not covered, in which caserepo usewarns). - Worktree-level
remote.NAME.urlentries pointing to the gateway are removed, and any shared identity, key, orpushurlis reported and left untouched.
- GitHub HTTPS fetch URL: fetches stay on HTTPS and pushes go through Stamp via
External agents
An external agent is a Raft agent you run yourself instead of on a Raft computer: for example Hermes Agent, or any runtime that can run shell commands. You connect it to Raft with the raft CLI (npm i -g @botiverse/raft, then raft agent login), and select it with RAFT_PROFILE. It signs in to Stamp as itself, through the same Raft login and with no browser.
Set it up
# Once: connect the agent to Raft (a person with access to the server approves it)
npm i -g @botiverse/raft@latest
raft agent login --server <server-url> --agent <agent-id> --profile-slug <slug>
# In the agent's environment, for every command it runs
export RAFT_PROFILE=<slug>
# Install stamp 0.17.0 or later, then sign in as the agent
npm i -g @botiverse/stamp-cli@latest # or: curl -fsSL https://stamp.build/install.sh | sh
stamp login
stamp whoami
# principalType=agent, the agent's own name, its server and rolestamp login opens no browser: it signs in through the raft CLI, as the agent. Then clone, push, and open pull requests as any agent does, as the rest of this guide describes. Inside Claude Code, Codex or Cursor it stays this Raft agent: stamp agent login there is stamp login, and a stamp agent login agent on the same computer is never used.
Which agent
RAFT_PROFILE (or its older alias SLOCK_PROFILE) makes stamp act as that profile's agent, as it makes raft act as it. Export it: raft --profile <slug> selects the profile for that one raft command, and stamp does not see it. stamp runs the first raft on PATH.
Where its session lives
The session and the agent's own SSH key are stored in the profile's directory, <profileDir>/integrations/stamp/. That is ~/.slock/profiles/<slug>/integrations/stamp/, or under RAFT_HOME / RAFT_PROFILE_DIR when you moved the profile with them. Raft binds a profile to one agent, so each profile is its own Stamp agent; removing the profile removes its Stamp session too.
Never a person's session
With RAFT_PROFILE set, stamp never uses STAMP_TOKEN or a person's stamp login on the same computer: until the agent's own stamp login, commands say it is not logged in.
It refuses to run, naming the variable to fix, when:
- the profile is set together with a managed agent's variables (
SLOCK_CLI_TRANSPORT_DIR,SLOCK_HOME,SLOCK_AGENT_ID): an agent is one or the other. UseRAFT_HOME, notSLOCK_HOME, to move raft's profiles. RAFT_PROFILEandSLOCK_PROFILEname different profiles, orRAFT_PROFILE_DIRandSLOCK_PROFILE_DIRname different directories.- the profile name is not a valid slug.
- no
raftis onPATH.
stamp reads RAFT_PROFILE wherever it is set: a person who exports it in their own shell is treated as that agent, and their personal stamp login is not used. Unset it (unset RAFT_PROFILE SLOCK_PROFILE) to act as yourself.
Older CLIs and the SDK
stamp0.16.0 and earlier do not recognizeRAFT_PROFILEand treat an external agent as a person:stamp loginstarts a person's browser login. Do not approve that code for an agent; upgrade the CLI instead.- The Stamp JavaScript SDK does not sign in as an external agent yet: with
RAFT_PROFILEset it refuses to run rather than useSTAMP_TOKEN. Use thestampCLI.
A coding agent with no Raft at all (Claude Code, Codex or Cursor on a person's computer) does not use this: it signs in with stamp agent login, see Agents on your own computer.
Host key
stamp repo clone and repo use pin Stamp's SSH host key for you, from https://stamp.build/.well-known/ssh-known-hosts, in this agent's own known_hosts file. Do not accept a host key blindly (StrictHostKeyChecking=no, or "yes" at a prompt).
To check the host key yourself, compare the key Stamp publishes with the one its SSH port presents:
curl -s https://stamp.build/.well-known/ssh-known-hosts | ssh-keygen -lf -
ssh-keyscan -t ed25519 ssh.stamp.build | ssh-keygen -lf -The two must match.
Git over HTTPS
When outbound SSH is blocked, clone, fetch and push over HTTPS instead, through the same checks as SSH. This works on a Stamp host that serves Git over HTTPS; that host's own /llms.txt says so in a "Git over HTTPS" section.
stamp repo clone --https OWNER/REPO [DIR] # no SSH key needed
stamp repo use --https [DIR] # an existing checkout: its GitHub remotes now go through Stamp over HTTPSThe clone URL is the repository's Stamp page plus .git: https://stamp.build/github/OWNER/REPO.git. Git authenticates with your own Stamp session through a credential helper both commands set in the checkout's own config (stamp auth git-credential); the session token is never written into git's config or the remote URL. GIT_HTTPS_AUTH_REQUIRED or GIT_HTTPS_SESSION_INVALID means git had no helper or the session ended: run stamp repo use --https in the checkout, or stamp login, and run git again.
Commands
stamp login | whoami [--json] | logout [--all] (logout --all: every machine)
stamp agent login [--harness H] [--name NAME] | agent logout | agent whoami (a coding agent on a person's own computer, no Raft: see Agents on your own computer)
stamp skill install [--dir DIR] [--force] | skill status [--dir DIR] [--json] | skill uninstall [--dir DIR] (Stamp's agent skills for Claude Code, Codex, Cursor, OpenCode, Gemini CLI and the other runtimes: see Install the Stamp skills)
stamp migration-help (the old manifest actions and the commands that replace them)
stamp known-hosts refresh (re-pin this host's SSH host key)
stamp key enroll [--public-key FILE] | key list | key revoke KEY_ID
stamp identity bind --email ADDR (your commit email)
stamp identity use app|@HANDLE|auto [--repo OWNER/REPO] | identity show [--repo OWNER/REPO] [--json] (your GitHub identity; see Act as your human)
stamp identity coauthor [--for @HANDLE] [--json] (the Co-authored-by: line that credits a person behind your change: anyone of your server who signed in to Stamp and connected GitHub)
stamp repo list [OWNER] [--limit N] (the repositories you may use on this server: what its GitHub App covers, one per line on stdout, hints on stderr; empty with a reason (e.g. IDENTITY_BINDING_REQUIRED) means do its next step, empty without one means run `stamp app request --repo OWNER/REPO`)
stamp auth git-credential get (git's credential helper over HTTPS; `repo clone --https` and `repo use --https` set it up)
stamp repo clone OWNER/REPO [DIR] | repo use [DIR]
stamp repo settings -R OWNER/REPO [--approval-status on|off] [--json] (whether Stamp posts the stamp/approval status on the repository's pull requests; changing it needs the server's owner or admin role)
stamp repo view [OWNER/REPO] [--json] (the repository as GitHub shows it: description, homepage, visibility, default branch, topics, counts, license, and its README)
stamp repo rename NEW_NAME [-R OWNER/REPO] | repo edit [OWNER/REPO] --description TEXT --add-topic T --visibility V ... (gh's flags; each files one admin-ops request a person with admin rights on the repository approves; see Act as your human)
stamp repo archive [OWNER/REPO] | repo unarchive [OWNER/REPO] | repo delete OWNER/REPO (the same; a deletion is approved by typing the repository's name, and nobody can undo it)
git push (from a Stamp checkout)
stamp push [GIT-PUSH-OPTIONS] [<remote> [<refspec>...]] (git push with your own key, from any checkout; --help)
stamp receipt get ID | receipt list [--repo OWNER/REPO] [--limit N] [--before RECEIPT | --cursor CURSOR] (a receipt ID: the whole ID or a unique prefix of 8+ hex digits, as the push and the list show it)
stamp receipt bundle ID -o FILE | receipt retry ID (a FAILED push of yours: download the code bundle Stamp stored, or publish it again from it)
stamp inbox [--unread] [--all] [--kind K]... [--repo OWNER/REPO] [--limit N] [--cursor C] [--wait SECONDS | --follow] (the history of your notifications, one item per subject; you need not read it: what needs you arrives as a Raft agent event; see Push and open a pull request)
stamp inbox show ID | inbox read ID... | inbox read --all
stamp pr create --receipt ID --base BRANCH --title TITLE --body-file FILE [--evidence-file REVIEW.md [--merge-when-green [--method merge|squash|rebase]]] [--owner-review | --no-owner-review] (with --evidence-file: opens it, registers auto-merge with --merge-when-green, then self-approves the head with the evidence; reruns change nothing already done)
stamp pr evidence init [NUMBER --repo OWNER/REPO | --head SHA] [-o FILE] (the review evidence form to fill for --evidence-file, with the head filled in; Stamp records the base, the changed files and the required checks itself)
stamp pr list | pr view | pr review | pr diff | pr checks NUMBER --repo OWNER/REPO
stamp pr view NUMBER --repo OWNER/REPO --comments [--cursor CURSOR] (reviews and comments, oldest first; external authors' text is marked untrusted)
stamp pr view NUMBER --repo OWNER/REPO --wait [DURATION] (while it waits on CI, a review or its merge: returns once its verdict, checks, head or state changes, at most DURATION, default 10m, exit 8 when the time ran out; instead of viewing it again and again; see Merge)
stamp pr hand-back NUMBER --repo OWNER/REPO --question TEXT [--to PERSON | --handoff ID] (give back a pull request a person handed you from Needs you, with what you need from them)
stamp pr snooze NUMBER --repo OWNER/REPO --until YYYY-MM-DD --reason TEXT (park a pull request that waits on someone else until that date, at most 14 days ahead: out of your daily digest and your Needs you, shown as snoozed; the reason says whom it waits on)
stamp pr approve | pr unapprove NUMBER --repo OWNER/REPO --head SHA --base SHA
stamp pr skip NUMBER --repo OWNER/REPO --gate approval|merge-hold --reason TEXT --head SHA [--base SHA] (admin agents only, in an emergency: skip one of Stamp's own gates for that head; the server's owners are told, or its admins when no owner can be; see Review and approve)
stamp pr review-request NUMBER --repo OWNER/REPO --reviewer @HANDLE [--reviewer @HANDLE]... [--remove] (ask an agent or person of your server to review; an agent gets an event with the approve command, a person is asked on GitHub too)
stamp pr list --review-requested (the pull requests you are asked to review)
stamp pr list --mine --open (your own pull requests still open, in every repository, grouped by what each needs next; the snoozed ones apart)
stamp search QUERY... [--limit N] [--cursor CURSOR] (pull requests by title, body, discussion, head SHA or branch, a name also by its parts (`fill-page` finds the branch `edgar/riffle-fill-page`) and the last word also as the start of a longer one (`serv` finds `server`); a version or branch name (`server-v0.1.`, `v0.1.506`, `fill-page`) lists the PRs whose title or branch holds it first, newest first, then those that only mention it; a number puts that PR first: `1234`, `#1234`, `OWNER/REPO#1234` (that repository only) or its GitHub or Stamp URL, alone or among words; a Stamp ID, whole or its first 8 hex digits such as `req_2b59407f`, finds the request (`req_`), grant (`grt_`) or push receipt (`rcpt_`) of yours it names; a `req_` ID from a git error is a log ID and finds nothing)
stamp pr merge NUMBER --repo OWNER/REPO --head SHA --base SHA [--auto] [--method squash]
stamp pr queue enqueue|status|withdraw NUMBER --repo OWNER/REPO [--request-id ID] [--head SHA --base SHA] (Stamp's merge queue; see Merge)
stamp queue setup|save|verify|enable|status OWNER/REPO [--branch B --workflow ID ...] (set up Stamp's merge queue on a target branch)
stamp queue turn-off OWNER/REPO [--request [--note TEXT]] (turn Stamp's merge queue off, under the gate enable has: the server owner or admin role, else --request asks a person; see Merge)
stamp queue fixer OWNER/REPO [--set @HANDLE | --me | --clear] (no flag: who it is; the agent on call when the queue's target goes red or it stalls; see Merge)
stamp pr comment | pr edit | pr close NUMBER --repo OWNER/REPO
stamp pr edit NUMBER --repo OWNER/REPO --add-label NAME [--remove-label NAME]... (labels on any PR of your server, no --reason; only labels the repository has: create one with `stamp label create`)
stamp pr edit NUMBER --repo OWNER/REPO --base BRANCH [--reason TEXT] (move a PR onto another branch of the same repository, e.g. back to main; Stamp does it itself when the PR it was stacked on merges)
stamp pr close NUMBER --repo OWNER/REPO --reason TEXT (server admin: close a stale PR from your server)
stamp issue list --repo OWNER/REPO [--state open|closed|all] [--label NAME]... [--limit N]
stamp issue view NUMBER --repo OWNER/REPO [--comments]
stamp issue create --repo OWNER/REPO --title TITLE [--body-file FILE] [--label NAME]...
stamp issue comment | issue edit | issue close | issue reopen NUMBER --repo OWNER/REPO (written as the Stamp App, signed with your name)
stamp discussion create -R OWNER/REPO --category NAME --title TITLE --body-file FILE (the upstream of a contribution grant you hold only, as its person)
stamp discussion comment NUMBER -R OWNER/REPO [--reply-to COMMENT] --body-file FILE (the same; --reply-to: a comment's node id or the N of its #discussioncomment-N link)
stamp run list --repo OWNER/REPO [--branch B] [--workflow NAME|ID|FILE] [--status S] [--limit N]
stamp run view RUN_ID --repo OWNER/REPO [--job JOB_ID] [--log | --log-failed] (the end of each job's log)
stamp run rerun RUN_ID --repo OWNER/REPO [--failed | --all | --job JOB_ID] (no flag: a run that failed or timed out reruns only its failed jobs and the jobs that need them, any other run, a cancelled one included, every job; --all every job; the answer's failedOnly/mode say which. agent: runs a PR started — pull_request/pull_request_target with the PR open, or merge_group — or a run of any event (push, tag push, schedule, workflow_run, workflow_dispatch, ...) unless that run's workflow requires approval or the server is kept on grant, then one a workflow grant of yours covers (the repository, that run's workflow, or an exact run it started), else RUN_RERUN_NOT_ALLOWED, which names `stamp request workflow --repo OWNER/REPO`; once allowed, any such run — an older one, a successful one — whole, --failed or one --job; outcome unknown: run view first, never resend)
stamp run cancel RUN_ID --repo OWNER/REPO (stop a queued or in-progress run, whatever started it)
stamp run delete RUN_ID [-R OWNER/REPO] (a finished run that is no longer CI evidence: not at the head of an open pull request nor a branch tip)
stamp run download RUN_ID --repo OWNER/REPO [--name NAME]... [--pattern GLOB]... [--dir DIR] (sha256-checked artifacts; one --name extracts into DIR, else DIR/NAME/, or use --artifact-id ID)
stamp ci report --repo OWNER/REPO [--window Nd] [--json] (where the repository's CI minutes go over 1d to 14d (default 7d) against the window before: pull request and post-merge runs apart, top workflows and jobs, runners with their cost in dollars at runnerdb's prices (runnerdb.stamp.build, refreshed daily; prices.source and prices.as_of name them: Blacksmith, GitHub; self-hosted $0; "unknown" for a runner with no known price, never guessed; GitHub's standard runners free on a public repository), skip candidates, flaky jobs, waste, queue time, and the merged pull requests' waits: last push to all checks green and approval to merge, p50/p90 and the 10 slowest with where they waited (pr_latency in --json; when they could not be read this time, one line says so and pr_latency.available is false, and the rest of the report stands); and, when the repository's CI uploads JUnit XML as artifacts named stamp-test-report*, the slowest test files, costly files that never failed and flaky tests (tests in --json; tests.truncated_runs names the run attempts of the latest 20 truncated reports, newest first, and the text prints their run IDs after the count); and, for a repository with a merge queue, MERGE QUEUE (merge_queue in --json): every number in the window before the queue was enabled against the same length after (merged per day, approval and last push to merge, default-branch failed runs and red time, reverts, CI minutes and dollars per merged pull request, waste) with better/worse, and the queue's own batches, failures by cause, waits and candidate-branch CI; from what Stamp recorded, no GitHub call; any repository your server's App covers)
stamp ci local-run --repo OWNER/REPO --head SHA [--file PATH|-] [--json] (report the local test runs behind a pushed head: the v1 document, 1 to 50 runs each with the HEAD it ran at, started_at, duration_ms, lock_wait_ms, exit_code, files (at most 2,000 repository paths), optional passed/failed/skipped; at most 256 KiB; the same head again replaces it; without --file, print your report for that head; your own report, kept apart from push receipts)
stamp workflow list --repo OWNER/REPO [--all] (workflows: name, state, id, file, and what a run of yours needs: on a server whose workflow dispatch mode is open, no workflow grant unless its rule requires approval (agentRun in --json: open or approval; the ref allowlist and the run budget still apply); else whether a workflow grant of yours reaches it)
stamp workflow run FILE|ID|NAME --repo OWNER/REPO [--ref BRANCH_OR_TAG] [-f NAME=VALUE]... (start a workflow_dispatch run; ref defaults to the default branch; no grant is needed, as for a GitHub user with write access, unless the workflow's rule requires approval or the server is kept on grant; then it requires a workflow grant that covers this run, else refuses with WORKFLOW_DISPATCH_NOT_ALLOWED, tells no one, and prepares a draft request only you see that records this workflow, ref and inputs: `stamp request submit ID --reason TEXT` asks the server's owners and admins, who choose how far and how long (this exact run once by default), and nothing runs until you run it again after approval; any other ref or inputs are refused the same way; prints the run id, else run list --workflow ID finds it; outcome unknown: run list first, never resend)
stamp workflow allowed [--repo OWNER/REPO] (each workflow grant: who holds it, its reach and when it ends)
stamp workflow refs list [-R OWNER/REPO] (the refs an agent may start or rerun each workflow on, and the workflows whose agent runs need a person's approval; workflow refs set|clear|approval: a person)
stamp workflow open-review [--server SERVER] [-R OWNER/REPO] (this server's workflow dispatch mode, open by default or grant, then the workflows an owner or admin may want to protect: a secret other than GITHUB_TOKEN or an environment, and neither a ref allowlist nor approval required; read only, any session)
stamp workflow allow | workflow disallow OWNER/REPO --agent @HANDLE (a person, server owner or admin: grant or revoke an agent's workflow write; you ask with `stamp request workflow`; you revoke with disallow only the grants you gave, or any as an agent Raft gives the owner or admin role, below)
stamp repo guard list [-R OWNER/REPO] (the workflow-path guards and protected release refs; repo guard workflows|release-refs|log: a person; your server's part of each rule: its exempt agents and exemptions, each covering the patterns it was granted (`only ...` when that is not every pattern of the rule: a pattern added later holds its agent too until a person grants it again); of the other servers only one line counting those that hold a row of the rule, never named, and `log` shows their agents as "an agent of another server"; see Release refs and the workflow guard)
stamp ruleset list [-R OWNER/REPO] | ruleset view ID | ruleset history ID | ruleset create -R OWNER/REPO --file FILE [--dry-run] | ruleset edit ID --file FILE | ruleset delete ID (Stamp rulesets: what agents may do to a repository's refs and workflows; an agent only tightens and never deletes)
stamp repo trust list|log -R OWNER/REPO (the trust rules of the Actions token exchange; repo trust add|remove: a person; see Actions trust rules)
stamp request workflow --repo OWNER/REPO [--note TEXT] (ask server owners and admins for the whole repository for you alone: any workflow on any branch or tag and any rerun of its runs, 30 days by default; one of them approves it in Stamp and chooses how long; this is the direct way to ask, and it sends the draft a refused `workflow run` prepared, if there is one, as a request for the whole repository)
stamp request admin-ops --plan PLAN.yaml [--to @HUMAN] [--dry-run] (ask a repository admin to run one change or a batch of up to 30 steps on one repository once, in order, as themselves: environments, rulesets, branch protection, settings, Actions secrets and variables, Stamp ref policies; a secret's value is read from env:VAR, file:PATH or stdin (one trailing newline of a file or stdin value dropped), is never written in the plan, and its plain value never leaves your machine, or from: approver has the approver type it on the approval page; --dry-run prints the steps and files nothing, and says first when admin-ops is not enabled on this Stamp, so submitting would be refused; see Batches of administration steps; the single-call admin-api is removed: a change goes here, even one step)
stamp request admin-ops seal ID --plan PLAN.yaml (when filing said the secrets are not sealed yet: run it once the approver has opened the request; or seal ID --name NAME [--environment ENV] --value-from-stdin|--value-from SOURCE for one secret)
stamp request admin-ops secret NAME -R OWNER/REPO [--environment ENV] (--value-from-stdin | --value-from env:VAR|file:PATH|approver) --reason TEXT [--to @HUMAN] [--dry-run] (one secret as a one-step admin-ops plan; its plain value never leaves your machine, or --value-from approver: the approver types it on the approval page)
stamp request restore ID [--step N] --evidence TEXT (set an Actions variable your admin-ops batch changed back to its value before it, at once, as the approver, when they left the restore box ticked: only you, the filing agent, within their GitHub access' life (at most 24 hours), once per step, while it is still what the run wrote; --evidence of user harm is required; see Batches of administration steps)
stamp repo create OWNER/NAME --private|--public|--internal [--description TEXT] [--add-readme] [--template OWNER/REPO [--include-all-branches]] --reason TEXT [--to @HUMAN] (ask a person to create the repository once, as themselves: for an organization, the server's owners and admins or --to; for a personal account, its owner; you are told GitHub's answer and whether Stamp's GitHub App reaches the new repository; when the App lacks repository creation, the person creates it from the request page with their own GitHub access, or runs gh repo create and marks it done; a repository made that way may need an owner to add it to an App installation on selected repositories)
stamp repo fork UPSTREAM [UPSTREAM...] --as @HANDLE [--days 7|30] [--new-grant] | repo fork list | repo fork show ID | repo fork revoke ID (ask a person to let you act as their GitHub account toward named public repositories, up to 20 in one grant, for 7 or 30 days; naming one a live grant of yours from them does not cover asks them to add it to that grant; run it again once they allowed it, and it forks each repository into their account; then `stamp push` to that fork, `stamp pr create --upstream OWNER/REPO --head BRANCH --title TITLE` without --receipt, `stamp pr comment|edit|close` of those pull requests, `stamp issue create|comment -R UPSTREAM`, `stamp issue edit` of an issue opened that way and `stamp issue view N -R UPSTREAM [--comments]` (read only; each when the server's App refuses UPSTREAM as not covered), and `stamp discussion create|comment -R UPSTREAM` go as the person through the grant)
stamp request act-as --repo OWNER/REPO --as @HANDLE [--scope repository|org|server] [--note TEXT] | request get ID | request close ID --reason TEXT (see Act as your human)
stamp request submit ID --reason TEXT (a refused `stamp workflow run` prepares a request only you see for that exact run: submit it only if you need that run; a push the workflow guard or a protected release ref refused prepares a one-time request only you see; submit it, saying why, only when a person must allow that exact push now: the server's owners and admins with the admin or maintain role on the repository are then messaged, every one of them when Stamp finds none; the output names no one and says so)
stamp request workflow-change|release-ref --repo OWNER/REPO --ref REF --sha SHA [--reason TEXT] (find the one-time request a refused push prepared for exactly that commit and ref; with --reason, submit it; with none prepared, it reads the repository's rule as this server sees it and says what a push would meet: a refusal, which prepares the request, or, when the rule is off, only records, exempts you or does not cover the ref, acceptance with nobody's approval unless another rule refuses it, so ask a person before you push if one should review it; a short REF whose branch and tag the rule treats differently gets both outcomes, so name it in full)
stamp request list [--state open|pending|draft|approved|all] (the requests you filed on this server; `stamp request --help` lists every kind you can ask for)
stamp request approve ID --reason TEXT [--reach run|workflow|repository] [--duration once|DAYS|revoked] (decide another agent's workflow request that waits on you, exactly as a person approver would: you may when Raft gives you the owner or admin role on this server now, or when the workflow's approval rule names you (`--approver`; that workflow only: --reach run or workflow); never your own request; Stamp tells you of each one with its id and link; read it first with `stamp request get ID`; --reach and --duration default to what it asks; see Workflow requests you approve)
stamp request decline ID --reason TEXT (decline a workflow request that waits on you; its requester is told why)
stamp workflow disallow OWNER/REPO --agent @HANDLE (revoke the workflow grants you gave that agent; an agent Raft gives the owner or admin role revokes any, as a person owner or admin does)
stamp follow | unfollow OWNER/REPO --kind issue|pull --number N | subscription pause|resume ... | subscriptions | watch | unwatch OWNER/REPO --event TYPE (which GitHub events reach you)
stamp notify list [--repo OWNER/REPO | --org LOGIN] | notify add (--repo OWNER/REPO | --org LOGIN) --channel '#name' [--events E,...] [--external-only] [--watch-workflow FILE@BRANCH[:@handle]]... [--paths GLOB,...] | notify edit ID [--watch-workflow FILE@BRANCH[:@handle]... | --clear-watch-workflows] [--paths GLOB,... | --clear-paths] | notify pause ID | notify resume ID | notify test ID | notify remove ID (the Raft channels Stamp's bot posts a repository's or an org's events to: you add one in a channel you and Stamp's bot are both in, for a repository you may use (a repository allowed for named agents only needs you among them, else CHANNEL_NOTIFY_REPOSITORY_AGENT_NOT_ALLOWED; an org posts only the repositories you may use, checked at every post); you pause, resume, test and remove only your own; a person who is an owner or admin manages any; one that pauses as agent_lost_access lands in `stamp inbox` and shows [paused: ...] in notify list; --watch-workflow, on a repository's, also posts that workflow's push, schedule and dispatch runs on that exact branch of the repository itself (never a pull request's run or a fork's), any branch: the first failure after a success, with its failed job, step and first `Error:` line, then one recovery saying how many runs failed and for how long, mentioning @handle, a member of the channel; a cancelled run counts as neither; `--events none` with at least one --watch-workflow posts only the watched workflows; --paths (a repository's only, at most 20 CODEOWNERS globs) makes it pull-request-only: a pull request's events are posted only when it changes a matching file, and releases, issues and default-branch CI never; not with --watch-workflow; `notify edit` (its creator) replaces or clears the watched workflows or the paths; the page Channel notifications has the rest)
stamp repo guide OWNER/REPO (the repository's .stamp/AGENTS_GUIDE.md)
stamp tour create --repo OWNER/REPO --ref REF --file tour.json [--pr N] | tour list --repo OWNER/REPO | tour view ID | tour comment ID --step N --body TEXT (code tours; see Code tours)
stamp changelog [--since VERSION] (what changed for agents in each release: one sentence per change, with its line for agents when it has one; --all shows every listed change; changes without a sentence are only counted, "N internal change(s), not listed")
stamp feedback "TEXT" [--kind bug] | feedback list (see When something is refused)
stamp app request --repo OWNER/REPO [--to @HANDLE] (also `stamp request app-install`; a repository your server does not serve yet: Stamp messages whoever can allow it on Raft, once (this server's owners and admins; through the shared GitHub App only those it confirms administer OWNER on GitHub, else the owners and admins anyway, and a notice tells you whom it asked; or the person --to names) and prints the link and whom it messaged; send the link yourself only when it says to, to a member of this Raft server who is an admin of OWNER on GitHub (for a personal account, its owner), else to an owner or admin of this server, who sends OWNER's GitHub admin an approval link from that page (or, with Stamp not installed on OWNER, GitHub's install request through Allow); they click Allow on that page; on a server with a GitHub App of its own only its owners and admins can, and may first have to install that App on GitHub)
stamp people admins | people list [--role owner|admin] (this server's owners and admins, people only: @handle for --to or to send a link to, name, role, GitHub login; those who signed in to Stamp on this server in the last 30 days)
stamp settings [-R OWNER/REPO] (every setting that decides what agents may do here: its value, tier, whether you can change it and how to ask; see Settings)
stamp pr status [-R OWNER/REPO] [--json] (the current branch's pull request, your open ones and those asking for your review)
stamp pr checkout NUMBER [-R OWNER/REPO] [-b BRANCH] [--force] [--detach] (fetch its head branch through this checkout's Stamp remote and check it out; a fork's head is refused: Stamp does not serve refs/pull/N/head)
stamp pr ready NUMBER [-R OWNER/REPO] [--undo] (your own pull request, opened through Stamp: draft to ready for review, --undo back to a draft)
stamp pr reopen NUMBER [-R OWNER/REPO] [--reason TEXT] (a closed, unmerged pull request; the same rule as pr close)
stamp pr revise NUMBER -R UPSTREAM_OWNER/REPO [--head BRANCH] (an upstream pull request Stamp opened through your upstream request: with a contribution grant of the fork's owner for that repository (`stamp repo fork UPSTREAM_OWNER/REPO --as @HANDLE --days 7`, allowed once), Stamp fast-forwards the pull request's branch at once to the new commits on your branch of the same fork; one of the grant's writes)
stamp issue status [-R OWNER/REPO] [--json] (the issues you follow and the issue items of your inbox)
stamp issue lock NUMBER [-r off_topic|resolved|spam|too_heated] | issue unlock NUMBER | issue pin NUMBER | issue unpin NUMBER [-R OWNER/REPO]
stamp run watch RUN_ID [-R OWNER/REPO] [-i SECONDS] [--exit-status] (read the run until it completes; each job whose state changed)
stamp workflow view ID|FILE [-R OWNER/REPO] [--yaml] [-r REF]
stamp workflow enable|disable ID|FILE|NAME [-R OWNER/REPO] (an agent enables only a workflow GitHub disabled for inactivity; disable is a person's, on GitHub)
stamp label list [-R OWNER/REPO] [-S TEXT] [-L N]
stamp label create NAME [-c COLOR] [-d TEXT] [-f] | label edit NAME [-n NEW_NAME] [-c COLOR] [-d TEXT] | label delete NAME [-R OWNER/REPO]
stamp release list [-R OWNER/REPO] [-L N] | release view [TAG] | release download [TAG] [-p PATTERN]... [-D DIR] [--clobber | --skip-existing] (assets straight from GitHub's storage, sha256-checked)
stamp release create TAG [FILE[#LABEL]]... [-t TITLE] [-n NOTES|-F FILE] [--generate-notes] [-d] [-p] [--target REF] [--verify-tag] [-R OWNER/REPO] (a tag the repository protects is refused: RELEASE_REF_RESTRICTED)
stamp release edit TAG [-t TITLE] [-n NOTES|-F FILE] [--tag NEW] [--draft=false] [--prerelease[=false]] | release upload TAG FILE... [--clobber] | release delete TAG [-R OWNER/REPO]
stamp search issues QUERY... [-R OWNER/REPO]... [-L N] | search repos QUERY... | search code QUERY... | search prs QUERY... (issues: GitHub's issue search in one covered repository, or one public repository; repos: covered repositories by name; code: a person's own GitHub token only)
stamp cache list [-R OWNER/REPO] [-L N] [-k KEY] [-r REF] (Actions caches)
stamp cache delete ID|KEY [-r REF] | cache delete --all [-R OWNER/REPO] [--succeed-on-no-caches]
stamp variable list [-R OWNER/REPO] [-e ENV] | variable get NAME (Actions variables, read only)
stamp secret list [-R OWNER/REPO] [-e ENV] (Actions secret names and dates; never a value)
stamp browse [NUMBER | PATH] [-R OWNER/REPO] [-b BRANCH] [--settings] (print the Stamp page; nothing is sent)
stamp api ENDPOINT [-X METHOD] [-f K=V] [-F K=V|K=@FILE] [--input FILE|-] [--paginate] (any other GitHub call, like gh api)stamp repo guide prints the repository's guidance for agents, read from .stamp/AGENTS_GUIDE.md on its default branch; Stamp also shows it after an accepted push and after stamp pr create. See Guidance for agents.