mirror of
https://github.com/bitbaum/dotfiles.git
synced 2026-12-03 19:26:59 +01:00
CLAUDE.md called the PyQt beacon and dashboard "the core product". Neither file has existed for months: the dashboard was deleted in9717cf2("kill dashboard") and claude-popup.py was renamed in8fa7ea7. Every session opening this repo was being briefed on a product that is gone, and told to test it with a command that cannot run. What was actually left behind pointed at ~/dev/cockpit, a directory that stopped existing when that repo became fleetcrown: - beacon.py exec'd ~/dev/cockpit/scripts/beacon.py -> deleted - lib.sh sourced ~/dev/cockpit/scripts/agent-hook-lib.sh -> deleted - notification.sh exec'd a fleetcrown-beacon bridge that is also gone, so the wired Notification hook failed every pause -> no-op, matching stop.sh, which has been a documented no-op since 2026-06-11 .bashrc carried the same rot, plus a duplicate-definition bug: claude() and codex() were each defined twice, ~130 lines apart, so the first copy of each never ran. Removed the dead copies, cockpit() (cd into the missing dir), and the zellij-tab project detection — _agent_resolve_project_dir mapped the focused tab name through claude-projects.conf and silently cd'd there, which the global standards already declare retired. It was provably dead: tabs read "Tab #9" and match nothing, and 5 of the conf's 22 entries pointed at directories that no longer exist. Verified with --norc that the three removed functions are gone and every live one still resolves. The close_session prompt was the last consumer of that mapping, and the reason a file literally named "Tab #1" is sitting in ~/.claude/sessions. It now derives the project from the git repo root, so worktrees resolve to their repo instead of the worktree name. Gitignored fleetcrown-*.sh: Fleet Runner generates and rewrites them, so they are FleetCrown's output, not this repo's source. CLAUDE.md and README.md now say what is true — this is the environment plus the fleet's central audits, and agent dispatch belongs to FleetCrown. Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
58 lines
984 B
Bash
Executable File
58 lines
984 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
DOTFILES="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
link() {
|
|
local src="$DOTFILES/$1"
|
|
local dst="$HOME/$1"
|
|
|
|
mkdir -p "$(dirname "$dst")"
|
|
|
|
if [ -L "$dst" ] && [ "$(readlink "$dst")" = "$src" ]; then
|
|
echo " ok $dst"
|
|
return
|
|
fi
|
|
|
|
if [ -e "$dst" ] && [ ! -L "$dst" ]; then
|
|
mv "$dst" "$dst.bak"
|
|
echo " bak $dst → $dst.bak"
|
|
fi
|
|
|
|
ln -sf "$src" "$dst"
|
|
echo " ln $dst → $src"
|
|
}
|
|
|
|
echo "Installing dotfiles..."
|
|
|
|
# Claude Code
|
|
link .claude/CLAUDE.md
|
|
link .claude/settings.json
|
|
link .claude/hooks
|
|
link .claude/skills/fix-types
|
|
link .claude/skills/write-tests
|
|
link .claude/skills/fix-lint
|
|
|
|
# Git
|
|
link .config/git/hooks/pre-commit
|
|
link .config/git/hooks/pre-push
|
|
link .config/git/ignore
|
|
|
|
# Shell
|
|
link .bashrc
|
|
|
|
# Terminal
|
|
link .config/kitty/kitty.conf
|
|
link .config/starship.toml
|
|
link .config/zellij/config.kdl
|
|
|
|
link .config/claude-prompts-meta.json
|
|
|
|
# Editor
|
|
link .editorconfig
|
|
|
|
# SSH config (not keys)
|
|
link .ssh/config
|
|
|
|
echo "Done."
|