Change sign-off
An agent writes more code than a person can reread. Where someone must answer for every change, you do not need a person who reads every line: you need to know who asked for the change, who directed the agent, who reviewed it and with what evidence. Change sign-off records it for every commit, in a trail where every change shows. It documents who decided and with what evidence; it does not certify the software.
Change sign-off is an on-request feature: it exists only where the licence carries it, and even there it stays off until the admin turns it on. If your space has no Sign-offs menu item, ask for it with your licence.
Turning it on
The admin turns it on from the Sign-offs menu item, after reading and accepting its terms, and chooses in which repositories it applies, in the Repositories with sign-off card: in a company some repositories must answer for every change, others do not. A repository with sign-off and no zone records who asked for what, but nobody has to sign: the card says so, and Sign-offs on the whole repo proposes with one click a zone on every one of its files (**), to which you add the reason and the checks. In repositories without sign-off nothing is recorded — neither the words nor the changes — and with no repository chosen nothing happens yet. In the repositories with sign-off, from then on:
- when a person writes to their agent, Delminio records its fingerprint (the SHA-256 of the text), the time, the session and the person. It does not keep the text;
- at the commit, the words the person wrote go into the commit message, in your git, with the trailers
Assisted-by(the CLI and the model) andDelminio-Request(the number and fingerprint of each request; in commits from before 1.32.1 it was calledDelminio-Richiesta, and it still counts); - every commit made by a session shows up under Sign-offs. So does a commit made by hand, without an agent, on a computer connected to Delminio: the person of that computer answers for it, and it carries no words and no
Assisted-by.
Recognisable keys (tokens, API keys, private keys) are hidden before the fingerprint, and they do not go into the commit. A password written in clear under another name is not: you do not write secrets to the agent, you give them with the vault.
In a repository with sign-off every commit has someone who answers for it: a commit Delminio did not see being made — on a computer not connected, skipping its checks, while sign-off was off — does not pass the check, not even outside the zones. It is made again on a connected computer (git commit --amend --no-edit), and the person who makes it again answers for it.
Sign-off zones
Not every change needs a signature. The change sets the risk: documentation needs no sign-off; payments, authentication and CI do. A sign-off zone is a protected decision that applies to those files and says:
- the checks that must pass: the command that runs on every commit that touches the zone (the tests, for example). It doesn't stop the commit, it stops the signature: until the checks exit 0 on that commit, the change can't be signed;
- how many signatures are needed, from 2 to 5. The author — the person who directed the agent — counts as one, and at least one other person is always needed;
- who may sign besides the author. Empty means anyone in the space;
- in which repositories it applies, among those with sign-off. Empty means all of them: a zone on
src/payments/**with no repositories protects that folder in every repository with sign-off.
The admin creates it from Sign-offs, with New sign-off zone: what it protects, why, the files (one per line, src/payments/** takes the whole folder), the checks, how many signatures and who may review. They change or withdraw it from Decisions. An agent can propose one, but removing or loosening it from its token becomes a proposal the admin approves: the agent would sign itself off.
A zone applies from the moment it is created, on branches already open too: a commit made before, that touches its files and is not merged yet, goes back to “to sign” at the check, with the new zone's checks to run.
The checks
A zone's checks run on the committer's computer, right after the commit, on the files of the commit — if the folder has uncommitted changes they don't run, because they would test something else. Each person accepts them once on their computer, from their own terminal: delminio accept shows them and asks. A check that is not accepted does not run, and the change waits.
To run them later — a new check accepted, a zone created after the commit, or with the folder clean — on the commit that is here now:
delminio signoffs checksFor the earlier commits of a branch, one at a time: git rebase --exec "delminio signoffs checks" origin/main.
The passkey
Every sign-off — the author's, the reviewer's, a rejection — is a confirmation on your device: the fingerprint, face or PIN of your phone or computer, with a passkey. The agent doesn't have your finger, and the person who holds Delminio's database can't make your device's signature: the sign-off is yours, and the people who verify redo it without Delminio. Without a passkey you can't sign.
You add the passkey once, from Sign-offs → Your passkey (or from the same card in the Vault, where it confirms grants), on the device you sign from. First Delminio asks you to prove it's you, the way you sign in:
- with Delminio Cloud, a code to your email, as when you sign in;
- with the login of a Delminio you install yourselves, your password.
Someone who stole the app's session has neither. Every passkey added reaches you as a notification, and stays written in the trail: if you didn't add it, revoke it and tell the admin. A lost device is revoked from the same card (the admin can do it too): the sign-offs already given stay valid.
Passkeys only work when Delminio is open on https (or on localhost). And a passkey is valid for the address you added it from: if you sign in from two addresses, sign from that one, or add one from the other as well.
Signing
A commit that touches a zone shows up under To sign. Its row has the commit with the link to read it on your git service (the request's words are there), the author and the agent, the zone, the checks that ran on that commit — the command and what it returned —, the review by the reviewer with their agent's model, and what is still missing. Until the reviewer has recorded their review, their row shows the command to give to their agent instead of the sign button.
Sign-offs stop nothing while you work: the developer commits, pushes and opens the pull request whenever they like, and signs when they want; the reviewer comes when they can, even days later. They are needed before the change enters the main branch (see Before a merge). A change in a zone is signed like this:
- the zone's checks pass on that commit, on the computer of the person who made it;
- the author signs: “I answer for it”. It says the agent did what they asked;
- the reviewer reviews it with their agent, with whatever model they prefer — the author's too: Delminio just writes it down —, and from their computer records the outcome with
delminio signoffs review origin/main..HEAD clean(orfindings N, with how many were found). Then they sign the review: the request, the risk, the checks and what their agent found. The review and the signature are theirs: without their recorded review the app does not let them sign, and a review recorded by someone else (the author too) stays written but does not count for them. At least two people in all. - Anyone who may sign can reject, with the reason — the author, or a person the zone names for the review: the author reads it and redoes the commit.
You sign only from the app, as a person, with the confirmation on your passkey: with the token the agent would sign. The device signs exactly that act — who, with what meaning, which commits, the words —: a sign-off can't be moved to another commit. And a signature covers that commit: if the commit is redone (an amend, a rebase), the record moves to the new commit and the signatures must be given again.
For a change that matters, open the commit on your git service too before you sign: the confirmation on your phone covers what Delminio shows you, and your git service shows you the code from a separate source.
A branch in one go. When several changes of the same branch are waiting for you, Sign a branch in one go at the top signs them all with one tap, as author or as reviewer, with a single confirmation on the device. Look at them first, one by one or in the commit: Delminio still records one signature per commit.
The people who must sign are told. With notifications on, the author is told when they have changes to sign; the reviewers when it is their turn — the checks have passed and the author has signed —; the author again when their changes have all their signatures, or when one is rejected, with the reason.
A commit that no longer exists — thrown away with a reset, or redone without Delminio's hooks — leaves the ones to sign on its own when the next commit arrives on the same branch. Otherwise the author, or the admin, discards it from its row with Discard this commit, saying why: it stays on record.
You do not need to read every line. You need to ask what could go wrong with this change, and which check — automated or human — is the right one to catch it.
Before a merge
delminio signoffs check origin/main..HEADWith a CI the CI runs the check on every pull request, and if you make it required an unsigned change does not get in (see In a CI). Without a CI the person who merges runs it from their terminal before merging: nothing enforces it, and the git service's merge button does not wait for it. What remains is the trail: the report says, afterwards, which commits entered the main branch without sign-offs and who merged them.
For each commit in the range it says whether it is signed, to sign (and what is missing) or outside the zones, and it recomputes the fingerprint of the words written in the message: if someone changed them, or removed them, it says so. It exits with 1 when a change in a zone is not signed, when the words do not match, or when a commit has nobody who answers for it — made on a computer not connected to Delminio, skipping its checks, with sign-off off, or with the network dropping right at the commit: it must be made again on a connected computer. It looks at the zones on the real files of each commit, read from the git where it runs: if a change was recorded with other files, the zones the commit touches count all the same. A merge that only brings in the commits of the two branches (a pull request's “update branch”) is skipped; one with conflicts resolved inside a zone is not.
In a CI
A CI is a computer of your git service (GitHub, Forgejo, GitLab) that on every pull request takes the code, runs the commands written in a file of the repository and puts a green tick or a red cross on the pull request. If the tick is required, the merge waits for green. Here the CI does not rerun your tests: it checks in the record that on every commit the checks passed, the reviewer reviewed it and the signatures are there.
It has neither the Delminio client nor a person: all it needs is a read-only key, which checks sign-offs and downloads the chain, nothing else — it does not sign, does not record, and opens no other part of Delminio. The steps, once per repository:
- The key. The admin creates it from Sign-offs, in the The CI key card, and sees it only once: copy it right away. It is revoked from the same card.
- The CI file. In the repository, from your computer (or ask your agent):
`` delminio signoffs ci ``
recognises the service from the remote (or tell it: delminio signoffs ci github, forgejo, gitlab) and writes the right file: .github/workflows/delminio-firme.yml for GitHub, .forgejo/workflows/delminio-firme.yml for Forgejo and Gitea. With GitLab there is a single file for the whole repository, and the command prints the part to add. The file checks every pull request, and every push to the main branch: so what gets in without a pull request shows too. Commit it and push it like any other file. The file also carries the repository as it is connected to Delminio (DELMINIO_FIRME_REPO): the CI gets it from the service's address, which may not be the one you work from (SSH under another name, for example). If Delminio doesn't recognise the repository, the check goes red and says so: on a repository it doesn't know it never says green. The same when git can't find the commits to check — after a force push to the main branch the previous commit is gone —: it goes red and says which range it can't read.
- The secret. On the git service, among the repository's secrets, named
DELMINIO_FIRMEwith the key as value. The command tells you where it is on your service. - The gate. On the git service, a rule on the main branch that requires the check before merging (on GitHub a required status check, “controlla”). Without this rule the CI goes red, but merging stays possible. On GitHub, the branch rule applies in public repositories on every plan, and in private ones only on a paid GitHub plan. If your repositories are private and you don't want a paid plan, on your own Forgejo or Gitea the branch rule applies to private repositories too. On Forgejo we have tested the sign-off check in the CI just as on GitHub. If you want the merge to stop for administrators too, turn on “Do not allow bypassing the above settings” in the same rule.
On Forgejo and Gitea the check is named after the file and the event: in the branch rule the required status check is “delminio-firme / controlla (pull_request)”. “controlla” alone matches nothing, and merging stays blocked even with the sign-offs. In the same rule turn off direct push, so the branch is entered only through a pull request, and apply the rule to administrators too.
On GitHub, steps 3 and 4 are done by delminio signoffs ci, if the computer has the GitHub CLI (gh) signed in to an admin account of the repository. It puts on the main branch the rule with the required check, which applies to administrators too; if the branch already has rules of its own, it leaves them and adds only what is missing. If the secret is missing and you ran the command yourself in a terminal, it asks you to paste the key and sends it to GitHub, without showing it. An agent never sees it: if the agent runs the command, it tells you the line to type yourself. Run again, it checks the rule and puts back what is missing. Without gh, or without the permissions, it tells you the steps to do by hand.
Under Sign-offs, every repository with sign-offs shows the last day a CI checked it with the read key. If no CI ever has, or not for more than two weeks, it tells you: it means a change without sign-offs can be merged.
The CI has to reach your Delminio. With Delminio Cloud it just works. With a Delminio installed on your network, the machines of a CI on the internet (GitHub, GitLab.com) can't get there: you need a CI running inside your network (a runner of your own), or a Delminio reachable from outside. delminio signoffs ci tells you when it writes the file. And on pull requests coming from a fork the git service gives the CI no secrets: there the check can't run.
The check needs the branch history: the file delminio signoffs ci writes already takes it (in GitHub Actions, actions/checkout with fetch-depth: 0). The same by hand, in any CI:
curl -fsS -H "Authorization: Bearer $DELMINIO_FIRME" https://<your Delminio>/static/kit/signoff-client -o signoff.py
DELMINIO_URL=https://<your Delminio> DELMINIO_FIRME_REPO=<the repository, as you clone it> DELMINIO_TOKEN="$DELMINIO_FIRME" python3 signoff.py check origin/main..HEADSquash and rebase. When the git service merges a pull request with a squash or a rebase, new commits with another hash land on the main branch. The check finds them on its own: it compares their content with that of the branch's signed commits, and if it matches it says which branch they come from and with which signatures. A commit with even one extra line, never signed, does not match and does not pass.
Urgent changes
When production is down and a fix in a sign-off zone cannot wait for the sign-offs, the administrator lets it in. Under Sign-offs, card Urgent changes, they open Let in an urgent change, choose the repository, paste the full hash of the commit and write why it cannot wait. The CI check lets it through and calls it “let in as urgent”, with who let it through, when and the reason. Run the check on the pull request again, and the merge is unblocked.
The sign-offs are given afterwards, as for every change: until they arrive, the change stays on the card labelled “waiting for sign-offs” (or “no recorded sign-off”, if the commit was made on a computer not connected to Delminio). The action is a link in the chain: the report for the people who verify shows it with the name of who did it and the reason.
It supports the procedure for emergency changes that change-management rules require, such as DORA: documenting, re-assessing and approving them afterwards. Only the administrator uses it, from the app, never an agent, and a rejected change cannot be let through this way.
The pull request text
delminio signoffs description origin/main..HEADIt writes the pull request description with no AI-written prose to wade through: the person's words, as they wrote them, and next to them only facts — how many commits and files, with which agent, the sign-off zones and who reviews, the checks with their outcome, the outcome of the automated review. With GitHub: delminio signoffs description | gh pr create --body-file -.
The trail for the people who verify
Every commit in a repository with sign-off carries a Delminio-Chain line at the end (Delminio-Catena in commits from before 1.32.1): the number and fingerprint of the chain's last link at that moment. It is an anchor: it lives in your git, on every computer and on the git service, and the people who hold Delminio's database cannot change it. If someone rewrote the chain — even recomputing every fingerprint — the links up to the anchor would no longer match, and report and chain say so.
delminio signoffs report origin/main..HEAD report.md
delminio signoffs export
delminio signoffs chain delminio-signoff-<date>.jsonreport writes, commit by commit, who answers for it and with which agent (or “by hand”), the words of each request with the check of their fingerprint — for a commit merged with a squash too, reading them from the branch's commits —, the zones, the checks, the agent's review with its model, the signatures with who, when and with what meaning — and for each one the device signature checked again (which passkey, added when and confirmed with email or password), when that person joined the space and who invited them: a colleague created five minutes before their sign-off shows —; at the top the state of the chain and its anchors, and at the end who governed sign-off: who turned it on or off, for everyone or in a repository, who created, changed or withdrew a zone, who created or revoked a CI key, who joined or left the space, who added or revoked a passkey, and when. It reads the signatures from the chain: if Delminio's database says otherwise, it writes so. For a commit Delminio did not see being made it says that the author git reports is not verified. It is the document to give the auditor; a CI writes it too, with the read key.
Every request, record, check, review, signature and act of the people who govern is a link that carries the fingerprint of the one before: removing or changing a link breaks all the ones after it. export writes the chain to a file; chain recomputes it on any computer, without Delminio, says whether it is intact and, run inside the repository, whether it respects the commits' anchors. With a second file, an earlier copy (chain <file> <copy>), it also says whether that copy is still its beginning: keeping an export now and then, outside Delminio, is the simplest proof that nothing has been rewritten.
The same report also comes out as a page to read, if the file ends in .html: one card per commit in the colour of its status, the count at the top, the words of the person who asked highlighted. It opens in any browser and prints to PDF from there. If the file ends in .csv, it comes out as a table instead, one row per commit, for programs:
delminio signoffs report origin/main~50..origin/main changes.html
delminio signoffs report origin/main~50..origin/main changes.csvIn the table the columns have fixed English names, because programs read them: the commit, the date, the status, who answers for it, the agent, the zones, the checks with their exit code, the reviews, the sign-offs with the time, whether the sign-off devices check out, the urgent change (who, when, why) and whether the chain is verified. The page is for your auditor, the table to upload as evidence to the compliance platform you use.
What you need to recheck device signatures. resoconto and catena recheck them with Python's cryptography module or with openssl. If neither is on the computer, the report says so and exits with an error, rather than accepting them. Sign-offs given before sign-off required a passkey are marked as such.
The most recent links. Whatever happened after the last commit carrying an anchor, such as the sign-offs on a branch just merged, is anchored by the next commit, in any repository in the space with sign-off.
Squash and rebase. Delminio finds the sign-offs of a commit merged with a squash, or redone with a rebase, from its content: the content and the diff of each commit are recorded by the computer that makes it, with its person's token.
Turning it off
The admin turns it off from the same page, for all repositories, or in one repository with Turn off here; only a person, from the browser — with the token an agent would do it. Commits no longer carry the words and no new records are created; what is recorded stays, and turned back on it picks up from there. Turning it off is a link in the chain, like turning it back on: anyone who checks later sees the window, and who opened it. Commits made while it was off have, at the check, nobody who answers for them. The check in a repository without sign-off says so and exits with 0.