Commit 1994f94
fix: remove redundant review rules and fix strategy/criteria mismatch
Several review cleanups driven by the observation that the `add_documentation_rules` step review was taking forever:
- job.yml: change `add_documentation_rules` review from `strategy: individual` to `strategy: matches_together`. Two of its three criteria (Documentation Covered, Efficient Rule Count) are project-wide and cross-cutting, so running them per-file forced each reviewer to redo the full project scan N times.
- job.yml: drop the `apply_rule` "Valid Configuration" criterion — the `deepreview` DeepSchema already enforces structural/schema validation via `json_schema_path`.
- job.yml: collapse the duplicated rule-YAML blocks in `add_deepwork_native_reviews`. The step previously showed the same two rules twice (once as a file-ref reference example, once as the inline version to emit) and told the agent to consult both, creating a contradiction about which form to use.
- Delete `src/deepwork/standard_jobs/deepwork_reviews/.deepreview` (`job_definition_review` rule): fully redundant with the `job_yml` DeepSchema which covers the same files and criteria.
- Delete `job_schema_instruction_compatibility` from the top-level `.deepreview`: its whole purpose was verifying job.yml files conform to `job.schema.json`, which is exactly what the `job_yml` DeepSchema's `json_schema_path` already enforces.
- Add `review-strategy-matches-criteria-scope` requirement to the `job_yml` DeepSchema so this class of bug is caught going forward: review `strategy: individual` must only be used when every criterion can be evaluated from a single file in isolation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1091181 commit 1994f94
4 files changed
Lines changed: 19 additions & 97 deletions
File tree
- src/deepwork
- standard_jobs/deepwork_reviews
- standard_schemas/job_yml
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 372 | | |
413 | 373 | | |
414 | 374 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 54 | + | |
97 | 55 | | |
98 | 56 | | |
99 | 57 | | |
100 | 58 | | |
101 | 59 | | |
102 | 60 | | |
103 | 61 | | |
104 | | - | |
| 62 | + | |
105 | 63 | | |
106 | 64 | | |
107 | 65 | | |
| |||
144 | 102 | | |
145 | 103 | | |
146 | 104 | | |
147 | | - | |
| 105 | + | |
148 | 106 | | |
149 | 107 | | |
150 | 108 | | |
| |||
175 | 133 | | |
176 | 134 | | |
177 | 135 | | |
178 | | - | |
| 136 | + | |
179 | 137 | | |
180 | 138 | | |
181 | 139 | | |
| |||
347 | 305 | | |
348 | 306 | | |
349 | 307 | | |
350 | | - | |
| 308 | + | |
351 | 309 | | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
358 | 314 | | |
359 | 315 | | |
360 | 316 | | |
| |||
905 | 861 | | |
906 | 862 | | |
907 | 863 | | |
908 | | - | |
909 | | - | |
| 864 | + | |
910 | 865 | | |
911 | 866 | | |
912 | 867 | | |
913 | | - | |
914 | 868 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
79 | 88 | | |
80 | 89 | | |
81 | 90 | | |
| |||
0 commit comments