Skip to content

Commit 840fe0e

Browse files
nhortonclaude
andcommitted
docs: update architecture.md to reflect learn workflow's preventive automation
The learn workflow now evaluates prevention opportunities and creates DeepSchemas and DeepReview rules. Updated three sections in architecture.md to document this capability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d3d07e5 commit 840fe0e

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

doc/architecture.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ DeepWork includes a built-in job called `deepwork_jobs` for managing jobs. It pr
483483
- **`repair`** workflow: `fix_settings` → `fix_jobs` → `errata`
484484
- Cleans up and migrates DeepWork configurations from prior versions
485485
- **`learn`** workflow: `learn`
486-
- Analyzes conversation history to improve job instructions and capture learnings
486+
- Analyzes conversation history to improve job instructions, capture learnings, and create preventive automation (DeepSchemas and DeepReview rules)
487487
488488
These are auto-discovered at runtime by the MCP server from the Python package.
489489
@@ -532,7 +532,7 @@ User: /deepwork new_job
532532
533533
### The `learn` Workflow
534534
535-
Analyzes conversation history to improve job instructions and capture learnings:
535+
Analyzes conversation history to improve job instructions, capture learnings, and create preventive automation:
536536
537537
```
538538
User: /deepwork_jobs.learn
@@ -551,10 +551,14 @@ Claude: I'll analyze this conversation for DeepWork job executions...
551551
Bespoke learnings captured:
552552
✓ Created AGENTS.md with project-specific notes about this competitive research instance
553553

554+
Prevention opportunities evaluated:
555+
✓ Created DeepSchema for competitor_profiles/ output format
556+
✓ Added DeepReview rule to enforce source prioritization in research steps
557+
554558
Job instructions updated in place. Changes take effect on next workflow run.
555559
```
556560
557-
This standalone skill can be run anytime after executing a job to capture learnings and improve instructions.
561+
This standalone skill can be run anytime after executing a job to capture learnings, improve instructions, and create preventive automation (DeepSchemas and DeepReview rules).
558562
559563
### Step Instructions at Runtime
560564
@@ -742,6 +746,7 @@ The `/deepwork_jobs.define` command:
742746
The `/deepwork_jobs.learn` command:
743747
1. Identifies doc spec-related learnings (quality criteria issues, structure changes)
744748
2. Updates doc spec files with improvements
749+
3. Evaluates prevention opportunities and creates DeepSchemas and DeepReview rules
745750

746751
See `doc/doc-specs.md` for complete documentation.
747752

0 commit comments

Comments
 (0)