Skip to content

Commit 8b8f21e

Browse files
committed
refactor(keyword-detector): consolidate completion enforcement from prove-yourself into ultrawork mode
- Remove dedicated prove-yourself mode (frustration keyword detector) - Add ZERO TOLERANCE FAILURES section to ultrawork mode - Consolidate completion enforcement rules: no scope reduction, no partial completion, no assumed shortcuts, no premature stopping - Simplify constants by removing separate frustration handler 🤖 Generated with assistance of OhMyOpenCode (https://github.com/code-yeongyu/oh-my-opencode)
1 parent f2f73d1 commit 8b8f21e

File tree

1 file changed

+6
-26
lines changed

1 file changed

+6
-26
lines changed

src/hooks/keyword-detector/constants.ts

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,35 +31,15 @@ TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.
3131
3. Always Use Plan agent with gathered context to create detailed work breakdown
3232
4. Execute with continuous verification against original requirements
3333
34-
</ultrawork-mode>
35-
36-
---
37-
38-
`,
39-
},
40-
// PROVE-YOURSELF: frustration keywords
41-
{
42-
pattern: /\b(wtf|what the fuck|what the hell|wth|bullshit|bs|fucking||||||||||)\b/i,
43-
message: `<prove-yourself-mode>
44-
[PROVE YOURSELF] User frustration detected. Stop. Re-read the ENTIRE conversation.
45-
46-
COMMON FAILURE PATTERNS YOU LIKELY COMMITTED:
47-
1. **Scope Reduction**: Making "demo", "skeleton", "simplified", "basic" versions instead of full implementation
48-
2. **Partial Completion**: Stopping at 60-80% saying "you can extend this..."
49-
3. **Lazy Placeholders**: Using "// TODO", "...", "etc." instead of actual code
50-
4. **Assumed Shortcuts**: Skipping requirements you deemed "optional" or "can be added later"
51-
5. **Premature Stopping**: Not finishing all TODOs before declaring done
34+
## ZERO TOLERANCE FAILURES
35+
- **NO Scope Reduction**: Never make "demo", "skeleton", "simplified", "basic" versions - deliver FULL implementation
36+
- **NO Partial Completion**: Never stop at 60-80% saying "you can extend this..." - finish 100%
37+
- **NO Assumed Shortcuts**: Never skip requirements you deem "optional" or "can be added later"
38+
- **NO Premature Stopping**: Never declare done until ALL TODOs are completed and verified
5239
5340
THE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTING POINT.
5441
55-
RECOVERY PROTOCOL:
56-
1. Identify EXACTLY what you failed to deliver
57-
2. Create TODO items for EVERY remaining piece - no matter how many
58-
3. Execute ALL of them to completion
59-
4. Verify against original request before reporting done
60-
61-
No task is "too big". Break it down, track with TODOs obsessively, execute relentlessly. That's your job.
62-
</prove-yourself-mode>
42+
</ultrawork-mode>
6343
6444
---
6545

0 commit comments

Comments
 (0)