V1 Cleanup Notes
Current v1 cleanup checklist for package consumers.
V1 Cleanup Notes
The v1 package surface uses docs sets, slug-derived routes, server-owned sync authority, native agent skill assets, and a narrow public package API.
Admin Records
For each docs package:
- Create a docs set in
Docs Globals > Sets. - Use the package source id as the
slug. - Set the branch, usually
main. - Add a group only when the route needs nesting.
- Add GitHub OIDC owner trust in
Docs Globals > Access. - Add Ed25519 public keys in
Docs Globals > Accessif local signed pushes are still needed.
Routes are derived from group slugs and the docs set slug. GitHub OIDC audience is derived from the docs set slug.
Removed Setup Knobs
Remove these from docs set records, plugin config, scripts, and docs:
- manual route values
- source root values
- plugin-level source allowlists
- per-set Ed25519 keys
- per-set GitHub repository owner lists
- OIDC audience flags
- OIDC issuer/JWKS/skew options
- workflow restrictions unless advanced security is explicitly enabled
- presentation and SEO placeholder fields
CLI Changes
Use:
1payload-markdown-docs push \2 --endpoint "$DOCS_SYNC_ENDPOINT" \3 --source main-docs \4 --github-oidc
Do not pass route or OIDC audience flags. In GitHub Actions, --source can be
omitted when the repository name is the docs set slug.
Skill-First AI Workflow
AI-facing support comes from native skill packs.
Do not create or maintain:
index.ai.ymlindex.ai.yaml- docs set
aiExportJSON - AI export manifest parsing
- raw Markdown export route helpers
payload-markdown-docs.md/plugins/payload-markdown-docs.md
Use repo-local Markdown files under /docs for human documentation source. Use
the canonical skill artifacts under /skills/payload-markdown-docs/<agent>/ for
agent workflow instructions. The CLI installer copies those artifacts into
project-local agent paths for Codex and Claude.
Sitemap AI Artifacts
Generated sitemap output now includes canonical human docs routes by default.
Raw AI-facing artifacts are no longer listed in sitemap.xml unless explicitly
requested:
llms.txtandllms-full.txtrequireincludeLlms: true.- native skill routes such as
/skills/codex,/skills/codex/SKILL.md, and/skills/codex.ziprequireincludeSkills: true. - stored generic
staticassets requireincludeAssets: true.
includeAssets does not imply llms or skill routes. Served asset endpoints are
unchanged; this only controls crawler discovery from the sitemap helper.