NW-REVIEW: Expert Critique and Quality Assurance Wave: CROSS_WAVE Agent: Dynamic…
Jump to turn (7)
- User
Wave: CROSS_WAVE Agent: Dynamic (nw-*-reviewer)
Dispatches expert reviewer agent to critique workflow artifacts. Takes base agent name, appends -reviewer, invokes with artifact. Reviewer agent owns all review methodology|criteria|output format.
Every review MUST embody Radical Candor — kind AND clear, specific AND sincere:
praise: per review.All findings MUST use Conventional Comments labels:
| Label | Purpose | Blocking? |
|---|---|---|
praise: | Highlight something done well (genuine, not filler) | No |
issue (blocking): | Must be resolved before proceeding | Yes |
issue (blocking, security): | Security vulnerability — maximum directness | Yes |
suggestion: | Propose improvement with reasoning | Mark (blocking) or (non-blocking) |
nitpick (non-blocking): | Trivial, preference-based | No |
question (non-blocking): | Seek clarification before assuming | No |
thought (non-blocking): | Idea sparked by the review | No |
Findings MUST be priority-ordered: blocking issues first, then suggestions, then nitpicks/praise.
| Verdict | Criteria |
|---|---|
| APPROVED | No blocking issues. Non-blocking feedback is advisory. |
| NEEDS_REVISION | Blocking issues exist. Author must address. Each blocking issue enumerated. |
| REJECTED | Fundamental design problems requiring significant rework. Rare — explain thoroughly, offer alternatives. |
/nw:review @{agent-name} {artifact-type} "{artifact-path}" [step_id={id}] [--dimensions=rpp] [--from=1] [--to=3]
Parameters:
@{agent-name} - Base agent (e.g., @nw-software-crafter). -reviewer suffix appended automatically.{artifact-type} - One of: baseline, roadmap, step, task, implementation{artifact-path} - Path to artifact file (resolved to absolute)step_id={id} - Required for step and implementation reviews--dimensions=rpp - Triggers RPP code smell scan alongside standard review (Dimension 4)--from=N / --to=N - RPP level range (default: 1-6). Requires --dimensions=rppBefore dispatching the reviewer agent, read rigor config from .nwave/des-config.json (key: rigor). If absent, use standard defaults.
review_enabled: If false, skip the review entirely. Output: "Review skipped per rigor profile (review_enabled=false)."reviewer_model: Pass as model parameter to Task tool. If "skip", skip the review. Overrides the default Haiku model.double_review: If true and called from deliver Phase 4, the caller is responsible for invoking review twice.| User provides | Reviewer invoked |
|---|---|
@nw-software-crafter | nw-software-crafter-reviewer |
@nw-solution-architect | nw-solution-architect-reviewer |
@nw-platform-architect | nw-platform-architect-reviewer |
Default model: Haiku (overridden by rigor.reviewer_model when set).
Parse parameters, validate, then invoke via Task tool:
Task(
subagent_type="{agent-name}-reviewer",
model=rigor_reviewer_model, # omit if using default haiku
prompt="Review {artifact-type}: {absolute-artifact-path} [step_id={id}]"
)
Reviewer handles: reading artifact|applying domain expertise|generating structured critique|updating original artifact with review metadata.
@, check agent registry)step or implementationOn validation failure, return specific error and stop.
/nw:review @nw-software-crafter step "docs/feature/auth-upgrade/execution-log.yaml" step_id=02-01
Invokes nw-software-crafter-reviewer with step review of execution log, step 02-01.
/nw:review @nw-solution-architect roadmap "docs/feature/auth-upgrade/roadmap.yaml"
Invokes nw-solution-architect-reviewer with roadmap review.
/nw:review @nw-platform-architect implementation "docs/feature/auth-upgrade/execution-log.yaml" step_id=01-01
Invokes nw-platform-architect-reviewer with implementation review of step 01-01.
/nw:review @nw-software-crafter implementation "src/des/" --dimensions=rpp --from=1 --to=3
Invokes nw-software-crafter-reviewer with implementation review + RPP L1-L3 code smell detection using cascade rule.
Handoff To: Depends on review outcome (rework or proceed) Deliverables: Updated artifact file with embedded review metadata
Updated artifact file (roadmap.yaml, execution-log.yaml, etc.) with reviews section
ARGUMENTS: @docs/feature/llm-proxy/roadmap.yaml
Let me check for rigor configuration and then dispatch the review.
Review is enabled, model inherits default. Dispatching nw-solution-architect-reviewer for roadmap review.
Verdict: NEEDS_REVISION (4 critical, 4 high, 5 medium issues)
proxy_intelligence_config table not explicitly assigned to migration 0042opencode_session_id → external_session_id needs a 3-step migration (ADD → UPDATE → REMOVE), not just a renameWant me to apply the revisions to the roadmap file?
/context context
No response requested.
yes, apply the revisions to roadmap file and relevant artifacts
Let me read the current roadmap and related artifacts first.
Now let me apply all the review findings as revisions to the roadmap.
Let me find the exact text for the spend dashboard description.
Now update the spend dashboard AC to add cache invalidation requirement:
Now update conversation hash (03-01) — add idempotency strategy and degradation AC:
Now fix context injection (03-02) — clarify opaque capture scope and add embedding model spec:
Now update Observer trace step (04-01) — add webhook receiver file and prerequisite:
Now update reverse coherence scan (04-02) — add query specification and dedup details:
Now update the metrics section to reflect the new AC count and add the test scenario mapping:
Now update the validation status:
All revisions applied. Let me verify the final state is clean.
Here's a summary of all revisions applied to docs/feature/llm-proxy/roadmap.yaml:
opencode_session_id → external_session_idproxy_intelligence_config table to migration 0042<-implemented_by<-decision) and deduplication logic (30-day window)EMBEDDING_MODEL) and context candidate pool caching ACpending_review → revised with review date and summary/context context
u did not apply these fixes to the artifacts that roadmap targets..
You're right — the design artifacts referenced by the roadmap need to be updated to stay consistent. Let me read them and apply the fixes.
Now I have all the artifacts in context. Let me read the intelligence design doc's relevant sections for the trace capture and reverse coherence parts.
Let me use context-mode to extract the sections I need to edit from the intelligence design doc.
Now I have the line references. Let me read and edit the specific sections that need updating.
Good, now I have all the sections I need to edit. Let me apply the fixes across all artifacts in parallel.
Now update the architecture doc — field rename migration details, budget cache, and policy response format.
Now update ADR-050 — add idempotency strategy and degradation behavior.
Now update ADR-051 — clarify opaque capture in the decision section.
Now verify all changes across all files.
All 5 artifacts updated. Here's the summary of changes per file:
docs/feature/llm-proxy/roadmap.yaml (+55/-32)Already applied in previous turn — all 4 critical + 4 high + 5 medium fixes.
docs/architecture/llm-proxy-intelligence-design.md (+25/-14)output FLEXIBLE from selective text_blocks/tool_inputs to complete opaque content array capture per ADR-051EMBEDDING_MODEL from config)<-implemented_by<-decision), 14-day rationale, 30-day dedup windowdocs/architecture/llm-proxy-architecture.md (+20/-11)docs/adrs/ADR-050-conversation-hash-correlation-uuidv5.md (+5/-2)docs/adrs/ADR-051-observer-owned-detection-no-proxy-response-analyzer.md (+13/-7)POST /api/observe/trace/:id)/context context
commit
Committed 437351a6. 5 files updated with review revisions propagated across all artifacts.