mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
* fix: hive-mind creation time timezone issue (#246) - Add comprehensive timezone utilities for proper local time display - Create timezone-aware session creation and display functions - Add migration script for existing sessions - Support for AEST and other timezones instead of UTC-only - Include relative time display (e.g., '2 hours ago') - Add timezone information to session listings Fixes #246 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com> * docs: clarify universal timezone support (not just Australia) - Update documentation to emphasize worldwide timezone support - Add universal timezone test demonstrating global compatibility - Clarify that fix works for any user timezone (EST, JST, AEST, etc.) - Remove Australia-specific language in favor of universal approach This addresses the question about whether the fix works for all users or just Australian users - it works for ANY timezone worldwide. * feat: implement planning permission mode with --analysis and --read-only flags - Add --analysis and --read-only CLI flags to swarm command - Implement read-only mode constraints in swarm prompt generation - Add comprehensive analysis mode documentation in help text - Include forbidden operations list and required behaviors - Support both --analysis and --read-only (alias) flags - Enable safe codebase exploration without modifications - Perfect for code reviews, security audits, and analysis tasks Implements #233: Integrate Claude Code's planning permission mode 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * feat: implement analysis mode (planning permission mode) - closes #233 - Added --analysis and --read-only flags to swarm command - Implemented safe read-only mode for codebase exploration - Added comprehensive analysis mode constraints to prevent modifications - Updated help text and documentation with analysis mode information - Created examples and use cases for security audits and code reviews - Version bump to 2.0.0-alpha.53 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
3.0 KiB
3.0 KiB
Analysis Mode (Planning Permission Mode)
Overview
Claude Flow's Analysis Mode implements a read-only/planning permission mode that prevents all code modifications while enabling comprehensive codebase analysis. This feature is inspired by Claude Code's planning permission mode and provides a safe environment for code exploration, security audits, and architectural analysis.
Features
- 🔍 Read-Only Operations: Safely explore codebases without risk of modifications
- 🛡️ Security Audits: Perform comprehensive security analysis without changing code
- 📊 Architecture Analysis: Document and analyze system architecture patterns
- 🎯 Technical Debt Assessment: Identify and report on technical debt without making changes
- 🔐 Safe Exploration: Perfect for "what-if" scenarios and code reviews
Usage
Basic Usage
# Enable analysis mode with --analysis flag
claude-flow swarm "Analyze codebase for security vulnerabilities" --analysis
# Enable analysis mode with --read-only flag (alias)
claude-flow swarm "Review architecture patterns" --read-only
# Combine with other flags
claude-flow swarm "Assess technical debt" --analysis --strategy research --max-agents 3
Example Commands
# Security audit
claude-flow swarm "Identify security vulnerabilities in authentication system" --analysis
# Performance analysis
claude-flow swarm "Analyze database query performance bottlenecks" --read-only --strategy analysis
# Architecture review
claude-flow swarm "Document microservices architecture patterns" --analysis --strategy research
# Code quality assessment
claude-flow swarm "Evaluate code quality and technical debt" --read-only --max-agents 5
Analysis Mode Constraints
✅ Allowed Operations
- Read Files: Use
Readtool to analyze file contents - Search Codebases: Use
GlobandGreptools for pattern matching - Code Structure Analysis: Analyze code organization and patterns
- Generate Reports: Create comprehensive analysis documentation
- Create Summaries: Generate executive summaries of findings
- Memory Storage: Store findings in swarm memory for collaboration
- Agent Communication: Share discoveries between swarm agents
❌ Forbidden Operations
- File Modifications: Never use
Write,Edit, orMultiEdittools - File Creation: Never create new files or directories
- System Commands: Never use
Bashfor system-modifying commands - Package Installation: Never install dependencies or packages
- Configuration Changes: Never modify configuration files
- State Changes: Never execute code that changes system state
Use Cases
Security Audits
Perfect for identifying vulnerabilities without modifying code.
Code Reviews
Comprehensive analysis of pull requests and code changes.
Architecture Analysis
Document and analyze system architecture patterns.
Technical Debt Assessment
Identify areas for improvement without making changes.
For more details, see the examples.