fix: price Fable 5.1 cache reads at 0.025x and keep Sonnet 5 at $2/$1… #286
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
| name: validate | |
| on: [push, pull_request] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run hook smoke tests | |
| run: node --test hooks/dispatch-counter.test.mjs hooks/update-check.test.mjs | |
| - name: Validate JSON manifests | |
| run: | | |
| jq empty .claude-plugin/plugin.json | |
| jq empty .claude-plugin/marketplace.json | |
| jq empty hooks/hooks.json | |
| - name: Validate agent frontmatter | |
| run: | | |
| for f in agents/*.md; do | |
| for key in name description model effort; do | |
| grep -q "^$key:" "$f" || { echo "$f missing '$key'"; exit 1; } | |
| done | |
| done | |
| - name: Validate skill frontmatter | |
| run: | | |
| for f in skills/*/SKILL.md; do | |
| for key in name description; do | |
| grep -q "^$key:" "$f" || { echo "$f missing '$key'"; exit 1; } | |
| done | |
| done |