Task · GTO-0002

About 90 prose references still point readers at CLAUDE.md, now a 6-line import stub

Status
To Do
Labels
needs-triage, docs
Updated
2026-08-14

Description

Since the 2026-08-14 tracker migration AGENTS.md carries the instructions and CLAUDE.md is a six-line @AGENTS.md import. Around 90 references across ~76 files still say ‘see CLAUDE.md’ — Go doc comments citing the cardinality rule and the wire-over-docs rule, docs/ pages, CONTRIBUTING.md, and the Helm chart.

Not a break: CLAUDE.md still exists and imports AGENTS.md, so a reader who follows the pointer arrives somewhere useful. It is an accuracy defect, which is why it is a task rather than part of the migration commit.

Two traps make this less mechanical than a global sed looks:

  1. Some of the targets are GENERATED. docs/collectors.md comes from internal/collectordoc; charts/graph2otel/README.md comes from README.md.gotmpl via helm-docs. Editing the generated file loses the change on the next regen and fails the drift gate — fix the source and prove it with make regen / make helm-docs.
  2. cmd/graph2otel/documentation_contract_test.go and internal/collectordoc/agentsmd_test.go deliberately name AGENTS.md as the watched file. Do not let a sweep rename those back, and do not point either gate at CLAUDE.md — it would then measure the import stub and pass forever.

Deliberately out of scope: CHANGELOG.md and archive/, which are historical records, and third_party/, which is vendored.

Acceptance Criteria

Definition of Done

View the source file on GitHub