Skip to content

Admin portal

The portal is a React single-page application bundled into the gateway jar by the Maven build and served at / behind the OIDC login. It holds no tokens; the session cookie is its only credential.

A fixed sidebar, grouped:

Group Item Destination
Gateway Overview /
Gateway Review queue /review — with the count of snapshots awaiting a decision, absent at zero
Gateway Marketplaces /marketplaces
Oversight Audit log /audit — shown to auditors and administrators
Oversight Adoption /adoption — shown to auditors and administrators
Configuration Vetting chain /vetting — shown only to administrators
Configuration System access tokens /configuration/tokens — shown only to administrators
Configuration Integrations → Webhooks /integrations/webhooks — shown to auditors and administrators
Configuration Integrations → Audit sinks /integrations/sinks — shown to auditors and administrators
Reference API reference /docs — the Scalar API reference, not a portal route
Reference Documentation this manual — leaves the portal, opens in a new tab
Reference Source code the project repository — leaves the portal, opens in a new tab

Oversight holds what is read; Configuration holds what is set. The outbound integrations — webhook subscribers and audit export sinks, the same kind of object — are two sections listed beneath Integrations on every page; /integrations opens the first. The earlier address /webhooks redirects to /integrations/webhooks, so existing links keep working.

The sidebar lists only the pages the session's roles can read; a group with nothing left in it is not drawn. A session with no role, or an approver, sees neither Oversight nor Integrations. Every address still opens: a page the session cannot read states the role it needs (see Authorization).

Inside a marketplace, the sidebar lists that marketplace beneath Marketplaces with its sections — Review (with its own awaiting count), Snapshots, Activity (auditors and administrators only) and Settings — and the current section is the one highlighted entry. Leaving the marketplace closes the list; it is read from the address, never remembered. Snapshot contents is reached from a snapshot's card. Each kind of token has one home. Personal access tokens are a per-user concern, not estate-wide navigation: they are reached from the Security entry in the user menu, described next, and from nowhere else; /tokens redirects to them, so existing bookmarks and links keep working. System access tokens, the credentials for pipelines and other services, are an administrator's setting and sit under Configuration.

The sidebar footer states the running build's version — 0.3.0 — read from GET /api/v1/me. It is the build artifact's own version and nothing a deployment can set, so it cannot claim to be a version it is not; a gateway run from an exploded build carries no build information and the footer is then absent entirely rather than saying "unknown".

The first Tab on any page reaches a Skip to content link that moves past the sidebar to the page itself.

Each page names itself in the browser tab, then its marketplace where it has one, then the product: Audit log · Skills Gateway, Snapshots · acme · Skills Gateway. An address the portal does not have shows Page not found inside the shell, with a link to the overview; the gateway answers it with status 404. After sign-in the portal removes the continue marker the sign-in leaves on the address it returns to, so the address you copy is the one you were sent.

User menu

