Fresh-eyes hygiene: fix dangling git-templates refs, stale docs#3
Open
fielding wants to merge 1 commit into
Open
Fresh-eyes hygiene: fix dangling git-templates refs, stale docs#3fielding wants to merge 1 commit into
fielding wants to merge 1 commit into
Conversation
The .git-templates directory was removed from the git package (1e04c36, 67dbb97), but both gitconfigs still set init.templatedir to it, so every git init/clone warns "templates not found in ~/.git-templates". Drop the dangling setting and the matching stale .gitignore entry. Also sync the docs with what bootstrap.sh actually ships: the "pilot" agent referenced in a comment has no plist or name mapping, while mouse-tap and holdpeek exist as opt-in agents but were undocumented. Note the non-stow source directories in the README. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xan5eRiAXvcnAVvXHejdTz
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.
Fresh-eyes hygiene pass. Conservative fixes only — no live shell/config behavior changes beyond silencing a git warning.
Fixes
Dangling
init.templatedir—git/.gitconfig:42andgit/.gitconfig-add:51still pointed at~/.git-templates, removed from the repo back in 1e04c36 / 67dbb97. Everygit init/git clonecurrently printswarning: templates not found in ~/.git-templates(verified). Removed the setting from both files, plus the matching stale.gitignoreentry (git/.git-templates/hooks/*.sample). Note: the orphaned~/.git-templatessymlink in$HOMEstill exists on disk; astow --restow git(or manualrm) after merging clears it.Stale bootstrap.sh agent docs — the comment above
DEFAULT_AGENTSreferenced apilotagent that has no plist and noagent_label_formapping, whilemouse-tapandholdpeekare real opt-in agents that were undocumented. Fixed the comment and theAvailable agents:info line to matchagent_label_for+bootstrap/launchagents/.README accuracy — the
--agentsparagraph now lists all three opt-in agents, and a short note documents the non-stow directories (bootstrap/,docs/,scripts/,holdpeek/,mouseless/) that previously appeared in neither the Active nor Legacy tables.Verified
bash -n bootstrap.shpassesgit config -f <file> --list)op://1Password references, which are pointers, not credentials)Reported, not changed (uncertain / behavior-affecting)
git/.gitconfig-addis referenced nowhere in the repo — looks like a dead legacy variant of.gitconfig; candidate for deletion or a Legacy note.[secrets] providers = git secrets --aws-providerremains in.gitconfigthough the git-secrets hooks were removed — inert unless git-secrets is installed.tpmsubmodule (tmux/.tmux/plugins/tpm) is never initialized bybootstrap.sh; the deployed copy is a standalone clone, so a fresh machine gets no tmux plugins until tpm is installed manually. Worth a line in theshellphase if the fresh-machine claim should hold.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xan5eRiAXvcnAVvXHejdTz