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: 26 additions & 2 deletions .github/workflows/cli-version-checker.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions .github/workflows/cli-version-checker.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ tools:
- "grep *"
- "git *"
- "make *"
- "npm install *"
- "claude-code --help"
- "copilot --help"
- "codex --help"
edit:
safe-outputs:
create-pull-request:
Expand Down Expand Up @@ -53,6 +57,22 @@ For each update, analyze intermediate versions:
- Document migration requirements
- Assign risk level (Low/Medium/High)

### Tool Installation & Discovery
For each CLI tool update:
1. Install the new version globally:
- Claude Code: `npm install -g @anthropic-ai/claude-code@<version>`
- Copilot CLI: `npm install -g @github/copilot@<version>`
- Codex: `npm install -g @openai/codex@<version>`
2. Invoke help to discover commands and flags:
- Run `claude-code --help`
- Run `copilot --help`
- Run `codex --help`
3. Compare help output with previous version to identify:
- New commands or subcommands
- New command-line flags or options
- Deprecated or removed features
- Changed default behaviors

### Update Process
1. Edit `./pkg/constants/constants.go` with new version(s)
2. Run `make recompile` to update workflows
Expand All @@ -66,6 +86,7 @@ Include for each updated CLI:
- **Changes**: Categorized as Breaking/Features/Fixes/Security/Performance
- **Impact Assessment**: Risk level, affected features, migration notes
- **Changelog Links**: NPM/GitHub release notes
- **CLI Changes**: New commands, flags, or removed features discovered via help

Template structure:
```
Expand All @@ -76,6 +97,7 @@ Template structure:
- New Features: [list]
- Bug Fixes: [list]
- Security: [CVEs/patches or "None"]
- CLI Discovery: [New commands/flags or "None detected"]
- Impact: Risk [Low/Medium/High], affects [features]
- Migration: [Yes/No - details if yes]
```
Expand All @@ -84,6 +106,8 @@ Template structure:
- Only update stable versions (no pre-releases)
- Prioritize security updates
- Document all intermediate versions
- Install and test CLI tools to discover new features via `--help`
- Compare help output between old and new versions
- Test with `make recompile` before creating PR
- **DO NOT COMMIT** `*.lock.yml` or `pkg/workflow/js/*.js` files directly

Expand Down
Loading