Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .claude/commands/cch-release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Execute CCH release workflow - prepare, execute, verify, or hotfix releases
description: Execute RuleZ release workflow - prepare, execute, verify, or hotfix releases
---

## User Input
Expand All @@ -8,9 +8,9 @@ description: Execute CCH release workflow - prepare, execute, verify, or hotfix
$ARGUMENTS
```

## CCH Release Workflow
## RuleZ Release Workflow

This command orchestrates the CCH release process using the `release-cch` skill.
This command orchestrates the RuleZ release process using the `release-rulez` skill.

### Quick Reference

Expand All @@ -24,11 +24,11 @@ This command orchestrates the CCH release process using the `release-cch` skill.

### Workflow

1. **Load the release-cch skill**: Read `.claude/skills/release-cch/SKILL.md` for detailed instructions.
1. **Load the release-rulez skill**: Read `.claude/skills/release-rulez/SKILL.md` for detailed instructions.

2. **Read version** from `Cargo.toml` (single source of truth):
```bash
.claude/skills/release-cch/scripts/read-version.sh
.claude/skills/release-rulez/scripts/read-version.sh
```

3. **Parse arguments** and execute the appropriate phase:
Expand All @@ -39,9 +39,9 @@ This command orchestrates the CCH release process using the `release-cch` skill.

**If `$ARGUMENTS` is `prepare`**:
- Verify version is updated in `Cargo.toml`
- Run preflight checks: `.claude/skills/release-cch/scripts/preflight-check.sh`
- Run preflight checks: `.claude/skills/release-rulez/scripts/preflight-check.sh`
- Create release branch: `git checkout -b release/v${VERSION}`
- Generate changelog: `.claude/skills/release-cch/scripts/generate-changelog.sh`
- Generate changelog: `.claude/skills/release-rulez/scripts/generate-changelog.sh`
- Commit and push release branch
- Create PR with release checklist

Expand All @@ -53,7 +53,7 @@ This command orchestrates the CCH release process using the `release-cch` skill.
- This triggers the release workflow

**If `$ARGUMENTS` is `verify`**:
- Run verification: `.claude/skills/release-cch/scripts/verify-release.sh`
- Run verification: `.claude/skills/release-rulez/scripts/verify-release.sh`
- Check workflow status
- Verify release assets

Expand Down Expand Up @@ -103,17 +103,17 @@ The release PR must pass all checks:

After tagging, the workflow builds and uploads:

- `cch-linux-x86_64.tar.gz`
- `cch-linux-aarch64.tar.gz`
- `cch-macos-x86_64.tar.gz`
- `cch-macos-aarch64.tar.gz`
- `cch-windows-x86_64.exe.zip`
- `rulez-linux-x86_64.tar.gz`
- `rulez-linux-aarch64.tar.gz`
- `rulez-macos-x86_64.tar.gz`
- `rulez-macos-aarch64.tar.gz`
- `rulez-windows-x86_64.exe.zip`
- `checksums.txt`

### Troubleshooting

If something goes wrong, see:
- `.claude/skills/release-cch/references/troubleshooting.md`
- `.claude/skills/release-rulez/references/troubleshooting.md`
- Or run `/cch-release verify` to diagnose

### Examples
Expand Down
69 changes: 65 additions & 4 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"Bash(for:*)",
"Bash(do gh issue close $i -c \"Completed in PR #72 - RuleZ UI Milestone 1 scaffold implemented\")",
"Bash(gh pr checks:*)",
"Bash(.claude/skills/release-cch/scripts/read-version.sh:*)",
"Bash(.claude/skills/release-rulez/scripts/read-version.sh:*)",
"Bash(cch --version:*)",
"Bash(cch --help:*)",
"Bash(cch init --help:*)",
Expand Down Expand Up @@ -61,9 +61,9 @@
"Bash(cargo build:*)",
"Bash(./cch_cli/target/release/cch:*)",
"Bash(./target/release/cch:*)",
"Bash(.claude/skills/release-cch/scripts/preflight-check.sh:*)",
"Bash(.claude/skills/release-rulez/scripts/preflight-check.sh:*)",
"Bash(gh run list:*)",
"Bash(.claude/skills/release-cch/scripts/verify-release.sh)",
"Bash(.claude/skills/release-rulez/scripts/verify-release.sh)",
"Bash(bunx playwright install:*)",
"Bash(task ui:e2e)",
"Bash(task:*)",
Expand All @@ -72,7 +72,68 @@
"Bash(xargs kill -9)",
"Bash(cargo test:*)",
"Skill(gsd:plan-phase)",
"WebSearch"
"WebSearch",
"Bash(git reset:*)",
"Bash(gh secret set:*)",
"Bash(gh secret:*)",
"Bash(./e2e/run.sh:*)",
"Bash(bash --version)",
"Bash(/opt/homebrew/bin/bash:*)",
"Bash(/usr/local/bin/bash:*)",
"Bash(gh pr merge:*)",
"mcp__perplexity-ask__perplexity_ask",
"Bash(node:*)",
"Bash(cat:*)",
"Bash(head:*)",
"Bash(opencode auth:*)",
"Bash(# Test:*)",
"WebFetch(domain:opencode.ai)",
"Bash(# Try:*)",
"WebFetch(domain:gist.github.com)",
"Bash(grep:*)",
"Bash(rm:*)",
"Bash(# Let:*)",
"Bash(# Key:*)",
"Bash(echo:*)",
"WebFetch(domain:opencode.dev)",
"mcp__github__get_issue",
"Bash(echo opencode not found:*)",
"Bash(opencode run:*)",
"WebFetch(domain:raw.githubusercontent.com)",
"Bash(curl -s https://opencode.ai/config.json 2>/dev/null | python3 -m json.tool 2>/dev/null | grep -A 50 '\"hooks\"' | head -80 || echo \"no hooks in schema\")",
"Bash(echo no hooks found:*)",
"Bash(curl -s https://opencode.ai/config.json 2>/dev/null | python3 -c \"\nimport json, sys\nschema = json.load\\(sys.stdin\\)\nprops = schema.get\\('properties', {}\\)\nprint\\('Top-level properties:', list\\(props.keys\\(\\)\\)\\)\n\" 2>/dev/null)",
"Bash(curl -s https://opencode.ai/config.json 2>/dev/null | python3 -c \"\nimport json, sys\nschema = json.load\\(sys.stdin\\)\n# Print experimental section\nexp = schema.get\\('properties', {}\\).get\\('experimental', {}\\)\nprint\\('experimental section:'\\)\nprint\\(json.dumps\\(exp, indent=2\\)[:2000]\\)\n\" 2>/dev/null)",
"WebFetch(domain:deepwiki.com)",
"Skill(gsd:add-phase)",
"mcp__github__get_pull_request_status",
"Bash(git fetch origin main && git merge origin/main --ff-only 2>&1 || git rebase origin/main 2>&1)",
"Bash(git stash && git rebase origin/main 2>&1)",
"Bash(gh release:*)",
"Bash(tail:*)",
"Bash(git tag -d v2.0.0 && git push origin :refs/tags/v2.0.0 2>&1)",
"Bash(gh run:*)",
"Bash(gh issue:*)",
"Bash(chmod +x:*)",
"Bash(cargo fmt:*)",
"Bash(bash:*)",
"Bash(opencode debug:*)",
"Bash(./target/release/rulez opencode:*)",
"Bash(echo Could not fetch schema:*)",
"mcp__github__create_pull_request",
"Bash(gh pr:*)",
"mcp__github__merge_pull_request",
"Skill(gsd:health)",
"Bash(git status:*)",
"Bash(node -e \"console.log\\(require.resolve\\(''gsd-tools.cjs''\\)\\)\")",
"Read(//Users/richardhightower/clients/spillwave/src/rulez_plugin/$HOME/.claude/**)",
"Read(//Users/richardhightower/clients/spillwave/src/rulez_plugin/$HOME/.claude/get-shit-done*/**)",
"Bash(./target/debug/rulez:*)",
"Bash(cargo clippy:*)",
"Bash(cargo llvm-cov:*)",
"Bash(git tag:*)",
"Bash(cargo check:*)",
"Bash(.claude/skills/release-rulez/scripts/generate-changelog.sh:*)"
]
},
"sandbox": {
Expand Down
120 changes: 0 additions & 120 deletions .claude/skills/release-cch/references/hotfix-workflow.md

This file was deleted.

Loading
Loading