Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .github/workflows/claude-card.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: CLAUDE.md card

# Checks the CLAUDE.md card against the card spec (documentation/claude-card.md in cosyte/config:
# Gate, Hazard and Rules, within its line, width and byte limits) and every pointer into agent notes.
# Both checkers are commands of `@cosyte/script-utils`, run through npx at the exact version below,
# so nothing here restates a rule they hold. Moving to a new version means changing SCRIPT_UTILS here
# and in `no-emdash.yml` together.
# Gate, Hazard and Rules, within its line, width and byte limits). The checker is a command of
# `@cosyte/script-utils`, run through npx at the exact version below, so nothing here restates a rule
# it holds. Moving to a new version means changing SCRIPT_UTILS here and in `no-emdash.yml` together.

on:
push:
Expand Down Expand Up @@ -37,6 +36,3 @@ jobs:

- name: The card follows the spec
run: npx -y "$SCRIPT_UTILS" claude-card

- name: Every agent-notes pointer resolves
run: npx -y "$SCRIPT_UTILS" agent-notes
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ npm test # runs it again and asserts its key output, offline
Run these from the repository root, in this order, before you push:

1. The shared gates, at the version the workflows pin:
`npx -y @cosyte/script-utils@0.1.4 no-emdash`, then the same with `claude-card` and
`agent-notes` in place of `no-emdash`.
`npx -y @cosyte/script-utils@0.1.4 no-emdash`, then the same with `claude-card` in place of
`no-emdash`.
2. In every starter, `npm ci`, then `npm test`. CI lists the starters this way:
`git ls-files -- '*/package.json' | awk -F/ 'NF == 2 { print $1 }'`
3. Step 2 again on Node 22, the floor, for each starter the change touches:
Expand Down
Loading