One host.
Many factories.
Shared infrastructure.
Factory runs the ticket pipeline for one repository. District manages the fleet: shared configuration, engine upgrades, host policy, and operational status that tells you what is running, what needs attention, and what is still unknown.
Current milestone: graphical Overview and on-demand fleet reporting; operator acceptance and console cutover remain pending.
Latest release: v0.1.8 (November 3, 2026)
$ district status Illustrative fleet · not live telemetry rocm-cli scheduled waiting unknown gpuflo running normal rocm-app capped attention # status keeps operating state, execution # and observation quality separate # exit: 0 normal · 1 attention · 2 unknown
From issue to fleet in 45 seconds.
Factory works each ticket from triage to merge; District runs the fleet of factories on one host.
The second factory creates concerns no single factory can own.
Repository autonomy is useful. Duplicating host configuration, upgrade procedures, and operational checks across every repository is not.
One place for host settings
Keep model endpoints, worker defaults, dashboard ports, and timer cadence in the host registry, not scattered across public repositories.
Repeatable maintenance
Reconcile generated units and labels, check prerequisites, and upgrade the shared engine without replacing each repository's own rules.
Bounded failure, explicit recovery
Cap repeatedly failing timers and check package-age policy. Restore a capped factory only after an explicit reset pass succeeds.
A fleet answer you can inspect
See operational findings and source freshness together. A review requesting changes is project work, not automatically broken machinery.
Classified by where it lives, not by feature.
Every setting District touches is either host-side or committed to a repo. The split is the product.
District owns — host-side, never committed
- mikeroySoft/factory install and upgrade
- triage endpoint and model
- worker / reviewer argv defaults
- dashboard port allocation, timer cadence, bind host
- systemd units, rendered via
factory install - registry of managed repos
- GitHub labels, re-applied idempotently
- supply-chain policy (minimum package age)
- consecutive-failure cap on each timer
Factory owns — committed to its repo
[[gate.check]]commands[leak_scan]excludes[repo].upstreamfor forks.github/ISSUE_TEMPLATE/agent_task.md.factory-lessons.md.gitignorelines
- District writes committed files exactly once, at onboarding, and only reports drift afterwards.
- District rewrites host-side artifacts on every
applywithout asking. - District never commits to a managed repo. It prints the commit line.
Eleven verbs. Each one shells out to the host tools it checks or manages.
District never imports from mikeroySoft/factory and never reimplements a factory command. If it needs a per-repo fact, the fix is a flag on factory.
.factory.toml. Detects fork parent, ecosystem, and the next free port; proposes gate checks from CI; lifts host-owned keys out of the repo file. --host NAME assigns the factory to a host from [hosts].gh and factory run under each reconciled unit's PATH. Local and remote factories share one controller registry and operation lock; remote commands and filtered config writes use bounded BatchMode SSH. A busy host normally defers an engine change without touching timers or running passes. --drain writes an atomic host flag, lets existing and hand-run work finish, then installs and post-checks only the CI-green engine path. While drained, District never calls factory install or applies the failure cap; it records generated-unit drift as unit changes deferred during district drain (timers untouched) for a later ordinary apply, so an operator-stopped timer stays stopped. The wait defaults to 6 hours; --drain-timeout is capped at 7h45m to reserve a 15-minute installation margin, and the flag never lives longer than 8 hours. Hourly apply drains after 3 prior deferrals or more than 24 hours deferred. --upgrade selects a target; --reset SLUG requires a successful pass before restoring a capped timer.--clear removes ${XDG_STATE_HOME:-$HOME/.local/state}/district/drain under the operation lock; --host NAME clears a registered remote host. Expired flags already stop blocking Factory. A drain never stops, disables, masks, or delays a Factory timer and never kills a running pass.district-apply.timer, durable holds, deferred work with reason and original timestamp, and the last apply result. --json is schema-versioned; only the cached release lookup uses the network, and unavailable releases remain unknown.PASS, WARN, or FAIL.gh authentication; exit 0 means every factory is normal.observed_at; repository source ages, coverage gaps, and actual producer windows remain visible.git and gh, never estimated. Cached hourly.ci.yml test job for that SHA, and transactionally replace only District's uv tool. A successful update releases its transaction lock before the newly installed CLI runs district apply --drain; dry runs and failed updates do not drain. Supports query-only --dry-run, machine-readable --json, and retained offline --rollback.A drain waits 6h by default; --drain-timeout 465min is the maximum wait, leaving 15 minutes within the 8h flag cap. Install-state schema 3 retains local last_apply.drain and per-host last_apply.drains, including requested/idle/applied/cleared timestamps, seconds waited, and cleanup folder counts. An already-current district update still requests a drained apply for pending engine work; dry runs and offline rollback do not. Only hosts with pending engine work request a flag: healthy, already-current hosts skip the idle wait and drained postchecks and continue ordinary unit reconciliation.
Drain admission requires Factory drain-check support (#563) and pass units updated through an ordinary apply. Check factory drain-check --help before relying on drains; older pass units ignore the flag, so District keeps checking busy work and times out safely. Post-apply checks validate help, version, tool-Python import, receipt and target ancestry, check dashboard HTTP 200 responses, restart the installed District dashboard, and verify the previous engine in isolated temporary uv directories. factory watch --dry-run always runs from a registered repository checkout; no checkout is a clear check failure.
A shared operational picture. Not another project inbox.
The scoped console and graphical Overview are merged: stable diagrams show real cached state, concurrent stage occupancy, capacity, source ages, findings, and evidence-backed motion. Detailed Flows and Brief work, combined operator acceptance, and console cutover are still pending.
Observe state, not decoration.
Equally weighted factory diagrams show concurrent stages and bounded recent activity. Fresh confirmed active stages can pulse, while newly observed transitions and completions move once; watch, pause, hidden-tab, and reduced-motion behavior preserve the facts.
Keep your place.
Overview, Flows, and Brief routes share all-factory or single-factory scope. Deep links, browser Back, scroll restoration, and focus-preserving updates keep navigation usable while the fleet changes.
View remotely. Manage locally.
Opt into LAN viewing without exposing host controls. Remote requests cannot run management or detection; browser data is bounded and sanitized rather than a copy of host configuration.
Try the current console: after starting the dashboard, open http://127.0.0.1:8760/?view=overview for the implemented graphical watch surface. Change view to flows or brief for the shared scoped shells; detailed flow lanes, the evidence panel, and the full Brief are still planned. Combined Overview/Flows visual acceptance and the default-route cutover remain pending. Atlas and existing management remain at / and /legacy.
LAN viewing requires an explicit bind such as --host 0.0.0.0. Manage and detect require direct HTTP to numeric loopback or localhost at the actual server port. LAN URLs remain read-only even on the host; DNS aliases and reverse proxies are unsupported, and forwarded headers fail closed. Network policy.
What we chose. What we chose not to build.
District started with a city-shaped Atlas. The new operating surface puts work and evidence ahead of architecture and repository size, while Atlas remains the default until acceptance and cutover.
Host infrastructure, not repo control
District owns the shared machinery. Gate commands, reviewable files, and project decisions stay with each Factory. It shells out to public commands rather than importing the engine's internals.
Operational attention, not project noise
A failing runner and a failing product test are different events. Ordinary CI waits, review revisions, and human decisions do not independently turn into fleet incidents.
Unknown is an answer
Missing or stale observations stay visible. Re-reading a cache does not make old evidence fresh, and an unavailable snapshot does not prove that a dispatcher stopped.
Evidence before animation
The implemented graphical Overview uses equally weighted factories and concurrent execution lanes, not taller buildings for bigger repos. Its motion describes observed activity, never fictional progress or an invented ETA; detailed Flows and Brief graphics remain separate held work.
Read the approved operations-console specification · One operator, one Linux host. Multi-host orchestration, team management, and an LLM-generated Brief are outside this console's scope.
One classification for the CLI and dashboard.
Machinery findings, project context and observation quality are separate. CLI status takes one bounded runtime/full collection round through the same source adapters as the server. Missing execution telemetry is explicit, not reconstructed from artifacts.
| Dimension | Values |
|---|---|
| Operating | running · scheduled waiting · deliberately paused (recorded intent only) · capped · unexpectedly stopped (authoritative evidence only) · unknown |
| Execution | stage-active · known wait · blocked · completed · failed · interrupted · unknown |
| Observation | fresh · stale · partial · unavailable; source times are retained across rereads |
Exit 0: every entry normal, or an empty fleet. Exit 1: any supported operational attention. Exit 2: unknown observation or state without attention. Attention takes precedence, but unknowns remain visible. Engines without execution telemetry report partial/unknown rather than silently healthy.
The CLI and dashboard share source adapters and classification. Runtime and full snapshots refresh independently; producer timestamps, record-level quality, bounded history, and gaps remain explicit. A slow full snapshot does not need to block publication of runtime evidence.
Integrating with District? The source and JSON contract documents observation bounds, findings, and the migration from the old health/reasons fields. district status --json exposes the normalized state keyed by repository slug.
Failure cap
Ten consecutive failed passes disable a timer. Fix the cause, then use district apply --reset SLUG: the timer resumes only after a successful pass.
Supply-chain policy
Workers install packages with the operator's credentials. District checks the host-wide minimum package age for uv, npm, and cargo. Missing policy is a WARN, never a silent skip.
Context without false alarms
First-gate pass rate and review bounce remain useful project metrics. They do not independently label the underlying machinery unhealthy.
From fleet registry to operational evidence.
Selected milestones through November 3, 2026. Dates below use UTC merge history for PRs. Entries marked as a release are tagged versions; the rest are source milestones, not a claim about every installed host.
-
Release · v0.1.8
Apply renders Factory units correctly, and fleets say when passes keep failing.
- Two-command Factory units: render validation checks every
ExecStart=in a oneshot service, including separate triage and dispatch commands, after stripping systemd exec prefixes (-,@,:,+,!,!!). Apply no longer reports a false "missing Factory argv" and skipsfactory installfor units with twoExecStartlines; a missing or invalid command still blocks installation and names the unit and argv. - Repeated pass failures:
district statusraises operational attention anddistrict doctorreportsFAILwhen a factory's last N service passes on the same host all failed ([defaults] failed_pass_streak, default 6). It is a read-only alert, separate frommax_failed_passesand the timer failure cap. - Scheduler toolchain preflight:
district addanddistrict applyresolvefactory,gh,git,uv,python3, review/manager commands, and every gate's first executable under the PATH and HOME of the rendered systemd service or launchd plist, and fail before installation with the host, binary, and searched PATH when one is missing.district doctorreruns the same read-only check. - Remote commands on any login shell: District sends remote command scripts base64-encoded and runs them with
/bin/sh, so fish and POSIX login shells preserve quotes, backslashes, and stdin the same way.
Why: the render check failed every apply on hosts whose Factory units run triage and dispatch as two commands, fish on Ultron mangled District's remote commands, and failing passes or missing gate tools went unnoticed until someone looked.
Release v0.1.8 · Render check #160 · Failed-pass streak #153 · Toolchain preflight #154 · Login-shell parsing #156
- Two-command Factory units: render validation checks every
-
Release · v0.1.7
Engine upgrades that can actually find an idle window.
- Drained engine apply:
district apply --drainwrites an atomic, expiring host flag so compatible timer-started Factory passes skip before starting work, waits up to 6 hours (--drain-timeout, at most 7h45m) for running and hand-run work to finish, then installs and post-checks the CI-green engine. A drain never stops, disables, masks, delays, or re-enables a timer and never kills a running pass; while drained, District does not callfactory installor apply the failure cap.district drain --clear [--host NAME]removes a flag, doctor warns about stale or malformed flags, and the hourly apply drains after 3 deferrals or 24 hours. Drain admission needs Factory'sdrain-check(factory#563). - Post-apply checks: before clearing a drain, District checks Factory help, version, tool-Python import, receipt and target ancestry, dashboard HTTP 200, restarts the installed District dashboard, validates the previous engine in isolated uv directories, and runs
factory watch --dry-runfrom a registered repository checkout. - Busy means Factory services: engine busy checks read the owning host's service manager (
factory-*.serviceon Linux, Factory launchd jobs on macOS) instead of every process's cwd and argv, sosshdand long-running dashboards no longer block an upgrade forever. Probes share one idle deadline.
Why: back-to-back passes left no idle window, and the old process scan counted SSH sessions and dashboards as Factory work, so engine upgrades could never apply.
Release v0.1.7 · Drained upgrade #149 · Service-state busy check #151
- Drained engine apply:
-
Release · v0.1.6
One Factory install per host, owned by District.
- One install per host: District owns the single Factory uv tool install on every host. Apply drops the stale
factory_sourcekey from the host config, keeping a timestamped backup, and removes per-versionfactory-*folders that no unit, launchd agent, config, or uv receipt still references; an incomplete reference scan removes nothing. An engine swap is deferred to the next apply while any factory work runs on the host; process state District cannot read counts as busy, and registry dashboards do not block. - Operator-stopped timers: when a repo's units change,
district applystops a timer again iffactory installstarted it after the operator stopped it, and records the stop inlast_apply.stopped; apply and upgrade restore only the timers they paused. A first install, or an apply where the repo's units are unchanged, still runsfactory install, which re-enables a stopped timer; tracked in factory#549. Hand-runfactory gateandfactory dispatchwork now defers an engine swap. - One repo on several hosts: a repo table may list
hosts = [...]with atriage_host. Apply pins the same engine SHA on every host and rolls moved hosts back when one fails; doctor and status flag engine, worker, and model drift. - Per-host engine and defaults: remote hosts get their own engine source and
[defaults]overrides (gh config dir, signing key, triage URL).
Why: a stale
factory_sourcecheckout and leftover per-version Factory folders let hosts drift from the engine District recorded.Release v0.1.6 · One install per host #136 · factory_source #111 · Stopped timers #138 · Multi-host repos #134
- One install per host: District owns the single Factory uv tool install on every host. Apply drops the stale
-
Release · v0.1.5
One controller, more than one machine.
- Remote hosts: the controller drives factories on other machines over bounded BatchMode SSH and writes each host's filtered Factory config there. Systemd sits behind a service-backend interface, with launchd agents for macOS hosts; apply's unit-change check and
district install-stateread through the same backend. - Fleet view across hosts: status, report, and Atlas label every factory by host. An unreachable host shows as unreachable with its last-seen time, exit 2 instead of fleet failure, while other hosts continue.
- Per-host doctor: toolchain checks run per host, with a macOS/Xcode profile.
- Engine tracking:
factory_ref = "latest-odd"follows Factory's highest odd-patch tag, installing only CI-green commits.
Why: Ultron joins ROCm Tank as a factory host, managed from one District.
Release v0.1.5 · Multi-machine fleet #96 · Remote runner #99 · Fleet status #100 · Latest odd tag #118
- Remote hosts: the controller drives factories on other machines over bounded BatchMode SSH and writes each host's filtered Factory config there. Systemd sits behind a service-backend interface, with launchd agents for macOS hosts; apply's unit-change check and
-
Release · v0.1.4
A busy factory no longer pauses the whole fleet.
- Defer instead of drain:
district applychecks for running passes before touching any timer. A shared-engine install waits for the next apply while any factory is busy, leaving every timer and the installed engine as they were, and exits 0. Only repositories whose units change are drained, and only while idle. - Bounded drains: the one-hour wait is gone; an install may keep timers drained for at most 120 seconds, and timers return to their prior state on every exit path.
district metricsis no longer blocked by a waiting apply. - Install state:
district install-state --jsonreports install, engine, timer, hold, and last-apply state, including deferred work with its reason and since time.
Why: one long pass in one repository was switching off every factory's timer for up to an hour, several times a day.
- Defer instead of drain:
-
Source milestone
Install and timer claims share one timestamped local record.
district install-state --jsonreports schema-versioned local install, engine, timer, hold, and last-apply state; release lookup failures stayunknown.- Every apply atomically rewrites the record, including failed runs, and identifies timers it disabled or re-enabled.
- Agents and weekly fleet reports read this record and quote its
observed_atbefore stating install or timer state.
-
Release · v0.1.3
Factories can name the host they run on.
- Hosts registry: define remote machines under
[hosts.NAME](ssh,platform, optionalroot) and assign a factory withhost = "NAME"ordistrict add --host NAME. The controller uses this model to route Factory commands, config writes, and service operations over SSH. - Factory follows a CI-green ref: with
[defaults].factory_refset, each hourlydistrict applyinstalls a new Factory commit only after all of its GitHub checks pass.latest-oddselects the highest odd-patch semver tag; explicit tags take precedence over branches with the same name. - Safer apply: after reconciling,
district applyrunsgh --versionandfactory --versionunder each unit's PATH and fails naming the unit and binary if either is broken. - Narrower status:
district status --slug OWNER/REPOand--unhealthylimit output, and an invalidghlogin is reported once as a fleet-level failure. - Package cooldown that holds: the uv minimum package age is written into units as a relative ISO 8601 duration (for example
PT24H), so dashboards no longer restart hourly and systemd cannot split the value.
Why: one controller should eventually manage factories on several machines; the registry has to know where each factory lives before District can run it there.
Release v0.1.3 · Hosts #104 · factory_ref #85 · Multi-machine fleet #96
- Hosts registry: define remote machines under
-
Merged
An on-demand fleet review joins the command line.
district reportprints one read-only Markdown report from a bounded, non-atomic observation round and existing metric caches. It retains source ages, lists every registered repository and coverage gap, discloses actual producer windows and bounded GitHub queries, labels partial counts, and pools rates only when numerators, denominators, and windows are compatible.Boundary: this is an operator-requested snapshot, not a scheduled report, provider-written narrative, new collector, automatic publication, or claim of autonomous delivery.
-
Merged
District can update itself without updating the fleet.
district updatepins an official commit with successful CI, prepares it before downtime, preserves the dashboard bind and active District timers, and verifies the replacement collector. Query-only planning, offline rollback, and a retained recovery helper cover both normal upgrades and interrupted replacements.- Separately, a shared Factory engine reinstall now preserves the optional
[defaults].factory_extrasselected in the host registry instead of silently returning to a bare install.
Why: District self-update must not also update Factory or rewrite units; an explicit Factory reinstall must retain the operator's selected extras.
District update and recovery · Factory extras preservation cc66f1b
-
Merged · implementation
The graphical Overview renders observed fleet activity.
Stable, equally weighted diagrams show concurrent stage occupancy, capacity, freshness, findings, resources, and bounded recent activity. Fresh confirmed active stages may pulse; distinct observed transitions and completions animate once, with watch, pause, hidden-tab, reduced-motion, keyboard, and narrow-screen safeguards.
Still gated: merge is not human acceptance or cutover. A real fresh-active pulse, real resource/capacity waits, and real capped/unexpected-stop observations remain uncaptured or fixture-only; the operator's combined Overview/Flows visual acceptance is pending.
D04 · #27 · Source milestone 7e17b14 · Evidence and remaining exit gap
-
Merged
The scoped console lands; telemetry and upgrades get tighter.
- Overview / Flows / Brief navigation over real cached state, with factory scope, honest loading and expired-selection messages, and Back / scroll / focus preservation.
- CLI status now collects the same runtime evidence as the dashboard. Record-scoped diagnostics preserve partial observations without flattening unrelated current evidence.
- Shared-engine upgrades preflight every managed Factory service and defer with timers untouched while any pass is busy; an idle upgrade restores each prior timer state on every exit. Full-snapshot collection has its own bounded deadline.
Why: agreement between surfaces and safe maintenance matter more than adding another visualization.
Console #35 · Telemetry #38 · Upgrade safety #39 · Record quality #41
-
Merged
One classification, one collector, an explicit trust boundary.
- Operating state, execution state, observation quality, and findings replace the old mixed health verdict.
- Independent runtime/full refresh, bounded collection work, and sanitized cache-only browser reads become the common console data source.
- LAN viewing becomes read-only; host mutations fail closed outside trusted local requests.
- Host doctor, CI-derived gate proposals, and locked hourly reconciliation join the everyday workflow.
Why: more viewers should not create more collection work, and remote visibility should not grant remote control.
Classification #33 · Collector #34 · LAN boundary #32 · Doctor #16 · Onboarding #18 · Reconciliation #19
-
Design approved
From an architecture map to an operations console.
Approved the Overview / Flows / Brief direction, a shared evidence model, and dependency-gated implementation tickets. Atlas stays available until the new console passes its implementation and human acceptance checkpoints.
Why: repository size is not operational importance. The operating screen should answer whether work is flowing and what the operator can actually act on.
-
September 3–4, 2026Initial implementation
A district around the factories.
Introduced the host registry, onboarding and adoption, shared defaults, port allocation, reconciliation, upgrades, failure caps, and fleet status. Added cached repository metrics, the Atlas, local management, dashboard installation, and a reusable agent skill.
Why: centralize what every factory needs without taking ownership of its committed configuration or project decisions.
Make the machinery readable. Then make it the home screen.
Shared state, collection, the LAN boundary, the scoped shell, and D04's graphical Overview implementation are merged. As of September 18, 2026, the current held console milestone is D05 Flows, followed by D06 Brief and the acceptance-gated management/cutover sequence — not a release-date promise.
Graphical Overview
Stable factory positions, concurrent stage occupancy, capacity, source freshness, bounded activity, and evidence-backed motion are implemented. Real fresh-active pulse, resource/capacity-wait, and capped/stopped observations are still incomplete or fixture-only; combined operator visual acceptance remains pending.
Flows & Brief
Investigate concurrent executions, waits, and review loops through one reusable evidence panel. Then read a deterministic Brief of findings, changes, recoveries, and maintenance from that same snapshot.
Management & cutover
Bring existing management into explicit, safe operator workflows. Make the console the default only after dependency checks, human visual approval, desktop/LAN acceptance, and a retrievable prototype archive.
Merged is not accepted or cut over. D04 is implemented in source, but its remaining live-state evidence and the operator's combined Overview/Flows visual checkpoint still apply. D05 Flows #28, D06 Brief #29, management #30, and cutover #31 remain open and held. Atlas remains the default; successful CI alone does not authorize console cutover.
Also on the horizon — open backlog, not part of the console release promise
- Engine control: ref-based upgrades and rollback guidance #5, plus per-factory engine pins #6.
- Reviewable drift: print patches for committed-file drift #8 rather than silently rewriting repo-owned files.
- Host visibility: worker sandbox status #12 and GPU platform/configuration mismatch warnings #36.
- Notifications: status-change hooks #4 and a notification-to-pipeline bridge #37.
Follow the live issue tracker for current status, dependencies, and discussion. Scope or order may change as real operation provides evidence.
Python 3.11+, one dependency, a stdlib HTTP server.
For a Linux host with user systemd, Factory, git, and an authenticated gh CLI. Runtime execution detail requires a Factory build supporting dashboard --runtime-json.
$ npx skills add mikeroysoft/district $ uv tool install git+https://github.com/mikeroySoft/district $ district doctor # check this host before onboarding $ district add ~/dev/owner/repo # or a GitHub URL; adopts an existing .factory.toml $ district apply # reconcile units, labels, doctor, caps, policy $ district dashboard --install # dashboard + hourly metrics and apply timers $ district status $ district report # on-demand read-only Markdown review on stdout $ district update --dry-run # exact SHA, CI eligibility, service plan; no mutation $ district update --to v0.1.8 --yes # existing hosts: move to the latest release
The host config file at ~/.config/factory/config.toml is the registry. No second store. A repo is managed iff it has a [repo."owner/name"] table with a path.
Factories are local unless their repo table names a host defined under [hosts.NAME] (ssh, platform, optional root); local is reserved for this machine. The single controller keeps the registry and operation lock, reaches remote hosts through BatchMode SSH with a bounded connection attempt, and writes each host's filtered Factory config there. Status, report, health, and Atlas retain every factory, label it by host, and show an unreachable host as unknown/unreachable with its last-seen time while other hosts continue.
Optional Factory features survive each per-host engine reinstall when selected in the registry, for example:[defaults]
factory_extras = ["atlas"]
Omit the setting or use an empty array to keep installing bare Factory; district apply --upgrade invokes uv on each selected target host.
Bare district apply --upgrade selects the latest published stable Factory release on factory_repo, excluding drafts and prereleases regardless of factory_ref. Use factory_ref = "latest-release" for hourly stable-release reconciliation, or latest-odd for the highest odd-patch tag including prereleases. Configured branches require factory_track_branch = true; --upgrade main explicitly opts into a branch for one invocation. Tags must themselves be CI-green; opted-in branches follow their newest green commit. Installed immutable SHAs are recorded under [defaults.engine] locally and [hosts.NAME.engine] remotely. Without factory_ref, ordinary apply retains the installed engine. Status reports every registered host's release drift, including hosts without assigned repos, in text and the JSON engines map.
District self-update supports only a non-editable uv install from the official repository. It prepares the target before downtime, runs replacement and recovery from a retained stdlib helper outside the managed environment, and keeps the prior successful installation for district update --rollback. Metadata lives under ${XDG_STATE_HOME:-~/.local/state}/district/update, never in Factory's registry. A source checkout can bootstrap the installed tool with uv run python -m district update --to <eligible-sha> --yes.