Skip to content

History / Lesson Gitignore Anchor Propagation

Revisions

  • lint: retire ALWAYS_FILES-era claims from contract pages (manifest consolidation PR #60, doc fixes PR #67)

    @psaboia psaboia committed Jul 1, 2026
  • Lesson-Gitignore-Anchor-Propagation — sync-time footgun from PR #39 `.gitignore` leading-slash entries anchor to the repo root of whichever clone the file lives in. Shipping a template-local block through `ALWAYS_FILES` moved the anchor into derived repos, where it silently shadowed their real paths. Mostly latent (tracked files unaffected) but bites: projects that legitimately track `.claude/hooks/`, paths that are untracked at sync time, and contributors confused by `git check-ignore` reporting their own `CLAUDE.md` as ignored. Root cause classified as "scope-sensitive content shipped through a scope-preserving channel" — sister to Lesson-Parallel-File-Drift (same content in two files) but distinct (same file in two scopes). Pages touched: - Lesson-Gitignore-Anchor-Propagation.md (new) - Home_llm-wiki-memory-template.md (Lessons learned entry) - index_llm-wiki-memory-template.md (Lessons learned entry) - Sync-Flow.md (See also back-ref) - Lesson-Parallel-File-Drift.md (See also back-ref) - Lesson-Template-Contribution-Discipline.md (See also back-ref)

    @chrissweet chrissweet committed Jun 18, 2026