Title: Migration M2: one declaration for the fleet three (laptop-agent, secrets-broker, queue-broker) · Issue #5769 · developing-today/code · GitHub
Open Graph Title: Migration M2: one declaration for the fleet three (laptop-agent, secrets-broker, queue-broker) · Issue #5769 · developing-today/code
X Title: Migration M2: one declaration for the fleet three (laptop-agent, secrets-broker, queue-broker) · Issue #5769 · developing-today/code
Description: Migration M2 of the deployment-architecture epic (design: PR #5764 §7). Depends on the deploy tool v1. The fleet's three laptop daemons have three competing declarations: darwin-nix homeManagerModules.fleet-brokers (services.fleet-broker...
Open Graph Description: Migration M2 of the deployment-architecture epic (design: PR #5764 §7). Depends on the deploy tool v1. The fleet's three laptop daemons have three competing declarations: darwin-nix homeManagerModu...
X Description: Migration M2 of the deployment-architecture epic (design: PR #5764 §7). Depends on the deploy tool v1. The fleet's three laptop daemons have three competing declarations: darwin-nix homeManager...
Opengraph URL: https://github.com/developing-today/code/issues/5769
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Migration M2: one declaration for the fleet three (laptop-agent, secrets-broker, queue-broker)","articleBody":"Migration M2 of the deployment-architecture epic (design: PR #5764 §7). Depends on the deploy tool v1.\n\nThe fleet's three laptop daemons have **three competing declarations**:\n1. darwin-nix `homeManagerModules.fleet-brokers` (`services.fleet-brokers.enable` → laptop-agent + secrets-broker + queue-broker) — enabled by **no** machine config; dead code.\n2. Code flake `home/common/default.nix` lines 876/889 — raw `systemd.user.services` running `fleet serve secrets-broker` / `fleet serve queue-broker` (this is what actually runs the brokers).\n3. A hand-written `~/.config/systemd/user/laptop-agent.service` running the Python daemon from `~/laptop-agent/` — while darwin-nix also carries `pkgs/laptop-agent` (PR #1459).\n\nWork:\n- Land ONE services-layer definition per daemon in the code flake (the fleet packages already live there: `pkgs/fleet`), rendering to the laptop systemd class.\n- Cut over brokers first (health surfaces + fleet clients verify), laptop-agent last (widest client surface — the laptop-ssh shim delegates to it).\n- Archive (don't delete) the superseded unit files and the darwin-nix module until M2 closes; then remove the dead darwin-nix module or re-point it at the services-layer definition.\n\nAcceptance per daemon: health OK on the new generation; one real client call end-to-end (a `fleet secrets get` by name; a queue enqueue/claim round-trip; an agent exec batch) matching old-path behavior; `deploy \u003cdaemon> rollback` works. On close, this completes code#5343 phase 3 in corrected form (the agent declared as a *service*, not a switch passenger) — note it there.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-05T01:36:20Z","url":"https://github.com/developing-today/code/issues/5769"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ccb873dc-ba25-3131-5472-2de4885c3121 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8526:27D516:909680:BB5C16:6B063007 |
| html-safe-nonce | 8c03a48939b6de4cf43dac34264f5435260943461a58c89c16d1e8b5f8312227 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTI2OjI3RDUxNjo5MDk2ODA6QkI1QzE2OjZCMDYzMDA3IiwidmlzaXRvcl9pZCI6IjEyNTY2ODU5MTkxMTM5ODE5NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52dcb6c5199d6491762f5541e9bd2b1d3f86c09f1f872490cd5b03ec255ee717 |
| hovercard-subject-tag | issue:6214891336 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5769/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d06bc7bad1a74490cd05889fe23ffedbc5db1a10725f967c5bdf53f22b8bb17/developing-today/code/issues/5769 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d06bc7bad1a74490cd05889fe23ffedbc5db1a10725f967c5bdf53f22b8bb17/developing-today/code/issues/5769 |
| og:image:alt | Migration M2 of the deployment-architecture epic (design: PR #5764 §7). Depends on the deploy tool v1. The fleet's three laptop daemons have three competing declarations: darwin-nix homeManagerModu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 494ea0bb1e0feef734a83e2628697647755e8864 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width