Plugin distribution
How a plugin is packaged and published, how an operator installs, updates and rolls one back, and what the operator is actually deciding when they do.
What the operator is trusting
Installing a native plugin means running someone else's code in the backend process with full trust. There is no sandbox, and the permission grants are consent and audit, not containment — see nothing sandboxes a native plugin. Everything on this page therefore answers one question: is this artifact the one the publisher I already decided to trust actually shipped? It answers nothing about what the code does.
| Mechanism | What it proves |
|---|---|
| Digest or hash verification | The bytes are the bytes the manifest or index named. |
| Ed25519 signature | The keyholder you trusted produced this artifact. |
| Anomaly confirmation | The identity behind this release changed since the version you are running. |
| Permission grant | What the plugin asked for, and what you allowed it to ask the host for. |
Out of the box the trusted-key list holds one key, the official Reeve publisher's, which the host build carries (see the official publisher key is built in). Nothing else is verified until an operator trusts it.
Channels
| Channel | Integrity anchor | Signature |
|---|---|---|
| OCI artifact (a tar layer plus the manifest in the config blob) | The config and layer digests declared in the manifest, verified against the fetched blobs; for the version an owning index lists, the manifest digest the index names | Verified and recorded when present; never a hard refusal |
| GitHub release | Manifest sha256, streamed and hashed in one pass |
Verified; refused when signatures are required |
| GitLab release (the host is part of the slug, so self-hosted works) | Manifest sha256 |
Verified; refused when signatures are required |
OCI is the primary channel. The digest is free, independently verifiable, never expires and works on a
self-hosted registry. The official plugins are published as OCI artifacts on ghcr.io.
Signature status describes the artifact, not the transport. An OCI plugin whose release carries a signature and whose publisher key is available is recorded as verified, and the loader re-verifies the same module at load. Only the hard refusal depends on the channel.
Compiled artifacts come from a release or an OCI reference only. There is no channel that fetches them from a git branch.
The publisher index
A resource index is its own entity: a generated file listing, per entry, the resource type, source,
latest version, digest and an optional yanked flag. The built-in official index is
https://raw.githubusercontent.com/reeve-iot/reeve-index/main/index.json.
- An index entry wins over a standalone registration of the same resource; between indexes a priority field decides, and handover re-points the source without a reinstall.
- Sync is a conditional fetch: unchanged content means no new versions, with no fallback to polling every repository. The expensive fan-out belongs in the index's own build, not in every installation.
- One credential attaches to the index and is inherited by its child repositories and by the registry it names; a GitHub plugin repository inherits it only from an index served from GitHub.
- A deployment may declare the indexes (
Managed:Indexes, see managed configuration): the admin page is then read-only, and the marketplaces offer the declared indexes only. An index token given as a file or reference is read at start and follows its index, not its position. - A
yankedentry lets a publisher react to a vulnerability without waiting for every subscriber to remove the repository by hand. Each sync of the repository the index owns for that entry marks the version the entry names, or every version when it names none, as yanked: the marketplace no longer offers it, a card whose offered version its own index entry yanks carries a Yanked chip until that sync, auto-update never takes it, the repository page shows it yanked, and installing it from an installed plugin's version list asks for confirmation first. A mark records the index that set it and whether it covered every version. It stays on its version when the entry moves on to a later release, and a sync clears it when that index lists the version withoutyanked, when the entry is removed or the repository leaves that index, or when the index lifts the all-versions yank that set it. There is no operator un-yank. A sync whose registry walk fails still applies the index's yanks to the releases it already holds. An installed plugin whose versions are all yanked keeps its marketplace page, with its instances and auto-update controls, and offers no version. A yanked entry may omit its source; the repository the index created for it is kept, with its installations and subscriptions. - An index carries metadata only, so it can be public while artifacts stay private. A public index listing private resources reveals that they exist.
For an OCI plugin or widget, the entry's digest is the manifest digest of the version it lists, and for a
repository the index owns that version is the newest the host offers: a newer tag is not recorded, offered as
latest or auto-updated until the index lists it, and a release recorded earlier above it is withdrawn. Tags that
are not versions (latest, stable) and tags that spell a listed version differently (1.2.00, 01.2.0, 1.2,
1.2.0-, 1.2.0+build for 1.2.0) are not offered, and their recorded releases are withdrawn. A widget repository
the index owns pulls exactly the listed version: when the registry has no tag for it, nothing is pulled, the cached
widget stays, and the repository shows a sync error. An index version that no OCI tag can carry, one that is not a
semantic version (nightly, 2026.11.20.1) or one with build metadata (1.2.0+build; a tag cannot hold +), fails
the sync of the plugin or widget repository it names: nothing is offered or pulled, releases recorded earlier and the
cached widget stay, and the repository shows the listing as its sync error. The listed version is refused when the registry serves a manifest that hashes to anything else;
the host hashes the manifest itself and does not trust the digest the registry reports. Older versions are
anchored only in the registry's manifest.
A compromised index can point at a bad artifact. The defence is transport security plus digest verification; indexes themselves are not signed.
Repository credentials
Per-repository access tokens live encrypted in a credential vault. They are never returned by any API and never logged, travel only over https, attach only to requests whose host belongs to that repository (for GitLab, also to its own port and project), and are dropped on a redirect that leaves that scope. An index credential is sent only to an https index URL. Logs may carry only a short hash prefix as a drift fingerprint.
Self-hosted repositories often sit on private addresses. The private-address guard is lifted only for hosts an
operator has approved by name. The built-in repository host allowlist is github.com, gitlab.com,
raw.githubusercontent.com and ghcr.io. Any other host, such as a self-hosted registry, is added with
Repositories:AllowedHosts, and a plain-HTTP LAN registry with Repositories:PlainHttpRegistries.
Signing
Signing is opt-in. Reeve runs no key infrastructure, and the takeover threat is handled by the update-review dialog.
A manifest may carry a base64 Ed25519 signature over the UTF-8 lowercase hex of the artifact's SHA-256, not over
the raw bytes.
Verification always runs and is always recorded on the instance:
| Status | Meaning |
|---|---|
Verified |
The signature checks out against a key the operator accepted. |
Unsigned |
No signature in the manifest, or no key available for that repository. |
VerificationFailed |
A signature is present and does not verify. |
Whether a non-verified install is refused is a policy setting (Plugins:RequireSignature, and Plugins:RequireSignatureWasm for WASM modules).
One signature per build
A release in the list format (see one artefact, several builds) signs
every build separately: each build's signature is over the hex SHA-256 of that build's entry
assembly, and every build is signed by the same key. The installation records one status and one key,
and only when every build agrees: a list whose builds verify to different statuses or by different keys
is refused whole as invalid_build, so a release is never partly admitted. A list is signed in all its
builds or in none; a mix is invalid_build.
Generating and using a key
openssl genpkey -algorithm Ed25519 -out private.pem
openssl pkey -in private.pem -pubout -outform DER | tail -c 32 | base64 -w0
Fingerprints are SHA-256 over the raw 32 key bytes, so they match base64 -d | sha256sum. Keep the
private key out of source control and out of the database.
The trusted key list
Operators trust publisher keys in one global list. An active key there verifies releases in any repository, including ones added later, by hand, or through a different index. The operator is trusting the keyholder, not the URL that served the artifact.
A key's signer label narrows what it is offered. A trusted key with a Signer label is tried only on releases
whose signedBy is empty or equal to it. A release whose label no trusted key carries is recorded as Unsigned
(key_not_configured), exactly as with an empty list; a signature that the offered keys do not verify is
VerificationFailed. Only a pinned repository key reports a label mismatch as key_mismatch. Because nothing
records which key signed a release before it is downloaded, an update's pre-download check assumes the key that
verified the installed release while that key is still offered; the check after download is the one that decides.
The global list makes key rotation additive: trust the new key, ship, then revoke the old one. Both verify in the meantime, so no correctly signed plugin passes through a failure state.
A per-repository key override holds one source to a specific key. While it is set, the trusted list is not consulted for that repository at all. The cost is that a pinned repository does not follow a globally trusted rotation: it reports a proposed rotation and waits.
A deployment can declare the list. With Managed:TrustedKeys present the global list is the one the deployment
writes, the page shows it read-only, and trusting or revoking a key through the API answers 409 with the error code
feature_managed; a repository's pinned key stays editable. Revoked blocks a stored installation key exactly as a revoked
row does, and a change of the declared lists revalidates the installed signatures once, on one replica. See
managed configuration.
Revocation is soft. The row survives so "who admitted this key, and when" stays answerable, and revoking re-verifies every repository immediately, which shows whether anything was still relying on the old key. Re-trusting a revoked key reinstates that row rather than splitting one key's history across two.
The official publisher key is built in
The host build carries the official Reeve publisher's Ed25519 public key and trusts it from the first boot, with no operator action. The trust is rooted in the host build, not in the index: the official index advertises the same key, but that copy stays a proposal like any other index's.
| Key | cBRVRW8USjsP1GEff8x7fynepDJlyamt4Y05VY2//I8= |
| Fingerprint | SHA256:ec63b8d4e789af9258bffab05315ed1e3b9c6c19887061bb67d8f56b252ba91a |
| Signer label | reeve |
It is an ordinary row of the trusted key list, created with the database schema. The Trusted keys page shows it as "Shipped with Reeve" instead of a user.
- The operator decides after that. The row can be revoked like any other, and nothing writes it again. Trusting the key again after a revoke makes it the operator's decision, recorded under their name.
- A declared list replaces it. With
Managed:TrustedKeysthe declared lists are the whole trusted list and the built-in row is not read: list the key underTrustedto keep first-party releases verified (managed configuration). - It earns the Verified badge. The plugin types list counts the built-in key alongside
Plugins:VerifiedPublicKeys, so a first-party plugin that verified against it shows the badge with nothing configured, and loses it when the key is revoked and the installation is no longer verified. - It changes no enforcement default.
Plugins:RequireSignatureandPlugins:RequireSignatureWasmstay off; the built-in key decides only what a release verifies against.
An index proposes; only an operator pins
A publisher index may advertise its signing key at index level, because one publisher signs everything it lists. That key is stored as a proposal and verifies nothing until an operator compares the fingerprint and accepts it. A sync never changes the verifying key.
Whoever can replace the index file can replace both the artifact digest and the key, so an index-supplied key proves publisher consistency, not authenticity. From the host's position a legitimate rotation and a compromised index are indistinguishable. When an index advertises a key different from a pinned one, the repository shows both fingerprints behind an explicit replace action and changes nothing on its own.
Confirm a new fingerprint through the publisher's own channel before replacing a pinned key.
Before pinning a key in an existing environment
Confirm the key verifies a real release first. A wrong key turns unsigned into verification-failed and raises a critical dropped-signature anomaly on the next update — it fails for every release and looks exactly like a wrong key.
The signed payload is the manifest's artifact hash, not the release row's stored digest. Verifying against the wrong one produces the same symptom.
printf '302a300506032b6570032100' | xxd -r -p > pk.der && echo '<key-base64>' | base64 -d >> pk.der
printf '%s' '<manifest sha256>' > payload.bin && echo '<signature-base64>' | base64 -d > sig.bin
openssl pkeyutl -verify -rawin -pubin -inkey pk.der -sigfile sig.bin -in payload.bin
Setting or clearing a key revalidates that repository's installed instances immediately. Otherwise an instance left verified against a key nobody trusts would make the next update look like a dropped signature and raise a false critical.
Before installation: the marketplace chip
A release that is not installed yet has no artifact to hash, so the catalog chip reports only what
catalog metadata supports: Signed when a signature and a candidate key are both present,
Unverified when a signature is present with no candidate key, Unsigned when the publisher shipped
none. A trusted key whose signer label differs from the release's signedBy is not a candidate for it, so the
built-in official key does not make a third-party release under its own label read Signed.
For a list the chip reads the builds' signatures: Signed or Unverified when every build carries one,
Unsigned when none does.
Signed is a prediction, not a cryptographic result: pin the wrong key and the chip reads
Signed while the install records a verification failure. A key merely proposed by an index never
earns it. Unverified is the only actionable chip and links to the page where the key is trusted or
overridden; Unsigned cannot be fixed by configuring a key at all.
Install
The order is fixed: hash verification, then the signature check, then anomaly acknowledgement. An acknowledgement satisfies only the last step, is bound to one release and one anomaly set, and triggers a full re-verification. There are no blanket acknowledgements, and no acknowledgement ever weakens an earlier check.
Hardening applied on the way in: the artifact is streamed and hashed in one pass with a size cap
enforced as it goes; a manifest over one megabyte is rejected; dllAssetName must match a strict
filename pattern with no path separators; tar extraction is path-containment checked and size-capped,
skips debug symbols, and unlinks an existing file before rewrite so overwriting a loaded assembly
does not fail with a sharing violation; and the artifact must be a genuine managed assembly (PE
header plus CLR metadata), checked at install and defensively again at load.
The asset download host is checked against the provider allowlist before any request is made, and again by the HTTP client that performs the download.
The validated manifest is persisted next to the artifact, and the loader resolves the entry assembly from its
dllAssetName, never from a filename glob.
After load, the discovered factory's plugin type id must equal the manifest's or the instance
start is refused and plugin.load.identity_mismatch is audited. A hand-edited on-disk manifest is
obeyed, which is inside the trust model; a swapped artifact is still caught by the assembly watcher's
hash (within an hour when its length and timestamp are preserved); load-time verification stays the gate.
One artefact, several builds
A release is either flat (one entry assembly at the top of the layer, with top-level sha256, signature and
minBackendVersion) or a list, written by reeve-plugindev pack (the Reeve.PluginDev dotnet tool). A list's OCI layer holds one directory per target framework plus the manifest at
its top:
net10.0/Reeve.Plugins.Foo.dll (+ its deps.json and dependencies)
net11.0/Reeve.Plugins.Foo.dll
reeve-plugin.json
and the manifest declares builds[], each {targetFramework, sha256, minBackendVersion, signature?}.
dllAssetName, signedBy, capabilities and the rest stay top-level; sha256, signature,
minBackendVersion and compatibility live only inside a build. A flat manifest
is read as a list of one (its framework is read from the assembly), so every check below applies to
both.
Install, restore and re-pull extract the layer into a staging directory, .staging/ at the top of the
install root, never into the version directory. It shares the version directories' filesystem, which is what
makes the move below a rename, and every reader of the install root (manifest scans, the manifest cache, the
Reeve.Plugins.*.dll convention glob) skips it, so no loader, pruner or orphan report ever sees a layer that
is still being judged. All three arms then run the same checks: the entry of every build exists and is a
managed assembly (a flat manifest is a list of one), its TargetFrameworkAttribute equals the declared
framework, its SHA-256 equals the declared sha256,
and its signature verifies to the same status and key as every other build; a WASM module must be one. A
reeve-plugin.json anywhere below the layer's top is refused, for a WASM layer as for a native one; and no
reader of the install root offers a manifest that lies inside another manifest's directory, so one planted
in a plugin's own subtree is never a second plugin the boot pin could pick. Any mismatch refuses the whole release. A refusal deletes the staging directory and never touches the version
directory, so a refused same-version reinstall leaves the live files unchanged. Only a layer that passed every check (and, for an
install, stored its artefact) moves into the version directory: a new version by renaming the staging
directory, atomically, never by copying a tree. A same-version reinstall cannot rename the directory (a live
load context reads files from it by path), so its old files move aside under .staging/, the layer's move
in and the manifest goes last; the directory then holds exactly the new layer (empty old subdirectories are
removed), and a failure on the way puts the old set back. If putting a file back fails too, the error is
reported with the first and the set kept aside under .staging/. A .staging segment anywhere below a scanned root is skipped, so an install root nested in
the bundled root is covered too. A staging directory a crash left behind is ignored by every
reader and removed by the next install once a day old.
Every version directory holds a .artifact-sha256 file naming the digest of the artefact it was written from. A
replica reuses a directory already on disk only when that file matches the digest of the installation record; a
mismatch or a missing file makes it fetch the artefact again, from object storage first and the repository
otherwise, so a same-version reinstall with other bytes reaches every replica. A directory without the marker is marked and kept when its manifest is the installed one.
The stored artefact of a list is always the layer. The same-version code-change anomaly compares the
layer digest for a list (it covers every build) and the entry hash for a flat manifest, against the
version directory being replaced when the installation record is at that version; adding or
dropping a build between versions is not an anomaly. The signature revalidation sweep checks each build's
signature over the bytes on disk, so a build replaced after install records VerificationFailed.
The GitHub and GitLab channels download one assembly and cannot carry a list: a manifest from them that
declares builds is skipped at sync and refused at install as invalid_build.
Which build loads is decided at load time on every boot, registration, reload and start, not at install; see which entry file loads. Registration inspection at install runs on the same selected build.
reeve-plugindev pack writes the list layout, with tar entries sorted and fixed timestamps, and refuses
a layer at or above the MaxAssetSizeBytes extraction cap that the install path extracts under.
Version compatibility
A manifest states which hosts it runs on in three places, and the host checks all of them.
minBackendVersionis the lowest host version the plugin accepts. It must be a valid semantic version. A host below it refuses the plugin withincompatible_host_version(pre-flight codepreflight_min_backend_version_fail). A list manifest carriesminBackendVersionper build, and the host picks the build for its runtime: among the builds whose target framework the runtime can run, it loads the one with the highest framework whose floor the host meets. If no build qualifies, the release is refused. In warn mode the highest runnable build loads anyway.compatibilitymay addminAppVersionandmaxAppVersion(the upper bound is exclusive). A host outside the range is blocked in theEnforcemode and loaded with an audited warning in theWarnmode. Whencompatibilityis absent,minBackendVersionserves as the lower bound.- A plugin must not reference a version of a shared SDK assembly newer than the host's. The host loads these
assemblies once and shares them with every plugin:
Reeve.PluginAbstractions,ReeveWorkflow.Abstractions,Reeve.Contracts,Reeve.Adapters.ProtocolandMicrosoft.Extensions.Logging.Abstractions. Pre-flight compares the assembly version each shared reference asks for with the version the host provides and refuses the plugin when any reference is newer (preflight_assembly_missing: "The plugin references X 2.0.0.0; the host provides 1.0.0.0"). A plugin built against a newer SDK package than the host therefore needs a host upgrade, even if it declares nominBackendVersion. Publishers should setminBackendVersionto the host release that ships the SDK version they compiled against.
Repositories:CompatibilityEnforcement selects Enforce (the default) or Warn. A plugin outside its range is not
loaded in Enforce mode and the refusal is audited, naming the range. The check runs at install, at reload and at
cold start. Auto-update never takes a version outside its range in either mode and parks the subscription instead.
A native plugin whose entry assembly targets a .NET major newer than the host's runtime is refused with
target_framework_unsupported, in both modes.
Update
Before any bytes are written, the candidate is compared with the previously installed version. Signature bytes differ in every version, so comparing them is worthless — the invariant between versions is the identity of the signer.
| Anomaly | Condition |
|---|---|
signing_key_changed |
Both versions verified, under different keys |
signature_dropped |
The previous version verified; the candidate does not |
signed_by_changed |
The publisher label changed |
dll_name_changed |
The entry assembly name changed |
plugin_type_id_changed |
The plugin type id changed — acknowledgeable, so a rebrand stays possible |
capability_broadened |
The candidate declares capabilities the installed version did not |
unsigned_install |
A first install, or a reinstall of the same version, with no verified signature |
code_changed_same_version |
The installed version is installed again with different bytes (the layer digest for a list) |
source_repository_changed |
Critical. The type is installed from another repository than the candidate's; the comparison above is made against the installed version whatever repository it came from |
The marketplace shows a type as installed, with its instances and an update, only on the card of the repository its
installation record names. Another repository declaring the same type id offers Switch source, which names the
repository the type is installed from: it updates the existing instance in place, keeps its configuration, creates no
instance, and raises source_repository_changed. The repository page offers the same switch, and on the type's own
repository it updates the installed instance. Once the switch commits, the type's auto-update subscription follows
it to the new repository, and any park it held is cleared, because its anomalies were judged against the old
repository's release, and the old repository's installation record and grant are deleted in the same save, so a late
update commit for the old repository does not re-point the subscription. Switching back to that repository later is
a new grant, so it asks for consent again. An install of a type that has instances has to name the instance it updates, or it is refused
with instance_not_named (see what an install request means).
Any anomaly makes the install return a conflict with requires_confirmation and the full list. The
operator re-calls with acknowledgements bound to that exact release, and the server re-verifies hash
and signature from scratch before writing.
These are the signatures of a repository or publisher-account takeover. A routine update with the same key and the same names needs no extra confirmation.
Consent covers what a workload may do, not which bytes it runs
For a plugin that deploys sidecars, the consented profile records privilege posture: privileged
flags, device passthrough, volumes, ports, network mode, parameters. A clean update whose candidate
profile is a subset of the recorded one installs without a fresh acknowledgement, decided server-side
and audited as plugin.install.consent_covered. The consent also records, for every workload on the
operatorNetwork mode, the attachment names it was accepted on, whatever the workload provider. Such a
workload is covered only when it deploys on exactly those names in the same order; an added, removed,
replaced or reordered name, or a consent recorded without names, asks for the acknowledgement again.
The names are the ones the update would deploy with: the instance's current parameters with the
request's values on top, so an update approved without parameters, such as a parked auto-update, is
judged on the networks the instance already runs on and keeps them recorded.
The image digest is informational only and is not part of the consent. Consent does not describe what a workload runs, so a publisher, or whoever takes over the repository or registry, can change privileged code on the operator's node without a consent prompt. The change is visible afterwards in the informational note and the audit trail, and nothing withholds it.
The update wizard reduces its steps from the backend's update preview, never from its own manifest diff, and is fail-closed: an uncomputable preview shows the full consent step, while an empty diff auto-acknowledges because the privilege set is identical to what was already consented.
Auto-update parks rather than installing an anomaly
A subscription follows the latest patch or the latest minor, one per instance, and accepts only strict three-part semantic versions. A pre-release ranks strictly below its release core, and a stable install is never auto-upgraded onto a pre-release, not even one of a higher core (1.2.3 does not move to 1.2.4-rc.1); an install on a pre-release moves to a higher pre-release or to a release. Equal versions do nothing. The marketplace shows a plugin's newest stable release as its latest version, and a pre-release only when the repository has no stable release.
A candidate that raises any anomaly moves the subscription to PendingApproval and installs
nothing, because unattended installation is exactly where a takeover would land. That includes an anomaly only the
install itself can see, such as a signature that is present but does not verify: the install's verdict parks the
subscription with the anomalies it reported. A candidate parked on an anomaly other than a grant question (missing
required permissions, changed hosts, device types to choose) is not downloaded or tried again until the operator
decides. The operator either
approves, which re-runs the full verified install against the parked candidate, or rejects,
which advances the version baseline without installing so the same version is never re-proposed.
An unnoticed PendingApproval freezes the plugin at its old version
indefinitely. An auto-update install failure never marks the running instance broken: it is audited,
the old version keeps running, and the loop continues.
An unattended install runs as the system principal, the account platform jobs act as: an active administrator,
the one with the lowest id when there are several, or the administrator with the lowest id when none is active. It
does not run as whoever added the repository or the index, so deleting or demoting that person does not stop
auto-update. The install's audit rows name the system principal and carry autoUpdate: true in their metadata, so
they are not read as that administrator's own action; the sweep's own rows carry no actor.
Sync, rate limits and removal
The periodic sync is the plugin-repository-sync unit kind, which one replica owns: it walks every enabled repository,
index-owned ones included, every Plugins:SyncIntervalHours, and runs the auto-update sweep after each walk. An OCI tag
whose manifest digest is the one the owner's previous walk recorded is checked with one manifest HEAD and keeps its
release row; only a new or re-pushed tag is fetched again. The memory of walked digests lives in that replica's
process, so a new owner, a restart or a manual sync on another replica walks every tag once.
Background sync takes a per-repository cluster mutex (plugin-repo-sync:{id}) and auto-update runs inside it, so replicas
never double-sync or double-install one repository while different repositories proceed in parallel.
A background trigger (the periodic job, a resource index fanning out) skips a repository whose mutex is held. An operator's
manual sync never skips: it polls for the mutex until the holder finishes, runs its own pass, and answers only after that pass
completes, bounded by the request's ten-minute timeout, so the releases read that follows is current. A replica that is
draining or fenced refuses it at once (503 replica_not_serving), and a sync walk whose mutex is lost before it saves answers 409 install_in_progress; a loss during the auto-update walk after the save
leaves the rest to the next tick and the sync answers success.
Every plugin operation lock (sync, install, update start, retention, the broadcaster's apply) is a cluster mutex, which a
replica that is not serving, draining or fenced does not hold: a pass checks the mutex's Lost token between its steps and
stops at the next one, and drops the changes it had tracked but not saved. A walk that stops before its single save leaves
nothing and is redone by the next trigger; an install that stops before its record commits answers 409 install_in_progress
and is retried. An install never stops after its record committed, neither on a lost lock nor on a client that disconnects
or a proxy that cuts the request: the tail (parameters, consent re-judge, hot load, audit,
install count, the auto-update bookkeeping) runs to the end, also while the backend stops, where only the host's shutdown
budget (Hosting:ShutdownTimeoutSeconds) and the orchestrator's kill deadline bound it, because nothing would redo it. A rolling deploy abandons the
passes of the draining replica this way.
A release that fails manifest validation is skipped and logged — one poisoned release must never
abort a whole sync or a whole index materialization. An OCI tag whose manifest was rejected is remembered
in process memory by its manifest digest; later syncs skip it, without a pull or a warning, until the tag is
re-pushed or the backend restarts. This needs the registry to report Docker-Content-Digest; without it the tag
is evaluated on every sync. An OCI tag whose manifest digest contradicts the one its owning index names is
skipped and logged the same way (index_digest_mismatch), its recorded release is withdrawn, and the repository
shows the contradiction as its sync error. It is not remembered, so it is accepted as soon as the index and the
registry agree again. Manual sync is rate-limited to ten calls per hour partitioned by user,
because the threat model is one operator burning a shared upstream API budget.
Removing a repository deletes its cached release metadata but uninstalls nothing already
installed from it. It retires the auto-update subscriptions that follow it, parked approvals included, and audits
each as plugin.autoupdate.unsubscribed with reason: repository_removed; the same holds when an index stops
listing a repository it owns or the index itself is removed. Choosing an auto-update mode for a plugin whose
repository is gone answers 400 until the plugin is installed again from a repository. Browsing the marketplace needs integrations.read; installing, updating and
subscribing need integrations.manage, checked in the service rather than the controller.
Audit trail
Every change, and every failure worth an operator's attention, emits an entry: plugin.repository.added /
removed / sync_failed; plugin.install.started / succeeded / failed / confirmed / consent_covered;
plugin.load.identity_mismatch; plugin.update.anomaly_detected; plugin.autoupdate.blocked /
approved / rejected / applied; plugin.reload.requested / completed / failed;
plugin.compatibility.blocked / warned; plugin.signature.rejected;
plugin.oauth.reauth_required / reauth_cleared.
Routine passes that find nothing leave no row. plugin.repository.synced is written only when a sync added a
release, and names the added slug@version list; a sync that changed nothing, and one that only rewrote
existing releases, is silent. plugin.signature.verified / unsigned / rejected is written at install, and at load only when the
verification found a different status than the one stored, in either direction. A successful peer call and a routine OAuth token
refresh are not audited; a refused, failed or cancelled peer call is. A token refresh writes a row only when
it flags the instance for re-authorisation (plugin.oauth.reauth_required) or clears that flag
(plugin.oauth.reauth_cleared); failures inside the retry budget write nothing. Browsing the marketplace is not audited either.
Install failure reasons
| Reason | Meaning |
|---|---|
repository_not_found |
The targeted repository does not exist. |
release_not_found |
No cached release with that version. |
invalid_manifest |
Strict validation failed — a missing field, malformed JSON, or an unknown permission code. |
invalid_build |
A builds list is malformed or one of its builds fails verification. Malformed: declared beside a top-level sha256, signature, minBackendVersion or compatibility; empty; a framework that is not netN.0 (N below 1000); two builds of one framework; some builds signed and others not; an unknown or malformed build field; on a WASM, GitHub or GitLab release. Failing: a missing build directory or entry, a non-managed entry, a framework attribute that differs from the declared framework, a SHA-256 that differs from the claim, builds that verify to different statuses or keys, or a reeve-plugin.json below the layer's top. The detail names the build; the whole install is refused and nothing reaches the version directory (422). A flat manifest's entry hash mismatch uses the same reason. |
target_framework_unsupported |
The native entry assembly targets a .NET major newer than the host's runtime, or, for a list, no build targets a major the runtime can run. The extracted file is deleted, plugin.install.failed is audited and the request answers 422; the compatibility warning mode does not admit it. A host upgrade is the remedy. |
incompatible_host_version |
The host version is below the minimum the release asks of it: the release's floor, or, for a list, the lowest floor among the builds this runtime can run. The compatibility warning mode installs anyway. |
padded_plugin_type_id |
pluginTypeId was declared with leading or trailing whitespace. Storage trims it, so admitting it would file the plugin under a different identity. Readers still parse such a manifest — only the install refuses. |
reserved_storage_namespace |
pluginTypeId contains : or is . or ... The type id is the plugin's object-storage namespace, and : belongs to the host's core: namespaces; WASM registration refuses such an id as well. |
invalid_asset_name |
The entry assembly name has path separators or fails the filename pattern. |
invalid_sha256 |
The hash field is not 64 lowercase hex characters. |
missing_plugin_registration |
The assembly declares factories but no registration. |
untrusted_host |
The download host is outside the provider allowlist. |
sha256_mismatch |
The streamed artifact hash did not match the claim. |
invalid_assembly |
The file is not a real managed assembly. |
asset_too_large |
The artifact exceeds Plugins:MaxAssetSizeBytes. |
artifact_too_large |
The artifact exceeds the active object-storage backend's per-object cap — a different setting from the asset cap above. See where an installed artifact lives. |
artifact_digest_mismatch |
The downloaded bytes do not hash to the digest the release declared, so the cluster's copy could not be stored under it. |
artifact_not_stored |
The cluster's copy was written and did not read back. The install is refused rather than recorded. |
artifact_store_migrating |
An object-storage backend migration is blocking writes. The only transient reason in this table: it answers 503, and the same request succeeds once the migration finishes. |
manifest_too_large |
The manifest exceeds one megabyte. |
signature_required |
Signatures are required and the artifact is unsigned or failed verification. |
rate_limited |
The upstream provider returned a rate-limit response outside the retry budget. |
The reason also sets the HTTP status of an install. release_not_found and repository_not_found answer 404. install_in_progress, host_builds_mixed, fleet_size_unset and instance_deleted answer 409. instance_not_named answers 400. host_membership_unconfirmed and artifact_store_migrating answer 503. Every other reason answers 422. A manual repository sync answers 404 for repository_not_found, 409 for install_in_progress, 503 for replica_not_serving and 422 otherwise.
What an operator will meet
| Symptom | Cause | Do |
|---|---|---|
| A plugin installs and never starts | The loaded factory's type id differs from the manifest's, or the artifact is not a real managed assembly | Read the instance error and the identity-mismatch audit; the publisher fixes the manifest or the build |
| A plugin disappears after a restart, or works on one replica only | Artifacts are per-replica storage, and reload and hot-registration are per-replica | Boot self-heal restores it from the cluster's stored copy or, failing that, from the source, reading the installation record rather than the grant, so it works with zero instances; roll the deployment to converge plugin code globally. See three independent states and where an installed artifact lives |
| A newly published plugin never appears | An index refresh returned "not modified", or one bad entry failed the whole materialization pass | Re-pointing an index URL keeps the old validator and can produce a false "unchanged" |
| Every release of a repository reports verification failed | The wrong public key was pinned | Verify a real release offline against the manifest's hash before pinning |
| A previously verified plugin drops to unsigned after a key change | Setting or clearing a key revalidates that repository immediately | Deliberate — a stale verified status would raise a false critical on the next update |
| An update stops with a conflict and a list of changes | An anomaly between the installed version and the candidate | Review each item, then re-call the install with acknowledgements |
| An auto-updating plugin is stuck on an old version | The subscription parked on an anomaly | Approve or reject from the instance page or the marketplace |
| A plugin refuses to load after a host upgrade | Its declared compatibility range excludes the running host | The audit names the range; the publisher ships a compatible release, or switch enforcement to warn temporarily |
| A newly published plugin refuses to install, with a message that it references a newer SDK assembly or requires a higher backend | It was built against a newer SDK package than the host provides, or declares a higher minBackendVersion |
Upgrade the host, or ask the publisher for a release built against an older SDK |
| A WASM module is skipped at install or boot | Its declared ABI major version is not the host's (1) | Rebuild against a supported SDK |
| A repository sync fails with a rate-limit reason | The anonymous upstream quota is exhausted | Configure a token for that provider, or wait |
| An "update available" badge that will not clear | It compares the on-disk artifact hash against the loaded one | It clears after a successful reload; for a sidecar-bearing update it also clears when the update reaches its terminal phase |
| A plugin's sidecar is never created and the workload awaits consent | The grant does not carry the deployment permission | Re-grant it, or the publisher must declare it |
| A plugin's outbound calls fail with a denial | The target host is outside the granted allowlist | Widen the grant within what the manifest requested; the denial is listed on the egress dashboard and raises the egress.denied alert |
| A plugin cannot reach a service on the local network | The host is not in its grant, the address is always closed (loopback, link-local, carrier-grade NAT, multicast), or Plugins:Egress:LanOnlyThroughOwnerAddresses is on and the name is fixed in the manifest |
Grant the host; for an always-closed address list an exact IpAddress entry of the egress allowlist; under the tightening take the address from configuration or add the host as a PrivateHost entry of the egress allowlist |