Skip to content

Dev#3

Merged
vincent067 merged 4 commits intomainfrom
dev
Mar 13, 2026
Merged

Dev#3
vincent067 merged 4 commits intomainfrom
dev

Conversation

@vincent067
Copy link
Copy Markdown
Collaborator

This pull request introduces comprehensive support for sequential execution of multiple task sets within a project, both via CLI and in documentation. It enhances the user experience by allowing users to specify multiple task sets, execute all task sets in a defined order, and control error handling behavior. The CLI, documentation, and help messages are all updated to reflect these new capabilities.

Key changes include:

Multi-Task Set Execution Support

  • The run and dry-run CLI commands now accept multiple task set names as positional arguments and add a --all option to execute all task sets in a project, respecting an optional task_set_order defined in __init__.json. A --stop-on-error flag allows stopping execution upon the first failure. [1] [2]
  • The command help (epilog) and argument descriptions are updated to provide clear usage examples for multi-task set execution.

Documentation Updates

  • The README.md and docs/USER_GUIDE.md are extensively updated to document multi-task set execution, including new CLI usage examples, configuration of task_set_order, and best practices for supervisor/systemd environments. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]

Task Set Order Configuration

  • Projects can now define a task_set_order array in __init__.json to control the execution order when using --all. Unlisted task sets are appended alphabetically. This is documented in both user and reference guides. [1] [2] [3]

Codebase and CLI Refactoring

  • The core execution logic is refactored to support dispatching and dry-run for multiple task sets, including renaming and restructuring of internal functions for clarity (_execute_dispatch).
  • Imports and display logic are prepared for multi-task set orchestration, including hooks for summary and divider rendering.

Minor Enhancements and Fixes

  • The README.md feature list and tool/model documentation are updated for clarity and accuracy, including new tool examples and corrected feature descriptions. [1] [2] [3]

These changes make it significantly easier for users to manage large projects with multiple task sets, providing both flexibility and improved documentation.

- Updated USER_GUIDE.md to include examples for running multiple task sets and using the --all flag.
- Modified cli.py to accept multiple task set names and added --all and --stop-on-error options.
- Refactored run_cmd.py to handle multi-task set execution, including logic for task set ordering and error handling.
- Enhanced display functions to show headers and summaries for multi-task set executions.
- Added task_set_order field to ProjectConfig for defining execution order.
- Created comprehensive tests for multi-task set functionality, including argument parsing and execution flow.
@vincent067 vincent067 merged commit 44a34fe into main Mar 13, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants