Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .claude/commands/add_platform.add_capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ hooks:
5. adapters.py remains consistent - all adapters have the same hook fields
6. If no new hooks are needed, document why in a comment

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -178,7 +178,7 @@ Or if no changes are needed, add a documentation comment:
- `job_schema.py` has no syntax errors (verified with py_compile)
- `adapters.py` has no syntax errors (verified with py_compile)
- All adapters have consistent hook fields (same fields across all adapters)
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down Expand Up @@ -251,15 +251,15 @@ Verify the capability additions meet ALL criteria:
5. adapters.py remains consistent - all adapters have the same hook fields
6. If no new hooks are needed, document why in a comment

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
10 changes: 5 additions & 5 deletions .claude/commands/add_platform.implement.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ hooks:
- Installation instructions for the platform
- Any platform-specific notes

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -281,7 +281,7 @@ deepwork install --platform <platform_name>
- Platform listed in supported platforms
- Installation command documented
- Any platform-specific notes included
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down Expand Up @@ -354,15 +354,15 @@ Verify the implementation meets ALL criteria:
- Installation instructions for the platform
- Any platform-specific notes

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
10 changes: 5 additions & 5 deletions .claude/commands/add_platform.research.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ hooks:
5. No extraneous documentation (only these two specific topics)
6. Documentation is comprehensive enough to implement the platform

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -234,7 +234,7 @@ Source: [URL where this documentation was obtained]
- NOT general CLI hooks (only command-level hooks)
- Documentation is detailed enough to implement the platform adapter
- No extraneous topics (only CLI config and command hooks)
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down Expand Up @@ -298,15 +298,15 @@ Verify the research output meets ALL criteria:
5. No extraneous documentation (only these two specific topics)
6. Documentation is comprehensive enough to implement the platform

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
10 changes: 5 additions & 5 deletions .claude/commands/add_platform.verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ hooks:
5. Established DeepWork jobs (deepwork_jobs, deepwork_policy) are installed correctly
6. The platform can be used alongside existing platforms without conflicts

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -159,7 +159,7 @@ Ensure the implementation step is complete:
- No template errors or missing content
- Existing platforms still work (if applicable)
- No conflicts between platforms
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down Expand Up @@ -221,15 +221,15 @@ Verify the installation meets ALL criteria:
5. Established DeepWork jobs (deepwork_jobs, deepwork_policy) are installed correctly
6. The platform can be used alongside existing platforms without conflicts

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
10 changes: 5 additions & 5 deletions .claude/commands/deepwork_jobs.define.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ hooks:
7. **File Created**: Has the job.yml file been created in `.deepwork/jobs/[job_name]/job.yml`?

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -235,7 +235,7 @@ steps:
Verify this step's output meets quality criteria:
1. [Criterion 1]
2. [Criterion 2]
If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.

- id: [another_step]
name: "[Another Step]"
Expand Down Expand Up @@ -464,15 +464,15 @@ Verify the job.yml output meets ALL quality criteria before completing:
7. **File Created**: Has the job.yml file been created in `.deepwork/jobs/[job_name]/job.yml`?

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
12 changes: 6 additions & 6 deletions .claude/commands/deepwork_jobs.implement.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ hooks:
- Not every job needs policies - only suggest when genuinely helpful.

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -187,7 +187,7 @@ If a step in the job.yml has `stop_hooks` defined, the generated instruction fil

1. **Mirror the quality criteria** - The "Quality Criteria" section should match what the stop hooks will validate
2. **Be explicit about success** - Help the agent understand when the step is truly complete
3. **Include the promise pattern** - Mention that `<promise>QUALITY_COMPLETE</promise>` should be included when criteria are met
3. **Include the promise pattern** - Mention that `<promise>✓ Quality Criteria Met</promise>` should be included when criteria are met

**Example: If the job.yml has:**
```yaml
Expand All @@ -208,7 +208,7 @@ If a step in the job.yml has `stop_hooks` defined, the generated instruction fil
- Each competitor has at least 3 distinct data points
- All information is sourced with citations
- Data is current (from within the last year)
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response
```

This alignment ensures the AI agent knows exactly what will be validated and can self-check before completing.
Expand Down Expand Up @@ -556,15 +556,15 @@ Verify the implementation meets ALL quality criteria before completing:
- Not every job needs policies - only suggest when genuinely helpful.

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
8 changes: 4 additions & 4 deletions .claude/commands/deepwork_jobs.refine.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ hooks:
8. **Sync Complete**: Has `deepwork sync` been run to regenerate commands?

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


