summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorLines
2026-05-17Centralize repo and hook management: add repos.txt and install.shyyamashita-16/+56
All bare repo creation is now driven by repos.txt in this repo. install.sh replaces install-hooks.sh and handles both repo creation and hook deployment. Other repos' server-setup.sh no longer manage bare repos or hooks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Remove inline hook from server-setup.sh; hooks managed via install-hooks.shyyamashita-14/+3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Manage all server-side git hooks in this repositoryyyamashita-0/+36
Add server-hooks/<repo>/post-receive for all repos and scripts/install-hooks.sh to deploy them manually on the server. Hooks are not auto-installed on git push for security. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17Add Claude Code session management via post-receive hookyyamashita-0/+70
Root's post-receive hook now calls scripts/sync-claude-services.sh to manage yyamashita's systemd user services on git push. Sessions are configured in claude-code-sessions.txt (user:repo format). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16Fix claude daemon: non-root user and PTY allocationyyamashita-2/+13
root 実行時のセキュリティ制限と TTY なし問題を修正。 claude-agent ユーザーを作成し、script コマンドで疑似 TTY を確保する。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16Fix claude remote-control command flag syntaxyyamashita-1/+1
--remote-control はサブコマンドではなくオプションフラグのため修正。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16Add Claude Code daemon setup for remote sessions per repoyyamashita-0/+52
systemd サービス (claude-infra/tokyo/whoisband) を生成・有効化するセットアップスクリプトを追加。 claude remote-control で各リポジトリの常駐セッションを起動し、claude.ai/code から接続できる。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08Add server-setup.sh: bare repo, web network, Caddy post-receive hookyyamashita-0/+39