2 Commits

Author SHA1 Message Date
Eric Zakariasson 93b00b89ef fix(advisor): address hook scripts via CURSOR_PLUGIN_ROOT (#315)
Plugin hooks do not run from the plugin directory, so ./hooks/... paths
fail with exit 127 from any other cwd. Use bash "${CURSOR_PLUGIN_ROOT}/hooks/..."
like continual-learning, which indexes and runs cleanly. Also scopes the
briefing's transcript_path line to the bound conversation, completing the
one-off-consult fix from #314.
2026-09-04 12:37:48 +00:00
Eric Zakariasson 659a6363c0 feat(advisor): add Advisor plugin (Grok 4.6 consults at key checkpoints) (#314)
Adds an Advisor plugin: the main model consults a stronger model before
major decisions, when stuck on an error, and before declaring a task done.
The advisor gets a full briefing plus the conversation transcript path,
returns a verdict with guidance, and the main model keeps doing the work.
The default advisor is the latest Grok (Grok 4.6) at its highest reasoning
effort; /advisor <model> accepts any model available to subagents.

- skill `advisor`: /advisor [model|off|status|ask ...|nudge on|off],
  checkpoint protocol, briefing template, usable as a Custom Mode
- agent `advisor-subagent`: read-only, pinned to grok-4.6[effort=xhigh]
- hooks: track edits since the last consult, log consults to
  .cursor/advisor/log.md, nudge a pre-completion consult once per batch
  of edits; state is bound to the conversation that enabled it
- registered in marketplace.json and the root README
2026-09-04 12:22:22 +00:00