Commit 64c133a
[doc] add agent context for Ray documentation (#63227)
## Why
Ray's per-library `.claude/CLAUDE.md` convention is in place for `data`,
`serve`, `train`, `tune`, `rllib`, and `src/ray`. `doc/` is missing this
file. Agents working on docs (Claude Code sessions, OSS contributors
using AI assistants) have no in-repo signal about how Ray's CI is
configured for documentation changes or how to scope PRs to land
cleanly.
## What
Adds `doc/.claude/CLAUDE.md` with concise pointers to:
- How `.buildkite/test.rules.txt` maps file patterns to tag sets, and
which patterns the `doc` tag covers (post-#63132 shape).
- Scope discipline for docs-only PRs: take the lightest path; don't
bundle in non-doc changes.
- When to revise test rules vs. work around them (precedent: #63132).
- Existing skills (`/lint`, `/fetch-buildkite-logs`, `/rebuild`).
Under 50 lines per the existing per-library convention. Wording can
iterate.
## Verification
- `find ray/doc -path '*/.claude/CLAUDE.md'` returns the new file.
- File loads when a Claude Code session is rooted at `doc/` (a session
under `doc/source/` will pick this up alongside the top-level
`.claude/CLAUDE.md`).
## Context
Tracked under `DOC-879` in anyscale/docs Jira (private). Captures the
test-rule discipline that emerged during the docs-infra mapping work in
#63132.
---------
Signed-off-by: Douglas Strodtman <douglas@anyscale.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9ff20ef commit 64c133a
3 files changed
Lines changed: 61 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
0 commit comments