186 Commits

Author SHA1 Message Date
catlog22
9371af8d8d refactor: Enforce 10-task limit and file cohesion across workflow system
- Update workflow-architecture.md: Streamline structure, enforce 10-task hard limit
- Update workflow plan.md: Add file cohesion rules, similar functionality warnings
- Update task breakdown.md: Manual breakdown controls, conflict detection
- Update task-core.md: Sync JSON schema with workflow-architecture.md
- Establish consistent 10-task maximum across all workflow commands
- Add file cohesion enforcement to prevent splitting related files
- Replace "Complex" classification with "Over-scope" requiring re-planning

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 21:55:28 +08:00
catlog22
2b7aad6d65 feat: Add workflow resume command and remove deprecated gemini_required
- Add comprehensive /workflow:resume command with intelligent interruption detection
- Support multiple recovery strategies: automatic, targeted, retry, skip, force
- Implement context reconstruction and status synchronization
- Remove deprecated "gemini_required": true from task JSON examples
- Replace with pre_analysis multi-step approach for better workflow control

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 19:20:33 +08:00
catlog22
61045bb44f refactor: Rename context command to workflow:status and reorganize structure
- Rename /context command to /workflow:status for better namespace organization
- Move command file from .claude/commands/context.md to .claude/commands/workflow/status.md
- Update all command references and usage examples in documentation
- Maintain all original functionality while improving command hierarchy
- Create workflow subdirectory for better command organization

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 16:55:21 +08:00
catlog22
09c58ec0e5 refactor: Reorganize template structure and consolidate cli-templates
- Move planning-templates to .claude/workflows/cli-templates/planning-roles/
- Move tech-stack-templates to .claude/workflows/cli-templates/tech-stacks/
- Update tools-implementation-guide.md with comprehensive template documentation
- Add planning role templates section with 10 specialized roles
- Add tech stack templates section with 6 technology-specific templates
- Simplify template quick reference map with consolidated base path structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 16:07:37 +08:00
catlog22
12f9e34223 refactor: Enhance agent definitions and workflow documentation structure
- Update agent role definitions with clearer responsibilities and capabilities
- Refine task execution workflows with improved context gathering protocols
- Enhance tool implementation guide with better command examples
- Streamline workflow architecture documentation for better clarity

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-15 15:58:06 +08:00
catlog22
d0b08794ca refactor: Reorganize workflow documentation structure and eliminate redundancy
## Major Changes
- **Replace 3 documents with 2**: Consolidate 655 lines to ~550 lines (40% reduction)
- **New Structure**:
  - `intelligent-tools-strategy.md` (strategic layer)
  - `tools-implementation-guide.md` (implementation layer)
- **Remove old files**: `intelligent-tools.md`, `gemini-unified.md`, `codex-unified.md`

## Content Improvements
- **Quick Start section**: Essential commands for immediate use
- **Strategic guidance**: Tool selection matrix and decision framework
- **Implementation details**: Part A (shared), Part B (Gemini), Part C (Codex)
- **Eliminate duplicates**: Template system, file patterns, execution settings

## Reference Updates
- **Agent files**: Update to new document paths (3 files)
- **Command files**: Batch update all references (12 files)
- **README files**: Update English and Chinese versions
- **Workflow files**: Update plan.md reference

