You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: deprecate steps/ folder pattern in job definitions (#367)
* refactor: deprecate steps/ folder pattern in job definitions
Step instructions are now inlined in job.yml. This removes all references
to the steps/ folder pattern across documentation, AGENTS.md files,
.deepreview rules, CI tests, and job instructions. Supplemental reference
files are moved from steps/ to the job root directory.
The repair workflow retains steps/ references for migrating legacy jobs,
and now instructs agents to `git rm` step instruction files after inlining.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: address review findings — remove duplicate pattern, update .deepreview instructions
- Remove duplicate `**/conventions.md` in library/jobs/.deepreview include list
- Update engineer/.deepreview and template.deepreview to reference inline
step instructions instead of deprecated step instruction files
- Add changelog entry for steps/ deprecation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: update engineer .deepreview description to reflect inline instructions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
12
12
### Changed
13
13
14
+
- Deprecated the `steps/` folder pattern for job definitions — step instructions are now inlined in `job.yml`; moved supplemental reference files from `steps/` to job root directories
15
+
- Repair workflow now instructs agents to `git rm` step instruction files after inlining
│ ├── job.yml # Job definition (self-contained with inline instructions)
104
90
│ ├── readme.md # Job-specific documentation
105
91
│ ├── AGENTS.md # Agent context and learnings
106
-
│ ├── CLAUDE.md -> AGENTS.md
107
-
│ └── steps/
108
-
│ ├── scope.md
109
-
│ ├── choose_platforms.md
110
-
│ ├── gather.md
111
-
│ ├── gather_quick.md
112
-
│ ├── synthesize.md
113
-
│ ├── summarize.md
114
-
│ ├── report.md
115
-
│ ├── parse.md
116
-
│ ├── file.md
117
-
│ ├── ingest_material.md
118
-
│ ├── analyze.md
119
-
│ └── plan.md
92
+
│ └── CLAUDE.md -> AGENTS.md
120
93
└── spec_driven_development/
121
94
├── job.yml # Job definition (self-contained with inline instructions)
122
95
└── readme.md # Job-specific documentation
@@ -147,7 +120,7 @@ The job definition file contains:
147
120
-`process_requirements`: Optional quality criteria for the work process
148
121
-`post_workflow_instructions`: Optional instructions shown after workflow completes
149
122
150
-
Step instructions are inlined in `job.yml`. Some jobs also retain separate `steps/*.md` files from earlier versions; the inline `instructions` in `job.yml` are the canonical source.
123
+
Step instructions are inlined in `job.yml` using YAML block scalars (`instructions: |`).
Copy file name to clipboardExpand all lines: library/jobs/engineer/.deepreview
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,15 @@
1
1
job_definition_review:
2
-
description: "Review job.yml, requirements.md, and step instructions for correctness, completeness, and coherence as a holistic workflow."
2
+
description: "Review job.yml (with inline step instructions) and requirements.md for correctness, completeness, and coherence as a holistic workflow."
3
3
match:
4
4
include:
5
5
- "job.yml"
6
-
- "steps/*.md"
7
6
- "requirements.md"
8
7
review:
9
8
strategy: matches_together
10
9
instructions: |
11
-
Review this DeepWork job definition (job.yml), its requirements (requirements.md),
12
-
and its step instruction files (steps/*.md) holistically. Check that they form a
13
-
coherent, well-structured workflow that an AI agent can execute reliably.
10
+
Review this DeepWork job definition (job.yml) and its requirements (requirements.md)
11
+
holistically. Check that they form a coherent, well-structured workflow that an AI
12
+
agent can execute reliably.
14
13
15
14
## Reference Material
16
15
@@ -42,13 +41,13 @@ job_definition_review:
42
41
- Intermediate outputs that are not meant to be persisted should be in .deepwork/tmp (and the name should indicate that)
43
42
- Final outputs follow project conventions (not hidden in dot-directories, descriptive names, appropriate use of subdirectories)
44
43
45
-
### 4. Step Instructions Match job.yml
46
-
- Every step defined in job.yml has a corresponding instruction file
44
+
### 4. Inline Step Instructions
45
+
- Every step defined in job.yml has inline `instructions:` content
47
46
- Step instruction content aligns with the step's described purpose
48
47
- Instructions reference the correct input and output filenames from job.yml
49
48
- Instructions do not duplicate content already in `common_job_info_provided_to_all_steps_at_runtime`
50
-
- If there is duplicated content amongst the instruction files, it should be moved to `common_job_info_provided_to_all_steps_at_runtime` and removed from the instruction files
51
-
- If there is content that is needed in multiple steps but not all, it should be moved to its own file and referenced in the steps
49
+
- If there is duplicated content amongst step instructions, it should be moved to `common_job_info_provided_to_all_steps_at_runtime`
50
+
- If there is content that is needed in multiple steps but not all, it should be moved to a shared file in the job directory and referenced in the steps
52
51
53
52
### 5. Quality Reviews
54
53
- Steps with complex or final outputs have reviews defined
@@ -58,8 +57,8 @@ job_definition_review:
58
57
- Steps with no meaningful quality checks use `reviews: []`
59
58
60
59
### 6. Step Instruction Quality
61
-
- Each instruction file follows the structure and section headings defined in
62
-
`step_instruction.md.template` for this job type.
60
+
- Each step's inline instructions follow the structure and section headings
61
+
defined in `step_instruction.md.template` for this job type.
63
62
- The sections clearly communicate: what the step is trying to achieve,
64
63
what the agent should do, what to produce (including format/examples),
0 commit comments