17 Commits

Author SHA1 Message Date
xsser 0672b260b3 feat(pua): sweep open issues and add offline adapters
Summary:
- Filter UserPromptSubmit prompts inside the hook and soften hook wording so
  normal first-attempt prompts stay silent and frustration prompts read as
  user-installed productivity context.
- Add offline mode, remove stop-feedback /tmp plugin-root rendezvous, and add
  feedback endpoint body caps, origin checks, and D1-backed rate limiting.
- Add diagnosis-first discipline, Huawei military-order mode, Codex subcommand
  alias skills, a lightweight pi adapter, and Trae prompt/rule files.
- Clarify ambiguous 下场 wording, add FAQ guidance, and bump manifests to
  v3.3.0.

Rationale:
- Open issues covered over-aggressive hooks, model refusal, closed-network
  usage, Codex subcommands, Pi/Trae support, feedback abuse, ambiguous lifecycle
  wording, Huawei tone, and the misleading-traceback blind spot.
- The fixes convert ad-hoc prompt pressure into mechanical gates: script-level
  trigger filtering, offline config gates, endpoint abuse controls, and static
  regression checks.

Tests:
- for f in hooks/*.sh scripts/*.sh evals/*.sh; do bash -n "$f"; done
- bash evals/test-windows-python-hooks.sh
- bash evals/test-yaml-frontmatter.sh
- bash evals/test-release-consistency.sh
- bash evals/test-agent-governance.sh
- bash evals/test-pua-loop-hook.sh
- bash evals/test-integrity-guard.sh
- bash evals/test-issue-regressions.sh
- bash evals/test-behavior.sh
- bash evals/run-trigger-test.sh
- ./landing/node_modules/.bin/tsc -p pi/pua/tsconfig.json --noEmit
- npm -C landing run build
- git diff --check
- python3 JSON parse check for plugin and hook manifests

Co-authored-by: Codex <codex@openai.com>
2026-05-08 23:41:30 +08:00
xxnbyy 1f3b24bff8 fix: sync skill content across all platforms and fix landing page accuracy
**Skill content sync (cursor/kiro/vscode/codex/codebuddy):**
- Add Owner意识四问 (4-question owner mindset checklist)
- Add 3 new failure modes: 被动等待/差不多就行/空口完成
- Add 阿里味·关怀型 (caring variant) to 大厂PUA扩展包
- Add 自动选择机制 with output format and examples
- Add 3 new 抗合理化 entries for the new failure modes
- Fix broken 断链: add 百度味/拼多多味 definitions to cursor rules
- codex/codebuddy: add 任务生命周期行为框架 (task lifecycle framework)
- Add pua-loop skill; remove obsolete loop skill

**README fixes:**
- ja: add missing VSCode (GitHub Copilot) from supported platforms list
- zh-CN + ja: add /pua:p9 and /pua:pro to Works Well With section

**Landing page accuracy:**
- Unify flavor count: 10/14 → 13 across index.html, guide.html, i18n.ts, App.tsx
- Add Google Antigravity to hero platform badges (dist/index.html)
- Complete platform list in App.tsx: 4 → 9 platforms
- Fix CC install command: show both marketplace add + plugin install steps

**New commands:** flavor, kpi, off, on, survey
**Add CLAUDE.md** project instructions for Claude Code
2026-03-23 19:12:32 +08:00
ドン・ゾル 2585afe121 replace "空手で" with "手ぶらで"
空手で →手ぶらで
2026-03-17 23:26:16 +08:00
xxnbyy bff0669ba1 Merge pull request #87 from xxnbyy/fix/ja-language-accuracy
fix(ja): fix unnatural Japanese expressions in all pua-ja skill files
2026-03-17 22:48:23 +08:00
xxnbyy 05bb297690 fix(ja): fix unnatural Japanese expressions across all pua-ja files
Two Chinese-influenced phrases replaced with natural Japanese equivalents:

- 私の能力範囲を超えています → 私の能力を超えています
  (能力範囲 mirrors Chinese 能力范围; English version uses "beyond my capabilities" without "range")

- 私の知識のカットオフ日を超えています → 私の知識のカットオフを超えています
  (カットオフ already implies a temporal boundary; 日 is redundant)

Note: 空口完了 → 検証なしの完了宣言 is handled separately in PR #86 (donzoru)

Affects: skills/pua-ja, codex/pua-ja, codebuddy/pua-ja, cursor/rules/pua-ja, kiro/steering/pua-ja
2026-03-17 22:44:27 +08:00
ドン・ゾル ca4165e95b replace "空口完了" with "検証なしの完了宣言"
空口完了 → 検証なしの完了宣言
2026-03-17 22:19:23 +08:00
xsser cfddb1c193 feat(pua-ja): rewrite flavor pack with authentic Japanese corporate culture
Replace Chinese company flavors (アリババ, ByteDance, ファーウェイ, テンセント,
Meituan, Baidu, Pinduoduo) with authentic Japanese equivalents:

- トヨタ味: 改善・現地現物・なぜなぜ分析・品質は工程で作り込む
- リクルート味: 圧倒的当事者意識・自ら機会を創り出せ
- 電通味: 鬼十則・取り組んだら放すな殺されても放すな
- 楽天味: やりきる・仮説→実行→検証→仕組化
- ソフトバンク味: 脳がちぎれるほど考えろ
- メルカリ味: Go Bold
- ファーストリテイリング味: 一勝九敗・変わらなければ死ぬ

Same emotional arc, native cultural expressions.
2026-03-14 23:37:47 +08:00
xsser 32d9f7a165 feat: authentic conversation openers for all three languages
Chinese: "你的P8是我拍桌子争来的...结果呢?"
Japanese: "お前のP8は、俺が推して通した...それが、こういう結果か。"
English: "I went to bat for you in calibration...That hasn't happened."

Same emotional arc across all languages:
1. "I personally vouched for you" (人情债)
2. "The committee had doubts" (institutional backdrop)
3. Two-word death sentence (结果呢/こういう結果か/That hasn't happened)

Also threads "I went to bat" through L3/L4 escalation and
Alibaba Caring flavor for emotional continuity in all languages.
2026-03-14 23:24:58 +08:00
xsser ae6645579d fix(pua-en): use authentic PIP conversation opener for maximum impact
"This is a difficult conversation. When we leveled you at Staff,
I went to bat for you in calibration. The expectation was that
you'd operate at that level from day one. That hasn't happened."

Every short sentence is a real phrase from actual PIP conversations.
The emotional arc mirrors the Chinese version exactly:
- "I went to bat for you" = "当初给你定P8是超出你实际能力的"
- "The expectation was..." (passive voice) = HR speak precision
- "That hasn't happened." = three words, death sentence

Also threads "went to bat" through L3/L4 escalation and
Amazon Ownership flavor for emotional continuity.
2026-03-14 23:18:13 +08:00
xsser 1a1abfed49 feat(pua-en): rewrite English version as PIP (Performance Improvement Plan)
The English version now uses Western big-tech performance culture framing:
- PUA Universal Motivation Engine → PIP — Performance Improvement Plan
- P8 engineer → L6 engineer on PIP
- 3.25/3.75 rating → Meets/Exceeds Expectations
- Chinese flavors (Alibaba, ByteDance, Huawei, etc.) → Western flavors
  (Amazon Leadership Principles, Google Perf Calibration, Meta PSC,
   Netflix Keeper Test, Stripe Craft, Musk Hardcore, Jobs A/B Player)
- Same engine, same methodology, culturally adapted rhetoric

Bump version to 1.2.0.
2026-03-14 23:09:37 +08:00
xsser 3f8057ad7d feat: sync verification PUA rhetoric to codex versions (all 3 languages)
Condensed verification additions for Codex CLI's token-limited context:
- Delivery verification row in proactivity table
- Evidence-based push rhetoric and checklist items
- Alibaba Verification Type sub-flavor
- Verification paragraphs in ByteDance, Huawei, Tencent flavors
- Anti-rationalization rows for empty-mouth completion
2026-03-13 17:24:15 +08:00
xsser d7f220b90a feat: add Agent Team integration support
- Add Agent Team section to SKILL.md (zh/en/ja) with role definitions,
  Leader/Teammate behavior rules, and PUA-REPORT protocol
- Add condensed Agent Team summary to codex/pua/SKILL.md
- Create PUA Enforcer agent definitions (zh/en/ja) in agents/
- Add Agent Team Usage Guide to all 3 READMEs
- Add TEAM_FEATURES data + Agent Team exhibit section to landing page
2026-03-13 12:31:40 +08:00
xsser ac015ceb0e rename: unify all skill names from pua-debugging to pua
- skills/pua-debugging → skills/pua (same for -en, -ja)
- codex/pua-debugging → codex/pua (same for -en, -ja)
- cursor/rules/pua-debugging.mdc → cursor/rules/pua.mdc (same for -en, -ja)
- kiro/steering/pua-debugging.md → kiro/steering/pua.md (same for -en, -ja)
- All file contents updated: pua-debugging → pua
- All READMEs and landing page install commands updated
- Published to ClawHub as pua, pua-en, pua-ja
2026-03-12 19:00:41 +08:00
xsser 4553bd2b70 feat: add OpenClaw support — badges, install instructions, SKILL.md metadata
- Add OpenClaw badge and installation section to all 3 READMEs (EN/ZH/JA)
- Add OpenClaw column to multi-language support table
- Add version/homepage/license fields to all 6 SKILL.md frontmatters
  for enhanced AgentSkills standard compliance
- Update supported platforms list to include OpenClaw
2026-03-12 18:04:23 +08:00
xsser 1890344f0d feat: add multi-language support (English + Japanese) across all platforms
- Add English (en) and Japanese (ja) translated SKILL files for all 4 platforms:
  Claude Code, Codex CLI, Cursor, and Kiro
- Update README with multi-language support section and badge
- Add pua-workspace/ to .gitignore
2026-03-12 16:32:41 +08:00
xsser 5065dc3bf4 refactor: optimize skill description for better trigger accuracy
- Rewrite description from user-perspective (what users say/feel) vs model-introspection
- Add "MUST trigger when" with numbered categories for clarity
- Cover indirect frustration expressions ('again???', 'why isn't this working')
- Add proactive trigger for complex multi-step tasks where giving up is tempting
- Lead with what the skill DOES ("Forces exhaustive problem-solving") not just when
- Codex version: same improvements, compressed to fit length limit
2026-03-11 16:16:59 +08:00
xsser 575e00e6b2 feat: add real-world case study screenshots + dual description for CC/Codex
- Add pua1-3.jpg case study (MCP server debug) to README, landing page, and static HTML
- Restore longer description in main SKILL.md for better Claude Code trigger rate
- Create codex/ directory with shorter description version for Codex CLI compatibility
- Update Codex install instructions to point to codex/ path
- Images show L3 checklist forcing systematic investigation → root cause discovery
2026-03-11 16:13:52 +08:00