Commit graph

4 commits

Author SHA1 Message Date
vicky469
6c029fcf45 build: enforce single remote hook policy 2026-07-19 17:13:57 +08:00
vicky469
c4ad321b79 fix(hooks): allow tag pushes to pass through pre-push hook 2026-06-06 21:57:22 +08:00
vicky
ced1900ce1 chore(repo): add iCloud backup mirror to two-remote model
- pre-push hook now auto-mirrors to icloud after every private push
- AGENTS.md, CLAUDE.md, strategy doc updated with three-remote setup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 10:08:07 +08:00
vicky
4b559ad8e9 chore(repo): enforce two-remote model for private features
- scripts/hooks/pre-push: blocks non-main pushes to origin; all
  feat/* branches must go to the private remote instead
- AGENTS.md, CLAUDE.md: document routing rules so all agents
  (Claude Code, Codex) follow the same pattern without being told
- docs/todo/private-features-strategy.md: full workflow guide

Activate hook on fresh clone: git config core.hooksPath scripts/hooks

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 10:05:39 +08:00