Move the work of exclude_env_file (src/lib/envfile.sh) into a helper that adds a list of entries to .git/info/exclude: one comment line, a fresh line first, no entry that git check-ignore already reports, a check afterwards. exclude_env_file keeps its behavior and uses it. Add a function in src/lib/framework.sh that excludes /.claude, /.agents and /AGENTS.md, called from create_all (src/lib/apply.sh) after copy_templates, with its own label in PLAN_STEPS (src/lib/constants.sh) and a line in the dry-run plan (src/lib/plan.sh). It is skipped when is_framework_skipped and it names any path git tracks. Step 9 of [UC-001] and P12 of [OC-001].
Phase: MIL-009
Reference: [UC-001]
Move the work of `exclude_env_file` (`src/lib/envfile.sh`) into a helper that adds a list of entries to `.git/info/exclude`: one comment line, a fresh line first, no entry that `git check-ignore` already reports, a check afterwards. `exclude_env_file` keeps its behavior and uses it. Add a function in `src/lib/framework.sh` that excludes `/.claude`, `/.agents` and `/AGENTS.md`, called from `create_all` (`src/lib/apply.sh`) after `copy_templates`, with its own label in `PLAN_STEPS` (`src/lib/constants.sh`) and a line in the dry-run plan (`src/lib/plan.sh`). It is skipped when `is_framework_skipped` and it names any path git tracks. Step 9 of [UC-001] and P12 of [OC-001].
Phase: MIL-009
Reference: [UC-001]
Tirsvad
added this to the MIL-009 Framework Files Excluded from Git milestone 2026-10-08 07:42:06 +02:00
The "Git excludes" step was merged to main in #71 (code in 4058ab4, merge e9872fa). The full test suite passed with it: 1143 checks, 0 failed, 0 static checks failed. Closing by hand because #71 was merged with Refs #66. The tests for the step are task #68.
The "Git excludes" step was merged to `main` in #71 (code in 4058ab4, merge e9872fa). The full test suite passed with it: 1143 checks, 0 failed, 0 static checks failed. Closing by hand because #71 was merged with `Refs #66`. The tests for the step are task #68.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Move the work of
exclude_env_file(src/lib/envfile.sh) into a helper that adds a list of entries to.git/info/exclude: one comment line, a fresh line first, no entry thatgit check-ignorealready reports, a check afterwards.exclude_env_filekeeps its behavior and uses it. Add a function insrc/lib/framework.shthat excludes/.claude,/.agentsand/AGENTS.md, called fromcreate_all(src/lib/apply.sh) aftercopy_templates, with its own label inPLAN_STEPS(src/lib/constants.sh) and a line in the dry-run plan (src/lib/plan.sh). It is skipped whenis_framework_skippedand it names any path git tracks. Step 9 of [UC-001] and P12 of [OC-001].Phase: MIL-009
Reference: [UC-001]
The "Git excludes" step was merged to
mainin #71 (code in4058ab4, mergee9872fa). The full test suite passed with it: 1143 checks, 0 failed, 0 static checks failed. Closing by hand because #71 was merged withRefs #66. The tests for the step are task #68.