* chore: add hooks and guidelines to reduce agent friction
Add prompt hooks to .claude/settings.json to enforce:
- Worktree path safety (reject reads from main clone)
- Local-first search (reject WebFetch for repo content)
- Shared content awareness (remind about content/shared/)
Add agent and documentation guidelines:
- doc-triage-agent: search rules for local-first, worktree-aware,
shared content, and parallel search
- AGENTS.md: worktree awareness and search patterns sections
- influxdb3-test-setup skill: Enterprise unavailable troubleshooting
- init-influxdb3.sh: placeholder email validation and startup health check
Addresses friction points identified in session analysis for #6991.
* chore: replace prompt hook with deterministic worktree path check
Replace the prompt-based worktree path hook with a command hook that
uses git plumbing (rev-parse --git-dir vs --git-common-dir) to detect
worktrees and block reads targeting the main clone. Works regardless
of where the worktree is located on disk.
Also add git, fzf, and common shell utilities to project allow list,
and clean up settings.local.json (remove phantom tools, duplicates).
* chore: add yarn install hooks for worktree and session start
WorktreeCreate: always install deps (new worktree needs them)
SessionStart: install only if node_modules missing (async, non-blocking)
Both skip Cypress binary and use --frozen-lockfile.