chore(homebrew): default role に gastown を宣言する - #77
Merged
Conversation
母艦 Mac (default role) で Gas Town を検証できるようにするため、CLI の 導入だけを Homebrew 宣言に追加する。Town/Rig の作成・daemon 常駐・既存 beads データの移行は宣言の対象外で、実機での手動操作として切り離す。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的
母艦 Mac (
defaultrole) で Gas Town を検証できる状態にするため、gastownCLI を Homebrew 宣言 (nix/modules/darwin/homebrew.nix) のdefaultOnlyBrewsに追加する。gastownは公式homebrew-coreの formula (v1.1.0、Multi-agent workspace manager) なので tap の追加は不要。バイナリ名はgt(bin.install_symlink "gastown" => "gt")。formula の依存にbeadsが入るが、CLI のbeadsはcoreBrewsで既に宣言済みのため追加の宣言は要らない。変更は 1 ファイル 1 行のみ。
実施していないこと
今回は「宣言的に導入可能にする」ところまでで、以下はすべて対象外:
beads宣言の変更dolt(setup/languages.zsh、beads が要求する 2.2.0 固定) の変更setup/migrate.zshの実装変更実行済みの検証
git diff --check origin/main...HEADUSER=ciuser nix --extra-experimental-features "nix-command flakes" flake check --impureall checks passed!USER=ciuser nix --extra-experimental-features "nix-command flakes" build .#darwinConfigurations.default.system --no-link --impurebrew "gastown"は 1 回のみ。宣言順どおりleoafarias/fvm/fvmとtailscaleの間。brew "beads"は据え置き、doltの行なしbats nix/tests setup/testsBrewfile はビルド済み system closure から辿った実ファイルを確認している。
実機適用について (未実施)
このブランチでは実機適用を行っていない。
gastownバイナリはまだ入っていない。適用は人間による merge 後に、primary チェックアウトから以下を実行する必要がある:
sudo zsh ${HOME}/.dotfiles/setup/migrate.zsh --applysetup/migrate.zshが実機適用の唯一のエントリポイントで、Phase 2 の cutover がdarwin-rebuild switchを実行する。今回の変更は cutover の desired-input fingerprint を変える (ffb3a90a5ca3…→0670bb8cc707…) ため、再実行判定に乗ることを読み取り専用で確認済み。加えて現行の~/.dotfiles-migrate/manifest.logは cutover に fingerprint 記録が無い legacy 形式で、いずれにせよ次回--applyで cutover は再実行される。merge はこの PR では行わない。