Skip to content

chore(hooks): auto-regenerate the primitive catalog on pre-commit#375

Merged
drewstone merged 1 commit into
mainfrom
chore/docs-regen-hook
Jun 24, 2026
Merged

chore(hooks): auto-regenerate the primitive catalog on pre-commit#375
drewstone merged 1 commit into
mainfrom
chore/docs-regen-hook

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Extends the biome pre-commit hook (#373) to regenerate docs/api/primitive-catalog.md when staged changes touch exports, so the docs:check freshness gate self-heals at commit time instead of red-building in CI (the failure #372 hit). No-ops on irrelevant changes, skips in CI, SKIP_DOCS_REGEN=1 bypass. e2e-verified: an export change regenerates + re-stages the catalog; a comment no-ops. (#373 auto-merged the biome-only version before this landed, so re-PR'd onto main.)

Extends the biome pre-commit hook to also regenerate docs/api/primitive-catalog.md
when a staged change adds/removes an export under src/ (or edits the package.json
exports map): rebuild + regenerate + re-stage, so the docs:check CLASS-7 freshness
gate self-heals at commit time instead of red-building in CI. No-ops on irrelevant
changes, skips in CI, bypass with SKIP_DOCS_REGEN=1.

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved PR — 7cd5f668

Blanket team auto-approval is enabled for this reviewer service.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: blanket_auto_approve · 2026-06-24T13:36:38Z

@drewstone drewstone merged commit fa8e875 into main Jun 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants