You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Templates ship a .gitattributes so a Windows clone of a scaffolded project passes its own gate (follow-up of #49) #51
Follow-up of #49 (native Windows path), filed by the lane that is building it; NOT claimed.
What
There is no .gitattributes anywhere in this repository or in the two root templates. A project scaffolded under the shape pins its copied files by sha256 (contracts/shape-pin.yaml); with Git for Windows' installer default core.autocrlf=true, a later git clone of that project writes CRLF into the worktree, scripts/validate-pins.py digests CRLF bytes against an LF pin, and make validate fails on every pinned file for a colleague who did nothing wrong.
#49 covers the path the tool controls: setup-project.py clones with -c core.autocrlf=false, sets it in the clone it makes, warns when the user's global setting is true, and the README names git config --global core.autocrlf false as the one machine setting. It does NOT cover the next person who clones the finished project.
What lands
A .gitattributes with * text=auto eol=lf (or a tighter rule for the pinned paths) in templates/assembly-root/ and templates/family-root/, so the project itself says what its bytes are and no clone-time setting is needed.
The file must join the copy lists in scripts/shape_materialize.py, the shipped-file inventory in tests/test_repo_hygiene.py, the shape-pin files: block, and update-shape.py's upstream-added path — every existing project would report it as upstream-added on its next update-shape check, which is correct and is exactly the machinery #29 built, but it is a separate blast radius from "does the Python entry point run on Windows".
CLAIMED — lane xfactory-2 (xFactory-2), session harness 6bdb2e35-cbc8-4b10-b13f-11d9b421fef9, 2026-09-05T21:40Z, for the whole of this issue: the two root templates ship a .gitattributes.
RULING this claim executes — Brett Heap, 2026-09-05 ~21:40Z, in session, verbatim: "pick up #50 and #51 too".
Rule 1 reads: (1) this issue: no comments, no other claim; (2) gh pr list --state all --search "gitattributes": #1 MERGED v0: naming policy, assembly-root templates, scaffold, bootstrap, and the agent procedure #53 MERGED A native Windows path: setup-project.py, a windows-latest job, and the README route (#49); (3) git ls-remote --heads origin | grep -iE 'gitattributes|autocrlf': no branch. Siblings: second window openreposhape-b1 on #54 (README/tests.yml — no template files); xFactory-1 on update-shape.py messages (this PR touches update-shape's upstream-added PATH only through the copy lists it reads, not its code, unless a test shows otherwise). #50 is claimed by this same window in parallel; different files; sequenced at merge.
Shape of the change: .gitattributes (* text=auto eol=lf, with the WHY in a comment) in templates/assembly-root/ and templates/family-root/, joining the verbatim copy lists in scripts/shape_materialize.py, the shipped-file inventory in tests/test_repo_hygiene.py, and therefore the shape-pin files: rows — so every existing project's next update-shape.py check reports it upstream-added and apply --add .gitattributes takes it (#29's machinery; tested). Proof that it does what it claims: a Linux-runnable test clones a scaffolded project with -c core.autocrlf=true (git honours that on every platform) and runs the project's own validate-pins.py — green only because the attributes file pins LF. Worktree fix/templates-gitattributes from origin/main4fe7840.
Activity
A native Windows path: setup-project.py, a windows-latest job, and th…
brettheap commentedon Sep 5, 2026
Lane: xfactory-2 (xFactory-2)
CLAIMED — lane xfactory-2 (xFactory-2), session harness
6bdb2e35-cbc8-4b10-b13f-11d9b421fef9, 2026-09-05T21:40Z, for the whole of this issue: the two root templates ship a.gitattributes.RULING this claim executes — Brett Heap, 2026-09-05 ~21:40Z, in session, verbatim: "pick up #50 and #51 too".
Rule 1 reads: (1) this issue: no comments, no other claim; (2)
gh pr list --state all --search "gitattributes": #1 MERGED v0: naming policy, assembly-root templates, scaffold, bootstrap, and the agent procedure#53 MERGED A native Windows path: setup-project.py, a windows-latest job, and the README route (#49); (3)
git ls-remote --heads origin | grep -iE 'gitattributes|autocrlf': no branch. Siblings: second windowopenreposhape-b1on #54 (README/tests.yml — no template files);xFactory-1onupdate-shape.pymessages (this PR touches update-shape'supstream-addedPATH only through the copy lists it reads, not its code, unless a test shows otherwise). #50 is claimed by this same window in parallel; different files; sequenced at merge.Shape of the change:
.gitattributes(* text=auto eol=lf, with the WHY in a comment) intemplates/assembly-root/andtemplates/family-root/, joining the verbatim copy lists inscripts/shape_materialize.py, the shipped-file inventory intests/test_repo_hygiene.py, and therefore the shape-pinfiles:rows — so every existing project's nextupdate-shape.py checkreports itupstream-addedandapply --add .gitattributestakes it (#29's machinery; tested). Proof that it does what it claims: a Linux-runnable test clones a scaffolded project with-c core.autocrlf=true(git honours that on every platform) and runs the project's ownvalidate-pins.py— green only because the attributes file pins LF. Worktreefix/templates-gitattributesfromorigin/main4fe7840.Lane: xfactory-2 (xFactory-2)
Templates ship a .gitattributes, so a clone sees the bytes the pin de…
The Mac path, a rehearsal that creates nothing, and what a failed sca…
Empty $OPENREPOSHAPE_REPO means unset, the standard's own .gitattribu…
tests.yml and adopt-project.py: the Windows job installs git-filter-r…