chore: remove beads, dolt services and linear sync
Summary
Removes beads (bd), the Dolt services, and the beads<>Linear sync from the dotfiles. Draft: do not merge until the ordering below is satisfied.
Removed
- Flake input
beads(gastownhall/beads) and its lock entries, theinputs.beads.overlays.defaultoverlay, thebeads-unwrappedpostPatch overlay, and the dolt 2.6.0 override overlay - The
beadsanddolthome packages home-manager/services/dolt/in full: Dolt user service,start.sh,activate-system-service.sh(installed/etc/systemd/system/dolt.service), client environment (BEADS_/BD_/DOLT_* session vars),linear-sync.sh+ timer,linear-control-state.jq, andbeads-linear-complete.sh- kyber: the
beads-linear-complete-ssh-guardhome file and script - galactica: the
kyber-writer.agesecret (deleted while still encrypted, never decrypted), itssecrets.nixentry, thekyberssh block that usedid_ed25519_kyber_writer, and thecom.shunkakinoki.kyber-writer-keylaunchd daemon ssh-authorized-keys.nix: thegalacticaKyberWriterKeyentry. galactica's fleet key stays excluded from kyber, as before, so galactica now has no key on kyberbdhooks inconfig/codex/hooks.json(PreCompact/PostCompact) andconfig/cursor/hooks.json(preCompact)- The Makefile "Gas Town" targets (
gt-*);scripts/gt-remote-bootstrap.shthey called was already missing - Docs:
.beads/,BEADS.md,UPGRADE_GUIDE.md, the beads sections inAGENTS.md/README.md/host READMEs, and the beads_viewer entry in.local-binaries.txt - Specs/tests that only covered these:
spec/beads_*_spec.sh,spec/dolt_*_spec.sh,tests/kyber-writer-guard.nix,tests/fixtures/linear-control-state/, the dolt/beads overlay guards, and the beads/dolt/writer-key assertions intests/eval.nix. Shared specs now use neutral fixtures (HM_SESSION_PROBE,@example/stale-cli,owner/alpha,linear issue ...)
Data preservation (hard rule)
Kyber's Dolt is the cluster-replication standby for the GKE beads-dolt authority. It holds tracker data that has not been imported into Linear yet. This PR does not delete, move or wipe any Dolt data directory, database or snapshot. It adds no activation script, tmpfiles rule or rm step, and the removed modules contained none. Removing the service definition leaves ~/.beads/shared-server/dolt (and any other .beads/.dolt data) on disk. .gitignore keeps .beads/ and .dolt/ ignored so git clean/git add . in a checkout never touch host-local tracker data.
Merge ordering
- The beads<>Linear sync on kyber (
dolt-linear-synctimer) stays the live mirror until the monorepo's beads->Linear import has run--applyand--verifywith operator approval. - This PR stays draft and merges only after that import. The next home-manager switch on kyber is what stops the sync timer and user service.
- Deleting GKE
beads-doltis a separate step. It also waits for the import or for a Dolt dump.
Operator follow-ups (none done here)
- Revoke the galactica kyber-writer key
ssh-ed25519 ...AIAY5u/jbnetfuqmXFw51/fjUOe96eUt3SDLvaCdqSL14 galactica-kyber-writer-20261027wherever else it is trusted. On galactica, after merge, remove~/.ssh/id_ed25519_kyber_writerand any leftovercom.shunkakinoki.kyber-writer-keylaunchd plist - kyber:
/etc/systemd/system/dolt.servicewas installed by activation outside home-manager, so removing the module does not stop or disable it. Once the import (or a dump) is done, decide when tosystemctl disable --now dolt. Do that before a nix GC, because the unit points at a store path that GC could remove. Leave the data directory in place .env.examplelines 39/43/45 (Beads sync,bd linear sync,BEADS_LINEAR_SYNC_REPOS) are untouched: this agent's permissions deny reading that file. Remove them in a follow-up, along with the DopplerBEADS_LINEAR_SYNC_REPOSsecret- The
doltCLI is no longer installed. Usenix run nixpkgs#dolt -- dump ...for dumps
Verification
make nix-format: no changes to files in this PR (treefmt also reformattedscripts/package-patches.tsandspec/cliproxyapi_spec.sh; that drift is unrelated and not included)make nix-lint(statix + deadnix): exit 0. The remaining deadnix warnings are pre-existing in files this PR does not touchmake shell-inline-check: passnix flake check --system aarch64-darwin --impure --no-build: pass (all aarch64-darwin checks, darwin and home configurations evaluated)- x86_64-linux check drvPath evals pass:
eval-home-{beskar,kamino,kamino100,kamino2-identity,kamino4-t3-publish-only,kamino7,kamino8,andor,pod,ubuntu-x86_64,root-x86_64,runner-x86_64},eval-nixos-{matic,default,runner,viper},linux-rust-linker,lib-*,overlay-neovim-lua.eval-darwin-galacticapasses shellspec: 3271 examples, 41 failures, 1 warning, 9 skips. The same 41 examples fail on origin/maina65e41c0b5(identical list for activate_kyber, cliproxyapi_backup, cliproxyapi, coverage, herdr_worker_admission, kamino_activation, kyber_find, secure_dotenv, t3_browser_setup, t3_cli, t3_connect, t3code). The coverage failure is the same pre-existing gap (worktree-create.sh,kamino-tailnet-socks.sh). This PR adds no new failures- kyber config spot check (
homeConfigurations.kyber.config): no dolt/beads services, timers, activation entries, home files, session vars or packages remain
Unproven
eval-home-kyberfails onattribute 'IOReadBandwidthMax' missingin the openclaw-gateway assertion. It fails the same way on origin/main; the kyber assertions changed here come before that line- The full kyber
activationPackagewas not evaluated: it needs an x86_64-linux IFD and this darwin host has no remote builders - No host was built, switched or deployed. Runtime effects on kyber (unit removal, leftover system
dolt.service) are inferred from the module code
Remaining rg -i "beads|\bbd\b|dolt" hits
.gitignore:506:.beads/ # data preservation, intentional
.gitignore:507:.dolt/ # data preservation, intentional
.env.example:39,43,45 # unreadable by agent, follow-up above
bun.lock:1472 # sha512 substring "Bd", false positive
home-manager/programs/neovim/lua/config/keymaps.lua:51-52 # <leader>BD keymap, false positive
🤖 Generated with Claude Code
Summary by cubic
Removes beads (bd), the Dolt services, and the beads→Linear sync from the dotfiles, along with all related packages, overlays, hooks, agent SSH access, docs, specs, and tests.
Data preservation and rollout
- Local tracker data (
.beads/,.dolt/) stays on disk and ignored by git; nothing here deletes or wipes data. - This PR stays draft until the beads→Linear import has completed with operator approval; the next kyber home-manager switch is what stops the sync timer and user service.
- The kyber
dolt.servicewas installed outside home-manager, so it must be disabled manually before a nix GC; the galactica kyber-writer SSH key also needs revoking wherever else it is trusted. .env.exampleand the DopplerBEADS_LINEAR_SYNC_REPOSsecret still reference beads and need a follow-up.