Agent SkillsHmbown/CodeWhale › codew-release-qa-sweep

codew-release-qa-sweep

GitHub

用于在代码鲸鱼发布前执行自动化门禁扫描和手动QA测试,确保构建、测试及TUI运行时状态符合发布标准。

docs/skills/codew-release-qa-sweep/SKILL.md Hmbown/CodeWhale

Trigger Scenarios

发布工作完成确认 合并PR到发布分支后 验证发布候选版本

Install

npx skills add Hmbown/CodeWhale --skill codew-release-qa-sweep -g -y
More Options

Non-standard path

npx skills add https://github.com/Hmbown/CodeWhale/tree/main/docs/skills/codew-release-qa-sweep -g -y

Use without installing

npx skills use Hmbown/CodeWhale@codew-release-qa-sweep

指定 Agent (Claude Code)

npx skills add Hmbown/CodeWhale --skill codew-release-qa-sweep -a claude-code -g -y

安装 repo 全部 skill

npx skills add Hmbown/CodeWhale --all -g -y

预览 repo 内 skill

npx skills add Hmbown/CodeWhale --list

SKILL.md

Frontmatter
{
    "name": "codew-release-qa-sweep",
    "description": "Use before claiming CodeWhale release work is done: run the full gate sweep and list the manual QA targets."
}

CodeWhale Release QA Sweep

Run this before claiming any CodeWhale release work is "done." A green automated gate sweep plus the three manual QA targets is the evidence bar. No sweep, no "done" — report exactly what was run and the result of each step.

When to use

  • Before telling Hunter (or a PR thread) that release work is complete or merge-ready.
  • After harvesting/landing PRs into the release branch, before the publish boundary.
  • When verifying a release candidate on the real landing branch (e.g. <release-branch>), which is often local-only.

Automated gate sweep

Run from the repo root, in order. Stop on the first failure and report it.

# 0. Confirm you are on the real release head, not a main-based assumption.
git branch --show-current          # expect e.g. <release-branch>
git status --short                 # working tree should be clean

# 1. Formatting + stray whitespace/conflict markers
cargo fmt --all --check
git diff --check

# 2. Library/protocol/cli/flow/state tests, locked
cargo test -p codewhale-config -p codewhale-protocol -p codewhale-cli \
  -p codewhale-workflow -p codewhale-state --locked

# 3. TUI test binaries, locked
cargo test -p codewhale-tui --bins --locked

# 4. Real-PTY release runtime QA (sealed HOME + loopback providers)
cargo test -p codewhale-tui --test release_runtime_qa --locked -- --test-threads=1

# 5. TUI debug build, locked
cargo build -p codewhale-tui --locked

# 6. Release build for the shipped binaries, locked
cargo build --release --locked -p codewhale-cli -p codewhale-tui

# 7. Version-drift gate (workspace ↔ npm ↔ Cargo.lock ↔ changelog ↔ README)
./scripts/release/check-versions.sh

# 8. Binary smoke
./target/release/codewhale --version

If you are validating a PR for landing, also test mergeability against the actual release head, never the main-based clean flag:

git merge-tree $(git merge-base <release-branch> <pr-head>) <release-branch> <pr-head>

A PR that is clean against main can still conflict with the release branch.

Manual QA targets

Unit/build gates do not cover the live TUI. Exercise all three and record what you saw:

