Skip to content

chore(gitignore): .claude/observability/ is ignored only via .git/info/exclude, which does not travel #64

Description

@kyle-sexton

Summary

.claude/observability/ exists on disk holding telemetry files (skill-usage.jsonl, skill-usage.jsonl.lock). It does not appear in git status because it is ignored — but the ignore rule lives in .git/info/exclude:

.git/info/exclude:7:/.claude/observability/

.git/info/exclude is a per-clone, untracked file. It is not committed and does not travel to any other checkout. On a fresh clone — CI, another machine, another contributor — that directory would be untracked and unignored the moment the observability tooling writes to it, showing up as dirty working tree.

Suggested fix

Add a tracked rule to .gitignore, in the section that already covers Claude Code artifacts:

# Claude Code observability telemetry (per-checkout, written by the observability plugin)
.claude/observability/

.gitignore already carries the sibling rules for .claude/worktrees/ and .claude/settings.local.json, so this is consistent with how the file handles the rest of .claude/.

Worth confirming first

Whether the directory is meant to be transient at all — if any of it should be tracked, the right fix is different.

Scope

Trivial.

Provenance

Surfaced as a deferred item by an automated repository-wide simplification sweep (/code-tidying:batch-simplify repo docs). The sweeping agent correctly declined to add the rule on the grounds that adding new configuration is not a simplification; the .git/info/exclude mechanism was identified separately during review.

Activity

  1. added
    needs-triage
    on Aug 23, 2026
  2. added theissue type on Aug 23, 2026
  3. added 3 commits that reference this issue on Aug 23, 2026
    20ef4de
    e9d8343
    f680e86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions