Signed artifact approvals
Approve or reject one exact revision of a card's artifact, require an approval in a station's contract, and check a signed receipt.
A person can approve or reject an artifact on a card, such as requirements, a design or a test report. The decision is tied to the exact revision they read. Each decision is signed and has a receipt anyone can check.
Approve or reject an artifact
- Open the card and find the artifact in its Artifacts section.
- Choose Approve (or Approval once there are decisions) on the artifact's row.
- The dialog shows This revision — a hash of the artifact's exact content — and the decisions made so far.
- Enter a reason, then choose Approve this revision or Reject.
You need write access to the factory. If the artifact changed while the dialog was open, nothing is saved and you are asked to look again.
A decision covers the artifact's kind, title, link and text, and a test report's results. If any of these change later, the approval becomes stale. A stale approval no longer counts, and the badge says so.
Withdraw a decision
Choose Withdraw beside your own decision. An admin can also withdraw someone else's. Withdrawing adds a new signed record; the original decision stays in the history. Decisions are never edited.
Require an approval in a contract
In the station's settings, each artifact line of the contract has an Approval select:
- No approval needed — any artifact that meets the line's rules counts.
- Approved by a member, an admin or an owner — the artifact also needs a current approval from someone who held at least that role when they decided.
On a required input, the worker at that station does not start until the card has a current approval of the artifact. On a produced output, the worker's pass waits: the card is held as waiting for approval until a person approves what the worker attached.
Pull requests and fields cannot require this kind of approval. A pull request is approved at its Git host, or by MadeBook's merge approval in a linked workspace.
Factory versions, blueprints and reviewed changes carry the requirement. A rollback keeps an approval requirement that was added after the version you roll back to.
Agents
Agents can read whether an artifact is approved, by whom and when. No agent, tool or connector can approve, reject or withdraw anything.
Check a receipt
Choose Receipt beside a decision. The receipt names the artifact, the revision hash, the card, the station, the person, their role, the decision, the reason and the time, with the signature and the key that made it. Verify checks it against the deployment's published key. Copy and Download give you the receipt to keep.
Receipts are signed with Ed25519. The public keys are published at /kanban/api/public/approvalKeys on CodeBook's web address, so a receipt can be checked outside CodeBook. The app repository includes a script, scripts/verify-approval-receipt.mjs, that checks a receipt without any CodeBook code.
Every decision and withdrawal is also recorded in the organization's audit trail, without the artifact's text.
Limits
- A deployment needs a signing key (
CODEBOOK_APPROVAL_SIGNING_KEY). Without one, decisions are recorded unsigned and every receipt says so. They still count for contracts. - Files a runner sends back (recordings, traces, logs) cannot be approved.
- Reusable station packs do not carry an approval requirement yet.
- An approval records a person's decision. It does not test the artifact or prove that its content is correct.