Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions pkgs/fleet/book/concepts/fleet-hosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ TypeScript, package name `fleet-hosted`, version `0.1.0`) that is the
hosted peer of the native fleet binary. It is component C of the
hosted-editions epic #9078, designed in #9081 (design record
`doc/2026-11-22T14-28-45Z_design_fleet-tool-workers-edition`, §3.1). One
Worker puts five front doors — **stamping, query, queue, ingestion,
sync** — plus a session registry over one shared auth/tenancy plumbing
layer. Work enqueued at the hosted queue door is claimed at the native
Worker puts nine front doors over one shared auth/tenancy plumbing
layer, plus a session registry: the five doors of the original design
set — **stamping, query, queue, ingestion, sync** — and four added
since: **bridge** (#14373, covered by the bridge chapter), **kv** and
**kv-upload** (#13316 / #13318, covered by the kv reference chapter),
and **secrets** (#17180, covered by its own section in this chapter
below). The door inventory of record is `HOSTED_DOORS` in
`src/capabilities.ts`, mirrored by the `/health` door list. Work enqueued at the hosted queue door is claimed at the native
door and vice versa, because both editions speak the same broker
protocol over (backends intended to be) the same stores.

Expand All @@ -32,7 +37,7 @@ D1 queue store of #14868, over the fleet-queue D1 database), while
the other doors' production wiring (RP issuer, tenancy DB, GitHub
App material) is still owned elsewhere — absent that config they
fail closed. The package documentation's phrase "every door is live"
is true of the code — `/capabilities` reports all five doors
is true of the code — `/capabilities` reports all nine doors
`state: "live"` and an in-process smoke run answers the acceptance
checks end to end — and, since 2026-11-25, true of the service for
the queue door only. This chapter follows the code, the config and
Expand Down Expand Up @@ -81,7 +86,12 @@ collision, so issuance and revocation never rewrite the primary),
parses to null and the dependent path fails closed; it never falls
open.

## The five doors
## The original five doors

The five doors of the original design set, in the order the design
record names them. The four later doors are not covered here: bridge
has its own chapter, kv and kv-upload have theirs, and secrets has
its own section in this chapter, below the five.

### Stamping — the hosted world's only stamping authority

Expand Down