Repository navigation
Upgrading from 0.18 changes requirements across several tools, and more under
approvals.authority: signed. collect and prune refuse symlinked trail
directories and require parents owned by this account or root (sticky if
writable by group or others). collect reads --listen as a URL; escape
socket paths holding #, ? or %. Signers, policy renew,
supervise --view, signed pause writers and the dev statement swap names
atomically to replace existing outputs, refusing where unsupported (outside
Linux and macOS or on some network file systems). Remove DEADLINE_EXCEEDED,
DENIED_ACTION_RETRIED_ARGUMENTS and DENIED_ACTION_RETRIED_RESOURCE from
routes (now version 2, SUSPECTED at most, and never stopping runs, agents
or principals) and route sign again; carry stops with stops init --carry <old list> --carry-route <old route> under the new route and review kept
stops with stops list. In procedure test, add the record's project to
run and each run in tree. In notify, name each needed variable with
--env. Under signed, a plane refuses to start and doctor fails above
65,536 records in records/ (guardana-control runs prune archives expired
trees), and react refuses an unsigned --runs directory. Run a signed carry
as the old list's owner; it takes the write bits off the old list before
writing the new one
(upgrade a plane from 0.18).
New: guardana-gateway attempts run counts the effects and legitimate steps
of scripted attempts at the demo's victim journals
(ADR-0086).
guardana-control policy compare simulates decisions under the current and a
candidate policy through the kernel's own evaluation, counting unknown cases
apart
(ADR-0087).
Risk references map the published agentic and LLM risk lists to the controls
that address them. This release fixes what a whole-tree audit found across the
plane, the evidence trail, supervision, the signed files and the gates. The
hook profile, qualified on two releases of its runtime, was not qualified
again for this release. 0.19.0 was tagged with most of these changes and
never published: its release job stopped at the demo archive check.
Changed
- Breaking:
collectandprunerefuse a trail directory whose parent
is owned by an account other than this one or root, or may be written by
the group or others without being sticky, and a trail directory that is a
symbolic link. They open the trail directory through the parent they
judged, so--dir P/l/../trailisP/trailand not where the linkl
leads. Only the trail directory itself was checked
(watch a plane without a collector). - Breaking:
collectreads--listenas a URL: escapes in its path are
undone, so the endpoint it prints names the same socket when given back,
and a host, a query, a fragment or a%that escapes nothing is refused.
A socket path holding#,?or%is given escaped, ascollect
prints it. - Breaking:
policy sign,route sign,operators roster sign,
policy renew,supervise --view, the signed pause writers and the dev
plane's statement replace an existing output by swapping two names in one
step, and refuse to replace it where the platform or file system cannot,
as outside Linux and macOS or on some network file systems. A first
output, where nothing stands yet, is written as before. - Breaking:
DEADLINE_EXCEEDED,DENIED_ACTION_RETRIED_ARGUMENTSand
DENIED_ACTION_RETRIED_RESOURCEare rule version2andSUSPECTEDat
most, and none of them may stop a run, an agent or a principal. Each
compares two events' times, and nothing in an event or an export names
the plane whose clock stamped it: two planes may send to one collector,
so a call on a fast clock could look later than a denial it preceded, or a
run longer than it was.route sign,reactand a plane loading its route
refuse a route naming any of them, at either version, by name. The same
evidence now gives a finding with a new id, so a notifier delivers it as a
new record. To upgrade, remove those rules from the route,route signit
again, andstops init --carry <old list> --carry-route <old route>under
the new route. A stop those rules wrote is kept, never lifted by the
upgrade, only where a rule of the new route still stops its procedure at
its scope, for no longer than that rule allows; no new one is written. A
carry that cannot keep a stop is refused, naming the stop and the
stops liftthat ends it: run it on the old list with the old route,
whichstops lifttakes for that alone, then carry again.stops lift
takes noreaction-route/v1alpha2route, so a carry from a 0.17 list
names two other ways instead: give the new route the rule it names, at
the stop's scope and lasting at least the stop's span, sign it and carry
again, or, where the route already names that rule at another scope, give
that rule the stop's scope, since a route names a rule once; or start a new
list withstops initunder a new stop list floor (stops floor init),
which keeps none of the old stops. A carry keeps each stop's tenant and
project, so a carry into a route of another names only a route of the
list's or a new list.stops list
shows each kept stop's rule; review those and lift any you do not keep. The
example's0.2route now stops onRESOURCE_OUTSIDE_RUN
(ADR-0088,
reaction). - Breaking: a
procedure testcases document statesprojectinrun
and in each run oftree; a document without it is refused with exit 2,
naming the member. Add the project the run's record names. The format
stays0.1,experimental
(test a procedure). - Breaking:
notifyruns the program with onlyPATH,HOME,LANG,
LC_ALL,TMPDIRandUSERof its own environment, and with each
variable a new, repeatable--env <name>names; a name not set is refused
with exit 2 before any program runs, and no value is printed. The program
got the whole environment, a credential included. A program that reads a
token, a proxy or a certificate path from its environment no longer gets
it, and may still exit 0: name each variable it needs with--env
(supervision).
Added
guardana-gateway attempts run(experimental) runs a manifest of scripted
attempts against the demo's victims, each on a fresh dev plane, and counts
each named effect and each legitimate step at the victims' journals, with a
positive control on an OBSERVE plane and a negative control, in a report
written line by line
(attempt format,
ADR-0086).
The demo's manifest isexamples/vulnerable-mcp-agent/attempts/manifest.json.guardana-control policy compare(experimental) decides policy test
cases and an evidence export's requests under the current and a candidate
policy through the kernel's own evaluation, and writes a
policy-comparison/v1alpha1report of each case's change, every result
marked simulated. A case it cannot judge, for a missing fact, a decision on
another policy, a gap or a disagreement with the recorded decision, is
unknown with its reason and counted apart; apolicy-case-labels/v1alpha1
file counts cases by label and change. It sends no call, consumes no
approval and activates no policy
(policy compare,
ADR-0087).
Fixed
-
policy test,policy explainandpolicy comparerefuse a case whose
authorized_argsis not valid UTF-8 or holds an unpaired surrogate escape
such as\ud800, naming the member. The case reader put U+FFFD in place
of such bytes, so the kernel decided other arguments than the case wrote,
and a case could passALLOWfor bytes the kernel refuses
(policy format). -
A
procedure testcase states the project its run's record names, as
projectinrunand in each run oftree, and is judged assupervise
judges that run: events or a run of another project fail the case as
refused:, and its sources are of the run's project. The case took the
project from its events, so a case passed with a finding thatsupervise
would refuse to make for a run recorded under another project
(test a procedure). -
superviselists a step's requests, and a finding cites and keeps its
references, in the order of the plane's times of the proposals, a tie by
request id. It used the order in which an export first held each request,
which follows the order the plane's batches reached the collector, so two
exports of one run could list requests differently and a finding citing
more than ten could keep other references
(supervision). -
A signed start refuses a header a variable sets with its hyphens spelled
as they are, such asGUARDANA_CONTROL_EXPORT_HEADERS_X-TENANT, as it
refuses every other key the environment sets. Only a header spelled with
_was refused; the hyphenated one was applied and the start went on. -
A retry checks the pause, the stops, the clock and the policy again after
the approval authority answers and before it spends the approval. A stop
published, or a policy gone stale, while the answer was read spent the
approval although the call was then blocked; the hold now stands for a
later retry. -
A retry whose approved answer fails the checks made again at its last
reading before the spend, such as one past the expiry, reads the ledger
before it closes the held trail. If the ledger marks the approval spent,
the retry is refusedAPPROVAL_ALREADY_USED. If the ledger cannot be read,
the retry is blockedEVIDENCE_UNAVAILABLEand the hold stays open. The
held trail used to be closed without a ledger read. -
When a retry finds that another call took the hold it was closing, either
a retry that spent the approval or the expiry sweep, it is now blocked on a
trail of its own, under its own request id, and the block is counted. The
code isAPPROVAL_ALREADY_USEDif the ledger then marks the approval
spent, andEVIDENCE_UNAVAILABLEotherwise. Such a retry used to get
EVIDENCE_UNAVAILABLEunder the held request's id, with no trail of its
own and no block counted. -
A refusal of an upstream's
envorargsitem the configuration reader
cannot read, such asAPI_KEY=value&xor--token=value&x, no longer
repeats the item, which can hold a pasted credential. -
The configuration refuses a block written twice, such as two
policy:
mappings, naming both lines. Two blocks whose keys differed were merged. -
The configuration refuses a key holding a
., such as
policy.fail_open_read: true; a path is written as nested blocks. The
dotted spelling reopened a block already written. -
doctorreads the spent ledger beside the hold journal asrunopens and
sweeps it, and fails naming it whererunwould refuse it: a damaged
ledger.meta, a name the ledger did not write or a mark that will not
decode. It printedokfor the approvals andrunthen refused to start.
A mark a running plane removes whiledoctorreads the ledger is passed. -
/healthzreports thedirectoryapproval authorityunavailableonce
its approvals directory is not the one the plane opened; it saidusable
whatever became of it. -
After a restart, a signed plane closes an unexpired lost hold that nobody
answeredAPPROVAL_EXPIREDwhile the hold's record stands, as the
directory kind does and failure modes
says. It closed itAPPROVAL_STATE_UNKNOWN, which stays for a record that
is gone. -
A signed answer that authenticates but whose body cannot be read as an
answer, such as a rejection with noreason, from an operator who may
approve the hold, or where that cannot be told, leaves the call
INDETERMINATEand the hold standing. It was left out, so a valid approval
beside it could run, though it may be the rejection that wins. From an
operator who may not approve the hold it is left out. A file named for the
approval that cannot be read as an answer at all still makes the batch
unavailable, since it may be the rejection
(ADR-0073). -
A signed start reads the trust root key only from the file its check
judged, and refuses one renamed over the path in between. It opened the
key again by name after the check. -
A signed plane refuses an
approvals.inbox_dirits own account does not
own, at the start, indoctorand at every read, since that owner may
remove any operator's answer under the sticky bit, a rejection among them
(approvals). -
An inbox prune removes nothing from a directory this account does not
own, and says so. It unlinked there whatever stale answer the kernel let
it remove. -
An approvals record whose
tenant,projector any other member is
nullis refused as a member of the wrong type. Anulltenant or project
was read as empty. -
An answer of the AuthZEN decision point whose body is not UTF-8 is refused
withPDP_ANSWER_REFUSED, so the call is blocked. JSON text is UTF-8; such
a body was read with replacement characters in its strings
(let a decision point veto). -
An answer a decision point returns once its deadline, or the caller's, has
passed is a timeout,PDP_TIMEOUT, and one returned after the caller
cancelled isPDP_UNAVAILABLE, whatever either says. The gateway took the
answer an in-process decision point returned late, so an allow that came
after the deadline lifted the veto. -
An approval whose expiry is not a valid timestamp, with nanos out of range
or a second past year 9999, is expired and never spent, and one whose
decision time is not a valid timestamp is no decision. Each was normalised
to another moment, which could fall inside the hold's window. -
The binary decoder refuses an int32 member outside int32, as it does an
enum number, so a timestamp'snanossent as 2^32+1 is refused before the
parse instead of arriving as one nanosecond. Only bytes no conforming
encoder writes are refused
(contracts). -
A retry whose approval names a major this build does not read is refused
withEVIDENCE_UNAVAILABLEalso when its expiry has passed. Such an
approval closed the hold asAPPROVAL_EXPIREDbefore its version was
read. -
A request whose end was not read, waiting on no approval or of a closed
run, leavesREPEATED_DENIAL,CONTINUED_AFTER_FAILUREand the three
retry rules not checked, andsuperviseexits 1. Such a request is one an
export cut after its proposal, its approval request or before its failure,
and also, in a whole export, one of a closed run whose approval was never
answered: the plane ends a held request's trail only when the agent calls
again. A request waiting on its approval on an open run puts nothing in
doubt. Only a denied request with no block read did; any other was checked
with no finding, and a closed run could pass. -
A
--sourcewhose descriptor does not saySAMPLING_COMPLETE, or one
silent, never heard or not read, leavesSTEP_OUTSIDE_PROCEDUREand
DENIED_ACTION_RETRIED_AROUNDnot checked, findings kept.supervise
dropped the descriptor's sampling, so a sampled source that missed a call
left both checked. -
A source whose observation log holds a write no import report closes,
such as an import cut short, leaves the same two rules not checked, and
coverageprints anunclosed writerow and exits 1. The reader left the
write out and said nothing of it
(supervision,
coverage). -
A source's report of the denied tool after a denial is an
INDETERMINATE
retry around it: no importer stamps a call's start, so the call may have
begun before the denial. It was aSUSPECTEDretry. -
An OpenTelemetry or egress log import whose source returns the full-buffer
error itself, rather than one wrapping it, now fails. It ended as a
complete import. -
A proposal, decision, approval or result of a payload major
supervise
does not read puts its request in doubt, and an approval of such a major
waives no finding. Such a payload was read under this major's rules
(contracts). -
The findings log reader refuses a member spelled at its default,
0,
false,"",[]or{}, which the writer leaves out, so an explicit
emptysources_in_doubtor a0.2member given as zero no longer passes
as a0.1record. The observation log reader does the same, so an empty
refused_byno longer passes as a0.1report
(observations). -
superviserefuses a run whose proposal names another tenant or project
than the event that carries it. A proposal of another project could raise
a confirmed finding under the collector's project. -
The findings log reader and writer refuse a
CONFIRMEDfinding that cites
an observation, which suggests at most. -
A retry decided
REQUIRE_APPROVALwhose approval request has not been read
isINDETERMINATE, as one waiting on its approval is. An export cut
between the decision and the request confirmed it, and could stop the run. -
A reader refuses an export whose trailer counts bytes after the last
newline that no writer holds, withend_reachedand nopartial_tail
gap, so such an export no longer passes as whole
(contracts). -
Breaking: a signed plane refuses to start, and
doctorfails, when
records/holds more than the 65,536 records a start reads to carry their
closes;guardana-control runs prunearchives the expired trees to bring
it under. The start logged the cut and served, so the open record of a run
closed past the cut, put back, was taken
(runs,
ADR-0076). -
A signed child's first call beside a root whose state file is gone and
whose lock file is not leaves no.seen. The mark was made before the
call was refused, so once the root's state was put back the child ran
after its parent's close was carried. -
A signed child's first call whose ancestor walk reads a closed ancestor
carries that close and is refused asclosed. The walk took the closed
record as a link to its parent and admitted the grandchild
(ADR-0079). -
Breaking:
reactunder a signed route refuses an unsigned--runs
directory. The
route's--rosterand--root-keydid not count as flags that judge
records, so without--tenantand--projectit took a stop's subject
from an unsigned record. -
reactreads a finding's run again once it holds the stop list's lock,
and a run closed while it waited is counted as not stopping; a run it
cannot read then, or one naming no subject of its rule's scope, stops the
pass. It wrote the stop from what it read
before the wait. -
A signed restore takes a backed-up root whose lock file stands without its
state as untrusted with an unknown read, as the plane does, and refuses,
before its first write, a surviving root's lock file the join would refuse.
It left such a root's live state as it was, and stamped floors and carried
closes before it met the lock
(back up and restore). -
A restore under the directory authority judges the backup's stop list
against the configured route also when the live list begins with it, and
refuses one written under a route since replaced. It kept the old list,
which the next start refused. -
Signed
/healthzanddoctorreport a stop naming another tenant's or
project's run as unheld, not as unread, which made the reaction check
unknown. -
A list of another version put in place of the one a plane accepted is
refused naming both versions and saying to put the accepted list back, or,
for a2.0list in place of a3.0one, to carry it with
stops init --carry. The changed header was refused without either
(reaction under signed). -
stops liftrefuses, with nothing written, a lift that ends no stop of
the list as it stands under the writer's lock, such as one signed against
the list before another lift ended that stop. -
A signed start refuses a stop list its own account may write, an access
control list among the ways, as it refuses the stops directory. Only the
directory was judged
(set up signed operators). -
state backupmakes its directories0700and its copies0600whatever
the umask, as the guide says. A umask that took the owner's bits made them
narrower. -
state restorerefuses, before its first write, a configuration where the
temporary name a missing floor directory is built under is, or holds, a
path the configuration names, the hold journal and the keys among them,
compared through links and without case, also where neither name exists
yet, so every refusal comes before the first write; the build removes there
only a directory a build of its own left.
Building the floor removed that path first, so a route floor named there
was built again from the backup's lower serial, and a hold journal named
there was lost. -
Breaking: a signed carry takes the write bits off the list it carried
from before it writes the new list, giving them back when that write left
no new list in place, andreactandstops liftrefuse a list its owner may not
write. A carry into a directory that already holds a list is refused before
the old list loses a bit. Run the carry as the old list's owner: under another account it
refuses before it writes anything. A 0.17reactleft on the old list
fails to write; give the list its write bits back before 0.17 uses it
after a roll back. A stop appended to the old list after the carry reached
a plane still serving it and was missing from the new list, whose header
the plane's floor followed (reaction under signed,
upgrade a plane from 0.17). -
coveragejoins anmcp_toolpath's observation only to a proposal the
MCP adapter recorded. An enforcement API proposal with the same ids, tool
and provider joined it too
(coverage). -
coverageexits 1 when its map cannot be written to standard output. It
exited 2, the status of a refused input, after reading every input
(coverage). -
A shaped tool list cached before the plane halted material calls is shaped
again once the halt stands, so a tool the halt denies is hidden. The cached
list answered until its TTL ran out
(MCP coverage). -
A
tools/callis recorded as sent with the bytes the upstream receives:
the agent's arguments as the protocol library writes them, without
whitespace between tokens and with U+2028 and U+2029 escaped. The record
named the agent's own spelling
(contracts). -
A
tools/callthe gateway answers-32603because the upstream never
answered names its trail indata, as a wire error does. It carried no
data
(MCP coverage). -
A call blocked because its envelope could not be built carries
refused
with what the refusal said, as documented. Only an execution the adapter
did not send carried it
(MCP coverage). -
A tool name, prompt name or resource URI that quotes a credential the
gateway holds, or that starts withwithheld:sha256:, is recorded as
withheld:sha256:and the digest of the name when a client calls it; the
upstream still receives the name. The proposal recorded the name,
credential included
(privacy). -
A
tools/calladmitted under a classification a manifest refresh withdrew
before the send is not sent outsideOBSERVE: the adapter aborts it as
ACTION_UNCLASSIFIED, and an approved retry's approval stays spent. Under
OBSERVEit runs, as an unclassified call does. It ran under the decision
made for the old definition
(MCP coverage). -
collectanswers a repeat of records it already holds only once it has
read each repeated record's line back where it wrote it, in a sealed
segment or the live one. A segment removed, cut or rewritten under it, or
another file put at a segment's name, makes it answer 503 and take nothing
more until it is started again. A repeat was answered 200 from the index
alone, so the plane released records the trail had lost
(watch a plane without a collector). -
collectandprunesync the directory the trail directory is named in
before the first answer, so a trail directory just made is still there
after a power loss. Evidence was acknowledged while the directory's own
name could still be lost. -
A segment log whose
segments.jsonis a symbolic link is refused by
collect,pruneand every reader. The link was followed. -
prunereads each segment it removes again before it writes the
tombstone, and refuses one that no longer holds what the manifest names,
changing nothing; it unlinks a segment's file only while its name still
names the file it read. A file put at a segment's name after the log was
opened was unlinked unread. -
trail exportof a segment log stops, exit 2 and with no trailer, at an
event of another tenant or project than the log is bound to. It wrote the
event, so an unfiltered export could report no gap
(contracts).trailand a
scenario reading a segment log refuse such an event too; they read it as
an ordinary trail. -
trail exportof a segment log does not report the end at a sealed segment
when the live segment after it holds only bytes no newline ends; the export
after its cursor reports them. A torn live segment after a seal was hidden
behindend_reached: true. -
trail exportof a segment log no longer reports the end of the log when a
seal renamed the live segment while the export was reading the manifest,
also when the next write had made a new live file by then; it reads the
log again. The sealed segment was left out behindend_reached: true. -
evidence-report -statekeeps its cursor on an export of a live segment
that holds no whole line yet, and reads on once it does. It refused that
export as another file, or as one naming nonext_cursor. -
trail exportwrites a line holding anullas amalformedgap, not as
an event. The codec reads anullas an absent member, and the export's
reader refuses any record holding one, so an export of such a line could
not be read (contracts). -
A collector's 401 to a request without the credential is sent before the
body is read, and closes the connection. Go's server read a small unread
body first, so a slow body delayed the answer. -
A collector refuses with 415 a request carrying a content coding in any
Content-Encodingfield, or more than oneContent-Typefield. Only the
first field of each was read. -
collectprints its socket as anexport.endpointa plane reads, with a
#,?or%in the path escaped. It printed the path as it stands,
which a plane refused or read as another path. -
collectstops within ten seconds of its signal, or of its server
failing, also when a write is still waiting on the disk; that request is
not answered, and the plane sends it again. The stop waited on the write
without a bound. -
The exporter refuses a collector's answer surrounded by bytes JSON does not
take as whitespace, such as a vertical tab, and sends the records again.
Such an answer was trimmed and accepted, releasing the records. -
The page of the Claude Code hooks
says what classingAgentasEXECUTEcosts: a rule on
SPAWN_OR_DELEGATEnever sees a sub-agent start and a rule that allows
EXECUTEallows it, so a policy decidesAgentby its name or its
resource type, where aDENYorREQUIRE_APPROVALoverrides anALLOW
onEXECUTE; the profile lists it among its gaps. -
The enforcement API refuses a complete whose
resultHashis notsha256:
and 64 lower-case hex digits asERROR_CODE_MALFORMED. Any text up to
1 KiB was recorded, so a client could put a tool's output in the trail
and the collector's export with capture off
(contracts). The Go and Python clients judge the hash
before sending it: a tool's result whose hash is in any other form is
completedUNKNOWNwithout the hash, and the Python client raises
BadResult. -
An
EXECUTEanswer a shutdown overtakes reaches its client before the
plane records the execution abandoned. The answer could wait in the
server's buffer until after the abandon. -
The Go and Python clients of the enforcement API abort an
EXECUTEthat
carries no authorized bytes also when the call proposed none, as ADR-0051
requires; they ran the tool with no bytes. -
scenario runrefuses a/healthzanswer without a bundle digest, and a
trail compared against no digest cannot pass; both sides empty compared
equal (scenario format). -
scenario runrefuses to judge a step by aPOLICY_DECIDEDwhose decision
is of a major this build does not read, whatever the event's own version. -
scenario runcompares reason codes item by item: one code holding
RULE_UNDETERMINED, PDP_TIMEOUTcompared equal to the two codes. -
scenario runanddev --scenarioexit 2 when the report could not be
written to standard output, and say so on standard error; a pass nobody
could read exited 0. -
The hook bridge refuses an event whose
tool_inputnames a member twice
in any of its objects, before anything is sent; only a member the event
itself named twice was refused. -
The scenario reader judges
kindbefore the depth bound, as ADR-0022
orders it: a document of another kind with containers past the bound was
refused for its depth. -
The qualification of the
Claude Code hooks credits a decision
to a sub-agent'sWriteonly when the trail holds more decided writes of that file than the other
calls that wrote it could account for. -
A lookup in the trust roster judges the roster's expiry by the time read
after it waited on the trust floor's lock. A roster that expired while
another process held the lock still named its keys. -
guardana-gateway doctorrefuses a roster at the floor's serial with
another digest, and one naming a pinned key such as the policy key as an
operator, as a serving plane refuses both. It reported the trust check
okfor either. -
A plane under
signedtakes a pause file only when the directory it read
the file from is still the one the pause path leads to. A link on the path
retargeted between the path's binding and the read let the plane take a
copy of a signed file from another directory. -
The policy watcher's start judges a statement's expiry by the time read
after it read the floor and the files, and its start and its polls judge
it again once the floor's store holds its lock to raise the floor. A
statement that expired while another process held the floor's lock was
taken, and raised the floor. -
policy sign,route sign,operators roster sign,policy renew,
supervise --viewand the signed pause writers replace their output only
while it is still the file they judged: its inode, type, mode, size and
times, so another file put there or one reusing a freed inode number is
another; a rewrite in place to the same size within one tick of the file
system's clock is not seen. Writers of this program wait for each other on
a lock of the judged file and judge it again once they hold it, so of any
number of them only one replaces it and the others are refused with
nothing written; they lock the new file too until the swap settled, so a
writer that judged it waits rather than replacing it first. Any process
that can read the file can hold a lock of it: the write waits for it up to
the command's ten seconds, and the dev plane's statement renewal up to its
renewal period, then is refused with nothing written. Another program takes
no such lock: a file it puts there between that check and the swap comes
out of the swap and is put back, but
a reader of the name in that instant reads the refused file. A write
succeeds only while the name holds its own file once the swap settled. A
file renamed over the output after the last check was replaced, and with
three writers a refused file could end at the name. -
policy renewruns over one--outunder different signer floor
directories keep the newest statement, in any order: a run whose write was
refused with nothing written judges--outagain, up to three times, and
writes over an older statement but not a newer one; a write that failed
having written ends the run, naming any file it left. The older statement
could be written over the newer, and a run could exit 0 with an older
statement at--out. -
The policy watcher counts an unchanged statement past its budget as
expired and refuses it, judging the budget by the time read after the
floor. A statement the floor still took was confirmed again although it
had expired. -
policy renewverifies a bundle signed under a key id a plane configures
for its key, not only the id the key derives; a bundle another key signed
is still refused. It refused such a bundle as naming no usable key. -
Initialising a floor directory leaves it
0700under any umask that keeps
the owner's read bit, and under one that takes it fails and leaves no
directory. Under a umask of0200or0100the initialisation could not
write its own new directory, failed, and left it0500or0600. -
guardana-gateway doctorreports pause coverage as unknown, counting the
entries, when it cannot read a run record a pause entry names. It counted
such an entry as covering nothing and passed. -
The signed operators guide says
that a sticky directory on a path, such as/tmp, passes the signed start
check although the plane's account may write it, as the check lets it; the
entry the path ends at never passes that way. -
procedure testrefuses an inline event whoseschemaVersionis of
another major or notMAJOR.MINOR, as the export reader refuses it; such
an event was judged as if this build could read it. -
procedure testexits 1 when it cannot write its report, as the exit
status table says for a failed case; it exited 2, the status of input
refused before any case ran. -
notifycounts an alert whose line could not be written to the program,
its standard input closed first, as a failed delivery; it marked the alert
delivered when the program then exited 0. -
notifyexits 1 on an interrupt while the log held only delivered alerts
and informs, and when the log ends in a write no report closed and no
writer holds, naming its bytes; both exited 0. -
runexits 1 when the spool failed to close a segment it retired before
the stop; the failure was logged and the run exited 0. -
spool draincreates the drained file and syncs it through the directory
it judged, so a link in the path retargeted at the spool after the check
cannot put the file in the spool. -
runreturns the error of a listener that failed on its own while the
stop was under way; it was dropped, and the run could exit 0. -
devrefuses a configuration that setshealth.socket; it started the
plane with that socket, outside its state directory and off the loopback
listeners its page names. -
console --until-stdin-closesexits 1 when its standard input fails to
read, naming the failure; it stopped as at the input's end and exited 0. -
The evidence-report example refuses a version whose major has a leading
zero,01.0, as the contracts do; it read it as major 1. -
make quality, as CI andscripts/gate-commit.shstart it, reads the
Makefileby name, and theMakefilerefuses aGNUmakefileor a
makefilebeside it whatever the goal. make reads either one first when no
makefile is named, so a committed one could replace every check with a
recipe that prints the pass line. The nightly fuzz run, the race run and
the external MCP client job name theMakefiletoo. -
scripts/gate-commit.shrefuses a commit holding a symbolic link that is
absolute or has a..component. The archive check compared a link's text,
so a test could read a fixture through it from outside the commit, and the
stamp rested on bytes the commit does not hold. -
The pre-push hook and
scripts/gate-commit.shignore a local grafts file,
a local shallow file and a local commit-graph, single or a chain, also when
git -cturns the graph on, as they ignore replace refs, and keep git's
advice about grafts out of their output. Each could hide an unstamped
commit from the hook that the remote would still receive. Both still trust
the local objects and the pusher's command line: they stop a mistake, not a
writer of.git. -
The release checks the gate again right before it tags the image and right
before it publishes. Amainthat moved past the commit after the first
check stops the release at the next of those steps; what the earlier step
published stays. The upload of the client to the package index first checks
that the released commit's own CI and Security push runs onmainpassed,
so a re-run of it still works oncemainhas moved on. -
Publish names the release's tag in the request that publishes the draft,
and reads the release back under that tag. A writer who moved the draft to
another tag could have it published there while the job reported the tag it
was started for. -
scripts/scan-binaries.shrefuses an archive without the binary of each
command undercmd/where goreleaser puts it. Any one Go binary satisfied
it, so a product archive without the command-line binary passed the
release's verification. -
make testandmake test-racerefuse a module whose./...leaves out a
package that holds Go files, as ago.modignoredirective does, or a
package the module's code imports, as one undertestdataor a directory
whose name starts with_is, and a module that builds code from a vendor
directory, from a localreplacetarget that is not one of the
repository's modules, or, through a replace of one of them, from its
testdataor a directory of it starting with_. That code's tests did not
run, and the reporter, which sees only the packages that ran, could not
tell. Not covered: a package only
a test file, only a program under//go:build ignore, or only a file for
another platform than the run's imports. -
scripts/two-accounts.shbuilds each package's test binary into a file of
its own. Two import paths that differ only by a/and a_shared one,
so a package with no test file in the tagged build ran the other's binary
under its own name. -
The check that
scripts/expected-runs.txtnames every test of a
twoaccountsfile reads the build tags as the job's build sets them:
release tags such asgo1.27,cgo, and the toolchain's experiment tags.
A file undertwoaccounts && go1.27ortwoaccounts && cgocounted as in
neither build, so its tests could run in no job unnoticed. -
scripts/check-runs.gocounts a test as passed only after that test's
runevent. A pass with no start in the stream was taken. -
scripts/fuzz-smoke.shrefuses a line of a package's fuzz listing that no
file the build takes declares, such as one aTestMainprints before the
listing, and counts a target as run only when the fuzzing engine reports
executions in a verbose run that ran that target alone under its own name
for at least nine tenths of the time asked for, which must be whole
seconds, minutes or hours. It counted such a line as a target, and fuzzing
it, a target whoseTestMainexits before fuzzing, one whoseTestMain
points the engine at another target, or one whoseTestMaincuts the fuzz
time, ran nothing or almost nothing. ATestMainthat prints the engine's
report, the names and the time itself still passes. -
The dependency rule refuses
time.Timerandtime.Tickerin the guarded
trees and the trees they reach, by name and through forbidigo. Their
Resetschedules from the clock, so a timer a caller handed in let such a
package read it. -
The nightly, CI and Security workflows keep one concurrency group per
event, so a manual or scheduled run no longer replaces a run queued behind
another: a scheduled night whose red then went unreported, or a push to
mainwhose result the release then could not find. -
The port inventory check refuses a doctor key in
scripts/ports.txtthat
the gateway's doctor does not report under. Any key butnonepassed.
Documentation
- The landing page and the documentation pages share one layout: the same
header, footer and container at every width, every landing section opening
with the same heading block on one column split, and one rhythm on a phone.
A documentation table whose cells are sentences now reads as a list, one
item per row with each cell under its column's name; a compact table stays
a table, its code breaks after a slash, and one still too wide scrolls
inside its box. - Risk references map the 2026 OWASP Top 10 lists for Agentic Applications
and LLM Applications to project controls and tests
(risk references). For
each risk, the page lists the controls that apply, known bypasses and
the gaps. It does the same for published advisories on agentic attacks. - A comparison, checked on 2026-11-20, of tools that check an agent's tool
calls against policy before they run: Microsoft's agent controls, Policy in Amazon
Bedrock AgentCore, Hexgate and Guardana Control
(comparison). - Check a security-testing agent's calls against a scope you declare
covers policy tests (implemented), and the MCP gateway, approvals by
command, a stop after repeated denials, proxy observations and coverage
(allexperimental). - The fail-closed table names its third column "a cause in the policy's
availability". It was previously headed "the policy available" over the
same values, which made it appear that a fail-open read ran when the policy
was available rather than when it was unavailable
(how a call is decided). - The release job's demo archive check stopped 0.19.0's release before it
attested, signed or published anything because the archive lacked
examples/vulnerable-mcp-agent/attempts/manifest.json, added in #134. The
demo archive now packsexamples/vulnerable-mcp-agent/attempts/*.jsonwith
the same owner, mode (0644) and time as the scenarios.
Image: ghcr.io/guardana/control-gateway@sha256:1d43419854de66a8543d7598318ef9f4534cc8a4f175b83561b84dab9acc4ed6