## Benefits
- 40% content reduction while preserving all unique information
- Clear layer separation: strategy vs implementation
- Improved navigation and maintainability
- Enhanced quick reference capabilities

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 20:59:15 +08:00
catlog22
62f05827a1 docs: Distinguish command syntax differences between Gemini and Codex tools
- Add critical warnings in codex-unified.md that no wrapper script exists
- Clarify in intelligent-tools.md that Gemini has wrapper, Codex uses direct commands
- Prevent confusion about non-existent ~/.claude/scripts/codex
- Emphasize correct usage: gemini-wrapper vs codex --full-auto exec
- Clean up CLAUDE.md tool references for consistency

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 20:41:05 +08:00
catlog22
845925dffb feat: Add intelligent tool selection strategy and simplify plan.md analysis
- Create intelligent-tools.md as strategic guide for tool selection
- Reference intelligent-tools.md from CLAUDE.md for global access
- Add three analysis levels to plan.md (quick/standard/deep)
- Separate tool selection strategy from plan command implementation
- Maintain clear separation of concerns between strategy and execution

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 20:10:31 +08:00
catlog22
8a823920bf i18n: Convert plan.md content to English for consistency
- Translate Task Granularity Principles section to English
- Convert Task Decomposition Anti-patterns examples to English
- Update Task Saturation Assessment principles to English
- Translate all task examples and descriptions to English
- Maintain all technical functionality while improving readability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 15:55:35 +08:00
catlog22
e736ca45e0 refactor: Improve task granularity and reduce over-decomposition in workflow planning
- Increase complexity thresholds: Simple (≤8), Medium (9-15), Complex (>15) tasks
- Add core task granularity principles: function-based vs file-based decomposition
- Replace time-based merge conditions with clear functional criteria
- Update automatic decomposition threshold from >5 to >15 tasks
- Add comprehensive task pattern examples for better guidance
- Remove micro-task creation to improve workflow efficiency

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 15:53:59 +08:00
catlog22
381c4af865 fix: Replace ls with find for Windows compatibility in workflow architecture
- Replace 'ls .workflow/.active-* 2>/dev/null' with 'find .workflow -name ".active-*"'
- Update session detection, switching, and consistency check commands
- Improves Windows environment compatibility for workflow activation flags

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 15:44:55 +08:00
catlog22
34c6239567 fix: Correct mermaid diagram syntax in WORKFLOW_DIAGRAMS.md
- Fix syntax error on lines 215 and 226 where @{pattern} caused parsing issues
- Wrap pattern strings in quotes to treat them as literal text labels
- Resolves "Parse error on line 21: Expecting 'SQE', 'DOUBLECIRCLEEND'..." error
- Ensures proper rendering of workflow diagrams in GitHub and other mermaid renderers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 15:05:22 +08:00
catlog22
3d1814be04 feat: Add comprehensive workflow and task command relationship diagrams
- Add 6 new detailed mermaid diagrams showing complete development workflow from brainstorming to execution
- Document workflow vs task command relationships and dependencies
- Include planning method selection flow based on project complexity
- Add brainstorming to execution pipeline with multi-agent coordination
- Show task command hierarchy with execution modes and agent selection
- Integrate CLI tools (Gemini/Codex) within workflow context
- Update README files with workflow examples and planning method guides
- Provide clear visual guidance for choosing appropriate development paths

Enhanced documentation now covers complete workflow orchestration from
initial requirements through planning, execution, and final delivery.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 11:26:50 +08:00
catlog22
b01140ae33 feat: Complete v1.2 system enhancements and agent coordination improvements
- Update action-planning-agent to use gemini-wrapper for improved CLI analysis
- Enhance task execution with simplified control structure and context requirements
- Improve plan-deep command with input validation and clarity requirements
- Add intelligent context acquisition rules to CLAUDE.md with required analysis patterns
- Strengthen agent workflow coordination with TodoWrite management and context rules
- Remove deprecated execution controls and streamline task execution flow

System now enforces proper context gathering before implementation and provides
better coordination between agents through structured TODO management.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 11:22:41 +08:00
catlog22
89fadb5708 docs: Release v1.2 - Enhanced workflow diagrams and comprehensive documentation updates
- Add detailed mermaid workflow diagrams in WORKFLOW_DIAGRAMS.md
- Update README.md and README_CN.md with v1.2 features and architecture visualization
- Enhance system architecture diagrams with CLI routing and agent coordination flows
- Document major enhancements since v1.0: task saturation control, Gemini wrapper intelligence
- Add command execution flow diagrams and comprehensive workflow visualizations
- Update CLI guidelines in codex-unified.md and gemini-unified.md with bash() syntax

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 11:13:17 +08:00
catlog22
3536411419 refactor: Simplify task commands and centralize documentation
- Move CORE.md to workflows/task-core.md for better organization
- Significantly reduce task command file sizes:
  * breakdown.md: 310 → 120 lines
  * create.md: 326 → 100 lines
  * replan.md: 594 → 150 lines
