mirror of
https://github.com/tanweai/pua.git
synced 2026-08-30 18:01:52 +08:00
bb23af0da0
BREAKING: Version bumped to 3.0.0 ## Methodology Router - Auto-select best methodology by task type (Debug→Huawei RCA, Build→Musk Algorithm, Research→Baidu Search-First, Architecture→Amazon Working Backwards, etc.) - Failure-mode switch chains: when current methodology fails, auto-switch to next (e.g., Spinning→Musk→Pinduoduo→Huawei) - Pre-switch validation: 3 questions before switching to prevent invalid switches - User manual flavor override always takes priority over auto-routing ## Hook System (Claude Code only) - SessionStart: additionalContext JSON injection (system-level, not advisory) — injects behavioral protocol + methodology + router table + anti-rationalization table - PostToolUse (Bash): consecutive failure detection with L1→L4 pressure escalation + methodology switch suggestions at L2, mandatory switch at L4 - UserPromptSubmit: frustration phrase interception (25 CN/EN trigger words) — injects PUA enforcement BEFORE model responds - All hooks flavor-aware via shared flavor-helper.sh ## 13 Complete Methodologies - NEW: methodology-amazon.md (Working Backwards + 6-Pager + Bar Raiser + Single-Threaded Owner) - NEW: methodology-jd.md (Customer experience red line + flat ≤5 layers + data zero tolerance) - NEW: methodology-xiaomi.md (参与感三三法则 + explosive product focus + loyalty→WOM→awareness path) - NEW: methodology-router.md (routing rules + switch chains) - FIXED: musk→methodology-tesla.md mapping (was missing) - FIXED: jobs→methodology-apple.md mapping (was missing) - All 13 flavors now have inline methodology in flavor-helper.sh + full methodology files ## SKILL.md Overhaul - Removed hardcoded Alibaba-only aside protocol — now flavor-aware - Added methodology router table (task type → recommended flavor) - Updated pressure escalation table: L2 suggests methodology switch, L4 forces it - Updated failure mode table with switch chains - Added pre-switch validation (3 questions) - Added methodology-router.md to mandatory reading list ## README/Landing - Updated EN/CN/JP README with v3 section - Updated 13 Corporate Flavors table to include methodologies - Updated architecture diagram with hook system - Updated landing page i18n.ts with v3 messaging