chore: retire the dead agent runtime, and describe what this repo is now - #52
Merged
Merged
Conversation
CLAUDE.md called the PyQt beacon and dashboard "the core product". Neither file has existed for months: the dashboard was deleted in 9717cf2 ("kill dashboard") and claude-popup.py was renamed in 8fa7ea7. 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. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna
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.
You asked what else doesn't belong here. The biggest thing was the part CLAUDE.md called "the core product" — it migrated to FleetCrown months ago, and what stayed behind is broken stubs.
Verified dead, now removed
claude-popup.py,claude-dashboard.py— documented as the core product9717cf2("kill dashboard"), popup renamed in8fa7ea7. CLAUDE.md's "always run both" test command could not run.beacon.py~/dev/cockpit/scripts/beacon.py—~/dev/cockpithas not existed since that repo becamefleetcrown.claude/hooks/lib.sh~/dev/cockpit/scripts/agent-hook-lib.sh— same missing dirnotification.shfleetcrown-beaconbridge that is gone. Now a documented no-op, matchingstop.sh(no-op since 2026-06-11).claude()/codex()in.bashrccockpit()cd ~/dev/cockpit→ missing dir_agent_cd_from_tab_if_homeran on everyclaudeand silentlycd'd based on tab name. The global standards already declare it retired. Provably dead: real tab names areTab #9/Tab #10, and 5 ofclaude-projects.conf's 22 entries point at deleted dirs (3x Cockpit, Fitfoot, Warbuffet).Also fixed
close_sessionprompt was the last consumer of that tab mapping — and the reason a file namedTab #1is sitting in~/.claude/sessions/. It now derives the project from the git repo root, so worktrees resolve to their repo.fleetcrown-*.shgitignored: Fleet Runner generates and rewrites them, so they are FleetCrown's output, not this repo's source.README.mdwas generic boilerplate ("Shell configuration (Zsh/Bash), Editor settings") pointing atgithub.com/g-but/dotfiles.git— wrong owner, three commits after renaming the owner tocatomean.Verification
bash --norc -iconfirmscockpit,_agent_resolve_project_dir,_agent_cd_from_tab_if_homeare gone andclaude,codex,_agent_pre_launch,_agent_post_launch,_claude_autoworktree_enterall still resolve; the survivingclaude()is the autoworktree one.bash -nclean on every hook,install.sh,.bashrc.scripts/ci/test-shared-inventory.sh→ 7 passed, 0 failed.claude-prompts.jsonstill valid, 14 prompts.Left alone deliberately — flagging, not touching
gemini()references~/dev/cockpit/scripts/agent-hook-bridge.sh(3 call sites), so its autopilot loop cannot work. Removing it vs. repointing it at Fleet Runner is a behaviour decision, not cleanup._agent_pre_launchstill writes three/tmptab files with names that are now meaningless. Harmless, and it pairs with live inhibitor cleanup in_agent_post_launch, so I left the pair intact.~/.claude/sessions/is a junk drawer: 12.json(the live PID registry, the real SSOT), 16.md, 10.txt(md5-of-cwd, written by theclaude()this PR deletes), 5.roadmap.md, 3.blockers, 2.stale-dup-20260706, plus.keyfiles andTab #1. Four competing schemes in one directory — worth one deliberate pass..config/claude-prompts.jsonhas no consumer in this repo (install.shlinks onlyclaude-prompts-meta.json). It is FleetCrown's data living here.🤖 Generated with Claude Code
https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna