M4 — Stage 2: Review (compose model + fallback) #5

Closed
opened 2026-07-24 00:53:30 +00:00 by david · 0 comments
Owner

Goal: grounded review producing severity-grouped Markdown findings.

Tasks

  • Compose system prompt from REVIEW_SKILL_PATH via the composer (NOT additionalSkillPaths); missing → default review body + degraded.
  • Gather existing standards docs that exist: AGENTS.md, CLAUDE.md, README.md, DOMAIN.md, CODING_STANDARDS.md (skip missing); pass paths/contents in the wrapper.
  • Review session runs build/test/lint via bash AND static review vs standards + implementation.diff.
  • Emit review-findings.md in the documented structure (Critical/High/Medium/Low; each finding file:line + suggested fix).

Depends on: M3.

Validation: with skill present → findings use the skill; with skill absent → default runs, review recorded in degradedStages, findings still well-formed.

**Goal:** grounded review producing severity-grouped Markdown findings. ### Tasks - [ ] Compose system prompt from `REVIEW_SKILL_PATH` via the composer (NOT `additionalSkillPaths`); missing → default review body + `degraded`. - [ ] Gather existing standards docs that exist: `AGENTS.md`, `CLAUDE.md`, `README.md`, `DOMAIN.md`, `CODING_STANDARDS.md` (skip missing); pass paths/contents in the wrapper. - [ ] Review session runs build/test/lint via bash AND static review vs standards + `implementation.diff`. - [ ] Emit `review-findings.md` in the documented structure (Critical/High/Medium/Low; each finding `file:line` + suggested fix). **Depends on:** M3. **Validation:** with skill present → findings use the skill; with skill absent → default runs, review recorded in `degradedStages`, findings still well-formed.
david closed this issue 2026-07-24 21:15:36 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
david/pi-loop#5
No description provided.