Repository navigation
Releases
Releases · codifydoo/gatehand
Gatehand 0.12.6
- Workflows: the coder, fixer and review workflows use
actions/upload-artifact@v7and
actions/download-artifact@v8instead of@v4, which targets Node.js 20 and now warns on every
run. Both run on Node.js 24, so a self-hosted runner needs version 2.327.1 or later. Every
artifact is still uploaded zipped and downloaded by name, so its path is unchanged. A download
whose digest does not match the upload now fails the job instead of warning. Installed
repositories need an update to get it.
Gatehand 0.12.5
- Review: a value the review model passes to
review-ghcan no longer come back to it through gh,
and its final message is no longer kept when it carries a secret the job held (sproobo-v6 #1364).
--state,--sort,--orderand--matchtake only gh's own words for each verb (gh repeats a
word it rejects in its error), free text is capped at 256 characters with no run of base64url
characters over 64, and gh's error text stays insidereview-gh, which reports only "gh failed",
"not found" or "rate limited" with the exit code. Where bubblewrap can make a sandbox on the review runner, the model step
setsCLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1, so the shell that runs its commands has no Claude
credential and no Actions runtime or OIDC token (GH_TOKEN, the read-only tokenreview-gh
needs, stays). Claude Code will not start with the scrub on and no working bwrap, which is the
usual case in a container, so elsewhere it is set to 0 and the run says so in a notice: install
bubblewrap, with unprivileged user namespaces allowed, on the review runner to get it. The
save step checks the final message before anything is uploaded, against the values of the
review's Claude credential (claude.auth's secret) and the job'sGITHUB_TOKEN(any 16 letters and
digits of one, ignoring case, punctuation and spacing, also reversed, rot13, base64 or hex) and
against the credential shapes the post job checks. A message that fails is neither uploaded nor
posted, and the review job fails. Installed repositories need an update to get it.
Gatehand 0.12.4
- Inbox: a request comment that is too long to move whole when the inbox rotates is no longer cut
as it was sanitised. The cut could leave a code span open, and a mention the sanitiser had kept
inside the span then went live in the bot's copy. A cut copy now has every mention rewritten,
keeping its marker line and the lines naming the inboxes it came from. The sed fallback used when
python cannot run now also rewrites a mention right after one that ends in a hyphen (@a-@b). The coder's and fixer'sblocked.mdnote is also capped at
19,000 bytes (ormaxCommentByteswhen that is lower) before it is sanitised. The inbox quotes it
line by line, which can triple its size, so a request built from it stays short enough to move
whole. Installed repositories need an update to get it.
Gatehand 0.12.3
- Coder and triage: a Claude Security import whose every location is in a path the coder may not
touch is no longer worked. The coder could only end such a runblocked, and three in a row
tripped one repository's breaker. The signal is the import's own## Locationslist: when every
path in it matches a!glob inprotected-paths.txt(or the floor), or a protected glob while
the issue has noagent:allow-protected, triage leaves oneclosed-pathscomment and no label
(at any severity), and the pick and its re-check after a claim skip it, with the paths in the log
line (withparallelismabove 1 the kick does not count it as queued). Any line of the list it
cannot read as one path bullet, or no list at all, counts as open, so such an issue is queued as
before. Issues that are not Claude Security imports are never skipped this way. A dispatch by name still takes it. Issues without a Locations list, and
fixes that need closed files the list does not name, are not caught. Installed repositories need
an update to get it.
Gatehand 0.12.2
- Coder kick: a stranded run's hour now counts from when it last started (
run_started_at, else
created_at), not from when it was created. A re-run keeps its oldcreated_at, so a re-run of
an old run was past the hour at once, and only the jobs lookup stood between it and a dispatch
next to it in the moments before GitHub lists its jobs. The::warning::, the digest's Queue line andaddons/hardened-runner's journal line
give the same time. Installed repositories need an update to get it; on the kick box, re-run
addons/hardened-runner'sinstall.
Gatehand 0.12.1
- Coder kick: a run GitHub stranded no longer stops the schedule. GitHub can leave a dispatched
coder runqueuedwith no jobs for good, and it cannot be cancelled, force-cancelled (409) or
deleted (403). It holds no runner and no concurrency group, but the kick counted every unfinished
run as busy, so it dispatched nothing for as long as the run stayed (17 hours on one repository).
A runqueuedfor 60 minutes or more that GitHub lists no jobs for is now left out: with
parallelism1 the kick dispatches next to it, and above 1 it holds no slot and no room (the
inbox's and the digest's slot counts leave it out too). The kick names it in a::warning::on
its run, and the digest names it in its Queue section. A run that is fresh, running,pendingon
its group, has a job, or whose jobs cannot be read still counts, so a kick still never cancels a
person's waiting dispatch. Installed repositories need an update to get it.
addons/hardened-runner'sagent-kick.shfollows the same rule and names the run in the
journal. It looks up the jobs of at most 3 such runs per kick, so its service's start timeout
grows by 6 minutes; on the kick box, re-run itsinstall. The dashboard's coder dispatch still counts such a run (it warns that the run would be cancelled,
and withparallelismabove 1 avoids its slot), which errs on the safe side. - Merge gate: a branch is updated at most once per head, never on top of the gate's own update. The gate merged
only a head that contained the default branch's current tip, and updated a PR that was only
behind. Where the default branch moves faster than CI and the review take, that never held:
each Approve met a new tip, and the gate updated again (15 rounds of update, CI and review on
one PR in two days). A head the gate's own update made (or one a person merged the base into
when the gate asked) that passes every other condition and does not conflict now merges
although the base has moved again; the report says(behind <base> by N since the gate's own update). Every other head that is behind is still updated first. This relaxes the 2026-11-06
rule: such a head's checks and review saw the base as it was at the update, not as it is at
the merge. A ruleset with strict required status checks ("require branches to be up to date")
refuses such a merge, so the gate's run fails on it each time: keep that setting off. Installed
repositories need an update to get it. addons/hardened-runner:agent-kick.shfills free coder slots. With
AGENT_KICK_CODER_SLOTS=<N>(new, default1), the coder timer dispatches one run per free
slot, each with itsslotinput, instead of one run whenever no coder run was going; 0.12.0's
roles.coder.parallelismhad no effect on a repository kicked this way. Installed repositories
need no update for this (re-rendering only refreshes one paragraph of their
.github/agents/README.md); on the kick box, re-runinstallwithAGENT_KICK_CODER_SLOTSset
to the policy'sparallelism.
Gatehand 0.11.0
- Coder: with the repository variable
AGENT_KEEP_TRANSCRIPTset totrue, the code job keeps the
agent's whole session as anagent-transcriptartifact for 14 days, so a run that ended without
its outbox files can be diagnosed; the log shows only its last message. Off by default: the
artifact is not secret-masked and anyone who can read the repository can download it. A failed
upload does not fail the run. Installed repositories need an update to get this.
Gatehand 0.10.1
- Coder: a run that committed and wrote
pr.jsonbut forgotpr-body.mdnow opens its PR instead
of ending as a no-op. Itssummary.mdbecomes the PR body, with a note saying so and a
Refs #Nline, and goes through the same checks (a closing keyword is still refused). Before,
the work was dropped and the issue lost one of its attempts over a missing file. The prompt now
says the three files are required and to check them before stopping, and a no-op's reason names
the file that was missing. Installed repositories need an update to get this.
Gatehand 0.10.0
- Inbox: the agents now replace the inbox issue before GitHub's per-issue comment limit stops it.
GitHub refuses every new comment on an issue past about 2,500 (undocumented; "Commenting is
disabled on issues with more than 2500 comments"), and each request costs about three comments, so
a long-lived inbox would stop taking both requests and answers. When a request is about to be filed
on an inbox withinboxRotateAtcomments or more (new inpolicy.json, 2,000 by default,0turns
it off), a new inbox issue opens. Every request listed as open that the agent bot filed is posted
again there under the same id and listed. The old issue gets one comment linking the new one, which
also marks the moved requests answered there, and it is closed. Each copy names the issue it came
from, and a command on the copy is refused when the request was answered there, so no request is
applied twice. Until the move is complete the old issue stays the inbox, and a move that fails half
way is retried with the next request. Pin the new inbox by hand; the App cannot pin issues. An inbox pinned with
AGENT_INBOX_ISSUEis never replaced: the agents log a warning, andbin/doctor.shwarns once it
is past the threshold. Installed repositories need an update to get this;policy.jsonneeds no
change.
Gatehand 0.9.0
- New policy key
claude.agentAuth(oauthorapi-key) for the coder and fixer, the two roles
whose model runs code it wrote. That code can read the job's Claude credential, so a
prompt-injected run could take it. With"api-key"the two jobs readANTHROPIC_API_KEY_AGENTS, a
secret no other workflow uses: give it a spend limit in its own Console workspace, and a lost key
costs neither the review's credential nor your subscription. Unset, nothing changes: the coder and
fixer useclaude.auth's credential, as before. - The doctor checks the agents' secret too when
claude.agentAuthnames a different one. - To switch an installed repository to the separate key, set the secret first, then
claude.agentAuth: "api-key"inpolicy.json, re-render, and fast-forward the
runner ref (the coder and fixer workflows change). - Inbox: an answered request's line now leaves the "Open requests" list in the inbox issue's body
instead of being ticked; the answer stays in the bot's reply comment. Ticked lines were never
removed, so a long-lived inbox grew towards GitHub's 65,536-character body limit. Past that,
every edit of the body failed (logged and ignored), new requests no longer showed in the digest's
or the dashboard's "waiting" list, and answered ones kept showing as open. The[x]lines earlier
versions left are removed the next time a request is filed or answered. A request that was
answered while its line could not be removed (a full body, a failed edit) still shows as open;
/approveor/rejectit again and the reply says "already answered" and removes the line. A
failed edit of the list is now logged as such. Installed repositories need an update to get this.