Skip to content

Studio: the repository checks out with LF on every machine (#805) #812

Done

Description

@danielrispler

Parent

#805

What to build

The repository checks out with LF line endings on every machine, so a Windows checkout's frozen samples, fixtures and snapshot texts match their bytes. One new .gitattributes at the root: * text=auto eol=lf, and the image types the repository holds marked binary. No file in the index changes.

The design is settled in #805, "Implementation Decisions" ("Line endings").

Acceptance criteria

  • .gitattributes holds * text=auto eol=lf and binary lines for *.png, *.jpg, *.gif, *.ico and *.webp, and no per-file exceptions.
  • .gitattributes is in system-map.json's ignored list beside the other root files.
  • The PR body shows git ls-files --eol | awk '{print $1, $2}' | sort | uniq -c before and after: every text file attr/text=auto eol=lf, the images -text, and git status after git add --renormalize . shows no changed file.
  • npm run check passes.

Reading

Touches

  • Files: new .gitattributes, system-map.json
  • Session: auto mode
  • Route: medium · effort medium — one config file and one ignored entry, every choice settled; not cheap, since its check is a command the worker runs and reports in the PR, not a test (cheap rule 2)

Activity

  1. added
    ready-for-agent
    on Nov 28, 2026
  2. danielrispler commented on Nov 28, 2026

    @danielrispler
    OwnerAuthor

    Implemented on #805's integration branch, PR #815 (merged as 3c8fe5e).

    Route outcome: medium·medium claude/sonnet → pass | 5m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready-for-agent

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions