Skip to content

docs: point agents at the files humans already read - #64

Open
rickstaa wants to merge 1 commit into
rs/readme-coveragefrom
rs/agent-pointers
Open

docs: point agents at the files humans already read#64
rickstaa wants to merge 1 commit into
rs/readme-coveragefrom
rs/agent-pointers

Conversation

@rickstaa

@rickstaa rickstaa commented Aug 9, 2026

Copy link
Copy Markdown
Member

An agent working in this repo reads the code and nothing else. README.md and CONTRIBUTING.md are not auto-loaded by any tool, so conventions that are written down get missed — I skipped CONTRIBUTING.md entirely across seven PRs in this repo and only opened it when challenged, after recommending a file containing rules it already had.

AGENTS.md is the vendor-neutral file Codex and Cursor look for; CLAUDE.md is what Claude Code auto-loads. So the content lives in AGENTS.md and CLAUDE.md is one line pointing at it.

AGENTS.md holds no rules of its own, on purpose. It says these are teaching examples, then sends you to CONTRIBUTING for how to work here and README for the axis table that decides whether a new example belongs. The moment it starts holding facts it becomes a second README that drifts, and the pointer stops being trusted.

The two conventions the tooling can't enforce move into CONTRIBUTING

Not into the agent file — human contributors need them equally:

  • Keep the # Livepeer: markers accurate. They are a user-facing device: the README tells readers to grep them to see an example's whole Livepeer surface. A change that adds or removes a call has to renumber them and update the docstring, or the thing the README promises stops being true. feat(vllm): register single-shot so the call pays as it runs #59 is the live case, where vllm went from three calls to two.
  • Never commit media or model weights. Every example gitignores them and generates sample clips from its own README commands.

CONTRIBUTING stops restating the axis list

It said the repo "covers each value of the example axes (registration, mode, transport, pricing) once" while the README's table is the actual source of truth. #63 added a fifth axis to the README and the two immediately disagreed — with the stale copy sitting in the file contributors are pointed at. It now links the table instead.

Also sharpens one README line: the # Livepeer: markers are numbered in the order they happen, which is what makes them readable as a sequence rather than scattered labels.

Stacked on #63.

🤖 Generated with Claude Code

@rickstaa
rickstaa force-pushed the rs/readme-coverage branch from 899dfcc to 6eefbd1 Compare August 10, 2026 10:51
Nothing auto-loads README or CONTRIBUTING, so an agent works from the code
and misses conventions that are written down. AGENTS.md is a pointer to
both, and CLAUDE.md points at AGENTS.md so Claude Code's auto-load reaches
the same file other tools read. It holds no rules of its own, which is
what stops it becoming a second README that drifts.

The two conventions the tooling cannot enforce move into CONTRIBUTING,
where human contributors see them too: keeping the `# Livepeer:` markers
accurate, and never committing media or weights.

CONTRIBUTING also stops restating the axis list and links the table
instead. It already disagreed with the README, which had gained a fifth
axis, and a rule stated in two places is a rule that will disagree again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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