Skip to content
SprecherEast
Issue 276

documentation: Guidelines and role guides point to the template's old folders

Back to our plan
Done
documentationtoolingpriority: medium

Problem

Several guidelines and role guides still point to the Payload template's old folders (src/utilities/, src/components/, src/access/, src/collections/, src/blocks/, src/heros/, src/fields/, src/hooks/, src/plugins/), which moved into src/modules/ and src/platform/ (#127). An agent following them looks in the wrong place, which is how duplicate helpers get written. Also, the robots example in docs/roles/seo-specialist.md doesn't match src/app/robots.ts, and docs/architecture/data-model.md still says confirmed-address retention waits on #183 (it moved to #274).

Found while building #267 and #268. Fact and path fixes only, no rule changes (#179: wording, link and fact fixes don't need the owner).

Proposed fix

Update each stale path in docs/ and .agents/ to its current location (git grep -n -E "src/(utilities|components|access|collections|blocks|heros|fields|hooks|plugins)/" -- docs .agents), fix the robots example, and repoint the data-model line to #274.

Acceptance criteria

  • Not done: The grep above finds nothing (or only historical notes, marked as such)
  • Not done: The robots example matches robots.ts; the data-model line points to #274
  • Not done: No rule changes

Area

tooling

Priority

Medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab