name: code-review description: Pake project adapter for Waza check/code-review. Use for TypeScript CLI, Rust/Tauri, release artifact, and CI review. version: 1.2.0 allowed-tools: - Bash - Read - Grep - Glob disable-model-invocation: true
Pake Code Review Adapter
Use Waza /check for the generic review method. This adapter adds Pake-specific commands, hard stops, and artifact rules.
Pake-Specific Hard Stops
- Changes under
bin/rebuild and commitdist/cli.jswithpnpm run cli:build. - Changes to package metadata embedded by Rollup (
package.jsonname/version/repository/bin/scripts/exports) rebuild and commitdist/cli.js. - Release version bumps keep
package.json,src-tauri/Cargo.toml,src-tauri/Cargo.lock, andsrc-tauri/tauri.conf.jsonin sync. - npm release workflow changes preserve Trusted Publishing:
.github/workflows/npm-publish.yml,id-token: write, canonicalgit+https://github.com/tw93/Pake.git, andscripts/check-release-version.mjs. - No new
tauriConf: anyor other untyped config objects; usePakeTauriConfig. - No user-reachable
panic!or.unwrap()on config, CLI, or event paths. - Silent
catch {}blocks surface the real error throughlogger.warn. - New helper in
bin/utils/orbin/helpers/has a matchingtests/unit/<basename>.test.ts. - Binary parsers have a round-trip test, not only builder assertions.
Quick Review Commands
# Get PR diff
gh pr diff
# Format check
pnpm run format:check
# Run unit tests (fast, sub-second)
npx vitest run
# Full suite without the slow real build
pnpm test -- --no-build
# Build CLI and catch TypeScript errors
pnpm run cli:build
Review Output Format
Follow Waza /check: findings first, ordered by severity, with tight file/line references. Keep summaries brief.