You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Small leftovers from the #40 final review (standards and correctness axes). Each is small enough for one PR.
What devflow users see
Cursor users who paste the template see a raw {{clone}}. Only the instructions-file install fills in the placeholder (lib/sync.py), but the sync's Cursor note says to paste global/claude-md-section.md as it is. Either print the rendered section or point to a rendered copy.
Repo
.claude/CLAUDE.md isn't git-ignored. The per-tool rules in .gitignore are root-anchored (/CLAUDE.md, /CLAUDE.local.md, /GEMINI.md), but AGENTS.md itself names .claude/CLAUDE.md as a file that stops Claude Code from reading AGENTS.md. Add it.
lib/sync.py cleanups
apply_all decides indentation by checking whether a status starts with WARN. Return the formatted line, or a flag, from sync_git_ignore instead.
The "add these lines yourself: …" text is built in two places in sync_git_ignore. Build it once.
clone_path() only returns tilde(ROOT). Inline it, or keep it only if the name earns its place.
git_ignore_target uses r.stdout.strip(), which also strips leading or trailing spaces that belong to a path. Use .rstrip("\n").
One line in git_ignore_target is over 100 characters; use raise ValueError(...) from None inside the except blocks.
Activity