feat(standard): sync §6.5 Text File Format (LF, UTF-8, final newline) — v1.51 - #52
Merged
Merged
Conversation
Skill-side sync of Standard PR #31 (Spacecraft-Software/Standard). §6.5 states three rules about the file itself — LF (U+000A) line endings, a final newline, UTF-8 without BOM — requires .gitattributes (`* text=auto eol=lf`) and .editorconfig at every repository root, and requires CI to fail on a CR byte in a tracked text file. .gitattributes is mandatory because it is the only mechanism independent of a contributor's core.autocrlf, which defaults to true on Windows and rewrites the working tree on checkout; .editorconfig because it reaches editors that never consult Git. CRLF exceptions (vendored upstream per §4.2, cmd.exe scripts, CRLF-mandating formats) are pinned explicitly rather than left implicit. Wire-protocol CRLF is out of scope — the section governs files on disk. Codification rather than a new constraint: anvil and bravais already carry `* text=auto eol=lf`, loran and caliper already carry the three .editorconfig keys. SKILL.md masthead → 1.51 / 2026-08-29; frontmatter description version bumped only (987 chars, unchanged, under the §5.6 cap); §6.5 body after §6.4; §14 checklist row between §6.1 and §7. Both bundles rebuilt. This repository's own .gitattributes/.editorconfig/CI gate lands with the umbrella-wide rollout, one PR per repository. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGgUmYtDJxo8EMKyB5LdoV
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Skill-side sync of Spacecraft-Software/Standard#31. Same version, same date — v1.51 (2026-08-29).
Why the rule exists
The Standard fixed the content conventions of a Spacecraft Software file long ago — Texinfo as prose source (§8), ISO 8601 timestamps (§14), SPDX headers (§4.3) — and never said how a text file is terminated.
The convention existed anyway, unwritten.
anvilandbravaisship.gitattributeswith* text=auto eol=lf;loranandcalipership.editorconfigwithcharset/end_of_line/insert_final_newline. Four repositories out of ~99, each having arrived at it independently.Git's
core.autocrlfdefaults totrueon Windows, so a clone of a repository without.gitattributesgets a working tree rewritten to CRLF. The contributor's editor shows nothing unusual; the commit that leaves their machine rewrites every line of every file they touched, and the reviewer gets a whole-file diff with the actual edit buried in it.Changes
SKILL.mdmasthead →**Version:** 1.51 | **Date:** 2026-08-29description→ version number only. Measures 987 characters, unchanged, under the §5.6 cap of 1000 — §6.5 is deliberately not added to the highlight list, since a new highlight would require trading one out.SKILL.md§6.5 body — after §6.4, before §7SKILL.md§14 checklist — new row between§6.1and§7references/CHANGELOG.md— v1.51 entry.zipand.skill) in the same commitLocal gate results
check-description-length.py— passes (987 ≤ 1000)check-license-files.py .— 0 problems, 45 skillscheck-skill-refs.py --catalogue .— references OK, 49 skills in catalogueNot in this PR
This repository's own
.gitattributes/.editorconfig/ CR gate. The Standard repository self-applied inside its own PR; the umbrella-wide rollout to the remaining repositories is a separate migration, one PR per repo, on the v1.50 precedent.🤖 Generated with Claude Code
https://claude.ai/code/session_01XGgUmYtDJxo8EMKyB5LdoV