This release includes breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryUpdates Highlights, ไบฎ็น, and ๐ English across a mixed release.
Full changelog
A maintenance release that eats its own cooking: every structural issue the four self-review skills surfaced on the validator codebase has been fixed.
๐ English
Highlights
- ๐๏ธ Single source of truth for book inventory โ
skills/_shared/source-coverage.mdnow carries a YAML frontmatterbooks:list.validate-repo.mjsderives the book count and all word-form checks from it dynamically. Adding a new book requires editing exactly one file; the validator auto-adapts everywhere else. Eliminates the Shotgun Surgery pattern the audit flagged (R2). - ๐๏ธ Validator refactored into named check functions โ
scripts/validate-repo.mjsreorganized from a 250-line flat script into 12 named category functions (checkVersionConsistency,checkSkillsContent,checkEvalSuite, etc.). Each function has a single concern; the call site reads like a checklist. Addresses the cognitive overload finding (R1) from the self-audit. - ๐ข Named constants for risk counts โ
PRODUCTION_RISK_COUNT = 6andTEST_RISK_COUNT = 6replace magic numbers in bothvalidate-repo.mjsandrun-evals.mjs. Adding a new risk category is a one-line change per script. No more grep-and-pray updates. - ๐งช Skills content CI โ The validator now asserts every
SKILL.mdhas## Setupand## Processsections, and every mode guide references the Iron Law. Structural regressions in skills are now caught automatically. - ๐ฆ
scripts/frontmatter.mjsโparseFrontmatterBooks()extracted to a standalone module. Bothvalidate-repo.mjsand the new test file import it without triggering side effects. - โ
scripts/run-evals.mjsโ Structural validator forevals/evals.json: checks sequential IDs, required fields, and risk code presence inexpected_output. Run vianpm run evals. - ๐ฌ
scripts/validate-repo.test.mjsโ 10 unit tests forparseFrontmatterBooksusing Node.js built-inassert. No test framework required; run vianpm test.
No breaking changes. Existing .brooks-lint.yaml configs, skill invocations, and short-form commands are untouched.
Install / Upgrade
/plugin marketplace add hyhmrright/brooks-lint
/plugin install brooks-lint@brooks-lint-marketplace
๐จ๐ณ ็ฎไฝไธญๆ
ไธไธช"่ช้ฃๅ ถๆ"็็ปดๆค็ๆฌ๏ผๅไธช่ชๅฎก skill ๅฏน validator ไปฃ็ ๅบ่ทๅบ็ๆๆ็ปๆๆง้ฎ้ข๏ผๅ จ้จๅจๆฌๆฌกไฟฎๅคใ
ไบฎ็น
- ๐๏ธ ไนฆๅ็ๅไธๆฐๆฎๆบ๏ผ
skills/_shared/source-coverage.md็ฐๅจๆบๅธฆ YAML frontmatterbooks:ๅ่กจใvalidate-repo.mjsไปไธญๅจๆๆจๅฏผไนฆ็ฎๆฐ้ๅๆๆ่ฏๅฝขๅๆขใๆฐๅขไธๆฌไนฆๅช้็ผ่พ่ฟไธไธชๆไปถ๏ผๆ ก้ชๅจๅ ถไปๅฐๆน่ชๅจ้้ ใๆถ้คไบๅฎก่ฎกๅ็ฐ็ Shotgun Surgery๏ผR2๏ผใ - ๐๏ธ ๆ ก้ชๅจ้ๆไธบๅ
ทๅๆฃๆฅๅฝๆฐ๏ผ
scripts/validate-repo.mjsไป 250 ่กๅนณ้บ่ๆฌ้็ปไธบ 12 ไธชๅ ทๅๅ็ฑปๅฝๆฐ๏ผcheckVersionConsistencyใcheckSkillsContentใcheckEvalSuite็ญ๏ผ๏ผๆฏไธชๅฝๆฐ่่ดฃๅไธ๏ผ่ฐ็จๅค่ฏป่ตทๆฅๅๆฃๆฅๆธ ๅใ่งฃๅณไบ่ชๅฎกๅ็ฐ็่ฎค็ฅ่ฟ่ฝฝ้ฎ้ข๏ผR1๏ผใ - ๐ข ๅ
ทๅๅธธ้ๆฟไปฃ้ญๆณๆฐๅญ๏ผ
PRODUCTION_RISK_COUNT = 6ๅTEST_RISK_COUNT = 6ๅจvalidate-repo.mjsๅrun-evals.mjsไธญ็ปไธๆฟไปฃ็กฌ็ผ็ ๆฐๅญใๆฐๅข้ฃ้ฉ็ฑปๅซๅช้ๅจๅ่ๆฌๆนไธ่ก๏ผๆ ้ๅ จๅฑ grepใ - ๐งช Skills ๅ
ๅฎน CI๏ผๆ ก้ชๅจ็ฐๅจๆญ่จๆฏไธช
SKILL.md้ฝๆ## Setupๅ## Processๆฎต่ฝ๏ผๆฏไธชๆจกๅผๆๅ้ฝๅผ็จ Iron LawใSkills ็็ปๆๆง้ๅๅฏ่ขซ่ชๅจๆ่ทใ - ๐ฆ
scripts/frontmatter.mjs๏ผparseFrontmatterBooks()ๆๅไธบ็ฌ็ซๆจกๅใvalidate-repo.mjsๅๆฐๆต่ฏๆไปถๅๅฏๅฏผๅ ฅ๏ผๆ ๅฏไฝ็จ่งฆๅใ - โ
scripts/run-evals.mjs๏ผevals/evals.json็ปๆ้ช่ฏๅจ๏ผๆฃๆฅ้กบๅบ IDใๅฟ ๅกซๅญๆฎตๅexpected_outputไธญ็้ฃ้ฉไปฃ็ ๅผ็จใ้่ฟnpm run evals่ฟ่กใ - ๐ฌ
scripts/validate-repo.test.mjs๏ผ10 ไธช้ๅฏนparseFrontmatterBooks็ๅๅ ๆต่ฏ๏ผไฝฟ็จ Node.js ๅ ็ฝฎassert๏ผๆ ้ๆต่ฏๆกๆถ๏ผ้่ฟnpm test่ฟ่กใ
ๆ ็ ดๅๆงๅๆด๏ผ็ฐๆ .brooks-lint.yaml ้
็ฝฎใskill ่ฐ็จๆนๅผๅ็ญๅฝไปคๅไธๅๅฝฑๅใ
ๅฎ่ฃ / ๅ็บง
/plugin marketplace add hyhmrright/brooks-lint
/plugin install brooks-lint@brooks-lint-marketplace
Full changelog / ๅฎๆดๅๆดๆฅๅฟ: CHANGELOG.md
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Brooks-Lint
All releases โRelated context
Related tools
Beta — feedback welcome: [email protected]