claude-flow 2.5.0-alpha.135 → 2.5.0-alpha.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,6 +109,6 @@
109
109
  "includeCoAuthoredBy": true,
110
110
  "enabledMcpjsonServers": ["claude-flow", "ruv-swarm"],
111
111
  "statusLine": {
112
- "command": "/home/codespace/.claude/statusline-command.sh"
112
+ "command": "~/.claude/statusline-command.sh"
113
113
  }
114
114
  }
package/bin/claude-flow CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
  # Claude-Flow Smart Dispatcher - Detects and uses the best available runtime
3
3
 
4
- VERSION="2.5.0-alpha.135"
4
+ VERSION="2.5.0-alpha.136"
5
5
 
6
6
  # Determine the correct path based on how the script is invoked
7
7
  if [ -L "$0" ]; then
@@ -2962,4 +2962,132 @@ if (import.meta.url === `file://${process.argv[1]}`) {
2962
2962
  await main();
2963
2963
  }
2964
2964
 
2965
+ //# sourceMappingURL=simple-cli.js.mapsign choices"
2966
+
2967
+ # Store test results and coverage
2968
+ npx claude-flow memory store test_coverage "Authentication module: 95% coverage, all tests passing"
2969
+
2970
+ # Query previous work
2971
+ npx claude-flow memory query auth_implementation
2972
+
2973
+ # Export project memory
2974
+ npx claude-flow memory export project_backup.json
2975
+ \`\`\`
2976
+
2977
+ ### Memory Namespaces
2978
+ - **\`spec\`**: Requirements and specifications
2979
+ - **\`arch\`**: Architecture and design decisions
2980
+ - **\`impl\`**: Implementation notes and code patterns
2981
+ - **\`test\`**: Test results and coverage reports
2982
+ - **\`debug\`**: Bug reports and resolution notes
2983
+
2984
+ ## Workflow Examples
2985
+
2986
+ ### Feature Development Workflow
2987
+ \`\`\`bash
2988
+ # 1. Start with specification
2989
+ npx claude-flow sparc run spec-pseudocode "User profile management feature"
2990
+
2991
+ # 2. Design architecture
2992
+ npx claude-flow sparc run architect "Profile service architecture with data validation"
2993
+
2994
+ # 3. Implement with TDD
2995
+ npx claude-flow sparc tdd "user profile CRUD operations"
2996
+
2997
+ # 4. Security review
2998
+ npx claude-flow sparc run security-review "profile data access and validation"
2999
+
3000
+ # 5. Integration testing
3001
+ npx claude-flow sparc run integration "profile service with authentication system"
3002
+
3003
+ # 6. Documentation
3004
+ npx claude-flow sparc run docs-writer "profile service API documentation"
3005
+ \`\`\`
3006
+
3007
+ ### Bug Fix Workflow
3008
+ \`\`\`bash
3009
+ # 1. Debug and analyze
3010
+ npx claude-flow sparc run debug "authentication token expiration issue"
3011
+
3012
+ # 2. Write regression tests
3013
+ npx claude-flow sparc run tdd "token refresh mechanism tests"
3014
+
3015
+ # 3. Implement fix
3016
+ npx claude-flow sparc run code "fix token refresh in authentication service"
3017
+
3018
+ # 4. Security review
3019
+ npx claude-flow sparc run security-review "token handling security implications"
3020
+ \`\`\`
3021
+
3022
+ ## Configuration Files
3023
+
3024
+ ### SPARC Configuration
3025
+ - **\`.roomodes\`**: SPARC mode definitions and configurations
3026
+ - **\`.roo/\`**: Templates, workflows, and mode-specific rules
3027
+
3028
+ ### Claude-Flow Configuration
3029
+ - **\`memory/\`**: Persistent memory and session data
3030
+ - **\`coordination/\`**: Multi-agent coordination settings
3031
+
3032
+ ## Git Workflow Integration
3033
+
3034
+ ### Commit Strategy with SPARC
3035
+ - **Specification commits**: After completing requirements analysis
3036
+ - **Architecture commits**: After design phase completion
3037
+ - **TDD commits**: After each Red-Green-Refactor cycle
3038
+ - **Integration commits**: After successful component integration
3039
+ - **Documentation commits**: After completing documentation updates
3040
+
3041
+ ### Branch Strategy
3042
+ - **\`feature/sparc-<feature-name>\`**: Feature development with SPARC methodology
3043
+ - **\`hotfix/sparc-<issue>\`**: Bug fixes using SPARC debugging workflow
3044
+ - **\`refactor/sparc-<component>\`**: Refactoring using optimization mode
3045
+
3046
+ ## Troubleshooting
3047
+
3048
+ ### Common SPARC Issues
3049
+ - **Mode not found**: Check \`.roomodes\` file exists and is valid JSON
3050
+ - **Memory persistence**: Ensure \`memory/\` directory has write permissions
3051
+ - **Tool access**: Verify required tools are available for the selected mode
3052
+ - **Namespace conflicts**: Use unique memory namespaces for different features
3053
+
3054
+ ### Debug Commands
3055
+ \`\`\`bash
3056
+ # Check SPARC configuration
3057
+ npx claude-flow sparc modes
3058
+
3059
+ # Verify memory system
3060
+ npx claude-flow memory stats
3061
+
3062
+ # Check system status
3063
+ npx claude-flow status
3064
+
3065
+ # View detailed mode information
3066
+ npx claude-flow sparc info <mode-name>
3067
+ \`\`\`
3068
+
3069
+ ## Project Architecture
3070
+
3071
+ This SPARC-enabled project follows a systematic development approach:
3072
+ - **Clear separation of concerns** through modular design
3073
+ - **Test-driven development** ensuring reliability and maintainability
3074
+ - **Iterative refinement** for continuous improvement
3075
+ - **Comprehensive documentation** for team collaboration
3076
+ - **AI-assisted development** through specialized SPARC modes
3077
+
3078
+ ## Important Notes
3079
+
3080
+ - Always run tests before committing (\`npm run test\`)
3081
+ - Use SPARC memory system to maintain context across sessions
3082
+ - Follow the Red-Green-Refactor cycle during TDD phases
3083
+ - Document architectural decisions in memory for future reference
3084
+ - Regular security reviews for any authentication or data handling code
3085
+
3086
+ For more information about SPARC methodology, see: https://github.com/ruvnet/claude-code-flow/docs/sparc.md
3087
+ `;
3088
+ }
3089
+ if (isMainModule(import.meta.url)) {
3090
+ await main();
3091
+ }
3092
+
2965
3093
  //# sourceMappingURL=simple-cli.js.map