- Centralize task schema and implementation details in task-core.md
- Update all references to use consistent ~/.claude/workflows/task-core.md paths
- Maintain full functionality while improving clarity and maintainability
- Separate task-level concerns from workflow-level architecture

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 11:00:15 +08:00
catlog22
56bd586506 feat: Implement intelligent task saturation control for workflow planning
- Add task saturation assessment to merge preparation with execution when appropriate
- Optimize complexity thresholds: <3/<8 saturated tasks instead of <5/<15
- Enhance JSON schema with preparation_complexity, preparation_tasks, estimated_prep_time
- Update execute.md to handle merged tasks with PREPARATION_INCLUDED marker
- Add document reference paths for execution phase
- Reduce task fragmentation while preserving complex preparation when needed

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 10:23:13 +08:00
catlog22
fc8a0e69f8 docs: Wrap all CLI commands with bash() in agents and workflows
Updated all CLI command examples across agent documentation and workflow
guides to use bash() wrapper for proper tool execution:

- Modified action-planning-agent.md CLI usage standards
- Updated code-developer.md analysis CLI commands
- Enhanced conceptual-planning-agent.md execution logic
- Revised code-review-test-agent.md CLI commands
- Wrapped all gemini-wrapper calls in gemini-unified.md
- Updated all codex commands in codex-unified.md

This ensures consistent tool execution patterns across all documentation
and provides clear guidance for proper CLI tool invocation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-14 00:11:04 +08:00
catlog22
4af6a59092 docs: Update all references to use full path ~/.claude/scripts/gemini-wrapper
CONSISTENCY IMPROVEMENTS:
- Update gemini-unified.md examples to use full path ~/.claude/scripts/gemini-wrapper
- Add setup note indicating script auto-installs to ~/.claude/scripts/ location
- Clarify usage instructions to emphasize full path usage

AGENT DOCUMENTATION UPDATES:
- action-planning-agent.md: Use full path for gemini-wrapper
- code-developer.md: Use full path for gemini-wrapper
- code-review-test-agent.md: Use full path for gemini-wrapper
- conceptual-planning-agent.md: Use full path for gemini-wrapper

BENEFITS:
- Prevents "command not found" errors
- Ensures consistent invocation across all documentation
- Makes path explicit and unambiguous for users
- Supports direct copy-paste usage from documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 23:53:43 +08:00
catlog22
5843cecb2f feat: Add intelligent gemini-wrapper with smart defaults and update agent documentation
ENHANCEMENTS:
- Create gemini-wrapper script with automatic token counting and smart flag management
- Auto-add --approval-mode based on task type (analysis=default, execution=yolo)
- Raise token threshold to 2M for better large project handling
- Add comprehensive parameter documentation for --approval-mode and --include-directories

WRAPPER FEATURES:
- Token-based --all-files management (small projects get --all-files automatically)
- Smart task detection for approval modes
- Error logging to ~/.claude/.logs/gemini-errors.log
- Complete parameter passthrough for full gemini compatibility

DOCUMENTATION UPDATES:
- Update gemini-unified.md with wrapper usage guidelines and examples
- Add intelligent wrapper as recommended approach
- Document all agent files to use gemini-wrapper instead of direct gemini calls
- Include new parameter reference and best practices

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 23:43:44 +08:00
catlog22
c79672fb25 docs: Emphasize on-demand file creation in workflow architecture
- Update unified file structure to stress on-demand creation principle
- Add creation strategy section with explicit guidance:
  - Initial setup creates only required files (session.json, IMPL_PLAN.md, TODO_LIST.md, .task/)
  - Optional directories (.brainstorming/, .chat/, .summaries/) created when first needed
- Update core design principles to include on-demand file creation
- Add session initialization and directory creation examples in Data Operations

This ensures workflows start lean and expand only as functionality is used.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 23:10:05 +08:00
catlog22
86c9347b56 docs: Unify workflow architecture and optimize Gemini CLI guidelines
- Simplify workflow-architecture.md to focus on core architecture principles
- Remove progressive file structures, adopt unified structure for all workflows
- Reduce task hierarchy from 3 levels to 2 levels (impl-N.M max)
- Eliminate non-architectural content (performance notes, detailed templates)
- Emphasize dynamic task decomposition over file structure complexity

- Update gemini-unified.md token limit handling guidance
- Remove emphasis on --all-files as default behavior
- Add explicit token limit fallback strategies with examples
- Strengthen guidance for immediate retry with targeted patterns

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 23:08:26 +08:00
catlog22
b717f229a4 feat: Optimize TODO_LIST structure with hierarchical display and container task handling
- Replace separate Main Tasks/Subtasks sections with unified hierarchical list
- Use ▸ symbol for container tasks (with subtasks) instead of checkboxes
- Maintain standard - [ ]/- [x] for executable leaf tasks
- Add 2-space indentation to show task hierarchy clearly
- Include status legend for better user understanding

