Prompt file imported from maingocanh1702/bestminton-club-chatbot (
.claude/commands/help-unify.md). Copyright stays with the author.
/help-unify — autopilot launcher (Clawbot slice help-unify, alias cc-help-unify)
Chạy slice help-unify (P2, transport-help-routing) theo GENERIC v0.6.0 worktree-flow. Sửa /help(+/status,/start) đúng theo kênh: Zalo /help=payment-only; Messenger /help=admin Clawbot + payment gộp 1 tin (kiểu B). Clawbot-only, payment KHÔNG đổi.
- Manifest:
docs/autopilot-manifests/help-unify.json - Prompt (paste vào session trong worktree):
docs/clawbot-help-unify.md - Risk P2 · Codex 2× consecutive clean · merge manual_only · base
origin/main - Scope:
src/webhook/handler.js,src/payment/classifier.js,tests/unit/help-unify.test.js - Invariants giữ:
webhook-router,command-whitelist,test-chain→ không chạy song song với slice Clawbot khác giữ 3 invariant này (khác repo thì OK). - Step-0 DESIGN-PROBE bắt buộc: ghi sentinel
.autopilot/state/help-unify/AWAIT-FOUNDER-design.txtrồi STOP chờ founder (kiểu B ingest('/phelp') read-only? length cap? /status kiểu A/B? Zalo /status gate player vs owner).
Setup block (owner chạy ở terminal Mac, repo root Clawbot)
cd ~/Projects/bestminton-club-chatbot
git fetch origin
# preflight: repo sạch + không lock
test -z "$(git status --porcelain)" || { echo "DIRTY — commit/stash trước"; exit 1; }
test ! -e "$(git rev-parse --git-path index.lock)" || { echo "index.lock tồn tại — xử lý trước"; exit 1; }
# worktree off origin/main
git worktree add .autopilot/worktrees/help-unify -b feat/help-unify origin/main
export AUTOPILOT_CODEX_BIN="/Users/maingocanh/Projects/Bestminton Club Payment check bot/scripts/codex-review-pin.sh"
test -x "$AUTOPILOT_CODEX_BIN" || { echo "CODEX_UNAVAILABLE"; exit 1; }
cd .autopilot/worktrees/help-unify
claude
Prompt block
Trong session claude vừa mở (đang ở trong worktree), paste toàn bộ block text trong docs/clawbot-help-unify.md.
