## Context Validation scripts from `restructuring-attempt-1` need to be restored and updated for the current structure. ## Scripts to restore - `scripts/validate-frontmatter.mjs` — checks all pages have required frontmatter fields (title + description) ## Steps 1. Check out `restructuring-attempt-1` to review the original script 2. Adapt for current directory layout (`docs/` not `src/content/docs/`) 3. Update frontmatter schema check to match current schema (title + description required) 4. Add to `package.json` as `npm run validate` 5. Wire into CI (see #115)
Context
Validation scripts from
restructuring-attempt-1need to be restored and updated for the current structure.Scripts to restore
scripts/validate-frontmatter.mjs— checks all pages have required frontmatter fields (title + description)Steps
restructuring-attempt-1to review the original scriptdocs/notsrc/content/docs/)package.jsonasnpm run validate