## Instructions

Review the conversation and determine if ALL quality criteria above have been satisfied.
Look for evidence that each criterion has been addressed.

If the agent has included `<promise>QUALITY_COMPLETE</promise>` in their response AND
If the agent has included `<promise>✓ Quality Criteria Met</promise>` in their response AND
all criteria appear to be met, respond with: {"ok": true}

If criteria are NOT met AND the promise tag is missing, respond with:
Expand Down Expand Up @@ -554,15 +554,15 @@ Verify the refinement meets ALL quality criteria before completing:
8. **Sync Complete**: Has `deepwork sync` been run to regenerate commands?

If ANY criterion is not met, continue working to address it.
If ALL criteria are satisfied, include `<promise>QUALITY_COMPLETE</promise>` in your response.
If ALL criteria are satisfied, include `<promise>✓ Quality Criteria Met</promise>` in your response.


### Completion Promise

To signal that all quality criteria have been met, include this tag in your final response:

```
<promise>QUALITY_COMPLETE</promise>
<promise>✓ Quality Criteria Met</promise>
```

**Important**: Only include this promise tag when you have verified that ALL quality criteria above are satisfied. The validation loop will continue until this promise is detected.
Expand Down
2 changes: 1 addition & 1 deletion .claude/commands/deepwork_policy.define.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Policies are evaluated automatically when you finish working on a task. The syst
3. Skips policies where safety patterns also matched
4. Prompts you with instructions for any triggered policies

You can mark a policy as addressed by including `<promise policy="Policy Name">considered</promise>` in your response. This tells the system you've already handled that policy's requirements.
You can mark a policy as addressed by including `<promise>✓ Policy Name</promise>` in your response (replace Policy Name with the actual policy name). This tells the system you've already handled that policy's requirements.


## Inputs
Expand Down
8 changes: 4 additions & 4 deletions .deepwork/jobs/add_platform/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ steps:
5. No extraneous documentation (only these two specific topics)
6. Documentation is comprehensive enough to implement the platform

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.

- id: add_capabilities
name: "Add Hook Capabilities"
Expand All @@ -75,7 +75,7 @@ steps:
5. adapters.py remains consistent - all adapters have the same hook fields
6. If no new hooks are needed, document why in a comment

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.

- id: implement
name: "Implement Platform Support"
Expand Down Expand Up @@ -110,7 +110,7 @@ steps:
- Installation instructions for the platform
- Any platform-specific notes

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.

- id: verify
name: "Verify Installation"
Expand All @@ -133,4 +133,4 @@ steps:
5. Established DeepWork jobs (deepwork_jobs, deepwork_policy) are installed correctly
6. The platform can be used alongside existing platforms without conflicts

If ALL criteria are met, include `<promise>QUALITY_COMPLETE</promise>`.
If ALL criteria are met, include `<promise>✓ Quality Criteria Met</promise>`.
2 changes: 1 addition & 1 deletion .deepwork/jobs/add_platform/steps/add_capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Or if no changes are needed, add a documentation comment:
- `job_schema.py` has no syntax errors (verified with py_compile)
- `adapters.py` has no syntax errors (verified with py_compile)
- All adapters have consistent hook fields (same fields across all adapters)
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down
2 changes: 1 addition & 1 deletion .deepwork/jobs/add_platform/steps/implement.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ deepwork install --platform <platform_name>
- Platform listed in supported platforms
- Installation command documented
- Any platform-specific notes included
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down
2 changes: 1 addition & 1 deletion .deepwork/jobs/add_platform/steps/research.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Source: [URL where this documentation was obtained]
- NOT general CLI hooks (only command-level hooks)
- Documentation is detailed enough to implement the platform adapter
- No extraneous topics (only CLI config and command hooks)
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down
2 changes: 1 addition & 1 deletion .deepwork/jobs/add_platform/steps/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Ensure the implementation step is complete:
- No template errors or missing content
- Existing platforms still work (if applicable)
- No conflicts between platforms
- When all criteria are met, include `<promise>QUALITY_COMPLETE</promise>` in your response
- When all criteria are met, include `<promise>✓ Quality Criteria Met</promise>` in your response

## Context

Expand Down
Loading