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
{{ message }}
Repository navigation
doctor: detect already-tracked .charter/telemetry and name the untrack fix #306
PR #304 added telemetry/ to the generated .charter/.gitignore, so newly bootstrapped repos no longer stage .charter/telemetry/events.ndjson. It also documents a one-time git rm -r --cached .charter/telemetry for repos that already committed it.
That documentation only helps people who go looking. A gitignore entry never untracks an already-tracked file, so any repo bootstrapped before #304 keeps staging every new telemetry line on every git add -A — silently, and exactly for the users who hit the original bug.
Proposal
Have charter doctor detect a tracked telemetry file and name the fix:
check whether .charter/telemetry/ (or the path built in telemetry.ts:52) appears in git ls-files
if it does, warn with the exact remedy: git rm -r --cached .charter/telemetry
mention the file stays on disk, so charter telemetry report keeps working
This is the class of problem doctor already exists to catch — repo state that drifted from what the current generator would produce.
Identified during constellation-loop review of PR #304; deliberately not built there to keep that bugfix scoped.
Activity
fix(doctor): detect tracked .charter/telemetry and name the untrack f…