Skip to content

docs(instructions): mention .gitattributes / forbid dos2unix #123

Description

@MarkMichaelis

Background

PR #120 added .gitattributes.template and a first-sync bootstrap so consumer repos get a starter .gitattributes (consumer-owned thereafter). However, .github/copilot-instructions.md says nothing about line endings, so future agents working in a consumer repo may still default to dos2unix or other ad-hoc fixes when a user reports CRLF issues. That is the exact problem PR #120 was meant to head off.

Proposed change

Add a short note to .github/copilot-instructions.md (3-5 lines), either under "Tool Preferences" or as a new "Line Endings" subsection, covering:

  • Line endings are governed by .gitattributes.
  • Never run dos2unix or other bulk line-ending conversion tools.
  • Policy edits go in the consumer's own .gitattributes, which is consumer_owned -- Pull-SDLC.ai.ps1 never overwrites it after first sync.

Acceptance

  • New text in .github/copilot-instructions.md covers the three bullets above.
  • Validate Instructions workflow stays green.

Out of scope

Context

Spawned from PR #120 follow-up review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions