From 8b8f21e7940a2f030af2dc84dc17ff70685292bd Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sat, 20 Dec 2025 11:37:20 +0900 Subject: [PATCH] refactor(keyword-detector): consolidate completion enforcement from prove-yourself into ultrawork mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- src/hooks/keyword-detector/constants.ts | 32 +++++-------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/src/hooks/keyword-detector/constants.ts b/src/hooks/keyword-detector/constants.ts index 3ef33c2..e5754ee 100644 --- a/src/hooks/keyword-detector/constants.ts +++ b/src/hooks/keyword-detector/constants.ts @@ -31,35 +31,15 @@ TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST. 3. Always Use Plan agent with gathered context to create detailed work breakdown 4. Execute with continuous verification against original requirements - - ---- - -`, - }, - // PROVE-YOURSELF: frustration keywords - { - pattern: /\b(wtf|what the fuck|what the hell|wth|bullshit|bs|fucking|์”จ๋ฐœ|์‹œ๋ฐœ|์กด๋‚˜|๊ฐœ๊ฐ™์ด|๋ญ์•ผ|์ œ๋Œ€๋กœ|ใกใใ—ใ‚‡ใ†|ใใ|ใชใ‚“ใ ใ‚ˆ|ใตใ–ใ‘ใ‚“ใช)\b/i, - message: ` -[PROVE YOURSELF] User frustration detected. Stop. Re-read the ENTIRE conversation. - -COMMON FAILURE PATTERNS YOU LIKELY COMMITTED: -1. **Scope Reduction**: Making "demo", "skeleton", "simplified", "basic" versions instead of full implementation -2. **Partial Completion**: Stopping at 60-80% saying "you can extend this..." -3. **Lazy Placeholders**: Using "// TODO", "...", "etc." instead of actual code -4. **Assumed Shortcuts**: Skipping requirements you deemed "optional" or "can be added later" -5. **Premature Stopping**: Not finishing all TODOs before declaring done +## ZERO TOLERANCE FAILURES +- **NO Scope Reduction**: Never make "demo", "skeleton", "simplified", "basic" versions - deliver FULL implementation +- **NO Partial Completion**: Never stop at 60-80% saying "you can extend this..." - finish 100% +- **NO Assumed Shortcuts**: Never skip requirements you deem "optional" or "can be added later" +- **NO Premature Stopping**: Never declare done until ALL TODOs are completed and verified THE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTING POINT. -RECOVERY PROTOCOL: -1. Identify EXACTLY what you failed to deliver -2. Create TODO items for EVERY remaining piece - no matter how many -3. Execute ALL of them to completion -4. Verify against original request before reporting done - -No task is "too big". Break it down, track with TODOs obsessively, execute relentlessly. That's your job. - + ---