ruvnet / ruvnet/ruflo

Alpha 67 Todo: Implement Cross-Platform Hook Compatibility

Open
#418 2 comments 0 reactions 0 assignees View on GitHub
already-fixed enhancement
Dominant language
TypeScript
Stars
72.7k
Forks
8.6k
Avg merge
3d 3h
Merged PRs (30d)
85

Description

## Alpha 67 Release Todo

### Priority Items

#### 1. Cross-Platform Hook Compatibility (#387)
**Status**: 🔴 High Priority
**Issue**: #387
**Impact**: Windows users cannot use hooks without Unix utilities

**Implementation Tasks**:
- [ ] Create hook helper script generator (`src/cli/simple-commands/init/hook-helpers.js`)
- [ ] Update settings.json template to use Node.js helpers
- [ ] Add migration script for existing projects
- [ ] Test on Windows (Command Prompt, PowerShell, Git Bash)
- [ ] Test on macOS and Linux for regression
- [ ] Update documentation

**Key Changes**:
- Replace `cat < /dev/null | jq | xargs` with `node .claude/helpers/[hook-name].js`
- Generate helper scripts during `init`
- Maintain full backward compatibility

#### 2. Other Alpha 67 Items
- [ ] Review and merge PR #378 (ARM64 improvements)
- [ ] Continue monitoring hook execution stability
- [ ] Performance optimizations for large swarms

### Testing Requirements
- [ ] Windows 10/11 (native Command Prompt)
- [ ] Windows PowerShell
- [ ] macOS (Intel and ARM64)
- [ ] Ubuntu Linux
- [ ] Alpine Linux (Docker)

### Success Criteria
- Hooks work on all platforms without additional dependencies
- No regression for existing Unix users
- Clear migration path for existing projects
- Comprehensive test coverage

### Timeline
- Development: 2-3 days
- Testing: 1-2 days
- Release: End of week

cc @coygeek for cross-platform hooks implementation

🤖 Generated with [Claude Code](https://claude.ai/code)

Contributor guide

Open the contributing guide

Research direction

Start with src/cli/simple-commands/init/hook-helpers.js and the init flow that generates settings.json. Replace the Unix utility pipeline with generated Node.js helpers, add the migration path for existing projects, and test hooks in Command Prompt, PowerShell, Git Bash, macOS, Linux, and Alpine. Done means hooks work without extra dependencies, Unix behavior is preserved, and migration and regression coverage are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, typescript
Domain
cli, developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.