Configurable UI Shortcuts & Automated Triggers for Processes/Workflows #3110
Replies: 1 comment
-
The automated trigger is super interesting / useful, when doing sub-agents / sub-tasks in different modes, because we can automated linting/formatting/compiling/type-checking/style-enforcement/unit-tests etc at various events (like file changed/created/deleted or a sub-task is completed - without prompting the agent/AI and determinisically run the same checks - and feed that back to the AI (saving both time and adding determinism). It also lets devs choose the exact commands to run, since Roo would raise the event, the dev would define the commands to run (we could have standardised lint/type-check/compile/format/test etc commands that are customised to give just the required level of detail to the AI without bloating the context and have very fine-grained control - even have custom shell scripts that can do all sorts of things. Pretty much like Claude-Code's hooks. Is there any interest in doing this - happy to contribute. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
1. Problem Statement:
run /path/to/sop for file1 file2
), currently requires manually typing the full command and parameters. This can be repetitive, error-prone, and lacks discoverability for available standardized actions.2. Proposed Solution:
Part A: Configurable UI Shortcuts
.ruru/shortcuts.toml
or similar).run /path/to/sop
,git commit -m "{message}"
,mv {source} {destination}
).{files_to_commit}
,{commit_message}
,{source_path}
).Part B: Standardized Automated Triggers
.ruru/triggers.toml
).0 0 * * *
for daily at midnight).on_commit
,on_file_change:*.py
,on_workspace_open
.context_usage > 80%
,uncommitted_files > 5
,terminal_output_matches:"Error:"
.3. Benefits:
4. Example Use Cases:
This breakdown clarifies the two main components (manual UI shortcuts and automated triggers) and provides a more structured explanation for a feature request.
Beta Was this translation helpful? Give feedback.
All reactions