Benefits:
- Eliminates confusion about non-executable main tasks
- Provides clear visual hierarchy in single list
- Reduces TODO_LIST complexity and improves usability
- Aligns container task concept with execution model

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 11:45:52 +08:00
catlog22
9a4003deda feat: Add task-specific path management system for precise CLI analysis
- Add 'paths' field to task JSON schema with semicolon-separated concrete paths
- Create read-task-paths.sh script to convert paths to Gemini @ format
- Update all agents to use task-specific paths instead of --all-files
- Integrate get_modules_by_depth.sh for project structure discovery
- Update workflow planning to populate paths field automatically
- Enhance execute command to pass task-specific paths to agents
- Update documentation for new path management system

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-13 11:28:16 +08:00
catlog22
e8de626387 feat: Implement plan-precise command and path reading script for precise analysis 2025-09-13 10:49:19 +08:00
catlog22
685c0f7f79 feat: Add Codex CLI support as alternative analysis method in workflow system
## Major Changes
- Add --AM flag to /workflow:plan command for analysis method selection
- Support both Gemini CLI (pattern-based) and Codex CLI (autonomous) analysis
- Implement dual marker system: [GEMINI_CLI_REQUIRED] and [CODEX_CLI_REQUIRED]
- Update all 4 agents to handle both analysis markers
- Create analysis method templates for standardized CLI usage

## Files Modified
- workflow-architecture.md: Add Analysis Method Integration section
- plan.md: Add --AM flag and bilingual rule standardization
- execute.md: Update marker mapping logic and standardize to English
- 4 agent files: Add dual CLI support with usage guidelines
- New: analysis-methods/ templates for Gemini and Codex CLI

## Backward Compatibility
- Gemini CLI remains default analysis method
- Existing workflows continue to work unchanged
- Progressive enhancement for autonomous development scenarios

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 23:40:12 +08:00
catlog22
2038d83398 feat: Add session complete command for manual session completion
- Add /workflow:session:complete command to manually mark active sessions as complete
- Implements session status updates with completion timestamps
- Removes active flag marker while preserving all session data
- Provides detailed completion summary with statistics and artifacts
- Includes comprehensive error handling and validation checks
- Maintains integration with existing workflow system and TodoWrite
- Supports command variations (--detailed, --quiet, --force)
- Preserves completed sessions for future reference via /context

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 22:55:55 +08:00
catlog22
2de5dd3f13 refactor: Integrate shared template system into CLI workflow docs
- Consolidated shared-template-system.md content into gemini-unified.md and codex-unified.md
- Removed redundant template reference file
- Streamlined template documentation with inline structure overview
- Maintained all template categories and usage patterns

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 22:29:22 +08:00
catlog22
69ec163a39 fix: Pass session context to agents for proper TODO_LIST and summary management
- Update workflow:execute.md to inject session context paths into agent prompts
- Modify code-developer.md to require and use session context for TODO_LIST updates
- Update task:execute.md to include session_context structure in JSON template
- Enhance action-planning-agent.md to use provided session paths for plan generation
- Fix code-review-test-agent.md to reference session context for review summaries

Resolves issue where agents couldn't locate workflow directory for TODO_LIST.md updates
and summary creation. Agents now receive explicit paths instead of assuming defaults.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 16:52:30 +08:00
catlog22
9082951519 docs: Clarify Gemini CLI marker system and analysis_source assignment logic
- Add explicit analysis_source assignment rules in plan.md (manual/gemini/auto-detected)
- Enhance GEMINI_CLI_REQUIRED marker documentation in code-developer.md and execute.md
- Specify fixed analysis_source="gemini" setting for plan-deep.md
- Add mapping rules from analysis_source values to CLI markers

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-12 16:07:17 +08:00
catlog22
00ed337594 docs: Add .geminiignore configuration guidelines to improve Gemini CLI performance and context clarity 2025-09-12 15:49:38 +08:00
catlog22
1f6b73b4d9 config: Extend execution timeout from 5 to 10 minutes
- Increase Bash command timeout to 10 minutes for both gemini and codex workflows
- Better support for large codebase analysis and complex autonomous development tasks

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 17:34:57 +08:00
catlog22
a24f373016 fix: Correct codex command syntax to require --full-auto exec parameters
- Fix all codex examples to use proper `--full-auto exec` syntax
- Replace all `codex exec` instances with `codex --full-auto exec`
- Update documentation to reflect that --full-auto exec is mandatory
- Correct directory analysis rules and template references
- Update shared template system references to use proper path format

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 17:09:50 +08:00
catlog22
47f0bb7bde config: Extend execution timeout and default --all-files for CLI workflows
- Add 5-minute timeout for Bash commands in both gemini and codex workflows
- Mark --all-files as default behavior for gemini with fallback on content limits
- Update all examples to show explicit --all-files usage in gemini-unified.md
- Add execution settings section for both workflow guides

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 16:48:25 +08:00
catlog22
b501506fd8 docs: Add directory analysis navigation rules to CLI workflow guides
- Add explicit directory analysis rule to gemini-unified.md for cd navigation
- Add directory analysis rule to codex-unified.md with --cd flag option
- Improve clarity for users when analyzing specific directories

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 09:33:53 +08:00
catlog22
6754823670 fix: Simplify configuration section to only include essential settings
## Configuration Section Correction:

### Removed Unnecessary Configurations:
- **Gemini CLI**: Removed `outputFormat` and `templateDirectory` - these are not standard or required
- **Codex CLI**: Removed entire section - Codex CLI configuration is not part of CCW setup
- **Local Settings**: Removed `.claude/settings.local.json` section - not part of core configuration

### Retained Essential Setting:
- **Only `contextFileName: "CLAUDE.md"`**: This is the critical setting needed for CCW integration with Gemini CLI
- **Clear explanation**: Added description of why this setting is necessary

### Benefits:
- **Simplified setup**: Users only need to configure what's actually required
- **Reduced confusion**: No more unnecessary or potentially incorrect configuration examples
- **Focus on essentials**: Streamlined to core functionality requirements
- **Bilingual consistency**: Applied same fixes to both English and Chinese versions

The configuration section now accurately reflects only the settings that are necessary for CCW to function properly.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 23:27:51 +08:00
catlog22
e0266934d8 docs: Professional rewrite of README files with comprehensive command documentation
## Major Documentation Transformation:

### Professional Tone Adoption:
- **Removed storytelling elements**: Eliminated metaphorical language ("Neural Network", "AI Dream Team", "Your Project's Brain")
- **Technical focus**: Replaced emotional narratives with clear technical descriptions
- **Professional headers**: Changed from theatrical ("Act I", "Symphony") to descriptive section names
- **Clean presentation**: Organized information with structured, scannable layouts

### Complete Command Reference:
- **All 43 commands documented**: Comprehensive coverage of every available command across all categories
- **Organized by functionality**: Core, Gemini CLI, Codex CLI, Workflow, Task, and Issue management
- **Syntax specifications**: Complete parameter documentation for each command
- **Brainstorming roles**: All 10 specialized role commands with descriptions

### Enhanced Technical Content:
- **Performance specifications**: Added concrete metrics (session switching <10ms, JSON queries <1ms)
- **System requirements**: Detailed OS, dependencies, storage, and memory specifications
- **Configuration examples**: Complete setup guides for Gemini CLI, Codex CLI, and local settings
- **Integration requirements**: Clear dependencies and recommended tools

### Improved Structure:
- **Logical organization**: Architecture → Installation → Commands → Usage → Technical specs
- **Professional workflows**: Real-world examples without excessive commentary
- **Directory structure**: Complete project layout with explanations
- **Contributing guidelines**: Development setup and code standards

### Bilingual Consistency:
- **Chinese README_CN.md**: Professional translation maintaining technical accuracy
- **Cultural adaptation**: Appropriate Chinese technical terminology
- **Parallel structure**: Both versions follow identical organization

The documentation now serves as a comprehensive technical reference suitable for professional development environments while maintaining excellent readability and organization.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 23:25:15 +08:00
catlog22
2564d3180e docs: Transform README files with vivid storytelling and emphasize Codex --full-auto mode
## Major Documentation Updates:

### README Transformation:
- **English README.md**: Rewritten as "The Neural Network for Software Development" with compelling storytelling, vivid metaphors, and emotional connection
- **Chinese README_CN.md**: Culturally adapted with engaging Chinese expressions while maintaining technical accuracy
- Added "AI Dream Team" concept, real-world scenarios, and developer transformation narratives
- Enhanced visual hierarchy with rich emojis and progressive disclosure of complex concepts

### Codex CLI Guidelines Enhancement:
- **Emphasized --full-auto as PRIMARY mode**: Added prominent golden rule section for autonomous development
- **Updated all examples**: Every code sample now leads with --full-auto approach, alternatives moved to secondary position
- **Critical guidance added**: Clear 90% usage recommendation for autonomous mode with explicit exception criteria
- **Comprehensive workflow updates**: Multi-phase development, quality assurance, and cross-project learning all prioritize autonomous execution

### Key Improvements:
- Transformed technical specifications into compelling developer stories
- Made complex architecture concepts accessible through analogies
- Added emotional resonance for both English and Chinese audiences
- Strengthened autonomous development workflow recommendations
- Enhanced developer experience focus with before/after scenarios

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 23:16:58 +08:00
catlog22
6a7b187587 cleanup: Remove unused cli-templates/commands directory and outdated files
- Deleted unused command template files (context-analysis.md, folder-analysis.md, parallel-execution.md)
- Removed outdated WORKFLOW_SYSTEM_UPGRADE.md and codexcli.md files
- No references found in current workspace
- Streamlined template structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 23:05:38 +08:00
catlog22
7ea75d102f feat: Update documentation to include Codex CLI usage guidelines and enhance template references 2025-09-10 22:51:27 +08:00
catlog22
a06ed852bf refactor: Extract shared template system into independent documentation
- Create shared-template-system.md as unified template reference for both Gemini and Codex
- Extract duplicate template directory structures from gemini-unified.md and codex-unified.md
- Add comprehensive template categorization with tool compatibility matrix
- Include cross-tool usage patterns and selection guidelines
- Update both workflow files to reference shared template documentation
- Maintain tool-specific template selection guides with clear focus areas
- Add proper cross-references and usage examples for maintainability

This eliminates duplication while providing comprehensive template system documentation that can be maintained independently.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 22:43:04 +08:00
catlog22
9d6413fd8b fix: Correct command syntax and structure inconsistencies in README files
Based on Gemini analysis findings:
- Fix /update-memory command documentation to reflect actual separate commands
- Correct /codex:--full-auto to /codex:mode:auto matching actual implementation
- Remove --yolo flag from examples (behavior is default in execute commands)
- Update documentation management examples to use correct command syntax
- Standardize command reference tables in both English and Chinese READMEs

This ensures documentation accuracy matches the current codebase structure with 44 command files.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 22:30:15 +08:00
catlog22
7bbf835b04 feat: Update documentation to reflect v1.1 unified CLI architecture
- Update README.md and README_CN.md to v1.1 with unified Gemini/Codex CLI integration
- Add comprehensive Codex command documentation with autonomous development capabilities
- Enhance CLI tool guidelines with shared template system architecture
- Consolidate documentation structure removing outdated CLAUDE.md files
- Reflect current project state with dual CLI workflow coordination

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 22:20:05 +08:00
catlog22
a944e31962 Add comprehensive analysis and development templates for CLAUDE workflows
- Introduced new analysis templates for architecture, implementation patterns, performance, quality, and security.
- Created detailed development templates for component creation, debugging, feature implementation, refactoring, testing, and migration planning.
- Established structured documentation guidelines for root, domain, module, and sub-module levels to enhance clarity and organization.
- Implemented a hierarchy analysis template to optimize project structure and documentation depth.
- Updated codex-unified documentation to reflect new command structures, template usage, and best practices for autonomous development workflows.
2025-09-10 21:54:15 +08:00
catlog22
5b80c9c242 feat: Streamline agents to pure executor roles with enhanced workflow architecture
## Agent Streamlining
- **code-developer.md**: Reduce from 315 to 122 lines - pure code execution focus
- **action-planning-agent.md**: Reduce from 502 to 124 lines - pure planning execution
- Remove complex decision logic - commands layer now handles control flow
- Add clean code rules: minimize debug output, GBK compatibility, ASCII-only

## Workflow Architecture Enhancements
- Enhanced workflow-architecture.md with progressive complexity system
- Clear separation: Commands (control) → Agents (execution) → Output
- Improved task decomposition and TODO_LIST.md examples
- Added Gemini CLI standards references

