Skip to content

v0.4.0 — Enforcement + Automation

Choose a tag to compare

@tmcfarlane tmcfarlane released this 26 Jun 13:26
· 49 commits to main since this release
4f9ee17

Team Avatar's hard constraints are now enforced, plus event-driven automation. Validated live on Cursor 3.8.23.

Highlights

  • Hooks enforce the orchestrator — .cursor/hooks.json wires a beforeShellExecution guard (guard-shell.sh) that blocks destructive commands (rm -rf /, force-push to main, hard resets) and commits containing anti-patterns (as any, @ts-ignore, empty catches), plus an afterFileEdit lint hook. failClosed: true. Validated: an agent's as any commit is blocked.
  • Auto-review policy — a tuned permissions.json auto-runs safe calls (lints/tests/builds, read-only git) and holds destructive/credential/network ones. Validated: git status auto-ran; cat ~/.ssh/config was held for review.
  • Automation recipes (automations/) — ready-to-paste /automate prompts: PR review comment → Katara, issue design label → Zuko (webhook), Slack emoji → routed dispatch. Cursor automations are cloud-only, so these ship as recipes, not config.
  • Windows parity — install.ps1 installs the hooks/auto-review config too.

Notes

  • Hook config is project-scoped (install.sh --project) and requires a full Cursor restart to register (a window reload isn't enough). Scripts are PATH-robust and cd into the payload cwd.
  • .cursor/ is gitignored, so cloud automation agents don't inherit the local hooks — recipe prompts carry their own guardrails.
  • Carries forward v0.3.0's validated model routing (composer-2.5-fast · claude-opus-4-8-thinking-high · gemini-3.1-pro).

Upgrade

curl -fsSL https://raw.githubusercontent.com/tmcfarlane/oh-my-cursor/main/install.sh | bash -s -- --force
# hooks (project scope, in a repo):
bash install.sh --project --force

Full notes: CHANGELOG.md. M3 (native computer-use QA) will trail as a point release.