Simplify capability check to track names only, add docs and script

Replace the full JSON baseline with a simple text file listing capability
names per package. Add caps.sh script to generate and check the baseline.
Document in CONTRIBUTING.md and AGENTS.md that PRs increasing capabilities
are unlikely to be accepted.

https://claude.ai/code/session_01HwDXpKevFLhE5EfrR6JrBn
This commit is contained in:
Claude
2026-03-24 01:49:04 +00:00
parent 478c2ff9d8
commit 20a7856820
6 changed files with 94 additions and 1274 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ jobs:
- name: Install capslock
run: go install github.com/google/capslock/cmd/capslock@latest
- name: Check for new capabilities
run: capslock -packages=./... -output=compare -granularity=package capability_baseline.json
run: ./caps.sh check