You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: namespace reviewer agent as deepwork:reviewer (#375)
* fix: namespace reviewer agent as deepwork:reviewer
Use the fully-qualified plugin agent name "deepwork:reviewer" instead of
bare "reviewer" so the agent is correctly resolved from the plugin. The
/review skill now checks for agent availability and tells users to run
/reload-plugins if the agent is missing.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: update specs and docs for deepwork:reviewer rename
- Update REVIEW-REQ-006.3.3c to reference "deepwork:reviewer" default
- Add REVIEW-REQ-007.1.10 for agent availability pre-flight check
- Update README_REVIEWS.md example output and contributor setup section
- Add plugins/**/agents/**/*.md to prompt_best_practices review rule
- Add changelog entries for the reviewer rename
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore: tighten requirements_traceability instructions and add shell_code_review output format
- Condensed requirements_traceability inline instructions (~94 → ~45 lines)
while preserving all review criteria
- Added explicit Output Format section to shell_code_review rule
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@@ -535,6 +533,6 @@ Patterns follow standard glob syntax, evaluated relative to the `.deepreview` fi
535
533
536
534
## Contributor setup
537
535
538
-
By default, `/review` dispatches each review task to the `reviewer` subagent shipped with the DeepWork Claude plugin (`plugins/claude/agents/reviewer.md`). If you are developing against this repo with only the dev MCP server (`uv run deepwork serve`) and no plugin installed, Claude Code cannot resolve `subagent_type: reviewer` and review dispatch will fail.
536
+
By default, `/review` dispatches each review task to the `deepwork:reviewer` subagent shipped with the DeepWork Claude plugin (`plugins/claude/agents/reviewer.md`). If you are developing against this repo with only the dev MCP server (`uv run deepwork serve`) and no plugin installed, Claude Code cannot resolve `subagent_type: deepwork:reviewer` and review dispatch will fail.
539
537
540
538
To run reviews as a contributor, install the plugin alongside the dev server: `claude plugin marketplace add Unsupervisedcom/deepwork && claude plugin install deepwork@deepwork-plugins`. The plugin ships the reviewer agent file, and either MCP server prefix (`mcp__deepwork-dev__*` or `mcp__plugin_deepwork_deepwork__*`) will resolve the reviewer's tools.
Copy file name to clipboardExpand all lines: doc/specs/deepwork/review/REVIEW-REQ-006-cli-review-command.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ The `deepwork review` CLI command orchestrates the full DeepWork Reviews pipelin
32
32
3. For each review task, the output MUST include fields matching the Claude Code `Agent` tool parameters:
33
33
a. ~~DEPRECATED~~~~A `name` field formatted as `"{scope_prefix}{rule_name} review of {file_or_scope}"`.~~
34
34
b. A `description` field with a short (3-5 word) summary for the task (e.g., `"Review {rule_name}"`). When the rule comes from a `.deepreview` in a subdirectory, the description MUST include the scope (e.g., `"Review my_job/{rule_name}"`).
35
-
c. A `subagent_type` field set to the agent persona name (from the rule's `agent.claude` value) or `"reviewer"` if no persona is specified. `"reviewer"` refers to the default reviewer subagent shipped by the DeepWork Claude plugin (`plugins/claude/agents/reviewer.md`).
35
+
c. A `subagent_type` field set to the agent persona name (from the rule's `agent.claude` value) or `"deepwork:reviewer"` if no persona is specified. `"deepwork:reviewer"` refers to the default reviewer subagent shipped by the DeepWork Claude plugin (`plugins/claude/agents/reviewer.md`), using the plugin-namespaced agent name.
36
36
d. A `prompt` field referencing the instruction file path relative to the project root, prefixed with `@` (e.g., `@.deepwork/tmp/review_instructions/7142141.md`).
37
37
4. The instruction file paths MUST be relative to the project root.
38
38
5. When running inside a git worktree, the formatter MUST resolve `@file` paths relative to the main working tree root (not the worktree root), because Claude Code expands `@file` references relative to the main repo root. The main repo root MUST be detected via `git rev-parse --path-format=absolute --git-common-dir`. If git is unavailable or the directory is not a worktree, the formatter MUST fall back to using the project root.
Copy file name to clipboardExpand all lines: doc/specs/deepwork/review/REVIEW-REQ-007-plugin-skills.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ DeepWork Reviews is delivered to users via the Claude Code plugin. The plugin sh
17
17
7. The skill MUST instruct the agent to use AskUserQuestion for findings that involve trade-offs or subjective judgment.
18
18
8. The skill MUST instruct the agent to re-run the review after making changes, repeating until no further actionable findings remain.
19
19
9. The skill MUST route configuration requests (creating or modifying `.deepreview` files) to the `configure_reviews` skill.
20
+
10. The skill MUST verify that the `deepwork:reviewer` agent is available before running reviews. If the agent is not available, the skill MUST stop and instruct the user to run `/reload-plugins` to pick up the latest plugin updates.
Copy file name to clipboardExpand all lines: plugins/claude/agents/reviewer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
name: reviewer
2
+
name: deepwork:reviewer
3
3
description: Minimal review subagent for DeepWork review tasks. Reads a supplied instruction file, performs the review against the criteria in that file, and reports results via the DeepWork MCP mark_review_as_passed tool. Use when dispatching parallel review tasks from .deepreview rules or workflow quality gates.
Copy file name to clipboardExpand all lines: plugins/claude/skills/review/SKILL.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,14 @@ Run automated code reviews on the current branch based on `.deepreview` config f
16
16
17
17
Only proceed past this section if the user wants to **run** reviews.
18
18
19
+
## Pre-flight — Verify Agent Availability
20
+
21
+
Before running reviews, check that the `deepwork:reviewer` agent is available. If it does not appear in the agents list (i.e., the Agent tool does not list `deepwork:reviewer` as a valid `subagent_type`), **STOP** and tell the user:
22
+
23
+
> The `deepwork:reviewer` agent is not available. Please run `/reload-plugins` to pick up the latest plugin updates, then try again.
24
+
25
+
Do not proceed with reviews until the agent is available.
26
+
19
27
## How to Run
20
28
21
29
1. Call the `mcp__deepwork__get_review_instructions` tool directly:
0 commit comments