- Eliminate the tidal/ self-contained doc mirror; docs now have two canonical homes (root *.md and docs/), with planning/specs/research/reviews moved up - Remove stale .agents/skills and .ai mirrors; canonicalize skills under .claude/ - Add pre-commit hook + scripts/check-docs.sh doc-guard + scripts/install-hooks.sh - Implement M0-M10 seven-dimension review findings across engine, net, server, and tidalctl (durability, replication, query, WAL, storage, CLI hardening)
8 lines
340 B
Bash
Executable File
8 lines
340 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Activate the tracked git hooks in hooks/ for this clone. Idempotent.
|
|
set -euo pipefail
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
git config core.hooksPath hooks
|
|
chmod +x hooks/pre-commit scripts/check-docs.sh 2>/dev/null || true
|
|
echo "✓ core.hooksPath = hooks (pre-commit active: cargo gates + doc-guard + site eslint)"
|