Skip to content

Commit 6b969df

Browse files
authored
Merge pull request #163 from shinpr/refactor/remove-review-change-set
Refine review scope contracts and remove unsupported defaults
2 parents 7ed608c + 9d18363 commit 6b969df

50 files changed

Lines changed: 107 additions & 109 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"name": "dev-workflows",
1313
"source": "./dev-workflows",
1414
"strict": true,
15-
"version": "0.24.5",
15+
"version": "0.24.6",
1616
"description": "Skills + Subagents for backend development - Use skills for coding guidance, or run recipe workflows for full orchestrated agentic coding with specialized agents",
1717
"author": {
1818
"name": "Shinsuke Kagawa",
@@ -82,7 +82,7 @@
8282
"name": "dev-workflows-frontend",
8383
"source": "./dev-workflows-frontend",
8484
"strict": true,
85-
"version": "0.24.5",
85+
"version": "0.24.6",
8686
"description": "Skills + Subagents for React/TypeScript - Use skills for coding guidance, or run recipe workflows for full orchestrated agentic coding with specialized agents",
8787
"author": {
8888
"name": "Shinsuke Kagawa",
@@ -155,7 +155,7 @@
155155
"name": "dev-workflows-fullstack",
156156
"source": "./dev-workflows-fullstack",
157157
"strict": true,
158-
"version": "0.24.5",
158+
"version": "0.24.6",
159159
"description": "Skills + Subagents for fullstack development (backend + React/TypeScript) - Use skills for coding guidance, or run recipe workflows for full orchestrated agentic coding with specialized agents",
160160
"author": {
161161
"name": "Shinsuke Kagawa",
@@ -244,7 +244,7 @@
244244
"name": "dev-skills",
245245
"source": "./dev-skills",
246246
"strict": true,
247-
"version": "0.24.5",
247+
"version": "0.24.6",
248248
"description": "Lightweight skills for users with existing workflows - coding best practices, testing principles, and design guidelines without recipe workflows or agents",
249249
"author": {
250250
"name": "Shinsuke Kagawa",

agents/code-reviewer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Operates in an independent context, executing autonomously until task completion
3535
## Input Parameters
3636

3737
- **designDoc**: Path to the Design Doc (or multiple paths for fullstack features)
38-
- **implementationFiles**: Complete list of files in the review change set
38+
- **implementationFiles**: Complete list of artifacts whose contents implement or verify reviewed behavior or control its schema, build, deployment, or runtime behavior
3939
- **reviewMode**: `full` (default) | `acceptance` | `architecture`
4040
- **prior_feedback** (optional): Array of `{ id, disposition, reason?, evidence }` from the preceding Review Resolution decision
4141

@@ -77,7 +77,7 @@ For each acceptance criterion extracted in Step 1:
7777
- For behavior-changing ACs, confirm the evidence covers the boundary paths, not only the main path: where a distinct branch, state, input class, lifecycle step, or fallback governs the behavior, verify it is exercised. Compare the source/referenced behavior and the implemented behavior at the same granularity; an unsupported change in a boundary dimension is a `dd_violation`
7878
- Confirm the implementation keeps the core mechanism the AC, Design Doc, or referenced materials require. A simpler substitute that passes tests but drops the required mechanism is a `dd_violation`
7979
- For changes to persisted, shared, or externally observable state, identify the publication boundary (where the new state becomes observable to another process, component, user, or later step). State that is observable as complete while still partial, uninitialized, stale, or rollback-only is a `reliability` finding, because a downstream consumer can treat the incomplete state as complete and fail
80-
- When the reviewed diff is a bug fix, regression fix, state change, or boundary change, check cases sharing its path, contract, persisted state, or external boundary. A sibling case still carrying the same class of defect is an `adjacent_residual` finding. When a task file is in scope, also read its Investigation Notes for recorded residuals and verify each one.
80+
- When the reviewed diff is a bug fix, regression fix, state change, or boundary change, check cases sharing its path, contract, persisted state, or external boundary. A sibling case still carrying the same class of defect is an `adjacent_residual` finding.
8181

8282
#### 2-2. Identifier Verification
8383

@@ -125,7 +125,7 @@ For each function/method in implementation files, check against coding-principle
125125
- For each AC marked fulfilled: Glob/Grep for corresponding test cases
126126
- Record which ACs have test coverage and which do not
127127
- For each test claimed as AC coverage, inspect the test body and count it as coverage only when at least one assertion exercises the AC's observable behavior. Record `skip`/`xit`-marked tests that should run, TODO/placeholder-only bodies, and always-true assertions (e.g., `expect(true).toBe(true)`, `expect(arr.length).toBeGreaterThanOrEqual(0)`) as `coverage_gap` even when grep finds them, with rationale explaining the substance issue. Tests verifying intentional absence (e.g., empty list, null result) are substantive when the absence is the AC's expectation.
128-
- Beyond substance, confirm each AC test exercises the claimed boundary and would turn red if the promised behavior regressed. When a task file is in scope, verify its Operation Verification Methods and optional Verification Focus. Missing required evidence is a `coverage_gap`.
128+
- Beyond substance, confirm each AC test exercises the claimed boundary and would turn red if the promised behavior regressed. Missing required boundary evidence is a `coverage_gap`.
129129

130130
#### Finding Classification
131131

agents/code-verifier.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ Your discrepancies are independent evidence for orchestrator Review Resolution.
2020

2121
- **doc_type**: `prd`, `design-doc`, or `work-plan`
2222
- **document_path**: Exact readable document path
23-
- **code_paths**: Optional explicit implementation paths, or a starting scope for reverse-engineering when `unit_inventory` is supplied
2423
- **unit_inventory**: Optional reverse-engineering baseline with `routes`, `testFiles`, and `publicExports`
2524
- **verbose**: Optional evidence detail
2625

2726
Return `summary.status: "blocked"` with `blockingReason` when the document type is unsupported or the authoritative document is missing or unreadable.
2827

29-
Use `unit_inventory` or an explicitly as-is document as the reverse-engineering boundary. For a post-implementation invocation, use supplied `code_paths` when present; otherwise derive the review scope from the current branch's committed changes relative to the repository's default branch. Verify the governing document's implemented behavior in that scope. For other invocations with no `unit_inventory`, treat planned future behavior as intent and verify its current-state premises and feasibility.
28+
Use `unit_inventory` or an explicitly as-is document as the reverse-engineering boundary. For a post-implementation invocation, verify the governing document's implemented behavior. For other invocations with no `unit_inventory`, treat planned future behavior as intent and verify its current-state premises and feasibility.
3029

3130
## Verification Boundary
3231

agents/security-reviewer.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@ Operates in an independent context, executing autonomously until task completion
2525
## Input Parameters
2626

2727
- **governingDocuments**: Non-empty list of authoritative documents. Each entry is `{ "type": "design-doc" | "work-plan", "path": "..." }`. Pass Design Docs when present; otherwise pass the resolved Work Plan.
28-
- **implementationFiles**: Optional explicit implementation files for the review
28+
- **implementationFiles**: Optional complete list of artifacts whose contents implement or verify reviewed behavior or control its schema, build, deployment, or runtime behavior
2929
- **prior_feedback** (optional): Array of `{ id, disposition, reason?, evidence }` from the preceding Review Resolution decision
3030

31-
For a post-implementation invocation, use supplied `implementationFiles` when present; otherwise derive the review scope from the current branch's committed changes relative to the repository's default branch.
32-
3331
## Review Criteria
3432

3533
Review criteria are defined in **coding-principles skill** (Security Principles section) and **references/security-checks.md** (detection patterns).

agents/solver.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ This agent outputs **solution derivation and recommendation presentation**. Proc
4646
- `independent`: derive separate solution for each failure point
4747
- `dependent`: one failure point causes another — solving the upstream may resolve downstream, but verify both
4848
- `same_chain`: failure points are on the same causal chain — prioritize the root of the chain
49-
- If no relationship information is provided, default assumption: failure points are independent
5049

5150
**For text format**:
5251
- Extract failure point descriptions

dev-skills/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dev-skills",
33
"description": "Lightweight skills for users with existing workflows - coding best practices, testing principles, and design guidelines without recipe workflows or agents",
4-
"version": "0.24.5",
4+
"version": "0.24.6",
55
"author": {
66
"name": "Shinsuke Kagawa",
77
"url": "https://github.com/shinpr"

dev-skills/skills/documentation-criteria/references/prd-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ C4Context
8585
- [Considerations for future scaling]
8686

8787
### Accessibility (when feature includes UI)
88-
- Compliance standard: [Use the organization standard when defined; otherwise default to WCAG 2.2 AA]
88+
- Compliance standard (when established by an accepted organizational, legal, contractual, or confirmed product source): [standard]
8989
- Target assistive technologies: [Screen reader, keyboard operation, voice control, etc.]
9090
- Platform requirements: [e.g., app store review requirements]
9191
- Known constraints: [e.g., external library limitations]

dev-workflows-frontend/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dev-workflows-frontend",
33
"description": "Skills + Subagents for React/TypeScript - Use skills for coding guidance, or run recipe workflows for full orchestrated agentic coding with specialized agents",
4-
"version": "0.24.5",
4+
"version": "0.24.6",
55
"author": {
66
"name": "Shinsuke Kagawa",
77
"url": "https://github.com/shinpr"

dev-workflows-frontend/agents/code-reviewer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Operates in an independent context, executing autonomously until task completion
3535
## Input Parameters
3636

3737
- **designDoc**: Path to the Design Doc (or multiple paths for fullstack features)
38-
- **implementationFiles**: Complete list of files in the review change set
38+
- **implementationFiles**: Complete list of artifacts whose contents implement or verify reviewed behavior or control its schema, build, deployment, or runtime behavior
3939
- **reviewMode**: `full` (default) | `acceptance` | `architecture`
4040
- **prior_feedback** (optional): Array of `{ id, disposition, reason?, evidence }` from the preceding Review Resolution decision
4141

@@ -77,7 +77,7 @@ For each acceptance criterion extracted in Step 1:
7777
- For behavior-changing ACs, confirm the evidence covers the boundary paths, not only the main path: where a distinct branch, state, input class, lifecycle step, or fallback governs the behavior, verify it is exercised. Compare the source/referenced behavior and the implemented behavior at the same granularity; an unsupported change in a boundary dimension is a `dd_violation`
7878
- Confirm the implementation keeps the core mechanism the AC, Design Doc, or referenced materials require. A simpler substitute that passes tests but drops the required mechanism is a `dd_violation`
7979
- For changes to persisted, shared, or externally observable state, identify the publication boundary (where the new state becomes observable to another process, component, user, or later step). State that is observable as complete while still partial, uninitialized, stale, or rollback-only is a `reliability` finding, because a downstream consumer can treat the incomplete state as complete and fail
80-
- When the reviewed diff is a bug fix, regression fix, state change, or boundary change, check cases sharing its path, contract, persisted state, or external boundary. A sibling case still carrying the same class of defect is an `adjacent_residual` finding. When a task file is in scope, also read its Investigation Notes for recorded residuals and verify each one.
80+
- When the reviewed diff is a bug fix, regression fix, state change, or boundary change, check cases sharing its path, contract, persisted state, or external boundary. A sibling case still carrying the same class of defect is an `adjacent_residual` finding.
8181

8282
#### 2-2. Identifier Verification
8383

@@ -125,7 +125,7 @@ For each function/method in implementation files, check against coding-principle
125125
- For each AC marked fulfilled: Glob/Grep for corresponding test cases
126126
- Record which ACs have test coverage and which do not
127127
- For each test claimed as AC coverage, inspect the test body and count it as coverage only when at least one assertion exercises the AC's observable behavior. Record `skip`/`xit`-marked tests that should run, TODO/placeholder-only bodies, and always-true assertions (e.g., `expect(true).toBe(true)`, `expect(arr.length).toBeGreaterThanOrEqual(0)`) as `coverage_gap` even when grep finds them, with rationale explaining the substance issue. Tests verifying intentional absence (e.g., empty list, null result) are substantive when the absence is the AC's expectation.
128-
- Beyond substance, confirm each AC test exercises the claimed boundary and would turn red if the promised behavior regressed. When a task file is in scope, verify its Operation Verification Methods and optional Verification Focus. Missing required evidence is a `coverage_gap`.
128+
- Beyond substance, confirm each AC test exercises the claimed boundary and would turn red if the promised behavior regressed. Missing required boundary evidence is a `coverage_gap`.
129129

130130
#### Finding Classification
131131

dev-workflows-frontend/agents/code-verifier.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ Your discrepancies are independent evidence for orchestrator Review Resolution.
2020

2121
- **doc_type**: `prd`, `design-doc`, or `work-plan`
2222
- **document_path**: Exact readable document path
23-
- **code_paths**: Optional explicit implementation paths, or a starting scope for reverse-engineering when `unit_inventory` is supplied
2423
- **unit_inventory**: Optional reverse-engineering baseline with `routes`, `testFiles`, and `publicExports`
2524
- **verbose**: Optional evidence detail
2625

2726
Return `summary.status: "blocked"` with `blockingReason` when the document type is unsupported or the authoritative document is missing or unreadable.
2827

29-
Use `unit_inventory` or an explicitly as-is document as the reverse-engineering boundary. For a post-implementation invocation, use supplied `code_paths` when present; otherwise derive the review scope from the current branch's committed changes relative to the repository's default branch. Verify the governing document's implemented behavior in that scope. For other invocations with no `unit_inventory`, treat planned future behavior as intent and verify its current-state premises and feasibility.
28+
Use `unit_inventory` or an explicitly as-is document as the reverse-engineering boundary. For a post-implementation invocation, verify the governing document's implemented behavior. For other invocations with no `unit_inventory`, treat planned future behavior as intent and verify its current-state premises and feasibility.
3029

3130
## Verification Boundary
3231

0 commit comments

Comments
 (0)