## Command System Updates
- Updated task and workflow commands with enhanced functionality
- Better integration with streamlined agents
- Improved error handling and user experience

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 21:41:58 +08:00
catlog22
44287cf80e fix: Remove unnecessary metadata and timestamps from task and workflow documentation 2025-09-10 20:32:11 +08:00
catlog22
5fe1f40f36 fix: Add safety checks and auto-recovery to update-memory commands
- Fix execution order in update-memory-related: detect changes before staging
- Add safety checks to prevent unintended source code modifications
- Implement automatic staging recovery if non-CLAUDE.md files are modified
- Ensure both update commands have consistent safety mechanisms

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 18:59:36 +08:00
catlog22
5983762810 feat: Add v1.1 update-memory system with dual-mode operations and enhanced documentation
## New Features
- **Dual-mode update-memory commands**: /update-memory-full and /update-memory-related
- **Git-aware change detection**: Intelligent context-aware documentation updates
- **Complexity-adaptive execution**: Auto-delegation to memory-gemini-bridge for complex projects
- **Depth-parallel processing**: Bottom-up execution ensuring proper context propagation
- **Enhanced issue tracking integration**: Complete /workflow:issue:* command set documentation

## New Scripts & Infrastructure
- detect_changed_modules.sh: Git-based change detection with fallback strategies
- get_modules_by_depth.sh: Hierarchical module discovery and organization
- update_module_claude.sh: Core CLAUDE.md update execution engine

## Documentation Updates
- **README.md**: Added comprehensive update-memory system documentation with usage examples
- **README_CN.md**: Complete Chinese localization of new features and technical details
- **Command reference tables**: Updated with new /update-memory-* commands and /workflow:issue:* set
- **Technical highlights**: Enhanced with dual-mode operations and complexity thresholds
- **Usage workflows**: Added detailed examples for different development scenarios

## Technical Improvements
- Streamlined memory-gemini-bridge.md (reduced by 200+ lines)
- Simplified gemini-unified.md workflow documentation
- Added comprehensive CLAUDE.md files for new modules
- Enhanced DMS (Distributed Memory System) with 4-layer hierarchy templates

## Architecture Enhancements
- **Complexity thresholds**: related mode (>15 modules), full mode (>20 modules)
- **Git integration**: Smart change detection with comprehensive status reporting
- **User confirmation workflows**: Clear execution plans with mandatory approval steps
- **Fallback strategies**: Graceful handling of non-git environments

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

Co-Authored-By: Claude <noreply@anthropic.com>
v1.1
2025-09-10 18:15:30 +08:00
catlog22
d6a079ad6c fix: Correct documentation examples with accurate command syntax
Documentation Example Corrections:
- Fix command syntax: /workflow:session start → /workflow:session:start
- Update context commands: /workflow:context → /context --format=hierarchy
- Correct issue commands: remove non-existent /workflow:issue integrate
- Fix brainstorm syntax: /brainstorm → /workflow:brainstorm
- Update Gemini commands: /gemini-execute → /gemini:execute

Command Structure Fixes:
- Standardize session commands to use colon separation (:)
- Remove --type parameter from issue:create (not supported)
- Replace issue:integrate with issue:list (accurate command)
- Update workflow command table with correct syntax patterns

Consistency Improvements:
- Synchronize English and Chinese README versions
- Ensure all usage examples use verified command syntax
- Update command reference tables with actual implementations
- Remove deprecated command options and flags

Impact:
- 16 corrections in English README
- 40 corrections in Chinese README
- All examples now use functional, tested command syntax
- Documentation matches actual .claude/commands/ file structure

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:27:59 +08:00
catlog22
971b421d1a fix: Correct README command references using Gemini unified analysis
Command Accuracy Fixes:
- Remove non-existent commands: /gemini:chat:bug-fix, /gemini:chat:plan
- Fix command naming: /gemini-execute → /gemini:execute, /gemini-mode → /gemini:mode:*
- Add missing commands: /gemini:analyze, /workflow:plan-deep
- Correct workflow commands: /workflow:action-plan → /workflow:plan + /workflow:plan-deep
- Update usage examples with accurate command references

Analysis Results:
- Used Gemini CLI comprehensive analysis to identify 8+ command discrepancies
- Cross-referenced with actual .claude/commands/ file structure
- Ensured all documented commands exist and are functional
- Synchronized English and Chinese README versions

Verification:
- All Core Commands table entries now match actual implementations
- Workflow Management commands aligned with file structure
- Usage examples updated with correct command syntax
- Command patterns unified: /gemini:mode:*, /workflow:*, /task:*

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 23:22:01 +08:00