Skip to content

Follow up Rovo Dev upstream updates: event hooks (eventHooks in ~/.rovodev/config.yml) #1986

Description

@dyoshikawa

Summary

Atlassian's Rovo Dev CLI added an event-hooks system (managed via /hooks, stored in the eventHooks section of ~/.rovodev/config.yml) that rulesync's rovodev target does not implement at all. Separately, the skills adapter still drops the standard compatibility frontmatter field on round-trip (a residual of #1696).

Recent Releases

Gaps

  • hooks — unsupported. Rovo Dev CLI now has event hooks configured in an eventHooks section of ~/.rovodev/config.yml. Documented event(s) include on_tool_permission (when the agent requests tool permission), plus events on response completion and on error ("we're adding more events"). There is no src/features/hooks/rovodev-hooks.ts (every comparable CLI — claudecode, codexcli, geminicli, cursor, qwencode — has one), and rovodev is absent from the hooks feature entirely.
  • skills — compatibility dropped on round-trip (minor). RovodevSkillFrontmatterSchema (src/features/skills/rovodev-skill.ts) declares name/description/allowed-tools/license/metadata but not compatibility. Although the schema is z.looseObject, toRulesyncSkill/fromRulesyncSkill map fields explicitly, so the documented optional compatibility field is silently dropped rather than preserved. (The other fields were addressed in Follow up Rovo Dev upstream updates: saved prompts, tool permissions, and skill frontmatter #1696; compatibility remains.)

Proposed Follow-up

  • Add a RovodevHooks adapter writing the eventHooks block into global ~/.rovodev/config.yml (global-only, mirroring rovodev-permissions.ts which already merges into the same file and preserves other top-level keys). Caveat: the exact eventHooks YAML schema is not yet officially documented (preview feature surfaced via /hooks help). Confirm the schema against a live /hooks help / config dump before implementing, and start with the documented on_tool_permission event.
  • Add compatibility to RovodevSkillFrontmatterSchema and include it in the round-trip mappings alongside license/metadata.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    consideringenhancementNew feature or requestmaintainer-scrapRough notes for AI implementation. Not for human eyes.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions