Skip to content

🔧 引数なし install.sh で日次メンテナンス LaunchAgent を登録しないようにする - #7

Merged
u-ichi merged 2 commits into
mainfrom
u-ichi/stop-nonworking-feature
Oct 7, 2026
Merged

u-ichi merged 2 commits into
mainfrom
u-ichi/stop-nonworking-feature

Conversation

@u-ichi

@u-ichi u-ichi commented Oct 7, 2026

Copy link
Copy Markdown
Owner

目的

dotfiles 日次メンテナンス (com.u-kt.dotfiles-daily-maintenance) が機能していないため停止する。
LaunchAgent を launchctl bootout で外しても、引数なしの ./install.sh が install_dotfiles_daily_maintenance で再登録してしまうため、自動登録をやめる。

変更

  • install.sh: 引数なし実行から install_dotfiles_daily_maintenance の呼び出しを外す。./install.sh maintenance は従来どおり登録する
  • README.md / docs/architecture.md: 停止中であることと、登録は maintenance MODE だけで行うことを記載

失敗の原因 (2026-10-07 06:00 の run)

launchd 起動時の PATH に /opt/homebrew/bin が無く、次の2つが失敗していた。

  • install.log: 「エラー: Homebrew がインストールされていません」
  • codex-summary.stderr.log: codex: command not found

再開する場合は plist の EnvironmentVariables で PATH を設定する修正が必要(未検証)。

検査

  • scripts/test-maintenance.sh: 3件すべて ok
  • ./lint.sh: tmux isolated tests の ERROR: sidebar version was not recorded (expected: 75) が1件失敗。変更前の HEAD (115257d) でも同じ失敗が再現する既存の問題で、本変更とは無関係
  • test の追加・変更なし

残作業

  • 現在 load 済みの LaunchAgent の停止 (launchctl bootout gui/$(id -u)/com.u-kt.dotfiles-daily-maintenance) は、agent 環境で launchctl がブロックされるため利用者が実行する

🤖 Generated with Claude Code

u-ichi and others added 2 commits October 7, 2026 12:35
launchd 起動時に PATH へ /opt/homebrew/bin が入らず、install と Codex 要約が毎回失敗しているため、
日次メンテナンスを停止する。登録は ./install.sh maintenance を明示した時だけ行う。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@u-ichi
u-ichi merged commit 286da9c into main Oct 7, 2026
1 check passed
@u-ichi
u-ichi deleted the u-ichi/stop-nonworking-feature branch October 7, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant