Commit 1b871eb
Problem: PR #1686 inappropriately deprecated core ultrathink workflow
components and added orphaned hook code not wired into settings.json.
Changes:
1. Removed DEPRECATED flags from 3 files:
- ultrathink.md command
- ultrathink-orchestrator SKILL.md (restored auto_activate: true)
- default-workflow SKILL.md (restored auto_activates array)
2. Restored CLAUDE.md ultrathink references (8 mentions):
- "ALWAYS use UltraThink" principle
- Skill(ultrathink-orchestrator) pattern
- /ultrathink command documentation
- Workflow and UltraThink Integration section
3. Added Q&A workflow awareness to ultrathink.md:
- Q&A keyword detection
- Q&A workflow routing
- Q&A skill invocation
- Q&A fallback path
- Q&A workflow example
4. Deleted 8 orphaned files (NOT wired into settings.json):
- workflow_gate.py + test
- workflow_state.py + test
- todo_interceptor.py + test
- test_workflow_enforcement.py
- docs/workflow-enforcement.md
Net Result: -2,533 lines of orphaned code removed while preserving
Q&A_WORKFLOW.md and MANDATORY workflow selection section.
Fixes #1876
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
1 parent 7dd7f23 commit 1b871eb
File tree
12 files changed
+76
-2609
lines changed- .claude
- commands/amplihack
- skills
- default-workflow
- ultrathink-orchestrator
- tools/amplihack/hooks
- tests
- docs
- tests/unit
12 files changed
+76
-2609
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 5 | | |
14 | 6 | | |
15 | 7 | | |
| |||
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
45 | | - | |
| 37 | + | |
| 38 | + | |
46 | 39 | | |
47 | 40 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
51 | 46 | | |
| 47 | + | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
118 | 115 | | |
119 | 116 | | |
120 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
121 | 131 | | |
122 | 132 | | |
123 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 5 | + | |
12 | 6 | | |
13 | 7 | | |
14 | 8 | | |
| |||
0 commit comments