Document the LF frontmatter rule and pin it with a test
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 6s

The checker already rejects CRLF frontmatter; the contract now says so and
a fixture mutation keeps that statement honest. Use the parsed schema
version for the schema 2 and 3 checks, and rewrap the contract.

Refs #20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-25 18:58:35 -05:00
1 parent ddf95ded04
commit f872770dc9
3 files changed
+9 -8

No files matched your search

@@ -74,8 +74,8 @@ metadata:
makes the package manual-only. Every key other than `metadata` is written
`key: value` with a non-empty value. `metadata:` stands alone on its line,
followed by exactly those two keys, each indented two spaces. The block has no
blank or comment lines. Any other key, such as `tools` or `allowed-tools`,
fails the check.
blank or comment lines, and its lines end in LF, not CRLF. Any other key, such
as `tools` or `allowed-tools`, fails the check.
## Identity and archive
@@ -87,10 +87,10 @@ by Unicode code point, the UTF-8 path and the file bytes.
The release archive is an uncompressed ZIP containing the repository
`LICENSE` and `NOTICE.md`, then every package file under `<package-name>/`,
sorted segment by segment (so `a/b.md` precedes `a-b/c.md`, unlike the
whole-string order the identity uses). Every entry carries the timestamp 1980-01-01 00:00:00 and
mode `0644`. ZIP headers also record the creating system, so release
digests are computed on a POSIX host, as this repository's CI does; on such a
host the archive digest depends only on those bytes.
whole-string order the identity uses). Every entry carries the timestamp
1980-01-01 00:00:00 and mode `0644`. ZIP headers also record the creating
system, so release digests are computed on a POSIX host, as this repository's
CI does; on such a host the archive digest depends only on those bytes.
RelayView's `scripts/verify-first-party-skills-source.py` recomputes both
values from a tagged release and compares them with its