13-Mar-2026 — Walks-sync, Hooks,agents and 2 more areas: 3 features and 1 fix #184
build 524 — commit 7da3d9e
Adds PUSH_CONFIRMED gate to pre-push hook — git push is blocked unless run via npm run push, preventing any automated or accidental push to origin. AGENTS.md updated with rule 1: never commit or push without explicit instruction.
hooks: add pre-commit lint and amend-vs-new-commit rules
Pre-commit hook lints staged .ts/.html files immediately on commit, surfacing lint errors before the full pre-push test cycle. Pre-push retains full lint across all files as the final gate before origin. AGENTS.md documents when to amend versus create a new commit.
ci,deploy: add [deploy-all] commit flag and post-push deploy prompt
Adds a domain language for controlling deployment scope at commit time. Appending [deploy-all] to any commit message triggers the all-environments deploy workflow automatically after the build succeeds. For terminal use, npm run push wraps git push with an interactive prompt on main.
walks-sync: guard missing group code, protect sync-managed walk fields, and improve WebSocket resilience (#184)
- Block sync and show warning when group code is absent in System Settings
- Disable sync buttons when group code is not configured
- Transient WebSocket closes (1006/1001/1011) no longer surface Sync Failed in UI
- Disable sync-managed groupEvent fields (title, date, distance, description, location, grade, etc.) when walk population is Walks Manager
- Remove Unlink button on walk edit when walk population is Walks Manager
- Remove cancellation fields from Leader tab; keep only in Related Links tab
- Disable cancellation fields when walk population is Walks Manager
- Disable Features and Images tabs when walk population is Walks Manager
- Suppress venue-to-starting-point and meeting point prompts for Walks Manager sites
- Route tab is now default; Route & Venue moved to last in Details tab order
- Prevent tab switching and disable Save/Exit buttons during active sync