chore: clean up git hooks and actually install them again.

This commit is contained in:
cpojer
2026-02-03 22:07:43 +09:00
parent 6fb2d3d7d7
commit 6b83d82e82
8 changed files with 7 additions and 373 deletions

View File

@@ -17,11 +17,6 @@ Use these when a task is clearly tied to a script; otherwise prefer the CLI.
- Prefer CLI surfaces when they exist (example: auth monitoring uses `openclaw models status --check`).
- Assume scripts are hostspecific; read them before running on a new machine.
## Git hooks
- `scripts/setup-git-hooks.js`: best-effort setup for `core.hooksPath` when inside a git repo.
- `scripts/format-staged.js`: pre-commit formatter for staged `src/` and `test/` files.
## Auth monitoring scripts
Auth monitoring scripts are documented here: