catlog22
47667b8360
refactor: streamline task generation workflow architecture
...
- Remove 150+ lines of duplicate content from task-generate-agent.md
- Implement reference-based design following Content Uniqueness Rules
- Simplify plan.md to use task-generate-agent exclusively
- Remove --agent parameter (agent mode is now default)
- Improve separation of concerns between command and agent layers
Changes:
- task-generate-agent.md: Replace detailed specs with references to action-planning-agent.md
- plan.md: Remove task-generate command, unify on agent-driven approach
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 17:03:18 +08:00
catlog22
915eb396e7
feat: enhance quantification requirements across workflow tools
...
Enhanced task generation with mandatory quantification standards to eliminate ambiguity:
- Add Quantification Requirements section to all task generation commands
- Enforce explicit counts and enumerations in requirements, acceptance criteria, and modification points
- Standardize formats: "Implement N items: [list]" vs vague "implement features"
- Include verification commands for measurable acceptance criteria
- Simplify documentation by removing verbose examples while preserving all key information
Changes:
- task-generate.md: Add quantification section, streamline Task JSON schema, remove CLI examples
- task-generate-agent.md: Add quantification rules, improve template selection clarity
- task-generate-tdd.md: Add TDD-specific quantification formats for Red-Green-Refactor phases
- action-planning-agent.md: Add quantification requirements with validation checklist and updated examples
Impact:
- Reduces task documentation from ~900 lines to ~600 lines (33% reduction)
- All requirements now require explicit counts: "5 files", "15 test cases", ">=85% coverage"
- Acceptance criteria must include verification commands
- Modification points must specify exact targets with line numbers
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-08 15:02:07 +08:00
catlog22
1cb83c07e0
feat: 强化任务生成命令,新增量化要求以消除模糊性
2025-11-08 14:39:45 +08:00
catlog22
920b179440
docs: 更新所有命令描述并重新生成索引文件
...
- 更新所有69个命令文件的description字段,基于实际功能重新生成详细描述
- 重新生成5个索引文件(all-commands, by-category, by-use-case, essential-commands, command-relationships)
- 移动analyze_commands.py到scripts/目录并完善功能
- 移除临时备份文件
命令描述改进示例:
- workflow:plan: 增加了工具和代理的详细说明(Gemini, action-planning-agent)
- cli:execute: 说明了YOLO权限和多种执行模式
- memory:update-related: 详细说明了批处理策略和工具回退链
索引文件改进:
- usage_scenario从2种扩展到10种(更精细分类)
- command-relationships覆盖所有69个命令
- 区分built-in(内置调用)和sequential(用户顺序执行)关系
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-06 15:11:31 +08:00
catlog22
dd04433079
docs: 在任务生成命令中添加focus_paths路径清晰度准则
...
在三个任务生成命令中添加核心准则:
- task-generate.md
- task-generate-tdd.md
- task-generate-agent.md
路径要求:
- 优先使用绝对路径(如 D:\project\src\module)
- 或使用从项目根目录的清晰相对路径(如 ./src/module)
- 避免模糊的相对路径(如 analysis, interfaces)
更新示例JSON展示混合使用两种路径方式
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-05 21:51:58 +08:00
catlog22
692a68da6f
Refactor workflow tools and user interaction methods
...
- Updated synthesis tool to enhance user interaction with multi-select options and improved question presentation in Chinese.
- Revised conflict resolution tool to allow batch processing of conflicts, increasing the limit from 4 to 10 per round and changing user interaction from AskUserQuestion to text output.
- Added context_package_path to task generation tools for better context management.
- Improved task generation schema to include context_package_path for enhanced context delivery.
- Updated CLI templates to reflect changes in task JSON schema, ensuring context_package_path is included.
2025-10-25 14:43:55 +08:00
catlog22
7f82d0da86
refactor(conflict-resolution): transform to interactive resolution with in-place modifications
...
BREAKING CHANGE: Remove CONFLICT_RESOLUTION.md generation in favor of interactive user confirmation and direct file modifications
Core Changes:
- Replace markdown report generation with structured JSON output for programmatic processing
- Add interactive conflict resolution via AskUserQuestion (max 4 conflicts, 2-4 strategies each)
- Apply modifications directly to guidance-specification.md and role analyses (*.md) using Edit tool
- Update context-package.json with conflict_risk status (resolved/none/low)
- Remove Phase 3 output validation (no file generation needed)
Modified Files:
- conflict-resolution.md: Complete rewrite of agent prompt and execution flow
- Step 4: JSON output instead of markdown generation
- Phase 3: User confirmation via AskUserQuestion
- Phase 4: Apply modifications using Edit tool
- Success criteria updated for in-place modifications
- plan.md: Update Phase 3 data flow and TodoWrite pattern
- Data flow now shows "Apply modifications via Edit tool"
- Todo description changed to "Resolve conflicts and apply fixes"
- task-generate-agent.md: Update conflict resolution context description
- No longer references CONFLICT_RESOLUTION.md file
- Notes conflicts resolved in guidance-specification.md and role analyses
- task-generate.md: Comprehensive cleanup of all CONFLICT_RESOLUTION.md references
- Remove CONFLICT_RESOLUTION.md from artifact catalog
- Update load_planning_context step to read guidance-specification.md
- Update task implementation logic_flow
- Update artifact priority and integration sections
- Update directory structure documentation
Benefits:
- Seamless workflow: conflicts detected → user confirms → applied automatically
- No intermediate files to manage
- User interaction at decision point (not after-the-fact)
- Resolved conflicts integrated directly into source artifacts
- Clear conflict_risk status tracking in context-package.json
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-24 17:31:19 +08:00
catlog22
da908d8db4
refactor: remove MCP code-index dependency, replace with ripgrep/find
...
Replace all mcp__code-index__ calls with native ripgrep and find commands
across workflow and command files for better performance and portability.
Changes:
- Remove 41 mcp__code-index__ function calls from 12 files
- Replace with ripgrep (rg) for content search
- Replace with find for file discovery
- Remove index refresh dependencies (no longer needed)
Modified files:
- workflow/tools: context-gather, test-context-gather, task-generate-agent,
task-generate, test-task-generate (core workflow tools)
- workflow: review (security scanning)
- memory: load, update-related, docs (memory management)
- cli/mode: plan, bug-index, code-analysis (CLI modes)
Documentation updates:
- Simplify mcp-tool-strategy.md to only Exa usage (5 lines)
- Streamline context-search-strategy.md to 69 lines
- Standardize codebase-retrieval syntax per intelligent-tools-strategy.md
Benefits:
- Faster search with ripgrep (no index overhead)
- Better cross-platform compatibility
- Simpler configuration (fewer MCP dependencies)
- -232 lines of code removed
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-24 15:45:26 +08:00
catlog22
ee7ffdae67
docs: enhance workflow documentation with role analysis and conflict resolution details
2025-10-24 11:56:50 +08:00
catlog22
57fa379e45
Refactor workflow to replace synthesis-specification.md with role analysis documents
...
- Updated references in various workflow commands to utilize role analysis documents instead of synthesis-specification.md.
- Modified CLI templates and command references to reflect the new architecture and document structure.
- Introduced conflict-resolution command to analyze and resolve conflicts between implementation plans and existing codebase.
- Deprecated synthesis role template and provided migration guidance for transitioning to the new role analysis approach.
2025-10-24 11:08:15 +08:00
catlog22
b8935777e7
refactor: enhance prompt generation process with direct output and improved internal analysis
2025-10-18 22:33:29 +08:00
catlog22
1073e43c0b
refactor: split task JSON templates and improve CLI mode support
...
- Split task-json-schema.txt into two mode-specific templates:
- task-json-agent-mode.txt: Agent execution (no command field)
- task-json-cli-mode.txt: CLI execution (with command field)
- Update task-generate.md:
- Remove outdated Codex resume mechanism description
- Add clear execution mode examples (Agent/CLI)
- Simplify CLI Execute Mode Details section
- Update task-generate-agent.md:
- Add --cli-execute flag support
- Command selects template path before invoking agent
- Agent receives template path and reads it (not content)
- Clarify responsibility: Command decides, Agent executes
- Improve architecture:
- Clear separation: Command layer (template selection) vs Agent layer (content generation)
- Template selection based on flag, not agent logic
- Agent simplicity: receives path, reads template, generates content
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-18 20:44:46 +08:00
catlog22
393b2f480f
Refactor task generation and implementation plan templates
...
- Updated task JSON schema to enhance structure and artifact integration.
- Simplified agent mode execution by omitting command fields in implementation steps.
- Introduced CLI execute mode with detailed command specifications for complex tasks.
- Added comprehensive IMPL_PLAN.md template with structured sections for project analysis, context, and execution strategy.
- Enhanced documentation for artifact usage and priority guidelines.
- Improved flow control definitions for task execution and context loading.
2025-10-18 20:26:58 +08:00
catlog22
58153ecb83
Refactor implementation approach structure across task generation files
...
- Updated implementation_approach in task-generate-tdd.md to use an array format with detailed steps for minimal code implementation and iterative testing.
- Enhanced task-generate.md to support CLI execution mode with Codex, including examples for task execution and session management.
- Modified test-task-generate.md to incorporate CLI execution mode, allowing Codex to autonomously generate tests and execute iterative test-fix cycles.
- Revised task-core.md and workflow-architecture.md to adopt a step-based implementation approach, improving clarity and dependency management in task execution.
- Improved documentation in workflow-architecture.md to clarify flow control structure and variable referencing.
2025-10-12 14:09:47 +08:00
catlog22
75ec70ad23
更新 generate.md 和 layout-extract.md 文档:添加对参考图像的自动检测和使用说明
2025-10-12 10:11:08 +08:00
catlog22
bd9278bb02
feat: enhance workflow with CCW-aware IMPL_PLAN.md templates
...
- Add concept-verify and action-plan-verify quality gate commands
- Enhance IMPL_PLAN.md with CCW Workflow Context section
- Add Artifact Usage Strategy for clear CCW artifact hierarchy
- Update frontmatter with context_package, verification_history, phase_progression
- Synchronize enhancements across task-generate, task-generate-agent, task-generate-tdd
- Update synthesis, plan, and tdd-plan commands with verification guidance
Makes CCW's multi-phase workflow and intelligent context gathering visible in generated documentation.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-07 20:58:11 +08:00
catlog22
e90c9baa13
refactor: Optimize document passing strategy in workflow
...
- **concept-enhanced**: Add explicit priority for source documents
- PRIMARY: role analysis.md files (complete technical details, ADRs)
- SECONDARY: synthesis-specification.md (integrated requirements)
- Framework: topic-framework.md (discussion context)
- **task-generate**: Enhanced artifacts array with usage guidance
- Add 'usage' field for each artifact type
- Support dynamic role discovery
- Reorder priority: synthesis (highest) → role_analysis (high) → framework (low)
- **pre_analysis**: Add explicit artifact loading instructions
- Note when to consult role analysis (API schemas, caching configs, design tokens)
- Load system-architect, ui-designer, product-manager analyses
- **implementation_approach**: Add clear priority instructions
- Primary: Use synthesis-specification.md for requirements
- Secondary: Refer to artifacts[] for technical details
- Update logic_flow to include "Consult artifacts when needed"
- **gitignore**: Add .workflow directory to ignore list
🎯 Result: Balanced strategy - 100% fidelity in analysis phase, 78% token efficiency in planning phase, hybrid approach in execution phase
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-04 12:44:07 +08:00
catlog22
b945e2de55
docs: Enhance target_files documentation and fix cross-platform command compatibility
...
## Target Files Enhancement
- Add support for new file creation in target_files format
- Update task-generate.md with comprehensive target_files generation guide
- Update concept-enhanced.md to output code modification targets
- Add examples showing both modification (file:function:lines) and creation (file) formats
## Cross-Platform Command Fixes
- Replace ls with find commands for better Windows Git Bash compatibility
- Update workflow commands: execute.md, status.md, review.md
- Update session commands: list.md, complete.md
- Add Bash environment guidelines to context-search-strategy.md
- Document forbidden Windows commands (findstr, dir, where, etc.)
## Files Updated
- Core workflows: workflow-architecture.md, task-core.md
- Command docs: 9 workflow command files
- Agent docs: action-planning-agent.md, task-generate-agent.md
- Strategy docs: context-search-strategy.md
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-02 22:40:37 +08:00
catlog22
0625c66bce
feat: Simplify agent architecture with test-fix workflow (v3.2.0)
...
Major architectural improvements:
- Simplify from 3 agents to 2 core agents
- Adopt "Tests Are the Review" philosophy
- Enhance test-gen as 4-phase orchestrator
- Simplify review.md following update-memory pattern
Agent Changes:
- NEW: @test-fix-agent - Execute tests, diagnose failures, fix code
- ENHANCED: @code-developer - Now writes implementation + tests together
- REMOVED: @code-review-agent, @code-review-test-agent
Task Type Updates:
- "test" → "test-gen" (generate tests)
- NEW: "test-fix" (execute and fix tests)
Workflow Improvements:
- test-gen.md: 4-phase orchestrator (context-gather → concept-enhanced → task-generate → execute)
- review.md: Simplified to optional specialized reviews (security, architecture, quality, action-items)
- All 16 files updated with new agent references
See CHANGELOG.md for full details.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-02 12:26:35 +08:00
catlog22
04876c80bd
feat: Add task-generate-agent and task-generate commands for autonomous task generation and manual task creation
...
- Implemented task-generate-agent for autonomous task generation using action-planning-agent with discovery and output phases.
- Introduced task-generate command to generate task JSON files and IMPL_PLAN.md from analysis results with automatic artifact detection and integration.
- Enhanced documentation for both commands, detailing execution lifecycle, phases, and output structures.
- Established clear integration points and error handling for improved user experience.
2025-09-30 10:10:34 +08:00