The Explorer areas
This page is part of the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at areas.md, and llms.txt lists every page.The Explorer is made from nine built-in areas. Each area owns one top-level address, reads only the cluster facades named below, and appears in the spine only after its availability probe succeeds or returns a user-actionable Unavailable reason; an area whose probe the cluster did not answer is shown, demoted, as not checked (see Area availability). Every field below that names an existing tree, region, subject, tenant or key is a type-ahead picker.
Declared route inventory
The complete route inventory below contains the 71 unique @page route patterns and the additional attribute-declared tenant Members route in the current UI source. Tenant-scoped pages list both plain and tenant-rooted routes; aliases are kept explicit.
- Home
//t/{tenant}
- Session reset
/reset/t/{tenant}/reset
- Not found
/not-found
- Data
/data/t/{tenant}/data/data/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/t/{tenant}/data/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}
- Apps
/apps/t/{tenant}/apps/apps/catalogue/t/{tenant}/apps/catalogue/apps/catalogue/{p2}/{p3}/t/{tenant}/apps/catalogue/{p2}/{p3}/apps/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/t/{tenant}/apps/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}
- Access
/access/access/rules/t/{tenant}/access/t/{tenant}/access/rules/access/rules/{p1}/t/{tenant}/access/rules/{p1}/access/groups/t/{tenant}/access/groups/t/{tenant}/access/members/access/groups/{p1}/t/{tenant}/access/groups/{p1}/access/explain/t/{tenant}/access/explain
- Schema
/schema/t/{tenant}/schema/schema/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/t/{tenant}/schema/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}
- Tenancy
/tenancy/tenancy/{p1}/tenancy/{p1}/members/tenancy/{p1}/access/tenancy/{p1}/quota/tenancy/{p1}/regions/tenancy/{p1}/sharing/tenancy/{p1}/grants/t/{tenant}/tenancy/t/{tenant}/tenancy/{p1}
- Replication
/replication/t/{tenant}/replication/replication/trees/t/{tenant}/replication/trees/replication/trees/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/t/{tenant}/replication/trees/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}
- Backups
/backups/t/{tenant}/backups/backups/{p1}/t/{tenant}/backups/{p1}/backups/new/t/{tenant}/backups/new/backups/health/t/{tenant}/backups/health/backups/maintenance/t/{tenant}/backups/maintenance/backups/operations/{p1}/t/{tenant}/backups/operations/{p1}/backups/schedules/t/{tenant}/backups/schedules
- Telemetry
/telemetry/t/{tenant}/telemetry/telemetry/{p1}/t/{tenant}/telemetry/{p1}
- Cluster
/cluster/t/{tenant}/cluster/cluster/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}/t/{tenant}/cluster/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}/{p7?}/{p8?}
| Area | Key and root address | Facades read or driven | Scope | Visibility probe |
|---|---|---|---|---|
| Data | data, /data |
State API, including ILatticeStateClient; ILatticeTreeAdmin for tag-index and view actions, tree delete and recover, and seeding an empty tree from a file; ILatticeDataApi: its range read for Export..., its writes and write-capability probe to create, edit and delete entries, and its streamed upsert for Import...; ILatticeSchemaControl for the value editor's schema preview |
Tenant-scoped | No state reader makes the area Hidden. Before a catalogue is loaded for the current caller and endpoint, a disconnected connection is Unavailable with a sign-in or connect reason; a denied catalogue probe is Hidden, and other read failures are Unavailable with a fixed, action-specific reason. A loaded catalogue keeps the area Visible until its caller-scoped memo is invalidated or refreshed. |
| Apps | apps, /apps |
ILatticeAppWorkspace, ILatticeAppsControl, ILatticeAppCatalog, and ILatticeAuthAdmin for role binding |
Tenant-scoped | Probes workspace apps, catalogue capabilities and control capabilities. It is Visible when the caller has a workspace answer, can browse the catalogue, or can list installed apps. Probe faults and missing facades deny the relevant flags, so a head serving none of them is Hidden; a capability probe the cluster did not answer leaves an area that shows nothing not checked, and is not remembered. The answer is held for the circuit for ten seconds at most: the first navigation or completion after that re-reads it in the background, so an app installed, bound or granted elsewhere reaches the spine badge, Home, a/ completions and the open Apps page without a reload. |
| Access | access, /access and /t/{tenant}/access |
ILatticeAuthAdmin; delegated tenant policy and directory facades |
Mixed: /access is cluster-wide; /t/{tenant}/access is tenant-rooted and filters rules/groups for that tenant, with delegated groups, members and rules available when enabled |
The smallest cluster group-catalogue page admits cluster access administrators. A Hidden or not-checked cluster result falls through to delegated access: a valid non-default asserted tenant with delegated access enabled can admit its administrator. Missing both surfaces or a denied/faulted tenant posture hides the area; an anonymous cluster-wide denial is Unavailable with "Sign in to administer access on this cluster."; a cluster probe the cluster did not answer is not checked and not remembered. |
| Schema | schema, /schema |
ILatticeSchemaControl |
Tenant-scoped | Probes schema capabilities against a reserved, side-effect-free tree id. Any schema grant makes the area Visible. When that probe grants nothing, a signed-in caller is also admitted by a schema grant on one of the first 64 trees its catalogue lists, probed eight at a time, so a reader of named trees sees their schema. A refused anonymous caller sees Unavailable with "Sign in to manage schema on this cluster."; a signed-in refusal, missing facade, unserved cluster or definite fault is Hidden; a probe the cluster did not answer is not checked. |
| Tenancy | tenancy, /tenancy and /t/{tenant}/tenancy |
Tenant self-service, lifecycle, access, grant, region and quota facades; apps control for installed-app counts | Mixed: the directory is cluster-wide; /t/{tenant}/tenancy follows the active tenant |
Requires tenancy to be active and the self-service facade to exist. It proves whether the caller is an operator or administers the scoped tenant. Operators and scoped tenant admins see it; refused anonymous callers see Unavailable with "Sign in to see the tenants you administer."; refused signed-in callers and other definite faults are Hidden; a probe the cluster did not answer is not checked. |
| Replication | replication, /replication |
ILatticeReplicationStatus, ILatticeReplicationControl |
Tenant-scoped addresses, over the caller's admitted replication view | Reads the peer-status report, or falls back to the enrolment report. Status success makes the area Visible. If status fails but enrolment names at least one manageable tree, it is Visible. Missing facades, denied reads and other definite faults are Hidden; when neither read admits and either one met no answer, the area is not checked and that read is not reused. |
| Backups | backups, /backups |
ILatticeBackupControl |
Tenant-scoped | Probes backup capabilities against a reserved scope. CanList makes the area Visible. A denied or grantless caller sees Unavailable with "You do not hold a backup grant on this cluster. Ask an administrator for one."; an unserved, unconfigured or definitely faulted control facade is Hidden; a probe the cluster did not answer is not checked. |
| Telemetry | telemetry, /telemetry |
ILatticeTelemetry |
Tenant-scoped while tenancy is on | Reads the telemetry catalogue once. Any successful catalogue read, including an empty catalogue, makes the area Visible. A refused caller, a cluster with no telemetry facade, or a definite catalogue fault is Hidden; a catalogue read the cluster did not answer is not checked and is read again. |
| Cluster | cluster, /cluster and /t/{tenant}/cluster |
ILatticeTreeAdmin, ILatticeReplicationStatus, and the state connection for cluster identity and tree catalogue |
Mixed: /cluster is cluster-wide; the tenant-rooted form shows only that tenant's trees and storage |
Requires a tree-admin facade and a configured cluster connection. A side-effect-free capability probe of a reserved tree id that reports the cluster-wide Telemetry capability makes it Visible without reading the estate; the shallow storage usage Home shows is read afterwards. Otherwise it probes shallow storage usage, which needs that same capability. Success makes it Visible. A caller refused that probe is Visible only when the capability probe of one of the first 64 trees its catalogue lists, probed eight at a time, reports a tree-lifecycle or tree-admin grant; a read, diagnostics, bulk-load or restore grant does not admit it, so it is Hidden. Such a caller sees no estate-wide figures, Home status or badge, and the overview says the figures need Telemetry. No connection is Unavailable with "Connect to a cluster to see its estate."; an unserved tree-admin operation is Unavailable; transient faults are Unavailable and are not remembered. |
Data
Data is the Explorer's state browser. It has two routed pages:
| Address | What it shows |
|---|---|
/data, /t/{tenant}/data |
Every tree and view the caller can reach, followed, with tenancy on, by the trees other tenants share with the tenant through an approved grant. Rows show the logical name, kind, owning app, shard count, lifecycle and source view tree. A filter or column that cannot apply is left out: the Shared by column and the Shared with this tenant filter appear only where sharing applies (tenancy on, at a tenant other than the reserved default one), the App column only when some tree belongs to an app, and the Source column only when there is a view. The columns follow the whole listing, not the filtered rows, so typing a filter never makes them come and go. The table is virtualised and can be filtered by text and by kind: All, Trees, Views, and, where sharing applies, Shared with this tenant. |
/data/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}, plus the tenant-rooted equivalent |
One tree workspace. The route accepts up to six logical tree-id path segments. The page shows the logical id, kind, owning app link, view source, shard count and live-key count when metrics are available. |
The directory uses ?filter= for the text filter. A tree workspace keeps state
in query keys: ?tab= chooses one of keys, history, metrics,
dead-letters, tag-indexes or views; ?prefix= narrows key scans and live
tails; ?key= opens an entry; ?at= pins History to a UTC instant;
?index= and ?tag= select a tag index and tag; on the Views tab,
?new=view opens the New view dialog; and ?import=seed opens the Import
dialog on a seed (see Importing into a tree).
The Keys tab pages through the tree by prefix or by tag. It offers Live and
Snapshot scan modes, page-size choices from the shared paging ladder, Previous
and Next page buttons, and optional live updates from the state API change
feed. If a scan cursor expires, the page offers a restart from the first page.
If a live feed is not offered, it disables live updates; if the feed moves past
the cursor, it reports that live updates stopped and offers a restart. The key
table clips long keys in cells but keeps the full key in details, and selecting
one writes ?key= and opens the entry panel. At the expanded width the entry
stands beside the key table as a split view, kept in view while the list
scrolls; at narrower widths it opens below the table.
The entry panel reads the selected key through the state reader and renders the
value automatically, with alternate renderers when CRDT members are present. JSON
values keep non-ASCII text and HTML-sensitive characters such as <, >, &,
' and + as written; one-line previews end in ... whenever the value
continues, including truncated text and hex previews. It does not echo server
fault details. Permission denials become "You do not have
permission to read this entry.", unserved operations become "This cluster does
not let you read this entry.", missing entries become "It no longer exists, or
you cannot see it.", and transient failures ask the reader to try again.
Creating, editing and deleting an entry
A caller who may write a tree changes it from the Keys tab. New entry... sits
in the Keys toolbar; the entry panel adds Edit and Delete... beside
History of this key, and a key with no live value offers Write a value.
Each control is drawn only when the data facade's capability probe
(ILatticeDataApi.ProbeCapabilitiesAsync) says the caller may write or delete -
across the tree for New entry..., at the open key for Edit and
Delete.... A view, a shared prefix, a missing data facade, a refused or faulted
probe all read as no rights, so a reader sees none of the controls. Hiding is not
the defence: the facade authorizes every write as the signed-in user, so a write
the controls never offered is refused all the same.
The value editor opens as a dialog (a sheet at the compact width). A new entry names its key in a plain text box that says, when the field is left, if the key already holds a value. The value is edited in one of three formats, chosen in Edit as: JSON, which is validated as it is typed (the error names the line and position) and re-indented by Format JSON; Text (UTF-8), stored exactly as typed; and Binary (base64), which a value that is not UTF-8 opens in and which replaces the value whole. A typed CRDT value changes through its typed operations and is not edited here; the panel says so instead of offering Edit.
When the tree has a schema policy, the editor reads it once through the schema facade and checks the draft against it with the cluster's own validator as it is typed. It reports "Passes this tree's schema policy (N rules)", or that the cluster will refuse the value, with the reason of every rule it fails. A policy the caller cannot read is said to be unchecked, and the value is still saved. Saving a violating value is the facade's decision: the editor reports the refusal, with the policy's reason, and keeps the draft. A refused write stores nothing and is not dead-lettered: only writes the cluster makes itself under a strict policy (a restore, a bulk load, a replicated batch) are diverted to the Dead letters tab.
On save the editor reads the entry again. If it was written or deleted after the editor opened - by another user, or by an ingestion feed - the newer value is shown with Reload the newer value and Overwrite with my value. The cluster is last-writer-wins, so this is a warning, not a lock. After a write the editor reads the key back and says "Entry ... saved." (or "created."), or that the key does not hold the value written.
Delete... opens a destructive confirmation that names the key and asks for it to be typed. The deletion is a tombstone: the key's History keeps every revision and reads "Deleted" for the newest.
The History tab has three modes. With neither ?key= nor ?prefix=, it asks
for a key, in a picker that suggests the tree's keys
starting with what you type (one bounded prefix scan per query) and accepts any key. With ?prefix=, it follows live changes under that prefix and keeps
at most 200 changes on screen. With ?key=, it loads durable revisions 50 at a
time, newest first by default, with value diffs, CRDT member changes, retention
boundary notes and a live tail. When the revisions are read from a change-history
view, the timeline notes that the view is
updated after each write and may not yet show recent changes if it is catching up,
and offers Read again. A revision whose value the tree's history
retention did not keep, only its size and hash, reads "Set - value not kept", and
the timeline explains once, rather than under each such revision, that it is still
a write to the key and not a metadata change. A revision of a
versioned tree shows its body, as the Keys tab does, with
the schema version it was stamped with beside its size; the body is shown in
the shape it was written in, not upgraded to the tree's current version. Copies that resizing, resharding or
replication make of a revision are not shown as revisions of their own. The As of field is a
date and time field in UTC.
It starts empty, which means the latest, and refuses a time in the future;
pick a day and a time, use a quick pick (now, an hour, a day or a week ago), or
type an instant as yyyy-MM-ddTHH:mm:ssZ, then choose Show as of. ?at= marks the revision that was in effect at the chosen UTC instant, and
disables the live tail while the point-in-time view is active.
The Metrics tab shows per-tree measures: lifecycle, shards, live keys, tombstones, depth, shards splitting, views and view lag where the cluster reports them. While view lag is above zero the measures are re-read every two seconds, in place, until it reaches zero. When detail metrics are paused, the affected measures read "Paused". The measures count every key in the tree, so a caller whose grant covers only part of it (a prefix-scoped rule, for example) is told they need read access to the whole tree; the tree's summary line then omits its key count, and the connection indicator stays Connected. The Dead letters tab reads a count and then pages strict-mode dead letters 50 at a time, with source, key, reason and clipped details; a dead letter's value, like a versioned revision's, is shown without its version envelope. Both tabs show fixed sentences when the state API is unavailable, denied or faulted.
The Tag indexes tab lists indexes covering the tree, their reconcile state and
covered-tree count. An index reconciling from another tab, session or caller is
re-read every two seconds until it reads Idle. Selecting an index with ?index= shows covered trees, tags,
and, with ?tag=, member keys. Member rows link only to trees the caller can
see and say "A tree you cannot see" otherwise. The Reconcile action is shown
only when the caller can administer the index; it opens a destructive
confirmation because it reads every covered key and removes stale membership
rows.
The Views tab lists materialised views over a tree, or the view itself when the current workspace is a view. It shows kind, projection version and apply lag. A view that is behind is re-read every two seconds until it reads Current, without a Refresh, because a view status answers as of now even while its maintainer drains or rebuilds. Overlapping refreshes keep the newest status rather than a late reply or fault from an earlier refresh. For callers that can administer the source tree, Reconcile compares the expected view with the live one and swaps it only when they differ; Rebuild builds a new generation and swaps it in. Both actions are behind destructive confirmations and both read every source key. Drop view... removes the view, its projection tree and every generation of it, also behind a destructive confirmation; the source tree is untouched, and a view the host declares at startup cannot be dropped. Dropped from its own workspace, the tab returns to the source tree's views.
New view... (palette command data.create-view, address
?tab=views&new=view) creates a view over the tree. The dialog lists the
projection providers the cluster's host registered, each with its description
(the library's own filter provider is not offered), then takes a view name and
the provider's payload: a form with one field per property when the provider
describes its payload, otherwise JSON, checked for syntax before it is sent and
validated by the provider. A refused create is reported in a fixed sentence.
The created view appears in the list and its projection is browsable at
data/view-{name}. A host registers a described provider with
AddRuntimeProjectionProvider(key, description, factory) (see
Runtime view providers).
Without administrative authority over the source tree, none of these actions
is drawn, the palette offers no data.create-view, and ?new=view opens
nothing; the facade refuses a forged call all the same.
A tag-index reconcile and a view reconcile or rebuild run on the cluster as tracked operations (see Tracked operations). The tab shows the shared operation progress - its step, the phase and the cluster's own count of keys or shards - with a Stop button, and when it is reopened, after a reload or in another tab, it finds the operation still running for one of its views or indexes and follows it again. A finished operation is announced once; a failed or stopped one stays on the tab with the phase it reached and why. The actions are drawn only when the Explorer's tree-administration facade runs tracked operations.
Exporting a tree
A tree workspace offers Export... (command data.export) beside its heading
when the caller may range-read at least part of the tree. The page asks the
Data API once, per tree and per caller, for a
one-entry range read with gate coverage: a whole or a narrowed range-read grant
draws the action, and a denial, a tree the caller cannot observe, a cluster that
serves no Data API, or any fault leaves it out. Views and shared prefixes are not
offered. The download is still authorized by the facade, key by key.
The dialog asks What to export - the whole tree, keys with a prefix (prefilled
from the workspace's ?prefix=), or a key range from an included first key up to
an excluded stop key - and a Format, NDJSON or CSV. Prepare download
captures the endpoint, the caller's sign-in for it and the tenant asserted now,
and mints a single-use download ticket that is redeemable for one minute, from
this browser tab only. Download posts the ticket's token, the tab's binding and
the antiforgery token to the downloads endpoint under the Explorer's mount; no
credential ever appears in a URL. The file streams as it is read, one page of 256
entries at a time, so neither the browser nor the Explorer holds the whole file.
The dialog follows the download: a progress line while it streams, then
Complete or Not complete with the reason. A sign-in or sign-out, a change of
cluster, or the tab closing withdraws a waiting ticket and stops a running export.
A token that is reused, expired, or presented from another tab is refused with an
empty 204, so the console stays put and the dialog says what happened.
If the scan's cursor expires mid-export it is reopened just after the last key written, so no key is written twice or skipped.
The file format is lattice-export/1, written in UTF-8 without a byte-order mark:
- A value is written as JSON, verbatim, when its bytes are exactly one RFC 8259
JSON value with no byte-order mark, no leading or trailing whitespace and no
carriage return or line feed. Any other value is written as standard, padded
base64 and marked
base64. Either way the original bytes are recoverable exactly: the raw JSON text of the value, or its base64-decoded bytes. Values are the stored bytes, so a typed CRDT entry exports its internal serialization. - NDJSON (
application/x-ndjson): one object per line, each ending in a line feed:{"key":"order/0017","value":{"total":-5}}, or{"key":"blob","value":"AP8QIA==","encoding":"base64"}. - CSV (
text/csv, RFC 4180, CRLF line ends): the headerkey,value,encoding, then one row per entry with the key always quoted, and either a quoted JSON value withjsonor a base64 value withbase64in the encoding column. - The trailer is always last, and a file without one was cut off. In NDJSON it
is the line
{"trailer":{...}}, an object with nokey; in CSV it is a row with an empty key, the trailer object quoted as its value, andtraileras its encoding. The object is{"format":"lattice-export/1","items":N,"complete":true|false,"refused":"none|some|all|unknown","reason":null|"..."}.completeis true only when every key in the scope is in the file.refusedsays whether the caller's access withheld keys:somewhen it narrows the scope,allwhen it denies it, andunknownwhen the export stopped or the tree could not be read. It is a classification and never a count or list of withheld keys, which would disclose data the caller may not read.reasonis a plain sentence whenever the file is not complete.
The download endpoint, the single-use ticket and the trailer are a shared seam: any other Explorer download, such as an import's rejection list, is minted and streamed the same way.
Importing into a tree
A tree workspace offers Import... (command data.import) beside its heading
when the caller may use at least one import mode on the tree: Add or replace
entries (an upsert) needs the write right the
Data API's capability probe reports, and Seed an
empty tree (bulk load) needs the bulk-load grant the
tree-administration API's probe reports. Only
the modes the caller may use are offered; a caller who may use neither is shown no
control, and the palette offers no command. Views and shared trees are not offered.
The facades still authorize every chunk and batch the import sends.
The dialog asks for a File, its Format, the Mode, and, for NDJSON and CSV, where each Key and Value come from:
- NDJSON: one JSON value per line; blank lines are skipped. The key is a JSON
Pointer (
/id) or a template mixing literal text with pointers in braces (order/{/id}); a pointer to a string gives its text, to a number or boolean its literal, and to anything else refuses the line. The value is the line's bytes verbatim, or the JSON value at a pointer. - CSV: RFC 4180, UTF-8 with or without a byte-order mark, with a header row and a
comma, semicolon, tab or vertical-bar delimiter. The key is a column (
id) or a template (order/{id}). The value is the row as a JSON object of header name to field text - with Infer numbers and booleans, a field that reads as a JSON number or astrue/falseis written as one - or one column's raw text. - Lattice export: a
lattice-export/1NDJSON file (see Exporting a tree). Each line's key and value are restored exactly, base64 values included, and the dialog notes a file whose trailer is missing or says the export was not complete. - key=value lines: the first
=splits the key from the value, stored as UTF-8.
A file's extension suggests its format (.csv and .tsv, .ndjson, .jsonl and
.json, .txt). {{ and }} write a literal brace in a key template.
The import is streamed at every hop. The browser's file is read a buffer at a
time over the circuit, parsed one line at a time, and handed through a bounded
channel to the facade's streaming member, which sends it to the cluster over a
single duplex gRPC call: StreamBulkLoad for a seed, StreamSetMany for an upsert.
No hop holds the file, so memory is bounded by the channel and one batch whatever
the file's size. A line longer than 4 MB stops the file at that line. The largest
file is set by LatticeExplorerWebOptions.MaxImportBytes (2 GiB by default).
- Upsert writes in batches of 256, in any key order, into a tree that may hold keys. A line that cannot be read, and an entry the cluster refuses (a key the caller may not write, a value the tree's schema policy rejects), is counted and listed with its line, and every other entry still lands. Schema enforcement, per-key authorization and dead-lettering apply exactly as for any other write.
- Seed bulk-loads an empty tree in chunks of 1,000. A pre-flight pass reads the whole file first and refuses it, naming the line, on the first line that cannot be read or whose key does not sort strictly after the one before; nothing is written. The load pass then reads the file again. A stream broken by a transient fault resumes from its first unacknowledged chunk, with no entry lost or written twice. A tree that already holds keys or tombstones is refused.
While the file is read the dialog shows the operation's progress - bytes read of the file, lines read, entries written, the rate and the refused lines - with Stop import. Stop ends the import after the batch or chunk in flight, and the result reports exactly what was written before it. The browser reads the file through the dialog's file input, so the dialog stays open while the file is read; leaving the tree page ends the read, and the import reports what it wrote. Closing the browser tab ends the circuit, which cancels the import and records it as cancelled. An import belongs to the caller who started it: a sign-in, a sign-out, a new endpoint or another tenant cancels it, since its calls would otherwise go on as the new caller, and it is never shown to another caller. A finished import is shown again when the dialog reopens on its tree, until Done or Import another file.
The result lists the first 100 refused lines with their line, key and reason, and
Prepare the list of refused lines mints a download of every one through the
download seam above: NDJSON with one {"line","key","code","reason"} object per
line - code is format for a line that could not be read, or the Data API's
denied, schema or invalid - ending in a lattice-import-rejections/1 trailer.
The list never carries values; it is kept in a temporary file deleted when the
import is forgotten or the circuit ends.
New tree from file... on the Data directory, drawn for a caller who may create
trees, creates a tree through the Cluster area's New tree dialog and opens its
Import dialog on a seed (/data/{tree}?import=seed). The Cluster tools' Bulk
load section links to the same address, so a file seeds through the same
pipeline as the typed key=value list.
App-owned trees use logical ids shaped like a/{slug}/.... Data links their
owner badge to /apps/{slug}, and tag and view member rows preserve those
logical links. Physical state ids, tenant-composed ids, restore shadows and view
generation trees are not shown.
Trees shared through a cross-tenant grant (see
Trees shared through a grant) are
listed as Shared tree rows with their owner and access, and a shared prefix as
one Shared prefix row that does not open. A shared tree keeps its full id and
is addressed under the tenant's own root, as in /t/globex/data/t/acme/orders; its
page carries "Shared by acme" and access pills and offers no administration. Tree
pickers and address completions offer shared trees with their owner and access,
and Home's Data line counts them ("..., and 2 shared with this tenant."). When the
tenant's grants cannot be listed, the directory shows its own trees with a note.
The Data palette commands are:
| Command id | Label | Effect |
|---|---|---|
data.refresh |
Refresh the tree directory | Drops the circuit's loaded tree and view list, reloads it, and updates the directory and workspace surfaces. |
data.create-view |
New view... | Offered only while a tree workspace whose source tree the caller administers is open. Opens that tree's Views tab with the New view dialog (?tab=views&new=view). |
data.export |
Export... | Opens the Export dialog of the open tree workspace (see Exporting a tree). The palette offers it only while a tree workspace that draws Export... is open - the same verdict, for the same caller - and leaves it out everywhere else. |
data.import |
Import... | Opens the Import dialog of the open tree workspace (see Importing into a tree). The palette offers it only while a tree workspace that draws Import... is open, for the same caller. |
data.new-entry |
New entry... | Offered while a tree workspace whose caller may write it is open. Opens the value editor for a new key. |
data.edit-entry |
Edit entry | Offered while an entry the caller may write is open. Opens the value editor on it. |
data.delete-entry |
Delete entry... | Offered while a live entry the caller may delete is open. Opens the destructive confirmation. |
The directory remembers a successful tree/view catalogue for one caller, endpoint and active tenant. It forgets the list when sign-in, endpoint or active tenant changes. A load follows at most 400 catalogue pages of 500 entries each, and a view catalogue denial leaves views absent rather than hiding the trees.
Deleting and recovering a tree
A caller who may manage a tree's lifecycle (the TreeLifecycle grant, as the
tree-administration facade's capability probe reports it) is offered
Delete tree... in the tree workspace's heading, beside Import... and
Export.... This is the same delete the Cluster area's Lifecycle tab offers,
for a caller who holds the grant on a tree but not the cluster-wide Telemetry
capability the Cluster area needs - a data steward who creates and loads her own
trees, for example. It is never drawn for a view or a shared tree, and a missing
facade, a refused or faulted probe all draw nothing; the facade still authorizes
the delete itself.
Delete tree... opens a destructive confirmation that asks for the tree's name to be typed. The delete is a soft delete: every read and write on the tree fails at once, and a hard purge is scheduled after the cluster's soft-delete window. The workspace's tabs give way to a note saying the tree is deleted and until when it can be recovered, with Recover tree... (another typed confirmation) while recovery is possible and a link back to the directory. The directory lists a soft-deleted tree as Soft-deleted until it is purged, and opening it again shows the same note. Purge is not offered here; it stays in the Cluster area.
Apps
Apps is the first-class surface for Lattice Apps: "Your apps", the source
catalogue, consent review and app lifecycle. It reads the app workspace,
catalogue and control facades, with auth used only when role bindings are
reviewed, and it appears when at least one of those views is available to the
caller. Its commands are apps.install, plus per-app apps.upgrade.{slug} and
apps.disable.{slug} entries when the caller can perform those lifecycle
actions. See Lattice Apps for the app frame, catalogue,
review and lifecycle flows.
| Address | What it shows |
|---|---|
/apps, /t/{tenant}/apps |
"Your apps": the enabled apps in which the caller holds a role, for every signed-in user, plus, for an AppInstall holder, the link to the catalogue, Install app... and a call-out for any installed app whose activation failed. |
/apps/catalogue, plus the tenant-rooted equivalent |
The source catalogue, filtered by ?source=, ?filter= (all, installed, available or updates) and the text in ?q=. |
/apps/catalogue/{source}/{slug}[@{version}], plus the tenant-rooted equivalent |
The pre-install review of one app as a source offers it: its newest version, or the version after @. |
/apps/{slug}, plus the tenant-rooted equivalent |
One installed app's page, with the tabs Overview, Trees, Roles, Tools, Subscriptions, Replication and, for an AppInstall holder only, Consent, each at /apps/{slug}/{tab}. |
/apps/{slug}/window |
The app's own UI alone in a browser window of its own, without the console's header, address line or spine. The overview's Open {app name} control launches it, only for an app that ships a UI and is among the caller's own apps. |
Access
Access is the policy area for auth rules, groups and explaining an access
decision. /access is cluster-wide: it shows cluster rules, cluster groups and
cluster-wide explanation. /t/{tenant}/access is tenant-rooted when delegated
tenant access administration is enabled: it has Groups, Members, Rules and
Explain sections for that tenant. Tenant Rules shows the read-only platform rules
that govern the tenant's trees first, then the tenant's own rules. It is visible
to callers who can read the cluster group catalogue through ILatticeAuthAdmin,
or to callers who administer the active tenant through the delegated tenant
access facades; anonymous cluster refusal stays visible as an Unavailable sign-in
prompt, while signed-in refusal by both probes hides the area. Its cluster-wide
commands are access.explain, access.create-rule and access.create-group.
Cluster-wide subject pickers offer a group from two labelled sources, the
identity directory (Directory) and the groups stored in Access (Stored),
so a group created here can be used once a directory is configured; the rule
editor also lets a platform operator choose a Tenant group by tenant and name,
verified against that tenant's stored groups and confined to its own trees.
See Managing access for rule editing, group management,
subject picking and explain output.
Schema
Schema covers schema policy, version configuration, compliance, remediation and
dead letters for each tree the caller can manage through ILatticeSchemaControl.
The area-wide probe asks for capabilities on a reserved tree id and admits the
area when at least one schema capability is present; when it grants nothing, a
schema grant on one of the first 64 trees the catalogue lists admits it too.
Its commands are
schema.scan-compliance and schema.all-trees. See
Managing schema for the directory, tree pages and
operation model.
Tenancy
Tenancy has two roots: /tenancy for an operator's tenant directory and
/t/{tenant}/tenancy for the active tenant administration view. Either way one
tenant is shown under the same tabs: Overview, Members, Quota, Regions and
Sharing. It requires the
tenant self-service facade and tenancy to be active, then proves whether the
caller is an operator or administers the scoped tenant. Operators get the
tenancy.create-tenant and tenancy.set-regions ("Set a tenant's regions",
/tenancy?set-regions=true) commands; whoever administers a non-default scoped
tenant gets tenancy.change-residency ("Change residency") and
tenancy.offer-grant.
Changing tenants closes the previous quota editor and discards its pending quota replies, faults and save notifications. Leaving the quota page cancels its reads. A late region refresh fault cannot hide a newer successful reading.
A tenant's Regions page splits Allowed regions (set by a platform operator) from Residency (where the tenant's data is kept), and says what each region's lifecycle status means for the tenant and whether it is served there: with no residency set every region serves the tenant, an added region waits for a platform operator of the hosting deployment to promote it, a removed region's own silos complete its drain on their own, and once a tenant has any residency it is served only in Online regions. A region part-way along its add or remove path shows the step it has reached ("Step 1 of 3", never a percentage), and the page follows it live, announcing each stage change, until every region is steady. A change is previewed region by region before it is applied. One that would stop serving the tenant, leaving it served nowhere, turns Apply residency off, and goes through only by a quiet Apply anyway and stop serving {tenant}... button whose confirmation keeps serving by default; creating a tenant with an initial residency is confirmed too. The directory's Resident in column, and the Resident in and Allowed lines of a tenant's overview, link to its Regions page, and Home counts tenants with no residency set, reading at most 50 tenants. See Regions and residency.
See Tenant scope for re-rooting, tenant selection, grants, regions and quota.
Replication
Replication shows the estate's peer links, enrolled trees and one tree's links.
It reads ILatticeReplicationStatus for peer status and
ILatticeReplicationControl for enrolment and enable/disable actions.
| Address | What it shows |
|---|---|
/replication, /t/{tenant}/replication |
The estate map and link table, one row per tree, peer and direction. |
/replication/trees, /t/{tenant}/replication/trees |
Replicated trees the caller may manage, with state, merge mode, enrolment source, owner and link health. |
/replication/trees/{p1}/{p2?}/{p3?}/{p4?}/{p5?}/{p6?}, plus the tenant-rooted equivalent |
One tree's per-peer links, refreshed while the browser page is visible. |
The estate and trees pages share ?health=, ?region= and ?app= filters.
?health= accepts the known health labels and ignores unknown values rather
than emptying the page. ?region= filters peer regions. ?app= matches trees
whose id is a/{slug}/..., or t/{tenant}/a/{slug}/... for a tenant's app tree.
Both replication reports name a tree by its effective id: a default-tenant tree
by its bare name, and a tenant's own tree by its qualified t/{tenant}/{name}
id. Under a tenant, the estate and the enrolled-trees list both keep only the
trees that tenant owns, by the same ownership rule, and the enrolled-trees page
joins each enrolment to its links on that id.
The estate page draws this region and its peer regions as an order diagram, then
shows every link in a sortable table. Refreshing runs the replication.refresh
command or the visible Refresh button, invalidates the cached read and reads the
peer report again. If the status read is denied, unserved or faulted, the page
shows a fixed empty state and still links to the enrolled-trees page, because an
operator may be allowed to manage enrolment without reading the full status
estate. A truncated status read says so and recommends filtering.
The enrolled-trees page reads enrolment and status together. The table shows enabled, disabled or ambiguous state, merge mode, whether enrolment is runtime, static or both, app ownership and worst link health. Every listed tree is one the caller may manage, so a listed disabled runtime tree offers Enable and an enabled one Disable. Enable replication for a tree (a new tree) is offered only when the facade's capability probe says the caller holds the Replication grant, or the list holds a tree they manage: the report is readable by every caller, so an empty list proves nothing (#5478). The cluster still authorizes every enable and disable. Enabling asks for the logical tree id (a picker that accepts only a tree you can reach until a bootstrap source is named, and then any id, because the bootstrap brings a tree this region does not hold yet), merge mode and optional bootstrap source cluster (a picker that suggests the known regions and accepts any id); app-owned ids are rejected because their enrolment follows the app install. While an enable is in flight the dialog says what it is waiting for: with a bootstrap source, the enable returns only once that cluster has answered, which can take a minute or more. The dialog can be closed meanwhile: the enable keeps running while you stay on the page, and a message reports the result (leaving the page abandons the wait). Disabling is a destructive confirmation: it stops new changes from replicating, leaves peer data in place, and keeps the merge mode for a later enable. Static-only enrolments cannot be toggled here.
The estate and enrolled-trees pages share a section row, Estate and Enrolled trees. One tree's page is below both, so in place of the row it shows a Back to enrolled trees link.
The tree detail page reads one tree's links afresh, then starts a visibility aware refresh loop after the first browser render. While the page is visible it refreshes every 5 seconds; when the tab is hidden it stops, and its status line says the refresh is paused while the page is hidden; when it becomes visible it refreshes immediately and resumes. If a later refresh fails, the page keeps the previous links and reports that the last refresh failed. If neither the enrolment report nor the status links name the tree, it navigates to not found.
Reads of the estate and enrolment are cached per circuit for 15 seconds for directory, Home, completion and non-refresh page reads, filed under the caller (sign-in, endpoint and asserted tenant). Sign-in and connection changes invalidate both caches, and a read for a different caller is never served from them. Peer-status reads ask for pages of 1000 links and follow at most 50 pages; repeated continuation tokens also stop the read, so a broken server cannot loop the UI forever.
The Replication palette commands are:
| Command id | Label | Effect |
|---|---|---|
replication.refresh |
Refresh replication status | Invalidates the peer-status cache and re-reads visible replication status. |
replication.trees |
Show enrolled trees | Opens /replication/trees. |
App-owned trees are detected only from the logical id prefix a/{slug}/....
Rows link to /apps/{slug}/replication, and the Replication area does not offer
per-tree enable or disable controls for them.
Backups
Backups covers backup catalogue, capture, restore, schedules, health and
catalogue maintenance through ILatticeBackupControl. It appears when the
capability probe says the caller can list backups; a denied or grantless caller
sees an Unavailable grant sentence, while an unserved or faulted backup control
surface is Hidden. Its palette command is backups.capture, labelled "Capture
backup...". The Catalogue, Schedules, Health and Maintenance pages share a page
row; a page below them (capturing a backup, one backup, one operation) shows a
Back to the catalogue link instead. See Managing backups for backup scopes,
capture, restore and maintenance.
Telemetry
Telemetry lists the metric catalogue as boards, then draws one board as charts
or tables. It uses ILatticeTelemetry for the catalogue and each query.
| Address | What it shows |
|---|---|
/telemetry, /t/{tenant}/telemetry |
The board list resolved from the catalogue the caller may read. |
/telemetry/{board}, /t/{tenant}/telemetry/{board} |
One board, such as throughput, latency, storage, pressure, tenant or other. |
The address carries every chart state. ?range= names a relative range such as
15m, 1h, 6h, 24h or 7d; the parser accepts positive s, m, h and
d tokens up to 400 days. ?from= and ?to= pin an absolute UTC window and
override ?range=. ?step= names an explicit step, with toolbar choices from
15 seconds to 1 hour; without it, charts choose the finest ladder step that
keeps the request within the chart point budget and the target of about 240
points. ?tree= narrows charts that accept a tree filter and leaves a note on
charts that do not. ?scope=all asks for every tenant when tenancy is active.
?view=table draws time series as tables rather than charts.
The built-in boards are Throughput, Latency, Storage and Pressure. The Tenant board is listed only while tenancy is on. An Other board appears when the catalogue contains queries not claimed by a curated board. A board with no available charts is omitted from the index; a board that has some missing charts shows how many of its expected charts were admitted and names the omitted ones. An empty catalogue is not an error: the page says the cluster offers no telemetry queries to the caller, either because no backend is configured or because grants and the metric allow-list admit none.
Chart requests are evaluated one by one. A permission denial or missing query removes that chart from the board and adds a "Not shown" note. Other failures stay on the chart: bounds failures ask for a shorter range or coarser step, backend and transient transport failures offer a retry, an unserved telemetry facade says the cluster does not serve telemetry queries, and invalid arguments say the cluster refused the parameters. A successful chart reports the tenant scope the facade actually applied; if the user asked for every tenant but the cluster answered for the active tenant, the board says so.
Who may read telemetry, and which tenants they see, is the facade's decision.
A caller granted Telemetry cluster-wide sees its active tenant, and a platform
operator can widen that with ?scope=all. A caller granted Telemetry for one
tenant only (a rule at LatticeScope.TenantCapability(tenant), authored in
Access as One tenant's telemetry; see
Tenant telemetry in a platform rule)
sees that tenant's boards on /t/{tenant}/telemetry, captioned for the tenant,
and nothing anywhere else: every chart is pinned to the tenant's own series, the
All tenants choice is never offered, a ?scope=all request is answered for
the tenant alone with the narrowed note, and under any other tenant (or the
default tenant) the catalogue is empty.
The chart view is an SVG line chart with keyboard readout. Left and right arrows
move through points, Home and End jump to the ends, and Escape clears the pinned
readout. Table view shows the values by time. Per-tree chart labels link to the
same board with ?tree= set, and the tree filter note links to the Data area for
the logical tree.
The Telemetry palette command is:
| Command id | Label | Effect |
|---|---|---|
telemetry.refresh |
Refresh telemetry | Drops the shared catalogue, re-reads it, redraws every chart and asks the area directory to re-probe. |
The catalogue read is shared per circuit by the availability probe, Home status, completions and pages. Sign-in changes, connection changes and Refresh invalidate it. A caller cancellation only stops that caller waiting; the shared read carries on for the next reader.
Cluster
Cluster is the operations area. /cluster is cluster-wide. A tenant-rooted
form, /t/{tenant}/cluster, shows only that tenant's own trees and the storage
they use; regions, WAL placement and orphaned leaves belong to the whole
cluster, so there they are one quiet line linking to the cluster-wide overview,
and a deep link to another tenant's tree is not found.
It reads ILatticeTreeAdmin for administration, the state connection for
cluster identity and tree catalogue, and ILatticeReplicationStatus for the
region diagram.
| Address | What it shows |
|---|---|
/cluster |
Estate overview: cluster id, service id, storage use, region diagram and links to Trees, WAL placement and Orphaned leaves. |
/cluster/trees |
Every logical tree in the cluster, with owner, shard count, WAL partitions and lifecycle. System trees are not listed, and the list says so; a tenant-scoped list also leaves out other tenants' trees. New tree... creates one. |
/cluster/trees/{tree-path} |
One tree's summary, configuration, shards, storage and lifecycle tabs. |
/cluster/trees/{tree-path}/tools |
Compaction, projection digest and bulk load tools. |
/cluster/trees/{tree-path}/reshard |
Resumable online reshard status and staging. |
/cluster/trees/{tree-path}/resize |
Resumable online resize status, staging and undo. |
/cluster/trees/{tree-path}/snapshot |
Resumable snapshot status and staging. |
/cluster/wal?tree=&partition=&target= |
WAL placement audit, WAL reclamation, move planning, execution and source reclaim. |
/cluster/orphans?tree= |
Orphaned-leaf survey, audit and repair. |
The route under /cluster accepts at most eight path segments after cluster.
The Trees segment itself counts, so a tree id that is too deep is still listed
but has no Cluster address. If a tree id of two or more segments ends in a view
word such as tools, the overview link adds a trailing overview segment so the
route is unambiguous.
The directory badge counts the tree list, so the badge and the list agree. Home reads, for example, "12 trees, plus 5 system trees, 3.2 GiB stored.", or "4 trees of tenant acme, 1.1 GiB stored." at a tenant-rooted address. When the tree list cannot be read, Home falls back to the storage summary's own count ("N trees including system trees, ... stored.").
The overview reads cluster identity and shallow storage usage in parallel. The
storage card can refresh the shallow summary or open a destructive confirmation
for a deep re-measure. Deep re-measure walks every leaf of every shard of every
tree, changes nothing, and is described as expensive. It runs on the cluster as a
tracked operation of kind
treeadmin.storage-usage-refresh: the card shows its progress in trees measured,
offers Stop re-measuring, and reads the refreshed shallow summary once it
succeeds. Its "Measured" line is marked stale when the re-measure carried a
tree's last-known figures for a surface it could not re-measure, even if the
shallow summary read afterwards is not. A re-measure still running is picked up again when the overview opens. The region diagram rolls
up the replication peer report, draws the local region and peers, marks stalled
peers without relying on colour alone, and links to Replication only when the
directory shows that area.
The tree list's filter matches a tree's name (which carries its tenant and app), its
owner as the Owner column reads it ("app crm, tenant acme"), or its state as the State
column reads it, so "deleted" or "aliased" narrows the list to those trees. The list leaves out restore
shadows and physical resize or restore targets, so rows show logical trees only.
App and tenant ownership are parsed from t/{tenant}/a/{app}/... and shown as
text. The visible cluster.reshard-tree control opens a dialog whose tree field
is a picker over the cluster's logical trees, and navigates to that tree's reshard
page. Every Cluster field that names an existing tree (the WAL and orphaned-leaf
audits, the alias target, the reshard dialog) accepts only a listed tree. A
snapshot's destination names a new tree, so it is a plain name box rather than a
picker: it offers no list, and refuses a name that already exists ("A tree with
this name already exists; a snapshot needs a new one.").
New tree... (cluster.create-tree) creates an empty tree. It is drawn only for
a caller the create-tree probe admits: the side-effect-free capability probe of a
sentinel tree id, which grants a caller who administers every tree (or every tree
of their tenant), else the probe of the first few listed trees, which grants a
caller whose administration is scoped to some trees. For any other caller the
control is hidden, and the palette command is refused with "Your identity holds no
grant to create trees on this cluster.". The answer is remembered for 30 seconds
for the caller it was read for. The dialog asks for the tree name and the physical
shard count, keys per leaf and children per internal node, which start at the
library defaults (64, 128 and 128) and each say what they do. A name that is
empty, begins with the reserved _lattice_ or t/ namespace, has an empty part,
or is too deep to have a Cluster address is refused beside the field in the
cluster's own words; shards run from 1 to 4,096, keys per leaf from 2, and
children from 3. Review then checks the exact name: a name the caller does not
administer, a name already taken ("A tree named factory-floor already exists.
Creating it again would change nothing; choose another name."), and, under a
tenant, a tenant whose tree count has reached its quota ceiling ("Tenant acme is
at its tree quota: 2 of 2 trees. Delete a tree, or ask a platform operator to
raise the quota.") are refused before anything is written. The review names the
tree, its tenant and its sizing, and Create tree creates it. At a
tenant-rooted address the tree is created in that tenant. A refusal at the create
itself is shown on the review: the cluster's idempotent create reports a name
registered meanwhile as already existing, and a quota refusal is told in quota
terms. A created tree is at once in the Cluster tree list and the Data directory,
and the page opens on its Summary with a Tree created section, shown once,
that offers to seed it with a bulk load, set its configuration and history
retention, or browse it in Data.
A tree page begins with a side-effect-free capability probe. If the caller has
no tree-admin capability over the tree, it shows "Nothing you can administer".
If diagnostics or admin authority allow it, the page checks the tree
configuration and sends not-found when the tree does not exist. Its tabs show:
summary statistics and operation status; configuration and history retention;
shard map, diagnostics and hotness; storage and WAL placement; and lifecycle.
The open tab is carried in ?tab=: configuration, shards, storage or
lifecycle, and no key for the default summary tab.
Denied probes become an all-deny answer, so controls stay hidden even though
the cluster still authorises every real operation when attempted.
The retention Window is a duration field in days, hours, minutes and seconds; leave it empty for no age bound.
Configuration and history-retention saves are forward-only configuration
changes, so they do not ask for destructive confirmation. Lifecycle operations
do: Delete soft-deletes the tree and schedules purge, Recover restores normal
reads and writes, Purge permanently removes tree state and is not an app
operation, and Set alias points the logical name at another physical tree.
Add name... in the same Alias section gives the tree another name: it names
a free alias (a name that already holds a tree is refused, with a pointer to that
tree's own Lifecycle) and, after the alias is typed to confirm, points it at this
tree, so /data/{alias} and every read and write through the alias reach it.
Access is authorized on the name a caller addresses, before the alias resolves:
a caller granted only on the tree does not see or reach it through the alias,
which needs a grant of its own (see the set-alias verb in
tree administration).
Recoverable until is shown with the recovery deadline only while the tree can
still be recovered. Purge is accept-then-poll: the call can return while the shard
walk is still running, so the tab says the purge was accepted, follows it with a
"N of M shards purged" bar, and says the tree is purged only once the status
reports the purge complete (or warns if it stopped before finishing). The
Shards tab lists one row per physical shard the live shard map routes to; the
diagnostics and hotness reads only fill in those rows, so a shard a shrink has
retired, which a cached read can still name, never gains a row. Without the map,
the rows are the shards those reports name. The tab can run a confirmed deep
read to count tombstones because it walks every leaf. The Storage tab shows the
tree's WAL reclamation beside its retained WAL, and links to
the WAL page.
The tools page exposes only the tools the capability probe admits. Compaction
requires admin authority, asks for a shard index, and opens a destructive
confirmation because it forces an out-of-cycle tombstone pass. Projection digest
requires diagnostic authority and reads a shard hash for replica comparison.
Both take a shard index the live shard map routes to, not simply 0 to the shard
count less one: a shrink retires indices, and a later grow allocates fresh ones
above every retired index. The field's hint names the valid indices (a range
when they are contiguous from 0, otherwise the indices themselves), and an index
the map does not route to is refused.
Bulk load requires the bulk-load grant, accepts strictly ascending key=value
lines, sends chunks of 256 entries, and can resume from the first
unacknowledged chunk under the same operation id after a failure.
Reshard, Resize and Snapshot are resumable operation pages. They read current status, stage user input, show a Review section and then require destructive confirmation before starting. Reshard grows or shrinks a tree's physical shard count online: a larger count splits the largest shards a few at a time, and a smaller one folds adjacent shards together, routing swapping per split or fold. The target runs from 2 to the smaller of 4096 and the tree's virtual slot count, and a target equal to the current count is refused. A shrink's review states the trade-off: fewer shards lower the tree's write and point-read throughput ceiling, so a hot key range saturates sooner, while scans, counts, snapshots and resizes fan out to fewer shards and fewer activations stay resident. Each retired shard's storage is released before a shrink completes. Once started a reshard runs to its target; to go back, reshard again to the previous count. Resize rebuilds the tree into a shadow at the requested node capacity, can be undone while the old tree remains recoverable, and warns that undo loses writes that reached only the resized copy. Snapshot copies live entries into a new tree, either online or offline, and allows optional sizing.
These operations, like purge below, are accept-then-poll: the cluster accepts the request and runs it on its own, reminder-anchored, so it survives a silo restart and carries on if you leave the page. While one is running, its page asks for status every 2 seconds. A read that fails does not end the follow: the page waits twice as long after each failure, up to 30 seconds, and returns to every 2 seconds once a read succeeds. Coming back to the page's address resumes following, because the status is the cluster's.
Each running operation is drawn as a progress bar (the LtProgress primitive),
with the step it is on in words and a line naming its units. The same bar appears
on the operation's own page and on the tree's summary tab:
| Operation | Steps shown | Units |
|---|---|---|
| Resize | Copying the tree at the new size, pointing the tree's name at the copy, turning requests away from the old copy, retiring the old copy | One per shard the copy drains, then one for each of the three steps after the copy: "3 of 8 shards copied, then 3 steps to finish", then "Copy complete. Step 2 of 3 to finish." |
| Snapshot | Taking the source out of service (offline) or starting to forward live writes (online), copying shards, returning a copied shard to service (offline) | Shards copied: "3 of 8 shards copied." |
| Reshard | Splitting shards (growing), Folding shards together (shrinking), Releasing retired shards (a shrink at its target), Finishing (a grow at its target) | Shards moved from the starting count toward the target, in either direction, plus one unit for the step that completes the reshard, so a running reshard never reads 100%. A shrink that has reached its target count shows Releasing retired shards until the cluster reports it no longer in progress. Growing, the line reads the current count against the target: "5 of 8 physical shards."; shrinking: "6 physical shards now, down to 4." |
| Purge | Purging shards, then Purged | Shards purged: "3 of 8 shards purged." |
A bar is determinate only when the cluster reports a total; otherwise it is hatched and shows the step alone, never an invented percentage, which is what a cluster that predates progress reporting produces. A small total is drawn as one segment per unit. The percentage is rounded down, so a bar never reads 100% before the last unit is done. A change of step is announced once through a polite live region; the moving percentage is not.
An accepted undo of a resize shows the resize as Undoing, with an indeterminate bar labelled "Undoing the resize", because an unwind reports no units. The page reads the undo before the resize's own in-progress flag, so an undo of a resize that had already finished is still followed until it has unwound.
The WAL page first audits placement for a named tree. The move planner's target
provider key suggests the keys the resolving silo reports for that tree, but accepts
any typed key, including one known only to another silo. An unlisted key carries
an advisory, not a refusal: confirm it resolves on every silo before moving. An
empty catalogue or a failed audit says why suggestions are unavailable and is
retried on a later query instead of being remembered permanently. The plan reports
whether its target resolves on this silo. A move plan is addressed
entirely by ?tree=, ?partition= and ?target=, so refreshing or returning
to the link resumes the same preview. Planning changes nothing. Executing a
move quiesces the partition briefly, copies the tail, flips placement and
retains the source; reclaiming discards that retained source and removes the
ability to revert. Execute and Reclaim both require destructive confirmations
and the TreeLifecycle grant. A move runs on the cluster as a tracked operation:
the plan shows its copy (entries copied of the tail), verification and flip, and
reopening the plan's address follows a move still running for that partition.
Stop is honoured only before the flip, leaving the partition on its source.
The Orphaned leaves page audits a named tree for leaves that are in a shard's sibling chain but unreachable from the root. An audit or repair runs on the cluster as a tracked whole-tree operation: the page shows the shards walked, can stop it, and when reopened follows the one still running for the tree. Its verdict comes from the pass's totals and distinguishes clean, found and not-judged; Show each leaf then reads the per-leaf findings batch by batch. The read-only survey of every orphan key is driven batch by batch from the page (up to 1000 batches) and can be stopped. Repair is shown only with TreeLifecycle authority and repairable leaves, is behind a destructive confirmation, unsplices only leaves whose keys were shown readable elsewhere, and always audits again when repair completes. Because that audit replaces the repair's findings, the toast that announces it counts the leaves unspliced, any refused, and any region not judged. The Cluster palette commands are:
| Command id | Label | Effect |
|---|---|---|
cluster.reshard-tree |
Reshard tree... | "Grow or shrink a tree's physical shard count, online." Opens the reshard chooser on /cluster/trees, then navigates to the chosen tree's reshard page. The control is drawn only for a caller whose capability probe reports a tree-lifecycle grant (on the reserved probe tree or one of the first 64 listed trees); for anyone else the command says "Your identity holds no grant to reshard a tree on this cluster." |
cluster.plan-wal-move |
Plan WAL move... | Opens the WAL move planner on /cluster/wal, then navigates to the query-addressed plan. |
cluster.create-tree |
New tree... | "Create an empty tree with a chosen shard count and node sizes." Opens the create-tree dialog on /cluster/trees, then lands on the new tree's Summary. Refused, with a sentence, for a caller who may not create trees. |
Cluster faults are shown as short sentences, never a stack or a status code. An authorisation denial is always "You do not have permission to do this.". Any other fault shows the message it carries: over gRPC, the cluster's sanitised status detail, or a fixed sentence for the status when the cluster sent none. A fault with no message of its own falls back to a fixed sentence: missing trees say the cluster does not know the tree; unserved operations say the cluster does not serve that operation; timeouts say the cluster did not answer in time. Pages show the error sentence beside the surface that made the call, or keep the status that the cluster owns and let the caller return to the same address later.
WAL reclamation
The WAL page, under the placement audit, and a tree's Storage tab show which
durable pin holds the tree's write-ahead-log floor, read through
ILatticeWalReclamation (see
WAL reclamation). A tree
that reclaims nothing because one pin can never move reads, on its storage
figures alone, exactly like a tree with nothing to reclaim; this section tells
them apart. It names the floor-holding leaf, its partition, its pin offset, the
leaf's persisted checkpoint and its state, and gives one verdict:
| Verdict | When |
|---|---|
| Blocked | The holder carries a usable pin offset (>= 0) above a checkpoint the leaf never persisted (-1). The page says plainly that this does not clear on its own: the durable pin store cannot be lowered and the WAL GC will not drive a leaf with no proven checkpoint (#4191, #3258). |
| Waiting for a checkpoint | No pin reports a usable offset, and the one named reports -1 from a leaf that has never checkpointed. This is the benign sentinel; it holds no offset floor and clears once the leaf checkpoints (#4198). |
| Not blocked | The holder has checkpointed, or the tree holds no pin. WAL below the holder's offset can be reclaimed. |
| Not established | The pin store did not answer, or the holder leaf's state could not be read. |
The verdict is keyed on the holder's pin offset beside its state, never on
growth or on the count of never-checkpointed pins: a wedged tree need not be
growing, and a never-checkpointed pin at -1 is the benign case. The section
names the leaf, never the pin's consumer id, which carries the physical tree
id. It is hidden when the Explorer serves no WAL reclamation read, and is a
quiet note when the cluster does not answer it.