---
id: 02-pre-commit-hook
epic: pre-commit-hooks-v1
title: Pre-commit hook script
type: technical-story
status: done
feature: tooling
depends-on: [01-husky-install]
blocks: [03-state-sync-guard]
---

## Tasks

- [x] `.husky/pre-commit` runs lint-staged
- [x] Pre-commit also regenerates \_state.json when docs/work/ changes and re-stages it
