-
-
Notifications
You must be signed in to change notification settings - Fork 9
chore: enforce LF line endings for agent files in .gitattributes #896
Copy link
Copy link
Labels
agent-qaTesting and verification agentTesting and verification agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-installationInstallation scriptsInstallation scriptsarea-promptsAgent prompts and templatesAgent prompts and templatesbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact
Milestone
Metadata
Metadata
Assignees
Labels
agent-qaTesting and verification agentTesting and verification agentarea-infrastructureBuild, CI/CD, configurationBuild, CI/CD, configurationarea-installationInstallation scriptsInstallation scriptsarea-promptsAgent prompts and templatesAgent prompts and templatesbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestpriority:P2Normal: Standard enhancement or bug fix, moderate impactNormal: Standard enhancement or bug fix, moderate impact
Summary
Investigate and implement
.gitattributesrules to enforce LF line endings for agent files (.agent.md,.prompt.md) to prevent cross-platform YAML parsing issues.Background
During the ADR-040 amendment review (PR #895), the independent-thinker agent identified that CRLF line endings may be a contributing factor to Windows YAML parsing errors, not just inline array syntax.
Evidence
.gitattributesdoes not enforce line endings for*.agent.mdor*.prompt.mdfilesRelated
.agents/critique/ADR-040-amendment-2026-01-13-debate-log.mdProposed Changes
Add to
.gitattributes:Acceptance Criteria
.gitattributesrules for agent-related markdown filesgit ls-files --eol).gitattributescommentsPriority
P2 - Preventive maintenance. The immediate issue (inline arrays) is fixed in PR #895, but this addresses a potential secondary cause.
Source: ADR-040 multi-agent debate review (independent-thinker dissent)