From 7c914ae8b2d3e4e9202057dcd811f4c088489fc4 Mon Sep 17 00:00:00 2001 From: Alex Verkhovsky Date: Sun, 4 Jan 2026 21:05:48 -0800 Subject: [PATCH] refactor(code-review): inline single-use adversarial task path --- .../code-review/steps/step-04-adversarial-review.md | 2 +- .../bmm/workflows/4-implementation/code-review/workflow.md | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/modules/bmm/workflows/4-implementation/code-review/steps/step-04-adversarial-review.md b/src/modules/bmm/workflows/4-implementation/code-review/steps/step-04-adversarial-review.md index e0746abe..96a82d8a 100644 --- a/src/modules/bmm/workflows/4-implementation/code-review/steps/step-04-adversarial-review.md +++ b/src/modules/bmm/workflows/4-implementation/code-review/steps/step-04-adversarial-review.md @@ -77,7 +77,7 @@ If no baseline available, review current state of files in `{file_list}`: With `{diff_output}` constructed, invoke the review task. If possible, use information asymmetry: run this step, and only it, in a separate subagent or process with read access to the project, but no context except the `{diff_output}`. ```xml -Review {diff_output} using {adversarial_review_task} +Review {diff_output} using {project-root}/_bmad/core/tasks/review-adversarial-general.xml ``` **Platform fallback:** If task invocation not available, load the task file and execute its instructions inline, passing `{diff_output}` as the content. diff --git a/src/modules/bmm/workflows/4-implementation/code-review/workflow.md b/src/modules/bmm/workflows/4-implementation/code-review/workflow.md index afc4149d..13274de9 100644 --- a/src/modules/bmm/workflows/4-implementation/code-review/workflow.md +++ b/src/modules/bmm/workflows/4-implementation/code-review/workflow.md @@ -29,10 +29,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve: - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml` - `validation` = `{installed_path}/checklist.md` -### Related Tasks - -- `adversarial_review_task` = `{project-root}/_bmad/core/tasks/review-adversarial-general.xml` - --- ## CRITICAL DIRECTIVES