Brokers, remote builds and the release train
D. Secrets broker and credential distribution
At the November 23 review, #13081 was open and Xaltha owned the active correction. PR #13125 remained unmerged. The implicated heal script repeatedly restarted a cold broker before its first refresh completed. Xaltha’s later two successful heal invocations used an already-warm broker. The recorded sandbox change still permits restarting a refresh after its progress counter stalls. Its propagation and a cold activation need separate evidence. Incident and ownership · PR #13125
The inspected broker serializes refreshes, bounds each provider child to 60 seconds, and performs a list followed by eight-way parallel gets. Its default full-refresh interval is 900 seconds. Its health handler derives serving readiness from a previous successful refresh. At 221 entries a full sweep therefore models 222 child starts, or 2,211 at 2,210 entries, excluding retries and read-through misses. These are subprocess counts. Provider request counts and elapsed times require separate measurement. Broker source
Proposed refresh experiment. Use synthetic projects of those two sizes and revisions changing 0%, 1% and 100% of entries. Verify which fields a project-scoped list returns in the installed CLI. If it supplies complete values and revisions, parse once in memory. Otherwise reuse unchanged entries by immutable item ID and revision, and fetch changed entries only. Instrument child starts, provider calls, peak memory, throttles and p95 cold/warm duration. Partial or unauthorized enumeration must never implicitly delete the cache. An authoritative scope revocation must prevent serving its entries. Tag writes by refresh epoch so a late response cannot reinstate an older value. Choose freshness by the consuming service’s revocation requirement. Provider CLI contract
Proposed distribution contract. A manifest binds a provider project and immutable item ID to a specific service principal, audience, seat capability, destination and file mode. Existing daemon/client token names that look similar cannot substitute for each other. Install atomically with the intended owner and mode 0600. Require an encrypted private local copy for approved credentials and verify it with revision metadata and an isolated restore canary. Report only the outcome. Privileged issuance and deployment require current authorization. Designated continuity credentials may serve a prior value only within an explicit audience, expiry and maximum stale age. Denial or known revocation ends every fallback; a transport error is a separate outcome. Enrolment precedent · Scoping work
E. Channel recovery and broker generations
Proposed health reports expose liveness, readiness, observation time, dependency status, serving generation and operation progress. A dependency failure should never fan out into a series of downstream restarts.
| Leg | Discriminating observation | Recovery owner |
|---|---|---|
| Tailnet | Local daemon available; expected peer reachable | Host service manager handles absent daemon. A peer outage has its own disposition. |
| Relay | Listener accepts and completes its upstream handshake | Relay supervisor reconnects once transport is ready. |
| Session broker | Expected protocol version and framed health response | Broker supervisor repairs a failed listener or handshake. |
| Secrets broker | First successful refresh, current activity and scoped canary | Refresh worker times out provider calls and retries. While refreshing:true, heal reports slowness and leaves the process running. |
| GitHub | Authenticated read succeeds for the intended repository | Credential owner handles denial; rate limits get bounded backoff. |
Cutover contract. Size each gate from the slowest supported legitimate cold operation including allowed retries and probe delay. A child timeout bounds one fetch, not the entire inventory. Deploy through the registered per-service generation path. Proposed hardening serializes deploy and heal per service, journals the candidate and prior closure before switching, then records the serving executable digest after readiness. Reconcile interrupted switches at both journal boundaries. A test with two generations on the same port must demonstrate that rollback restores the former listener’s executable identity, the pointer and journal, and a successful authenticated canary. Generation machinery
Cold-recovery oracle. In a disposable stack, pause the second synthetic fetch across two normal heal decisions. The broker PID must survive both, finish the sweep and serve the delayed entry. Test two concurrent healers and verify at most one recovery. Place an executable with an incompatible loader before a working binary; the version/protocol test-exec must select the latter. Terminate all five disposable legs, restore them from their registered inputs, then invoke recovery again and require zero restarts. The production cutover needs the measured window and an available rollback generation. Cold-start incident
F. Remote verification and caching
The executor image, run environment and workload have separate acceptance records. Upstream #105 added root-compatible runtime preparation. Publication attempt 45193636584 built the images and passed all five warm exports; its smoke job, step 8 failed the offline root warmed-shell check at 14:50:01 UTC. The preceding vscode step owned the flake tree. #106 restored root ownership before that check. The fix-branch publication passed. A subsequent main publication, run 45228189518 at merge SHA 95d6c5da7c9e, completed successfully at 17:58:39 UTC on November 23. All eight jobs passed, including the five warm exports, full build and smoke. At 18:05:33 UTC a Linux org executor job reported Docker pull digest sha256:c8cd18402be2b3b5cb54e0275fde5903c847d3ed5373726560e30fedb38f96a5. This matched the digest observed at 17:56:11 UTC by the publication smoke job. The publisher log identifies that value as the manifest-list digest for both the mutable and revision-tagged full image. It also records a separate image manifest and attestation. Other consumers require their own pull receipt. #88 separately tracks the gated full build, whose build job, step 8 failed writing a registry layer blob because of insufficient token scope. Root smoke correction · Fix-branch publication · Main publication · Gated annotation
Proposed acceptance and drift checks. For each runner surface record the workflow, referenced action and prep script at immutable SHAs, declared platform and actual image digest. Report missing, pending propagation, or diverged. Run the cold and offline warmed shell with the workflow’s actual UID, HOME, effective Nix configuration, build-user model and required cargo/bun binaries. Preserve the workload’s named oracle separately. A job that mounts the host’s configuration cannot prove that a fresh NixOS host has the right accounts, systemd units or store layout. Use an isolated NixOS VM for those proofs and an authorized laptop activation only for machine-specific behavior. The #13159 evidence family retains its item-specific hold. Executor acceptance
For cached verification, bind the target checkout tree, task and oracle version, lockfile, toolchain, effective image, platform, flags and repository audience. Reauthorize artifact reads and verify their digests. Commands with external effects receive fresh execution. For R2, count eligible store paths, fulfilled paths by substituter, upload bytes, and wall minutes saved across comparable cold and warm cohorts. Track provider queueing separately. Treat each organization’s measured occupancy and reservations as part of one pool with per-org and nested macOS limits. A private job requires an authorized surface. Use included capacity only; a shared budget needs a bounded reservation or preallocated allowance to remain safe during a broker outage. Placement contract
G. Fork convergence and release identity
The original 102-target failure inventory records 100 missing-workflow-scope failures, one ruleset refusal and one merge conflict. The follow-up retained the latter two. The sync run at 95d6c5da7c9e succeeded; a later fork-local commit can legitimately put a fork ahead. Proposed verification records one target/upstream-SHA/attempt tuple per sync and checks upstream ancestry of the target head. Retry transient failures within plan limits. Permission or policy failures need the relevant owner; merge conflicts need a content-preserving merge. Roll up unresolved failures into one continuing source issue with per-fork dispositions. Original tally · Follow-up · Successful sync
The inspected upstream main tree contains 22 gitlinks. The upstream README roster and its distinction between membership and workflow grants were corrected in upstream PR #108, merged at 18:13 UTC on November 23. Record owner, purpose, consumer, visibility, update source and removal order in a membership manifest. Compare it against both the tree’s mode-160000 entries and .gitmodules; private members remain gitlink-only on public surfaces. Five members (nix, opencode, code, zettel and openchamber) have explicit warm-export receipts. All passed in gated run 45161352548, where the subsequent full build failed. Retain #35–39 as per-leg trackers and adjudicate each from its own job. Member tree · Per-job results
Decision reserved to Drew. #87 concerns an independent pull backstop for additional forks. The two existing App-backed mirrors and central upstream push already provide distinct routes. Keep present coverage unless a recovery-time objective requires independent pull. A single selected-fork pilot could measure recovery time, permission scope, ruleset compatibility and reversal cost. The closed #6645 had a different original installation scope. App decision · Prior scope
Proposed release train. Name the intended Fleet source and command-surface digest. Resolve the asset digest, pinned bootstrap pair, serving identity per registered service, and Pages build’s book surface independently. Report observed time and unknown per unreadable stage. Publish an immutable artifact once, update the pin and matching book changes, canary the registered service with a verified rollback target, and test cross-seat behavior. Unrelated main commits need not invalidate a Fleet artifact. A pin-health check should identify the affected dependency, intended revision and verification date; an old date warrants investigation rather than automatic advancement. Bootstrap rollout · Cross-seat receipt
Membership evidence at 22 gitlinks
Git anchoring, repo-health membership, Codespaces initialization and organization-wide discovery are independent properties. The adopted membership tiers live in upstream FLEET.md. Join those records to the immutable tree and .gitmodules before updating operator instructions. An access grant in a devcontainer declaration is a request; it cannot establish that the user’s effective token has it. Adopted tiers · Devcontainer · Source census
| Paths | Documented consumer or use |
|---|---|
code, nix, openchamber, opencode, zettel | Each is a named warm-export input. code contains the Fleet implementation; nix tracks darwin-nix. OpenChamber and OpenCode are separate forked consumers. zettel is the organization Zettel copy. |
dezren39-zettel, cairn | Separate personal Zettel pin and research corpus. Their FULL-lite membership does not combine them into one build. |
kaneo, nix-cache | PM board integration and the R2 cache service, respectively. Verify Kaneo’s immutable repository ID against migration records before editing its slug. The cache is consumed as a service. |
hatch, hatch-personal, hatch-drawer, hatch-personal-drawer | Hatch tools and configuration, conditional personal checkout, bulk overflow and an additional managed pin. Effective users of the personal drawer remain unverified. |
hardware-doc, zulip-archive | Explicit Codespaces checkouts. Additional runtime integration is unverified. |
org-readme, dezren39 | Organization and account profile repositories. |
cairn-private, openclaw-personal | Managed pins. No additional product-consumer claim follows from their names. |
muse-esp32-screen, opencode-auto-continue, opencode-muse | Display/browser twin, OpenCode continuation plugin and Muse provider plugin. A Fleet protocol consumer or effective plugin installation requires separate evidence. |
The pinned README still described twelve members. Its seven requested write grants also differed from the devcontainer’s eleven. Use a manifest-to-table comparison for membership and a separate declaration-to-permission comparison for Codespaces. Neither comparison authorizes changing the grants. Resolve the member’s actual identity and check consumers before removing a gitlink. Upstream README · Execution record · Migration record