Repository navigation
skills(running-tend): don't restate mention-handler analysis in reviews - #2656
worktrunk-bot wants to merge 3 commits into
Conversation
`opencode_plugins_dir()` previously fell back to `dirs::config_dir()`, which on macOS returns `~/Library/Application Support`. OpenCode itself treats that path as the *managed* settings directory and looks for user plugins under `~/.config/opencode/` on every OS, so the plugin landed in the wrong place on macOS — its in-code docstring already claimed it was written to `~/.config/opencode/plugins/`, but the runtime disagreed. Mirror OpenCode's documented global-config precedence instead: `$OPENCODE_CONFIG_DIR` > `$XDG_CONFIG_HOME/opencode` > `~/.config/opencode`. The Linux behaviour is unchanged; macOS now matches the docs and the existing CLI help text. Closes #2654 Co-Authored-By: Claude <[email protected]>
The install path now follows OpenCode's documented config precedence (OPENCODE_CONFIG_DIR > XDG_CONFIG_HOME/opencode > ~/.config/opencode), but the help text still named only OPENCODE_CONFIG_DIR. A user with XDG_CONFIG_HOME set saw the plugin land somewhere other than the help text suggested.
Adds a cross-workflow dedup rule for the case where tend-mention pushes a fix + posts a reply, and the resulting synchronize triggers tend-review, which then re-states the same analysis in the review body. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
@tend-agent: two things went quite wrong here:
can you debug, evaluate what went wrong, and make the appropriate changes? |
|
@worktrunk-bot put an issue in about the original issue, into |
|
Investigated — two things went wrong: Wrong target. The dedup rule belongs in tend's bundled Branch wasn't reset to main. I branched off Closing. |
|
Both gaps are now captured in tend: |
Summary
Adds a cross-workflow dedup rule to running-tend for the case where
tend-mentionhandles a maintainer comment (push + reply), and the resultingsynchronizetriggerstend-review, which re-states the same analysis in the review body.This is the pattern flagged in #2655 (comment): the bot answered the same "more opencode-native approach" question twice in five minutes — once in the mention-handler reply at 19:37 and again in the review body at 19:42.
Why this rule, not a workflow change
The bundled review skill already says "check whether a bot reply exists after the question's timestamp before answering", but scopes it to inline comments specifically. The new rule extends the dedup expectation to the review body and summary, and names the cross-workflow shape explicitly so future review runs catch it.
Notes
tend-reviewskill probably wants the same tightening; happy to file an upstream issue againstmax-sixty/tendseparately.Test plan