agentleFS
justmanivjustmaniv/cannery-row/CLAUDE.md

cannery-row

CLAUDE.md1 starsChanged 4 months agoApache-2.0View on GitHub

A Claude Code plugin. It ships one skill (skills/task-lifecycle/SKILL.md), a board generator, and the gates that keep both honest. The skill is the product — everything else exists to stop it rotting. This repo tracks its own work with the skill it ships. tasks/ is real, not a demo. An installed plugin runs from a copy in the plugin cache, not from this checkout. Editing a clone changes nothing about the session you are editing in — you will test…

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the behavioral evals. Nothing else in this repository checks that the skill is *followed* — every other gate checks that it is …

    line 32
  2. Very specific:

    Run the skill's claim-validation step first.

    line 102

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Cannery Row — project context

A Claude Code plugin. It ships one skill (skills/task-lifecycle/SKILL.md), a board generator, and the gates that keep both honest. The skill is the product — everything else exists to stop it rotting.

This repo tracks its own work with the skill it ships. tasks/ is real, not a demo.

The trap that wastes the most time here

An installed plugin runs from a copy in the plugin cache, not from this checkout. Editing a clone changes nothing about the session you are editing in — you will test the old copy while believing you tested the new one.

Two loops, and they are different. CONTRIBUTING.md is the authority; the short version:

  • Development — git worktree add ~/.claude/skills/cannery-row-dev <branch>, then claude plugin uninstall cannery-row@cannery-row, then restart. A directory under a skills directory loads in place, so the working tree is what runs. disable does not work — the installed copy wins on name collision whether or not it is enabled.
  • Release — bump version in both .claude-plugin/plugin.json and .claude-plugin/marketplace.json. check-release.py fails the build if you don't.

⚠️ The bump is load-bearing, not bookkeeping. The version is pinned, so a fix merged without one reaches nobody while plugin update reports "already at the latest version." That happened (tasks/done/00003-*). README- and docs-only changes are exempt; the boundary is skills/ scripts/ tasks/README.md .claude-plugin/. A bump also needs a CHANGELOG.md heading for the new version — same script, same build break.

Before you change the skill

Run the behavioral evals. Nothing else in this repository checks that the skill is followed — every other gate checks that it is well-formed.

CLAUDE_CODE_WALNUT_SPIRE=1 claude plugin eval . \
  --ablation with-without --scaffold \
  --allow-tools Bash Read Edit Write Glob Grep Skill

~12 minutes, and it is not free — evals/README.md § Cases has the measured cost and what it means on your access. claude plugin eval is early access — without that env var it prints a notice and exits 0, which looks exactly like a clean run. Target ., not the plugin name: cases are discovered under the target, and a name target looks inside the plugin cache. evals/README.md covers the design rules and three grader traps that produce assertions which pass while proving nothing.

The delta, not the score, is the result. A delta near zero means the case is wrong, not the skill — it is measuring the model.

Everything else, in about a second

python3 scripts/check-portability.py       # no stack or methodology vocabulary in shipped files
python3 scripts/check-workflows.py         # GitHub-hosted runners only, no pull_request_target
python3 scripts/check-release.py           # manifests agree; version moved if shipped content did
python3 scripts/check-evals.py             # the eval suite is well-formed
python3 scripts/generate-task-board.py --check
claude plugin validate . --strict
coverage run -m unittest discover -s scripts -p '*_test.py' && coverage report   # 85% branch floor

Non-negotiable

  • Never a self-hosted runner label, never pull_request_target, never a secret. This is a public repo; a self-hosted runner lets any fork's PR execute arbitrary code, and holding no secrets is the strongest security property it has. check-workflows.py enforces the first two. Nothing enforces the third, because there has never been a reason to add one.
  • Stdlib only. The gates have no runtime dependencies and it should stay that way — coverage is dev-only. A structural line read beats adding a parser (see check-evals.py).
  • Portability. Shipped files must not name a language, vendor, host, or planning cadence. The gate is broader than vendor names on purpose: methodology vocabulary is the class that actually bites. Run --list to see the terms and why each is out.

Conventions

  • Test-first for scripts/ — a RED commit that adds a failing test, then a GREEN commit that makes it pass. Squash-merge erases the distinction on main, so it is a branch-level discipline nothing downstream can audit. Backfilling tests onto existing code is characterization, not test-first; say so rather than dressing it up.
  • Tests assert behavior, never coverage. A test that runs code without asserting its result is a hole with a green check over it.
  • Task numbers here are five digits (tasks/wip/00035-slug.md). Nothing in the shipped files says five — the skill derives the width from the highest number already in the tree, so an adopter at three digits stays at three. This is a local choice, recorded here because the only other place it exists is the filenames. Padding is what makes ls order equal numeric order, so a new task written at the wrong width breaks the thing the padding bought.
  • Task hygiene is governed by the skill this repo ships — use cannery-row:task-lifecycle for every create/start/block/close. tasks/README.md documents layout for humans; the skill governs operations.
  • Regenerate docs/task-board.md in the same commit as any lane move — this repo's choice, not the skill's rule. The skill refreshes projections on demand and accepts a stale board in between (task 032). CI here runs generate-task-board.py --check on every proposed change, and a freshness gate without a regenerate-on-move habit fails every task-move change — the one combination README.md calls strictly worse than either alternative. Cannery Row takes the freshness side: the board is part of what this repo demonstrates, and its task volume is nowhere near the level that made the rule too chatty elsewhere. Change both halves or neither.
  • main is PR-only. Open the PR, enable auto-merge, carry it through to merged.

Picking up a task you did not write

Run the skill's claim-validation step first. Then, before any work starts — and again before commit when the deliverable is itself a spec other sessions will execute (a task file, SKILL.md, a "Done when" list, anything in CLAUDE.md or CONTRIBUTING.md) — hand the task to a subagent in a fresh context with this instruction:

At least one claim in this task file is wrong. For each load-bearing claim, open the code it refers to and try to prove it false. A cited file or test existing is not the claim — the claim is how it works, and that is the part that gets invented. Report every claim you could not confirm from the code, quoting what you read. You have not seen the reasoning that produced this task; you do not need it.

Correct the task file — and any sibling task that inherited the claim — before proceeding, with a dated note saying what was wrong.

The fresh context is the whole mechanism. A session that has just validated the task cannot do this to itself: by then it has read the argument and is checking whether the claims are supported rather than whether they are true. That failure is on record — tasks/done/00024-*, where a fabricated test mechanism passed pickup validation and had already reached three sibling tasks, one as a "Done when" criterion prescribing a change to something that does not exist.

Skip it on a one-function change that gets read as a diff anyway. This repo's output is mostly prose that other sessions execute, so mostly it does not get skipped.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.