The header's breadcrumb sits opposite a menu named after the signed-in user (GET /api/v1/me). Opening it shows:

  • Signed in as the username.
  • Roles — one line per effective role the session holds, said in the reader's own terms rather than the API's wire values: admin — from your identity provider, approver of acme-skills — granted in the portal, and so on for a role sourced from configuration or from the local development authentication escape hatch. A session holding no role is told so, together with what it can still do (browse the marketplaces and their snapshots' vetting, manage its own personal access tokens under Security) and that anything else needs a role an administrator grants, rather than shown an empty list. If the identity provider truncated the membership claim, a line says the role list may be incomplete.
  • The theme control — three-state, cycling system → light → dark: it defaults to system (follow the operating system's appearance), and its icon and label state the chosen mode — a monitor for system, a sun for light, a moon for dark. The choice is remembered in the browser (localStorage); system tracks the OS setting as it changes.
  • Security, opening the Security section, which for now holds one page, Personal access tokens. It is shown to every signed-in user, whatever their roles: managing your own tokens needs no role. The section exists so that other per-user security settings can join it later without another change to the navigation.
  • Sign out, which ends the browser session and returns to a fresh login. Under the skills-gateway.dev-insecure-auth development escape hatch there is no session to end, so the menu states that instead of offering a control that would appear to fail.

Sign-in and sign-out pages

/login and /logout are minimal pages in the portal's style, not part of the single-page application and loading nothing from elsewhere. Each states the reader's session as it is: You are signed in as the username, or You are not signed in with a Sign in with your identity provider link (which opens the portal, and so the sign-in). /logout offers a Sign out button only to a session that has one to end; under the escape hatch it says there is none. A browser rarely sees either page: an unauthenticated portal address goes straight to the identity provider, and the menu's Sign out never shows one.

A request the gateway cannot parse at all — an address with an invalid percent-escape — is answered 400 with a page in the same style to a browser, and with one line of plain text to any other client. API, facade, publication, revocation-check, webhook and actuator addresses keep their own refusals, whatever the client accepts.

The menu only reports what the session holds. The rest of the portal uses the same read to decide which controls and pages to offer (see Authorization); the server stays the sole authority on what a request may do.

Conventions across pages

  • Every mutation reports through a toast — the action's success message, or the server's RFC 7807 detail on failure.
  • Destructive actions (Reject, Revoke) fire immediately; there are no confirmation dialogs.
  • Buttons disable while their mutation is in flight and swap to a progressive label ("Registering…", "Ingesting…").
  • A form's submit button is disabled until every required field is valid, and a muted hint beneath the form (bound to the fields with aria-describedby) states what it is waiting for. The client rules mirror the server's; whitespace never counts as a value. Rules the client cannot know — the URL scheme allowlist — stay server-side and surface as an error toast.
  • Every list renders a bare "Loading…" and, on failure, an error paragraph with role="alert".
  • Timestamps render in the reader's own locale and time zone. The exact instant is never lost: it stays in the <time datetime> attribute and on the hover tooltip, so an auditor can always recover the recorded value. A timestamp the portal cannot parse is shown verbatim rather than hidden, and an absent one renders as an em dash.
  • Text from an upstream repository is shown as written. Every invisible or bidirectional control character in it — a Unicode format character, such as a zero-width space, a right-to-left override or a byte-order mark — is shown as a bordered token naming its code point, for example ⟨U+202E⟩, and is never applied or removed. A screen reader reads the character's name; hovering shows it. A zero-width joiner inside an emoji sequence is left alone, as the prompt-injection vetter leaves it. This covers plugin, skill and component names and descriptions, file paths, finding locations, and file contents. Search, selection, links and Copy link use the text as stored, so a token is display only; a selection copied from the page copies the token.

Authorization

The server refuses mutations, the audit surface and the snapshot contents reads to sessions without an applicable role — see Delegated administration. The portal reads the session's roles from GET /api/v1/me and offers only what they permit:

Control or page Offered to
Ingest, Approve, Reject, Waive, Revoke a waiver, Re-vet now, re-running the chain, a revoked snapshot's fetchers, the file-by-file Diff, the Contents tab and Snapshot contents an approver of that marketplace, or an administrator
Delete and Restore a snapshot, Register marketplace, everything under a marketplace's Settings beyond its upstream facts, the Vetting chain page an administrator
Audit log, Adoption, Webhooks, Audit sinks, a marketplace's Activity, the Overview's Fetch ledger card an auditor or an administrator

A control the session cannot use is not shown. Where a snapshot awaits a decision the session cannot make, the card says so in place of the decision — "Approving or rejecting a snapshot of {name} needs the approver role for it." A page or section the session cannot read shows one statement of the role it needs — "This page needs the auditor role." — with a line on why, and makes none of the reads the server would refuse. For a session without the approver role, a snapshot card has no Contents tab and its vetting findings' locations are plain text rather than links into it.

Roles can change while a page is open. Whenever the server refuses a request (403), the portal reads GET /api/v1/me again and the page follows the answer without a reload.

Personal access tokens are scoped per principal server-side regardless: you only ever see and revoke your own. System access tokens are the opposite: an administrator sees and manages every one.


Overview

Route: / · Heading: Gateway Overview

The landing page. Two cards (the second only for auditors and administrators), each with counts derived client-side and one action leading elsewhere. Read-only — nothing here changes state.

Marketplaces — chips for the total marketplace count and how many snapshots are held, approved and rejected across all of them. When any snapshot is held, a secondary badge reads "{n} awaiting review" and links to the review queue. Action: Manage marketplaces.

Fetch ledger (auditors and administrators) — a chip with how many entries the ledger holds: "{n} ledger entries", or "about {n} ledger entries" once the ledger is large enough that the server estimates rather than counts (see GET /api/v1/audit). It counts every entry: fetches, administrative actions and vetting bookkeeping. Action: Open audit log.

Overview carries no tokens card: personal tokens have one home, under Security in the user menu.

Former hosted repositories (administrators only, temporary) — an alert above the cards, shown only while repositories from the removed hosting feature are still in the gateway's data store: This gateway no longer hosts marketplaces. N repositories from the former hosting feature are still in its data store; copy each one (git clone <location>) and then delete the folder. Each is listed with its name, its location (a path, or an object-store key prefix) and, where it can be read, its last commit. It has no delete control, it is read from storage each time so it disappears when the folders do, and nobody but an administrator makes the request for it. See Removing hosted marketplaces. Removed two minor releases after the release that ships V3__remove_hosted_marketplaces.

Data comes from GET /api/v1/marketplaces, GET /api/v1/audit and, for an administrator, GET /api/v1/storage/former-hosted-repositories; counts are computed in the browser, as there is no summary endpoint. While the queries are in flight the chips show an ellipsis.


Review queue

Route: /review · Heading: Review queue

Every snapshot awaiting a decision — held or revoked, not deleted — across every marketplace, newest first. One row each: Marketplace (a link to it), Commit (12 characters, a link that opens the snapshot on its marketplace's Review), State, Vetting outcome, Findings (how many the latest vetting run recorded, waived or not; not run when the chain never ran), and Ingested — how long ago, which is how long it has waited, and by whom; the exact instant is on hover.

Marketplace and Ingested are sortable: Ingested turns the queue to oldest first, which puts what has waited longest at the top, and Marketplace groups it by marketplace, newest first within each.

The queue offers no Approve or Reject. A decision is made on the snapshot's card, below the verdicts, diff and contents it rests on; the queue is where the work is found, not where it is done. Empty: "Nothing awaits a decision."

Data comes from GET /api/v1/marketplaces, the same read the sidebar count uses, and one GET /api/v1/snapshots/{id}/vetting per row.


Marketplaces

Route: /marketplaces · Heading: Marketplaces

The working surface: registered upstreams and their quarantined, held and approved snapshots.

Register marketplace

The header action opens a dialog stating the constraint up front — "The gateway ingests the upstream default branch; the ref is not selectable."

Field Validation
Name ^[a-z0-9][a-z0-9_-]{0,62}$ — the hint reads "Up to 63 lowercase letters, digits, - and _; must start with a letter or digit. It is the /git/{name} path your clients clone."; a name that breaks it gets the API's own 422 wording as its field error
Clone URL Must be a valid URL. The scheme allowlist, and whether the gateway can read the upstream, are checked server-side. A refusal surfaces as an error toast that gives the reason and a next step.

Register stays disabled until both fields are valid; it enables as soon as the name matches the pattern and the clone URL parses.

If the clone URL already matches a registered marketplace — comparison ignores case, a trailing slash and a .git suffix — the dialog shows a warning naming the existing marketplace(s) and holds Register shut until Register anyway is ticked. This is a warning, not a block: the same upstream under a different name is a legitimate test setup, so the server still accepts it; the acknowledgement only makes the collision deliberate rather than silent.

Submits POST /api/v1/marketplaces; toasts Marketplace '{name}' registered. The server runs the identical duplicate-URL check independently against every registered marketplace, not only the list this dialog already had loaded, and returns what it found in the response's warnings; each one is shown as its own warning toast, so a collision this dialog's own check missed still reaches the operator.

Marketplace table

One sortable row per marketplace:

Column Contents
Name The marketplace name, a link to its page.
Source The detected forge (or the clone URL's host), with the clone URL beneath.
Latest snapshot The newest snapshot's state badge and its vetting outcome badge.
Upstream updated The last upstream update if known, else "—". Sortable.
Snapshots A count badge.
Awaiting How many snapshots await a decision, a link to the marketplace's Review; "—" at zero. Sortable.

The table is an index. It does not expand, and it offers no Approve, Reject or Ingest: ingestion is on the marketplace's header, and a decision is made on its Review, beside the evidence.

Empty state: "No marketplaces registered yet."


Marketplace detail

Routes: /marketplaces/{name} (Review), /marketplaces/{name}/snapshots, /marketplaces/{name}/activity, /marketplaces/{name}/settings · Heading: the marketplace name

Reached from a marketplace's name, from the review queue, or from the sidebar once inside. The page resolves {name} from the marketplace list already held in the browser — there is no per-marketplace endpoint — so an unknown name renders "Marketplace '{name}' not found." with a link back.

A marketplace is divided by what a visit is for, most frequent first:

Section Holds
Review (default) What awaits a decision — the snapshot cards and the decision
Snapshots What is served, and every earlier snapshot
Activity This marketplace's slice of the audit log
Settings The upstream facts, the automatic approval setting and, for an administrator, the URL correction, the automatic approval form, the vetting chain and removal

On every section: the name, the clone URL, and one line stating what the facade serves — Serving {sha12}, or Not served — a clone is answered with 404 until a snapshot is approved. "Serving" is the marketplace read's servedSha, read from the published repository, not inferred from an approved snapshot existing — which is wrong after a withdrawal that left one approved and serves nothing.

When the last ingest failed, a further line reads Last ingest failed {when}: {reason}. The reason includes the root cause and a next step. It is the marketplace read's lastIngestReason, so it covers ingests by the sync sweep, a webhook or a push as well as by hand. A failed Ingest also refreshes the line, and the next successful ingest removes it.

Two actions, both outline buttons so that Approve stays the page's one primary control:

  • Ingest (POST /api/v1/marketplaces/{name}/ingest) starts the ingest and the header follows it: the stages Queued → Fetching → Evaluating manifest → Vetting, the current one marked, and the elapsed time. While it runs the button reads Ingesting… and is disabled. When it ends the page toasts Snapshot {id} is {state} and opens what arrived on Review, or toasts the failure. An ingest started elsewhere (the sync sweep, a webhook, another reviewer) shows the same stages when the page is opened during it. One whose gateway instance stopped reads Ingest interrupted, and Ingest is offered again.
  • Connect a client opens the client wizard under the header.

Is my client up to date?

Under the header, on every section, a panel answers the question a user asks when their client has not picked up a plugin's newest version. It is shown to every signed-in user, whatever their roles, and is written for a reader who is not an approver:

  • Served now — the commit, since when it has been the served one, and who or what approved it: a person, or automatic approval.
  • A newer commit, when one exists — its short SHA and how long ago it was ingested, in plain terms: awaiting approval, rejected or revoked. For one awaiting approval it says who decides: an approver of this marketplace, or an administrator, and to ask your gateway administrators. It names the role, never a person who holds it.
  • The last ingest failed, with the reason the header already shows, when the newest upstream commit has not been picked up at all.
  • Nothing is served, and why: nothing ingested yet, no commit ever approved, or a commit approved once and withdrawn since.
  • When none of the above applies: Nothing newer is waiting.

It is built from the marketplace read, GET /api/v1/marketplaces, that every signed-in session already receives, and makes no other request. It therefore shows nothing a session without a role could not already read, and it never reads a snapshot's contents, files or findings: those stay behind the approver role, as the snapshot cards describe.

Upstream

On Settings. Forge metadata captured at registration, best effort: Clone URL, Forge, Project, Description, Last upstream update, Last ingest (its outcome, time and a link to the snapshot it recorded, or "never"), Registered, Registered by. Anything not captured shows "—".

Correct the URL (administrators)

In the Upstream card of an upstream marketplace, shown only to a session holding the admin role. While the marketplace has no snapshot, Edit URL… opens a dialog titled Correct the URL of name with the Clone URL prefilled. It states that the upstream is read before anything changes and that the editor becomes the registrant. Save URL is disabled while the field is empty or whitespace, or while the URL carries a credential (an alert says to configure upstream credentials on the gateway instead), and reads Saving… while the request is in flight. The scheme allowlist and the upstream read are the server's: a refusal is shown in the dialog with the server's reason, and the stored URL is unchanged. On success the dialog closes, a toast confirms it, any warning (such as a URL another marketplace already has) is a toast of its own, and the card shows the new URL and registrant.

Once the marketplace has a snapshot the button is gone and the card says the URL can no longer change, and that the marketplace can be removed and registered again. A marketplace the estate configuration declares has the button disabled, with the reason: correct the declaration and restart. The dialog calls PUT /api/v1/marketplaces/{name}/url.

Automatic approval

On Settings, after the upstream facts, and shown to every session that can see the page, so automatic approval is never invisible to the people whose content it publishes. Fed by GET /api/v1/marketplaces/{name}/auto-approval; see Automatic approval.

The heading carries a badge for what automatic approval does today: Approved automatically (automatic approval on and allowed, with the gateway mode on), Dry run: recorded, not published (the same under mode dry-run), or Not approved automatically. Beneath it, a list gives the Status (Off, or On until a date), Allowed because (Internal source, Administrator exemption, Waiting for a second administrator or Not allowed), the Gateway mode (Off, Dry run or On, each with what it means), who set it and when, the reason, when it lapses, and the active administrator exemption with its reason, author and date. A setting past its date is marked Lapsed. A note says what to do when automatic approval is on but not taking effect: renew a lapsed one, wait for another administrator under four-eyes, or set it again with an exemption.

The card shows the gateway mode and whether the source is internal, but cannot change either. Both come from configuration (skills-gateway.approval.auto.mode and …internal-prefixes), set by whoever deploys the gateway. A marketplace outside the prefixes takes an exemption here, or a prefix added there and a restart.

For an administrator, a form follows:

  • Automatic approval: Off or On. Saving Off also revokes an active exemption.
  • For On, a Reason and a Lapses on date, from tomorrow to 90 days out. Automatic approval lapses at the start of that day.
  • Add an exemption, for a marketplace outside the internal prefixes, with its own Exemption reason and Exemption lapses on.

Save automatic approval is disabled until each required reason holds something other than whitespace and each date is in range, and reads Saving… while the request is in flight. It calls PUT …/auto-approval. A refusal from the server, such as turning automatic approval on for a marketplace whose source is not internal without an exemption, is shown beneath the form as returned, with its next step.

When an exemption is active, Revoke exemption… opens a confirmation that states what revoking does: the exemption ends now, automatic approval that rests on it stops taking effect, and what is already served stays served. Revoke exemption calls DELETE …/auto-approval/exemption.

If the setting cannot be loaded, the card says so with Try again.

Vetting chain (administrators)

On Settings, shown only to a session holding the admin role. Fed by GET /api/v1/marketplaces/{name}/vetting-chain, which the server refuses to anyone else — the switch that governs the chain, and the visibility of its settings, sit above the content they govern.

The card's description links to Vetting chain, which governs the default every setting here falls back to and lists every marketplace that departs from it.

It draws the same flow without verdicts, headed by how much of the chain runs and what is off:

2 of 3 vetters run · secret-scan off for this marketplace

Every configured vetter appears in the order it runs, each showing enabled or disabled, a chip naming where that state came from (this marketplace, global, default), and — for a vetter that is off — who switched it off. Opening a node gives the same source in full, the vetter's version, whether it is built in or external, when the deciding setting was last set, and the note left with it.

The node's detail also carries the switch: an optional reason field and a single control that enables or disables that vetter for this marketplace, calling PUT /api/v1/vetting/vetters/{name}/toggle. A per-marketplace setting overrides the global one. Every change is written to the audit ledger with the acting administrator, the vetter, the scope, the new state and the reason.

Switching vetters off narrows the evidence behind an approval; it never makes one automatic. What that means for a run is described in Switching a vetter off.

Beneath the drawing sit the two chain-level controls, fed by GET /api/v1/marketplaces/{name}/vetting-chain-settings.

When a vetter fails is a two-option control — Run every vetter or Stop after a failure — calling PUT /api/v1/vetting/chain-mode for this marketplace, with an optional reason. The hint beside it states the cost rather than leaving it to be discovered on a snapshot: stopping early spares the vetters after a failure, and it also means a reviewer no longer sees everything that is wrong with a snapshot in one pass, and that a run which stopped is blocked until it has been run again — even after the finding that stopped it is waived. The line ends with where the current mode came from.

The order they run in is a numbered list with a Move vetter up and a Move vetter down control on every row. The controls are ordinary buttons with names of their own, so the reordering is operable by keyboard and announced as what it does; there is no drag gesture to have an equivalent for. Movements are local until Save order writes the whole arrangement through PUT /api/v1/vetting/chain-order — one intended reordering is one audited change, not one per hop — and Discard changes puts it back. While an arrangement is unsaved the drawing above shows the proposed order and the list says it is not saved yet.

Remove marketplace (administrators)

On Settings, last, and shown only to a session holding the admin role. Remove name… opens a confirmation titled with the marketplace's name. The confirmation states what removal does: every approved snapshot is withdrawn, so the facade serves nothing under the name; tokens keep their grant to fetch it; the record, the snapshots and the ledger are kept; and the name can be registered again as a new marketplace. It also asks for a Reason, which is recorded on the removal and on each withdrawal. Remove name is disabled until the reason holds something other than whitespace, and reads Removing… while the request is in flight.

The confirmation calls DELETE /api/v1/marketplaces/{name}. On success the portal goes to Marketplaces and a toast states how many approved snapshots were withdrawn. A refusal is shown as a toast with the server's reason, and the confirmation stays open.

A marketplace that the declarative estate declares is not offered for removal. The next reconciliation would register the name again as a new, empty marketplace. The button is disabled, and a line beneath it says to remove the declaration and restart the gateway first. The portal reads this from the last reconciliation report, GET /api/v1/estate. If that report cannot be read, the button stays available, because the server accepts the removal.

Review and Snapshots

One snapshot is open at a time in either section, so neither grows longer with every ingest; the rest are one line each, and Open on a line opens that snapshot's card in its place.

Section Holds Shown as
Review — Awaiting decision (n) Every held or revoked snapshot that is not deleted, newest first The newest open as a card; the rest one line each, with its delta. Empty: "Nothing awaits a decision."
Snapshots — Serving The snapshot whose commit the facade answers with Open by default. "Nothing is served." when servedSha is null — and, if a snapshot is still recorded approved, that it was withdrawn
Snapshots — Earlier snapshots (n) Everything else: rejected, deleted, approved but no longer served One line each

Two snapshots can await a decision at once. The open snapshot, its tab, its file and the line in that file are in the address, so a link to the evidence restores all four:

/marketplaces/acme?snapshot=41&tab=contents&path=plugins/hello/skills/hello/SKILL.md&line=12

line is optional. When present, the file opens at that line with the line focused. Choosing another file drops it.

An address naming a snapshot that no longer awaits a decision — an older link to one since approved — still opens it on Review, under Linked snapshot, with a link to it among the snapshots. An address naming a snapshot this marketplace does not hold — no snapshot by that id, or another marketplace's — says Snapshot {id} was not found in {marketplace} on both sections.

The card

Top to bottom, in this order on purpose:

  1. Identity — the short SHA, the state badge, when it was ingested and by whom, who decided it, and the retention control (Delete / Restore).
  2. The delta line — what is arriving, how big it is, and against what:

    1 skill added, 1 modified · 3 files · +48 −7 · vs 65f64622
    

    File and line counts come from GET /api/v1/snapshots/{id}/diff (against what is served); skill counts from GET /api/v1/snapshots/{id}/content-diff (against the last approved snapshot). Skill counts are left out when those two baselines differ, rather than mixing counts taken against two commits. The file and line counts are the gateway's own totals over the whole diff, however large. With nothing served the line says approving serves all of it. 3. The violation and, for an approved or revoked snapshot, the re-vetting panel. 4. Tabs — the evidence. Only the open tab loads.

    Tab Shows
    Vetting (default) The vetting report: chain outcome, verdicts, findings, waivers. Every path:line location is a link that opens the file at that line in Contents (not in the approve dialog, which stays on the decision, and not for a session without the approver role, which has no Contents tab)
    Contents The file explorer, inside the card. Offered to an approver of the marketplace or an administrator; an address naming this tab shows anyone else the role it needs
    Diff Changes since the last approved snapshot — plugins and skills marked added, changed, moved or removed, only what changed, from content-diff. With nothing approved yet it says there is no baseline. Below it, Files changed against the served commit lists every changed path from diff, 500 at a time, with Show N more, the totals over the whole diff, and each file's diff opened in place
    Inventory What the snapshot ships: one block per declared plugin with its source and description. Below them is one count per component kind the plugin has (skills, commands, agents, hooks, hook modules, MCP servers and LSP servers), for example "1 skill · 4 agents · 3 hooks". Each count is collapsed and expands its own list in place. A hook row shows its trigger (the event, and the tool matcher when there is one), what it runs, and where it is declared. A hook module row shows its file, the events it registers, the $ interfaces it reaches, the plugin files it imports, anything it loads that could not be scanned, and where it is declared. Read from GET /api/v1/snapshots/{id}/content
    Provenance Upstream URL and SHA, the served SHA, who decided it and when, and the closure of external plugin sources
  3. The decision — Approve (Re-approve for a revoked snapshot) and Reject, only for a snapshot awaiting one.

The decision is last because it rests on everything above it: an approval control is never shown above the evidence. When the gateway would refuse the approval — vetting blocked it, the minimum release age has not passed, or the four-eyes rule refuses you — Approve is disabled and the reason is on the card, rather than the press failing — inside the minimum release age the reason names when it opens, read from GET /api/v1/snapshots/{id}/release-age rather than the browser's clock, and Reject is never age-gated. Approve opens the review dialog; Reject fires immediately and toasts Snapshot {id} rejected.

When other snapshots await a decision, the card names them. Approving this one does not retire them: they stay held, and approving an older one afterwards would serve content older than this.

This is the review surface, and it works on held snapshots — inspecting a snapshot must not require serving it.

Approve dialog

Titled Approve snapshot {id}, it renders the vetting report for the snapshot. The confirm control (Confirm approval of snapshot {id}) is disabled for as long as the effective outcome is BLOCKED; there is no field to type past it. The way to enable it is to waive each blocking finding from the report itself. The server enforces the same rule independently, with 409, so the disabled button mirrors policy rather than replacing it.

Below the report, a Plugin names already in use section lists each plugin name the snapshot introduces that looks like one another marketplace already serves, with the manifest line declaring it and the incumbents it resembles. While any is uncovered the confirm control stays disabled. Each carries a Waive name collision button (accessible name Waive name collision for {name}) opening the same waiver form, offering Every plugin-name-collision finding in this snapshot as the only scope. The snapshot card does not shut Approve for a collision, since this dialog is where it is waived.

The dialog is also shut by the minimum release age, and says so in its own note: that one has no way past it in the portal at all, and needs none — it opens by itself at the stated time.

Confirming calls POST /api/v1/snapshots/{id}/approve with no body and toasts Snapshot {id} approved.

Waiving a finding

The report lists each verdict's findings as finding groups. A group is the findings of one rule on one line of identical content (the same git blob). It shows its first location and, under N more copies of the same content, the rest. Above the verdicts, Approval is blocked until each of these is waived lists every uncovered group, as {rule} at {path:line}, …, with the first three locations spelled out and the rest counted.

Each blocking group carries a button that opens an inline form beside it: Waive {rule}… (accessible name Waive {rule} at {path:line}) for a single location, or Waive {rule} at N locations… (Waive {rule} at N locations) for a group.

Control Notes
Scope These N identical copies, in this snapshot (or This finding, in this snapshot) — the default, covering the group and nothing else; Every {rule} finding in this snapshot; and, for a single location, Every {rule} finding under {path}, in later snapshots too
Expires on date input, defaulting to 30 days out; must be in the future — the waiver lapses at the end of the chosen day
Justification required; whitespace does not count

Under the scope, This waiver covers N findings in this snapshot counts what the chosen scope matches in this run: the group's locations, every finding of the rule, or every finding of the rule under the path. A path scope adds and any under {path} in later snapshots. The submit button carries the same count: Record waiver for N findings (accessible name Record waiver for N findings of {rule}). It stays disabled until the justification is non-blank and the expiry is still in the future, which is exactly what the server requires.

It calls POST /api/v1/snapshots/{id}/waivers and toasts Waiver recorded for {rule}. The group is then struck through and badged waived by {approver} until {date} (or k of N waived when a wider waiver covers only some of its locations), and the outcome badge becomes vetting clear with waivers once nothing is left uncovered.

Waiving several groups at once

A blocking group tied to content also carries a checkbox (Select {rule} at {path:line}, or Select {rule} at N locations). Once one is checked, a Selected findings bar above the verdicts reads G groups, N findings selected, lists the selected rules, and offers Waive selected… and Clear selection. A group that a refresh shows as waived drops out of the selection.

Waive selected… opens one form with Expires on and Justification, under the same rules as the single form. Record G waivers for N findings posts one group waiver per selected group, one at a time, each scoped to that group in this snapshot and never wider. If every waiver is recorded, it toasts Recorded G waivers and closes. If any is refused, an alert reads Recorded k of G waivers. Refused: {rule} at {location} — {reason}, and the refused groups stay selected.

Below the verdicts, Accepted risks lists every waiver whose rule appears in this run — active, expired and revoked alike — with its rule, scope, justification, approver and expiry. An active one carries Revoke waiver {id}, which calls DELETE /api/v1/waivers/{id}.

Connect a client

Connect a client, in the header of every section, opens a wizard that composes for this marketplace everything a consumer needs — every URL derived from the address the browser is already on. It is a header action rather than the page's first panel because a consumer takes this step once, while the reviewer's work is on Review every visit.

When nothing is served, the header already says a clone is answered with 404; the wizard repeats it, adding that this is not a credential problem — a wrong or revoked token is answered with 401 — for anyone who opens it without reading the header.

Inside the wizard:

  1. Personal access token — the same show-once creation flow as the Personal access tokens page. The name defaults to {marketplace}-client and the control disables again if it is emptied or left whitespace. Expires is a button group — 30 days, 90 days, 180 days or 1 year — defaulting to 30 days rather than to never; the gateway's own cap (skills-gateway.tokens.max-ttl) is not exposed to the browser, so a longer choice than the deployment allows is refused by the server and the refusal is shown beneath the field. A token minted here is shown in its own field, with a copy button, only while the wizard stays open; closing it drops the value, and no previously issued token's value is ever shown. No command carries it. The step carries the same Marketplaces choice as the Personal access tokens page: Every marketplace, the default, or Chosen marketplaces, which starts with this marketplace ticked and lets you add others. The step says what the token reaches for the choice made, and says it again once the token exists, from what the gateway reports: by default that the token is not limited to this marketplace and fetches every marketplace the gateway serves its holder, and for a limited token that it fetches only the marketplaces named and that any other is answered as if it did not exist. Git keeps one credential per gateway, so the default token serves each marketplace added from here, while a limited token serves only those it names: add a marketplace later and the token must name it too. With the limited choice and nothing ticked the button stays disabled, and the step says no token is created until a marketplace is chosen.
  2. Store the credential — two lines for bash or zsh. The first names git's store helper for this origin only (git config --global 'credential.{origin}.helper' store), because git credential approve stores nothing on a machine with no helper configured. The second prompts for the token without echoing it and passes it to git credential approve, so the token reaches neither the command nor the shell history. A note beneath says store keeps the token in plaintext in ~/.git-credentials, and that a reader with an OS keychain helper skips the first line. This is the primary copy target, marked by a highlighted snippet box, because a consumer who copies one thing should copy this. Its copy control is the same corner icon button the other snippets use, so the three read as one family.
  3. Add the marketplace to Claude Code — claude plugin marketplace add {origin}/git/{name}.git. The .git suffix makes Claude Code treat the URL as a git remote, so the credential stored in step 2 authenticates it; without the suffix it is fetched as a marketplace file over plain HTTP and answered 401.
  4. Clone directly — a plain git clone of the facade URL, with no token in it: the credential stored by step 2 authenticates it, and nothing lands in .git/config or shell history.

The remaining snippets have icon copy buttons. The commands read the same before and after a token is minted.

A closing line says the facade serves only the approved snapshot, on main, and that each fetch it serves is recorded on the audit ledger; a refused request (401 or 404) is not.

Vetting

The snapshot card's Vetting tab — the tab a card opens on — is fed by GET /api/v1/snapshots/{id}/vetting.

The chain flow

Above the per-vetter list, the chain is drawn as an ordered flow — one node per step, left to right:

Ingest → secret-scan → prompt-injection → Outcome → Approval

The order is the order the vetters ran, taken from the run's own recorded positions; for a snapshot the chain has not run against yet, it is the configured chain in the order it will run.

The flow never wraps: nodes narrow their names before the row breaks, and on a screen too narrow for the whole chain it scrolls sideways — faded at the edge it continues past — so the gate is never stranded on a line of its own, away from the result it follows.

Above the nodes, one sentence states the answer and where the chain stopped, so it can be read without opening anything:

Blocked at step 1 · secret-scan found 1 critical finding
Blocked at step 2 · license-scan found 18 findings in 3 groups (16 high, 2 medium)
Clear · 5 vetters, 21 findings in 9 groups
Clear with waivers · 2 findings accepted
Stopped at step 1 · secret-scan found 1 critical finding, so 2 later vetters
                    did not run — re-vet to see what they say

The last of those is the one a reader must not skim past: a chain that stopped early has a smaller verdict set, not a cleaner one, so the sentence says how many vetters never looked and what to do about it.

How to read a node:

Part Meaning
Stage label Where the node sits: Source, Step N for each vetter in run order, Result, Gate.
Name Ingest, a vetter's name, Outcome, Approval.
State word pass, warn, fail, error, pending, waived (it failed, and active waivers cover every finding at high or above), skipped (switched off), not reached (the chain stopped before it), not run (no verdict at all) for a vetter; clear, clear with waivers, blocked for the outcome; open or closed for the approval gate. The word is always present — colour never carries a state on its own.
Top edge The same state, as colour: the accent for a pass, warn or waived, red for a fail or error, a plain hairline for anything that reached no conclusion. A second, scannable carrier of the word above it, never a replacement for it.
Finding count How many findings that vetter raised, when it raised any, one per location: 3 findings, or 18 findings in 3 groups when identical content collapsed them into fewer finding groups. The headline, the stop reason and the vetter's block below count the same way.
external chip The verdict comes from an operator-configured external service, not from a built-in vetter.
N waived chip How many of that vetter's findings an active waiver is suppressing. A vetter whose remaining findings would still block keeps the verdict it reached; one whose blocking findings are all covered reads waived, never pass: an accepted risk is never redrawn as a clean result.

The stage the chain arrives at — Result here, Gate on the marketplace chain — is drawn as a filled surface rather than an outline, so the end of the chain reads as the end.

Every node is a button. Activating one opens its detail:

  • A vetter — its verdict (for waived, also the verdict it recorded), its version, whether it is built in or external, its self-description, its count, and its findings, with a waived one struck through and badged. A skipped node states that an administrator switched the vetter off for this marketplace and that the scope and reason are on the marketplace's vetting chain, which is administrator-only. A not reached node states that the chain stopped before it, that this is an absence rather than a result, and that a waiver on the finding which stopped the chain lets the next run get this far without standing in for the verdict this vetter never gave.
  • The outcome — how the aggregation reached its answer, what the vetters themselves recorded, which vetters are objecting (a waived vetter is not), the vetters the run never reached, and the findings that still need a waiver.
  • Ingest and Approval — what the step is, and why the gate is where it is.

The flow is an overview; the per-vetter list below it is where findings are read side by side and a waiver is written next to the one being accepted. Both are always shown.

It shows the effective chain outcome badge and one block per vetter: an icon and badge for the verdict state, the vetter name, the count in the chain's wording with the worst severity (18 findings in 3 groups; worst high), or, for a vetter with nothing above informational, its coverage summary, and every finding group as severity badge, rule id, path:line, and message. The severity sits in a column of its own, so a long message wraps under its rule. A vetter whose blocking findings are all waived shows a waived badge and recorded fail beside it. A vetter with nothing to report shows "Nothing found."

A finding an active waiver is suppressing is struck through and badged waived by {approver} until {date}; one that still blocks carries a Waive finding {rule} button. When the effective outcome only clears because of a waiver, the header adds the chain objected; active waivers are suppressing what it found. Blocking findings are also summarised as a single line naming what must be waived before approval unblocks. See Waiving a finding for the form and the Accepted risks list.

A snapshot the chain never ran against says so explicitly, and states that there is nothing to waive — a snapshot with no evidence cannot be approved at all.

A collapsed What these vetters can and cannot see disclosure lists each configured vetter and its self-description, so the limits of the heuristics are readable at the point of decision. The same section is embedded in the approve dialog.

Chain staleness

Enabling or disabling a vetter, or changing the chain's mode or order, re-runs nothing. For approved content the re-vetting sweep converges on it; for a snapshot still at the approval gate nothing does. So a snapshot ingested before a chain change can be approved on evidence a vetter in the chain today never produced.

The vetting section says so, against the evidence it qualifies:

State Shown
The run came from the chain in force Nothing. A marking on every snapshot would be noise.
The run came from a different chain A notice naming both chains — the one that produced the evidence and the one in force — and a Re-run the chain now button.
The run records no chain identity This run records no chain identity, so whether it matches the chain in force is unknown. No alarm and no button: the gateway does not know that anything is wrong.

A chain is described as vetter@version,…;mode=…, and — when an administrator has switched vetters off — ;disabled=[…]. A switched-off vetter stays named in the chain and is recorded on the run as a disabled verdict, so a toggle shows up in the disabled= part rather than by a name disappearing.

Approval is not blocked by this, and no configuration makes it block. The gateway states the fact and the reviewer decides, the same as for an override or a waiver. If they approve anyway, the ledger records snapshot-approved-on-superseded-chain naming both chains, beside the approval rather than instead of it.

Re-run the chain now calls POST /api/v1/snapshots/{id}/revet. For a held snapshot that is a refresh, not a re-vetting: the chain runs, the run is recorded, the snapshot stays held, and nothing is announced or retracted — there is nothing published to retract.

Re-vetting panel

Above the tabs, the snapshot card carries the re-vetting surface.

Snapshot Shown
State approved A Re-vet now button.
State revoked revoked by {revokedBy} on {revokedAt}, and an Already fetched by panel.
Anything else Nothing here — a held snapshot's evidence is refreshed from the chain staleness notice instead, which is where the reason to refresh it appears.

Re-vet now calls POST /api/v1/snapshots/{id}/revet and toasts what the run concluded: re-vetted clear, could not conclude, has a re-vetting violation; it is still published (warn mode), or revoked by a re-vetting violation (enforce mode). Why the snapshot was revoked is the card's own violation line.

Already fetched by lists every identity that received the snapshot's content through the facade, each with a fetch count and a last-fetch time, from GET /api/v1/snapshots/{id}/fetchers. It is only requested for a revoked snapshot. When nobody fetched it, the panel says so rather than showing an empty list. This read is privileged — admin or an approver of this marketplace — so the panel shows an error to a session holding neither.

The way back is on the marketplaces page: a revoked snapshot's approve control reads Re-approve and goes through the ordinary gate. See Re-vetting approved content.

Retention controls

Each snapshot card carries its retention state and the control that changes it:

Snapshot Shown
Not deleted, state held, rejected or revoked A Delete button.
Not deleted, state approved Nothing — an approved snapshot is served by the facade and the gateway refuses to delete it.
Deleted A destructive deleted badge, "restorable until {purgeAfter}", and a Restore button.

Delete calls DELETE /api/v1/snapshots/{id} and toasts Snapshot {id} deleted; it can be restored. Restore calls POST /api/v1/snapshots/{id}/restore and toasts Snapshot {id} restored. Both fire immediately, like every other mutation in the portal — deletion here is a reversible mark, not a purge.

The restore deadline is the real one

Once purgeAfter has passed, a compaction run removes the snapshot and its quarantine ref permanently and the card disappears. See Snapshot retention.

Empty state: "No snapshots yet."

Audit log

Below the snapshots, the marketplace's slice of the ledger: the entries GET /api/v1/audit?marketplace={name} returns, newest first, with the same verdict colouring as the Audit log page — a blocked verdict reads red here too. The server does the narrowing, so a quiet marketplace's entries show however many newer entries belong to others. Load older entries fetches the next page while there is one. A See the full ledger link goes to /audit. Empty state: "Nothing recorded against this marketplace yet."


Snapshot contents

Route: /marketplaces/:name/snapshots/:id/files · Heading: Snapshot contents

The reviewer's file explorer for one snapshot: exactly the commit it pins. The same explorer is the Contents tab of the snapshot card; this full-width route renders it on its own, and keeps working for links already sent.

The address is the feature. Approval is a two-person decision (see Approving snapshots), and this page is addressed so the first reviewer can send the second a link to a file rather than directions for finding it. The selected path is in the query string:

/marketplaces/acme/snapshots/41/files?path=plugins/hello/skills/hello/SKILL.md

Opening that address restores the same file, with the directories above it already open. Back and forward walk the files visited. Which directories are open is not in the address — it is derived from the selection and from what you have since toggled.

The page takes the whole window, and each pane scrolls on its own; the page itself does not scroll.

Left pane — the tree. The pinned commit, read one folder at a time (GET /api/v1/snapshots/{id}/tree). A folder's contents load when you open it. A folder with more than 500 entries shows the first 500 and a Show N more control, so every path of a snapshot of any size can be reached. Directories come before files. A file shows its size, or how it stands against what is served (added, modified, removed). A folder shows how many changed paths are beneath it, or how many files when none changed, so you can find the change without opening every folder. Paths this snapshot removes relative to what is served are listed and marked removed: a surface for reading a change that hid the deletions would be the wrong surface.

Above the tree, a count line gives the snapshot's true totals, for example "3261 files, 12 changed". Below that is a search over every path in the snapshot (GET /api/v1/snapshots/{id}/files?q=). A search matches any part of the full path, regardless of case. The matches replace the tree while the search is up, each shown by its full path, and the count reads "12 matching of 3261 files". Clearing the search gives back the folders you had open.

Right pane — the file. The selected blob (GET /api/v1/snapshots/{id}/file?path=), with a vs served toggle for that one file, read from GET /api/v1/snapshots/{id}/diff?path=. Files and the diff no longer compete for one box: switching to the diff leaves the tree where it is.

Findings in the file. The latest vetting run's findings (GET /api/v1/snapshots/{id}/vetting) are read onto the files they locate:

  • In the tree, a file that carries findings shows its highest severity and the count, for example "high · 3". Directories carry no marker.
  • Above the file, "N findings in this file" lists each finding with its severity, rule, line, vetter and message. An entry with a line moves to that line. A finding whose location has no line, or whose line is beyond the part of a truncated file that is shown, is listed there too. Following one outside the part shown loads the part of the file that holds its line, numbered from that part's first line: "Truncated: showing lines 1789–4210 of 346255 bytes". A finding above that part then reads "before the part shown".
  • In the file, a file is shown as numbered lines. Each line a finding locates is tinted by its highest severity, and each finding on it is written out beneath the line: severity, vetter, rule and message, and "waived by … until …" when an active waiver covers it. Several findings on one line are all shown. The line is described by them, so moving focus to it reads what was found there. Colour is never the only signal.
  • Markdown and JSON open as they read (rendered, formatted), with the findings listed above them. Following a finding, from that list or from a link with a line, opens the numbered Source. A Source / Rendered (or Formatted) control switches between the two. Other text always opens numbered.

A finding is marked on the line its location names and on every further line its message lists at its end, as in … (lines 81, 86). Lines a long list counts as +N more are not named, so they are not marked; the note on the first line still says how many there are. Copy link includes the line once one is chosen, and the address of this route takes ?line= beside ?path=.

A reviewer who may read contents but not vetting still gets the file, without markers.

Every bound of these reads is a state this page renders on purpose:

Condition What the page says
Folder wider than 500 entries "Show N more (500 of M shown)" beneath it
Search with more than 2000 matches "Show N more (2000 of M shown)" beneath the matches
Blob over 128 KiB "Truncated: showing the first part of N bytes.", with the first part; the full blob is not shown in the portal
Binary blob "Binary file (N bytes) — content is not rendered."
Path removed by this snapshot Marked removed in the tree; the pane shows the removal
File unchanged vs served "Unchanged against the served commit."
Nothing served yet No baseline; approving serves all of it
No approver role for the marketplace (from the session's roles) "This page needs the approver role for X.", and nothing is read
A read the server refuses anyway (a role revoked since the page opened) "You cannot read this snapshot's contents.", naming the role needed
Snapshot is not this marketplace's "Snapshot N is not a snapshot of X."
A .json file that does not tokenise as JSON "Not valid JSON — shown as stored.", with the stored bytes
A finding's line outside the part of a truncated blob shown Listed above the file, and written out below it as "Line N is beyond the part shown" (or "before", above it); following it loads the part that holds the line

The tree keeps one width whatever file is open; a long line scrolls inside the file pane rather than taking width from the tree.

JSON is shown re-indented, with a Formatted / Raw control switching to the stored bytes. It is re-indented by its tokens, not parsed: parsing would keep only the last of a key declared twice and rewrite number spellings (1.0 to 1) — the very differences a hostile manifest can use to show a reviewer one document and a client another — so every token is copied as written, in order, and only the whitespace between them changes. A truncated blob is shown as stored, since half a document cannot be formatted honestly.

Markdown renders inertly — there is no HTML pipeline at all, so HTML embedded in a hostile file appears as visible text and links are shown but never navigable. Other text renders as numbered lines. This is inspection, not execution: nothing fetched here is ever run, followed or injected as markup, and the page changes nothing about what the facade serves.

A numbered line that holds an invisible or bidirectional control character shows each one as a token in place and carries a note beneath it, "Contains invisible or bidirectional control characters, shown as ⟨U+…⟩", which also describes the line to a screen reader. The note appears in any file, whether or not a vetter reported the line.

The reads are privileged — admin or an approver of this marketplace — and the page is gated by the server refusing them, not by the link being hidden.


Vetting chain (governance)

Route: /vetting · Heading: Vetting chain

Administrator-only. The sidebar offers the entry only to a session holding the admin role, and the page itself renders a stated refusal — "This page needs the administrative role." — to any other session rather than an empty shell. It points such a session at what it can read instead: the vetters that ran on a snapshot, on that snapshot's Vetting tab. A marketplace's own chain is administrator-only too. The server refuses each of the page's reads independently, which is what actually protects them.

Where Marketplace detail governs one marketplace's chain, this page governs the estate: the chain every marketplace runs unless it says otherwise, and the ones that say otherwise.

The default chain

The chain as it applies to a marketplace with no override of its own — the same drawing, the same per-vetter switch, and the same two chain-level controls as the marketplace card, scoped globally. Fed by GET /api/v1/vetting/global-chain and GET /api/v1/vetting/global-chain-settings, which resolve in the gateway rather than being recomposed in the browser, so this page cannot disagree with what actually runs. The source a control reports here is global or default, never this marketplace.

Writing here calls the same endpoints the marketplace card calls with the marketplace field omitted, which is the global setting. A marketplace that overrides the setting keeps its own; clearing that override is how it comes back.

Overrides

One row per marketplace whose chain departs from the default, showing what it departs in — mode: stop-after-fail, order: …, secret-scan: off — and a Clear override control, which a screen reader announces with the marketplace it acts on (Clear override (name)). Assembled from GET /api/v1/vetting/chain-settings, GET /api/v1/vetting/vetter-toggles and GET /api/v1/marketplaces; a stored override whose marketplace is no longer registered still gets a row, labelled by its id and with its control disabled.

Clearing is not setting the default value

An override that happens to equal the default still pins the marketplace: its source stays this marketplace, so the next change to the default passes it by. Clear override removes the setting, which is the only thing that puts the source back to global or default. Clearing a marketplace that overrides nothing writes nothing and records nothing.

Empty state: "No marketplace overrides the default chain. Everything in the estate runs exactly what is above."

Bulk edit

Select marketplaces — individually or All marketplaces — then choose one change: Set the chain mode, Set the vetter order, Switch a vetter, or Clear overrides. Selection and every control are ordinary keyboard-operable controls; the order to apply uses the same named Move vetter up / down buttons the marketplace card uses.

Review the change is disabled until a selection exists, with a hint saying what is missing. It opens a confirm step that states the act in a sentence and lists every affected marketplace with its Now and After — stated as the marketplace's own setting (no mode override → mode: stop-after-fail), because that is what will be stored.

Apply to these marketplaces calls POST /api/v1/vetting/chain-settings/bulk. The result is rendered per marketplace — applied, unchanged, failed with the server's reason — together with the correlation id every ledger entry the act wrote carries. A response in which anything was refused renders as a failure, with an error toast and an alert; it is never reported as a success.


Audit log

Route: /audit · Heading: Audit log

The ledger. Subtitle: "Append-only ledger of every facade fetch and administrative action, exportable to an external compliance system."

Export

Download ledger (NDJSON), the page's header action, points at /api/v1/audit/export — a plain same-origin, session-authenticated download, not a fetch through the API client. The line beneath it states how many audit sinks push the same feed onwards and links to them.

Ledger

The table, from GET /api/v1/audit, newest first. The API pages the ledger newest first, and the table sorts the entries it has loaded by timestamp descending, so it opens on what just happened. Any column header re-sorts it.

The table starts with the newest page of the ledger (1,000 entries by default). Below it, Load older entries fetches the next older page and adds it to the table. Beside the control, a line says how many entries are loaded. Once the oldest entry the ledger holds is loaded, the control goes and the line reads "{n} entries loaded — nothing older is recorded."

Column Contents
Status A verdict badge derived from the entry: a vetting-completed row reads from the outcome= in its detail, and refusal/violation events (rejected, revoked, refused approval, a re-vetting violation, a blocked private key) read blocked. A blocked row is drawn in the destructive colour — the same red the marketplace surfaces use — with a faint tint and a left accent so it is findable; a clear act reads in the accent, a warn one muted. Everything else (a fetch, an ingest, a token event) is neutral and uncoloured.
When The entry timestamp. Sortable.
Event The event name, monospace. Sortable and filterable.
Principal The acting identity. Sortable and filterable.
Marketplace A link to that marketplace's detail page; "—" for an entry not tied to a marketplace. Sortable and filterable.
Commit First 12 characters of the SHA, or "—". Filterable.
Detail The entry's free-text detail.

The per-column filter boxes sit above the table; each is free-text but offers completion from the values actually present, so you pick rather than type blind. The event, principal and commit lists are the distinct values in the loaded rows; the marketplace list draws on the registered marketplaces, so it completes beyond the rows on screen. The table sorts, filters and paginates (25 rows a page) client-side over the entries loaded so far. The footer reads "{shown} of {loaded} loaded entries", and the filters and the event/principal/commit suggestions cover only the loaded entries. The status is a read-only legibility aid derived from what the ledger already records — it does not correct the ledger; the lossy verdict detail and the actor-type on automated vetting principals are tracked in #221. For a full, resumable pull, use the NDJSON export and its cursor.

Empty state: "No fetches recorded yet."


Adoption

Route: /adoption · Heading: Adoption

The adoption, staleness and presence reports, read-only. Subtitle: "Who fetches what through the facade, aggregated from the append-only ledger, and which identities are not on the served tip." Every underlying read requires the auditor role (see Authorization), so a session without it sees the page's error state.

Window and totals

A Report window button group — 7, 30 or 90 days, default 30, the active choice pressed — drives GET /api/v1/adoption?days=. Beside it, stat chips: total fetches in the window, marketplaces fetched, and stale identities.

Adoption by marketplace

One row card per marketplace fetched in the window: name, a serving / not serving badge, and chips for fetches, identities and the last fetch. Inside, the per-SHA breakdown:

Column Contents
Snapshot SHA First 12 characters, monospace; full SHA on the tooltip.
Fetches Content-transferring fetches of this SHA in the window.
Identities Distinct identities that fetched it.
Last fetch Most recent, in the reader's locale; the ISO-8601 instant on the tooltip.
Tip current (primary badge) or superseded (secondary).

Empty state: "No fetches in the last {n} days. Adoption appears once content is fetched through the facade."

Stale identities

The staleness report, window-free: identity, marketplace, last received SHA, the served tip it diverges from — or a destructive not serving badge when the marketplace stopped serving entirely — and the last fetch time. The page says what the report is: facts, not verdicts.

Empty state: "Every identity is on the served tip."

Skill presence

The presence report, window-free and not driven by the report window. The report's own statement sits above the table, saying the counts are presence, not invocation, and are uniform within a snapshot.

Column Contents
Skill Skill directory name, with the SKILL.md path beneath it.
Plugin Plugin name from the manifest.
Marketplace Marketplace name as served.
Identities holding Identities whose latest fetch holds a snapshot containing the skill.
Snapshots delivering Distinct delivered snapshots containing it.
First delivered / Last delivered First and most recent fetch of any of them.

Delivered snapshots whose content cannot be resolved are listed beneath the table under Content not resolvable, each with its holder count.

Empty state: "No skills delivered yet. Presence appears once content is fetched through the facade."


Webhooks

Route: /integrations/webhooks (/webhooks redirects here) · Heading: Webhooks

"Snapshot lifecycle events are POSTed to each subscriber that filters for them, signed with HMAC-SHA256 and retried with backoff until delivered."

Reading requires the auditor role; adding and deleting require an administrator, and the page offers those controls to an administrator only.

New subscriber

New subscriber opens a dialog with Subscriber name, Target URL and Events. Events is a checkbox list built from GET /api/v1/webhooks/events, so the portal offers exactly the names this gateway emits rather than asking for them: All events ticks or clears every one, and the box above the list narrows what is shown without changing what is selected. Every event is ticked by default, and that state submits * rather than an enumeration — so a subscriber registered today also receives events added to the gateway later.

Add subscriber stays disabled until the name matches ^[a-z0-9][a-z0-9_-]*$, the target URL parses with a scheme, and at least one event is ticked; only then is POST /api/v1/webhooks called. The scheme allowlist remains server-side and surfaces as an error toast.

On success the dialog closes and a show-once dialog opens — "This signing secret is shown exactly once — copy it now." — with the whsec_… value in a code block and a clipboard button that flips to a checkmark for two seconds, the same pattern as Personal access tokens.

Subscribers

The lifecycle subscribers. An audit sink's delivery channel — a subscriber the API marks with auditSink — is listed with its sink on Audit sinks instead, and cannot be deleted from here.

Column Contents
Name The subscriber name.
Target URL The registered endpoint.
Events The filter, rendered as a chip; * displays as "all events". A name absent from the served registry is flagged with an unknown event badge, whose tooltip names it.
Status enabled (primary badge) or disabled (secondary).
Actions Delete, which fires immediately — administrators only.

Delete calls DELETE /api/v1/webhooks/{id} and toasts Subscriber '{name}' deleted. It removes the delivery history with the subscriber.

Empty state: "No subscribers yet."

Delivery attempts

From GET /api/v1/webhooks/deliveries — the operator's view of a failing integration.

Column Contents
Event The lifecycle event name.
Subscriber Resolved from the subscriber list held in the browser; falls back to the raw id. A sink's delivery reads "{sink} · audit sink" and links to Audit sinks.
State Badge — delivered (primary), failed (destructive), pending (secondary).
Attempts Attempts made so far.
Last response The last HTTP status, else the last error, else "—".
Queued Enqueue timestamp.

Read-only: there is no manual redelivery and no editing. Empty state: "No deliveries yet."

The secret is never re-displayed anywhere on this page. See Receiving lifecycle webhooks for the payload, headers and signature verification.


Audit sinks

Route: /integrations/sinks · Heading: Audit sinks

The audit ledger pushed to an external compliance system, each sink with its position in it. Reading the list requires the auditor role; adding, replaying and deleting require an administrator, and the page offers those controls to an administrator only.

New sink

New sink opens a dialog with Sink name and Target URL, which posts to POST /api/v1/audit/sinks. Add sink stays disabled until the name matches ^[a-z0-9][a-z0-9_-]*$ and the target URL parses with a scheme; the scheme allowlist itself stays server-side. On success the dialog closes and the same show-once secret dialog opens as Personal access tokens and Webhooks.

Sinks

Column Contents
Name The sink name.
Target URL Where batches are POSTed.
Position The sink's cursor — the last ledger sequence handed to it, monospace.
Behind Entries not yet handed over, as "{n} entries".
Status enabled (primary badge) or disabled (secondary).
Actions Replay and Delete, both firing immediately — administrators only.

Replay sets the cursor to 0 — the whole ledger, from the beginning — and toasts Sink '{name}' will replay the ledger. Replaying to an arbitrary position is API-only (PUT /api/v1/audit/sinks/{id}/cursor).

Delete calls DELETE /api/v1/audit/sinks/{id}, taking the sink's delivery channel with it, and toasts Sink '{name}' deleted.

Sink deliveries are ordinary webhook deliveries, so their attempts appear on the Webhooks page rather than here, marked as the sink's.

Empty state: "No export sinks yet."


Personal access tokens

Route: /security/tokens (the user menu's Security; /security and the earlier address /tokens redirect here) · Heading: Personal access tokens

"Personal access tokens are yours: they authenticate your git clients against the facade. Values are hashed at rest and shown exactly once." The page is for your own tokens. A token for a pipeline or another service is a system access token; an administrator is pointed there from this page.

An inline form with a Token name field, an Expires choice and a Create token button posts to POST /api/v1/tokens. Expires offers the same lifetimes as Connect a client — 30 days, 90 days, 180 days or 1 year, with no choice that never expires — and defaults to 30 days; a gateway whose skills-gateway.tokens.max-ttl is shorter refuses the longer choices, and the refusal is shown beneath the form.

A Marketplaces choice below it says which marketplaces the token may fetch. Every marketplace is the default, as it is for the API, and sends no scopes. Chosen marketplaces opens a Filter marketplaces field and a scrolling checklist of the registered marketplaces, plus the virtual catalog under its configured name while the gateway is serving one (read from GET /api/v1/catalog). A line beneath the list says how many are chosen and names them, and survives the filter hiding a name; Clear unticks them all. The list draws at most 200 rows and says so when there are more, so typing in the filter is how to reach the rest; a chosen name the gateway no longer lists stays a row until it is unticked. If the marketplaces cannot be read, the failure is shown with Try again. The ticked names are sent as scopes. A token limited to the catalog fetches the catalog's one repository, which vendors every marketplace the gateway serves, and cannot fetch a marketplace's own address. Anyone signed in can read the list of marketplaces, so a session with no role can choose too, and a limit can only narrow what a token reaches. The server checks every name: a refusal, such as a marketplace removed after the list was read, is shown beneath the form as the API states it.

Create token stays disabled until the name field holds a non-blank value — the name is trimmed before it is sent — and, with Chosen marketplaces, until at least one is ticked: a request naming none would grant every marketplace, so it is never sent. The response opens a show-once dialog — "This value is shown exactly once and cannot be shown again — copy it now. Only a hash is stored." — with the token in a code block and a clipboard button that flips to a checkmark for two seconds.

Column Contents
Name The name you gave it.
Reach every marketplace for a token without a limit, otherwise the marketplaces it may fetch by name (the first three, then +N more with the rest readable and in the hover title).
Created Creation timestamp.
Last used How long ago the token last authenticated successfully, or never. Hover for the exact instant.
Expires When the token stops authenticating, or never.
Status active (primary badge), expired (secondary) once the expiry has passed, or revoked (destructive).
Actions Edit reach and Revoke, shown only while active.

Last used is the column to read before revoking: it separates a token something still authenticates with from one nobody has used. It shows the recency rather than the instant, because recency is the question; the exact time stays on the hover title, as on every other timestamp in the portal. The gateway records it at most once a minute, so it can be up to a minute behind, and a refused authentication never moves it — see lastUsedAt for what a never does and does not prove.

Revoke calls DELETE /api/v1/tokens/{id} and toasts Token '{name}' revoked. It fires immediately. Revocation is recorded rather than deleted: the row stays with a revoked badge.

Edit reach opens a dialog headed Edit reach of '{name}' with the same Marketplaces choice the create form uses, starting from the token's current reach (Every marketplace when it has no limit, otherwise its names ticked). Saving calls PATCH /api/v1/tokens/{id} and changes nothing but the reach: the secret, expiry and name stay, and the secret already in use follows the new reach on its next request, so nothing has to be redistributed. Save reach stays disabled while the choice names no marketplace (the API refuses an empty list, so a limited choice that named nothing could not be sent), while it is the same as the current reach, and while the request is in flight (Saving…), and a line beneath the choice says which. Every marketplace is sent as allMarketplaces: true, a limited choice as its list; the two are never combined. A choice that widens the token (Every marketplace, or a name the token did not have) is said so, above the button: the token fetches those marketplaces at once. The API's refusal, such as a marketplace removed since the list was read or a token that was revoked or expired meanwhile, is shown in the dialog as the API states it. On success the dialog closes, a toast says Reach of '{name}' changed, and the list shows the new reach. The change is recorded on the audit ledger with the reach before and after. Rotation afterwards carries the changed reach.

Empty state: "No tokens yet."

See Consuming approved skills for using a token with a git client.

System access tokens

Route: /configuration/tokens (Configuration, administrators only) · Heading: System access tokens

Credentials for pipelines and other services that call the REST API on their own, such as a Terraform provider or a CI job. The API calls them machine API credentials; the portal says system access token everywhere, and this is the one place the two names meet. They are not your own tokens: those are personal access tokens, and each page says which kind it manages and links to the other.

A session without the administrative role that opens the address is told "This page needs the administrative role.", with a line on why, and makes none of the reads behind the page; the server refuses each independently (see Authorization).

Create. An inline form posts to POST /api/v1/tokens/machine:

  • Principal and Token name — the principal is what the ledger attributes the credential's actions to; it is not a person.
  • API scopes — a checkbox for each scope the gateway defines, read from GET /api/v1/tokens/machine/scopes so the list cannot drift from the server's. There is no "all" choice, and hovering a scope lists the routes it reaches.
  • Expires — 30 days, 90 days, 180 days, 1 year or Never. Nothing is preselected: the lifetime of a credential nobody will be watching is a decision. Never is sent as an explicit neverExpires, never as a missing expiry. A gateway that configures skills-gateway.tokens.max-ttl refuses the longer choices and Never, and the refusal is shown beneath the form as the API states it, as is every other refusal (an unknown scope, no lifetime).

Create token stays disabled until the principal, the name, at least one scope and a lifetime are all given. The response opens the same show-once dialog the personal page uses, with a warning that the value cannot be shown again. The cleartext lives only in that dialog: once it is closed it is not in the page, in the client's query cache, in the browser's stored state or in the address.

Column Contents
Name, Principal What it was called, and the principal it acts as.
Owner The person who provisioned it (machineOwner).
Scopes The API scopes it holds.
Expires When it stops authenticating, or never expires; a credential that expires within 14 days is marked expires within 14 days.
Last used How long ago it last authenticated, or never; a live credential more than a day old that has never authenticated is marked never used.
Status active, expired or revoked.
Actions Edit scopes, Rotate and Revoke, shown only while active.

The marks are words, not colour alone, and they are the reason lastUsedAt exists: a credential nothing uses any more, and one about to stop a pipeline. They are not shown for a credential that can no longer authenticate.

Edit scopes opens a dialog headed Edit scopes of '{name}' with the same scope checklist as the create form, starting from the scopes the token holds. Saving calls PATCH /api/v1/tokens/machine/{id} and changes nothing but the scopes: the principal, expiry and secret stay. Save scopes stays disabled until at least one scope is ticked (a system access token must hold one; to remove them all, revoke it) and the choice differs from what the token holds, and a line beneath the list says which. Because the secret stays, whoever already holds it has the new scopes on its next request; when the choice adds scopes the dialog lists them and says so above the button. The API's refusal is shown in the dialog as it states it, the list shows the new scopes after saving, and the change is recorded on the audit ledger with the scopes before and after and the administrator who made it.

Rotate and Revoke each ask first. Rotating issues a fresh secret with the same principal, scopes and expiry and revokes the old one at once, so whatever uses it must be given the new value, which is shown in the same once-only dialog. Revoking is immediate and permanent. Both are audit-logged by the API.

Empty state: "No system access tokens yet."