# Discovery Publish Checklist

Use this checklist for every KB publish batch.

## 1) Content updates
- [ ] Publish or update KB pages in `content/kb/` (and static ops files under `/public/static/kb/` when applicable)
- [ ] Update `/public/static/kb/content-inventory.json` for new/updated slugs
- [ ] Set `published_at` for new pages and `updated_at` for refreshed pages in inventory entries

## 2) Generate discovery assets
- [ ] Run `npm run feeds:generate`
- [ ] Confirm generated files changed as expected:
  - `/public/feed.xml`
  - `/public/feed.json`
  - `/public/sitemap.xml`

## 3) Validate assets
- [ ] Run `npm run feeds:validate`
- [ ] Spot-check newest URLs appear in:
  - RSS feed items
  - JSON feed items
  - sitemap entries with `<lastmod>`

## 4) Submit to IndexNow
- [ ] Ensure key file exists at `/<indexnow-key>.txt`
- [ ] Run `npm run indexnow:submit`
- [ ] Confirm successful or accepted response in output

## 5) Build and deploy
- [ ] Run `npm run publish:prep` locally
- [ ] Deploy container and verify feed files served live

## 6) Record keeping
- [ ] Add summary to weekly KPI/ops notes
- [ ] Track any indexing or feed errors for next review
