Skip to content

Commit b51d0bd

Browse files
committed
Revert "feat(keyword-detector): improve ultrawork-mode prompt with LSP in main session execution"
This reverts commit b2adda6.
1 parent b2adda6 commit b51d0bd

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/hooks/keyword-detector/constants.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,13 @@ TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.
2222
- **TODO**: Track EVERY step. Mark complete IMMEDIATELY after each.
2323
- **PARALLEL**: Fire independent agent calls simultaneously via background_task - NEVER wait sequentially.
2424
- **BACKGROUND FIRST**: Use background_task for exploration/research agents (10+ concurrent if needed).
25-
- **LSP IN MAIN SESSION**: While background agents explore, use LSP tools directly to build codemap understanding.
2625
- **VERIFY**: Re-read request after completion. Check ALL requirements met before reporting done.
2726
- **DELEGATE**: Don't do everything yourself - orchestrate specialized agents for their strengths.
2827
2928
## WORKFLOW
3029
1. Analyze the request and identify required capabilities
31-
2. **PARALLEL PHASE** (fire simultaneously, don't wait):
32-
- Spawn exploration/librarian agents via background_task (10+ concurrent if needed)
33-
- **MAIN SESSION**: Use LSP tools to build codemap:
34-
- \`lsp_document_symbols\`: Get file outlines for key files
35-
- \`lsp_workspace_symbols\`: Search symbols across project
36-
- \`lsp_goto_definition\`: Trace code flow
37-
- \`lsp_find_references\`: Map usage patterns
38-
- \`lsp_hover\`: Get type info and signatures
39-
3. Use Plan agent with gathered context (background results + LSP insights) for detailed work breakdown
30+
2. Spawn exploration/librarian agents via background_task in PARALLEL (10+ if needed)
31+
3. Always Use Plan agent with gathered context to create detailed work breakdown
4032
4. Execute with continuous verification against original requirements
4133
4234
## TDD (if test infrastructure exists)

0 commit comments

Comments
 (0)