Skip to content

Commit c099d20

Browse files
authored
new policy (#10)
1 parent d144e01 commit c099d20

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.deepwork.policy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,27 @@
1717
2. Check that file paths and directory structures are still correct
1818
3. Ensure component descriptions reflect actual behavior
1919
4. Update any diagrams or flows that may have changed
20+
21+
- name: "Standard Jobs Source of Truth"
22+
trigger:
23+
- ".deepwork/jobs/deepwork_jobs/**/*"
24+
- ".deepwork/jobs/deepwork_policy/**/*"
25+
safety:
26+
- "src/deepwork/standard_jobs/deepwork_jobs/**/*"
27+
- "src/deepwork/standard_jobs/deepwork_policy/**/*"
28+
instructions: |
29+
You modified files in `.deepwork/jobs/deepwork_jobs/` or `.deepwork/jobs/deepwork_policy/`.
30+
31+
**These are installed copies, NOT the source of truth!**
32+
33+
Standard jobs (deepwork_jobs, deepwork_policy) must be edited in their source location:
34+
- Source: `src/deepwork/standard_jobs/[job_name]/`
35+
- Installed copy: `.deepwork/jobs/[job_name]/` (DO NOT edit directly)
36+
37+
**Required action:**
38+
1. Revert your changes to `.deepwork/jobs/deepwork_*/`
39+
2. Make the same changes in `src/deepwork/standard_jobs/[job_name]/`
40+
3. Run `deepwork install --platform claude` to sync changes
41+
4. Verify the changes propagated correctly
42+
43+
See CLAUDE.md section "CRITICAL: Editing Standard Jobs" for details.

0 commit comments

Comments
 (0)