Commit b092d8465c48

Vincent Demeester <vincent@sbr.pm>
2026-10-21 14:05:42
feat(dots): configure herdr reviewr
Enable repeatable agent-diff review with a managed Reviewr configuration and explicit plugin lifecycle targets. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 3abee77
Changed files (3)
dots
config
herdr
plugins
config
persiyanov.reviewr
dots/config/herdr/plugins/config/persiyanov.reviewr/config.toml
@@ -0,0 +1,15 @@
+# Managed via dots/Makefile — do not edit
+# ~/.config/herdr/plugins/config/persiyanov.reviewr/config.toml directly.
+
+theme = "tokyo-night"
+default_scope = "uncommitted"
+diff_view = "unified"
+navigator_position = "left"
+toggle_placement = "split"
+toggle_direction = "down"
+auto_open = true
+
+review_prefix = """
+Address every review comment. Explain any comment you intentionally do not
+apply, then run the relevant verification before reporting completion.
+"""
dots/config/herdr/config.toml
@@ -13,6 +13,11 @@ name = "kanagawa"
 
 [keys]
 prefix = "ctrl+b"
+
+[[keys.command]]
+key = "prefix+v"
+type = "plugin_action"
+command = "persiyanov.reviewr.toggle"
 # prefix+shift+n / prefix+shift+p cycle workspaces, shadowing the defaults for
 # new_workspace and rename_pane; both are rebound here.
 new_workspace = "prefix+t"
dots/Makefile
@@ -75,8 +75,18 @@ pi-agent-auth : pi-agent
 
 ##@ Herdr
 
-all += herdr
+all += herdr herdr-reviewr
 herdr : ~/.config/herdr/config.toml
+herdr-reviewr : ~/.config/herdr/plugins/config/persiyanov.reviewr/config.toml
+
+.PHONY: herdr-reviewr-install herdr-reviewr-update
+
+herdr-reviewr-install:
+	herdr plugin install --yes persiyanov/herdr-reviewr
+
+herdr-reviewr-update:
+	herdr plugin uninstall persiyanov.reviewr
+	herdr plugin install --yes persiyanov/herdr-reviewr
 
 ##@ AI Shared Config