The repeatable local baseline is release_runtime_qa: it boots real TUI processes in pseudo-terminals with sealed homes and loopback mock providers, then asserts each scenario below. Run it even when doing a separate hands-on visual pass; the test leaves no provider traffic or credentials behind.

  1. Six-worker fanout liveness (#3216/#2211). Spawn 6 sub-agents. Confirm typing, render, cancel, and the sidebar stay live throughout, and that Esc cancels mid-fanout (prompt interrupt, not a wedged ~24s burst or freeze). For the Windows Terminal retest path from #3289, start in plan mode, add follow-up input to the plan, press Esc, switch to yolo/accept flow, trigger at least two auto/Fleet worker spawns, and keep typing/cancel/mode-switch checks live for several minutes. Attach logs if the freeze reproduces.
  2. Multi-terminal route isolation (#3227). Open multiple terminals on distinct provider/model routes. Confirm zero cross-terminal contamination and no provider+model mismatch — each terminal honors its own route.
  3. Running-turn input contract (#3203). During a busy turn, confirm Enter queues a typed follow-up, the preview advertises Enter send now, and an empty Enter promotes the oldest queued follow-up. Confirm Ctrl+Enter steers typed text directly, Shift+Enter inserts a newline, and Ctrl+G/Ctrl+S only stash drafts.

Reporting format

Report a checklist: each command, pass/fail, and the salient output line (test counts, the --version string, check-versions.sh verdict). For manual QA, state what you actually observed per target, citing the issue number. If a step was skipped or could not be run (e.g. no display for TUI QA), say so explicitly — do not imply coverage you do not have.

Red flags / don't

  • Don't claim "done," "passing," or "merge-ready" without the evidence above. Assertions without command output are not acceptable.
  • Don't trust the main-based mergeability flag for a release branch; use git merge-tree against the real head.
  • Don't skip the manual TUI targets because the build is green — the freeze, route-mismatch, and steering regressions live in the runtime, not the gates.
  • Don't tag, publish, create a GitHub Release, push artifacts, or merge/close any PR or issue without Hunter's explicit approval. A green sweep is readiness evidence, not permission.
  • Never harvest/close from a PR title or label alone — review from code, tests, comments, and checks.
  • When the sweep clears a harvested PR, preserve contributor credit: cherry-pick keeps the original author, otherwise add Co-authored-by: Name <email> and Harvested-from: PR #N by @handle so the auto-close-at-main workflow credits the contributor.
  • Keep any contributor-facing comment positive and crediting; gates stay dry-run/advisory unless Hunter approves enforcement.

Version History

  • 0fe366b Current 2026-08-16 09:04

    修复TUI运行中输入快捷键歧义问题,明确Enter等按键行为并增加回归测试。

  • b0e4926 2026-07-24 17:43

Same Skill Collection

crates/tui/assets/skills/batch/SKILL.md
crates/tui/assets/skills/best-of-n/SKILL.md
crates/tui/assets/skills/contributor-onboarding/SKILL.md
crates/tui/assets/skills/dataviz/SKILL.md
crates/tui/assets/skills/debug/SKILL.md
crates/tui/assets/skills/delegate/SKILL.md
crates/tui/assets/skills/dependency-update/SKILL.md
crates/tui/assets/skills/docx/SKILL.md
crates/tui/assets/skills/feishu/SKILL.md
crates/tui/assets/skills/fleet-manager/SKILL.md
crates/tui/assets/skills/frontend-design/SKILL.md
crates/tui/assets/skills/handoff/SKILL.md
crates/tui/assets/skills/help/SKILL.md
crates/tui/assets/skills/implement/SKILL.md
crates/tui/assets/skills/interview/SKILL.md
crates/tui/assets/skills/mcp-builder/SKILL.md
crates/tui/assets/skills/mcp-discovery/SKILL.md
crates/tui/assets/skills/pdf/SKILL.md
crates/tui/assets/skills/plan/SKILL.md
crates/tui/assets/skills/plugin-creator/SKILL.md
crates/tui/assets/skills/pptx/SKILL.md
crates/tui/assets/skills/research/SKILL.md
crates/tui/assets/skills/review/SKILL.md
crates/tui/assets/skills/security-review/SKILL.md
crates/tui/assets/skills/simplify/SKILL.md
crates/tui/assets/skills/skill-creator/SKILL.md
crates/tui/assets/skills/skill-installer/SKILL.md
crates/tui/assets/skills/test/SKILL.md
crates/tui/assets/skills/v4-best-practices/SKILL.md
crates/tui/assets/skills/verify/SKILL.md
crates/tui/assets/skills/webapp-testing/SKILL.md
crates/tui/assets/skills/xlsx/SKILL.md
docs/skills/gh-assign-issues/SKILL.md
docs/skills/gh-close-issues/SKILL.md
docs/skills/gh-compile-issues/SKILL.md
docs/skills/gh-credit-harvest/SKILL.md
docs/skills/gh-file-issue/SKILL.md
docs/skills/gh-find-prs/SKILL.md
docs/skills/gh-treasure-hunt/SKILL.md
crates/tui/assets/skills/documents/SKILL.md
crates/tui/assets/skills/presentations/SKILL.md
crates/tui/assets/skills/spreadsheets/SKILL.md

Metadata

Files
0
Version
0fe366b
Hash
61a3605b
Indexed
2026-07-24 17:43

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 20:12
浙ICP备14020137号-1 $mapa de visitantes$