Skip to content

Add CLAUDE.md as a short card - #10

Merged
NSchatz merged 1 commit into
mainfrom
harness/78-claude-md-short-card
Oct 20, 2026
Merged

NSchatz merged 1 commit into
mainfrom
harness/78-claude-md-short-card

Conversation

@NSchatz

@NSchatz NSchatz commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Adds this repo's first CLAUDE.md: a 57-line card a session can read in seconds. It has four parts: what the package is, the gate, the hazard, and the rules that bind here.

The card

The pnpm note comes from this session. corepack pnpm run attw failed here with ERR_PNPM_BAD_PM_VERSION: attw's nested pnpm pack resolved to a global pnpm 12, which refuses to switch versions under corepack. With a corepack shim first on PATH, every nested call gets the pinned 10.34.5 and the ladder passes.

The repo had no old CLAUDE.md, agent notes or CONTRIBUTING.md, so no text was moved and no links pointed at a dropped section. No changeset: nothing under src/ changes.

Every command the card names, and how it was checked (checked, not run)

named in the card kind check
pnpm install --frozen-lockfile pnpm built-in command -v pnpm -> /usr/local/bin/pnpm; CI installs pnpm through pnpm/action-setup
pnpm run build script jq -r '.scripts | keys[]' package.json lists build
pnpm run attw script lists attw
pnpm run examples script lists examples
pnpm run typecheck script lists typecheck
pnpm run lint script lists lint
pnpm run format:check script lists format:check
pnpm run test script lists test
pnpm run test:tz script lists test:tz
pnpm check:no-internal-refs script lists check:no-internal-refs
pnpm changeset script lists changeset
pnpm pack pnpm built-in (named as what attw calls) command -v pnpm
bash scripts/check-no-emdash.sh binary + file command -v bash -> /usr/bin/bash; git ls-files scripts/check-no-emdash.sh
corepack pnpm, corepack enable pnpm --install-directory <dir> binary command -v corepack -> /usr/local/bin/corepack
.github/workflows/ci.yml, .github/CI.md, .changeset/README.md, package.json, CHANGELOG.md, src/fraction.ts, eslint.config.js, .github/workflows/scorecard.yml files git ls-files <path>: each tracked
src/, test/, examples/, docs-content/ directories git ls-files <dir>: each non-empty

.cosyte-release-tooling/** is an ignore pattern in eslint.config.js (present there), not a repo path. pull_request: is a workflow key.

Checks run

  • wc -l < CLAUDE.md prints 57.
  • The full verify ladder passed locally with pnpm 10.34.5 (Node 24): install, build, attw, examples, typecheck, lint, format:check (covers the root *.md), test (175 passed), test:tz (175 passed under each zone), em-dash scan. pnpm check:no-internal-refs passed too.
  • rg -n '[\x{2013}\x{2014}]' CLAUDE.md finds nothing.

Harness-Task: 78

🤖 Generated with Claude Code

The repo had no CLAUDE.md. This adds a 57-line card in four parts: what
the package is, the gate (the verify ladder from ci.yml in order, plus the
public-surface check), the hazard (a wrong conversion of a PHI-bearing date
fails silently), and five rules, each with the PR or measurement that
proved it.

The gate notes that `corepack pnpm` alone does not pin pnpm for attw: its
nested `pnpm pack` resolves to the global pnpm, which refuses under
corepack. A corepack shim first on PATH covers the nested call too.

Harness-Task: 78

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NSchatz
NSchatz merged commit cc654e0 into main Oct 20, 2026
5 checks passed
@NSchatz
NSchatz deleted the harness/78-claude-md-short-card branch October 20, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant