feat: Optimize Codex prompt commands parameter flexibility

- Enhanced 14 commands with flexible parameter support
- Standardized argument formats across all commands
- Added English parameter descriptions for clarity
- Maintained backward compatibility

Commands optimized:
- analyze-with-file: Added --depth, --max-iterations
- brainstorm-with-file: Added --perspectives, --max-ideas, --focus
- debug-with-file: Added --scope, --focus, --depth
- issue-execute: Unified format, added --skip-tests, --skip-build, --dry-run
- lite-plan-a/b/c: Added depth and execution control flags
- execute: Added --parallel, --filter, --skip-tests
- brainstorm-to-cycle: Unified to --session format, added --launch
- lite-fix: Added --hotfix, --severity, --scope
- clean: Added --focus, --target, --confirm
- lite-execute: Unified --plan format, added execution control
- compact: Added --description, --tags, --force
- issue-new: Complete flexible parameter support

Unchanged (already optimal):
- issue-plan, issue-discover, issue-queue, issue-discover-by-prompt
This commit is contained in:
catlog22
2026-01-29 11:29:39 +08:00
parent 04a84f9893
commit 3a7bbe0e42
14 changed files with 248 additions and 73 deletions

View File

@@ -1,6 +1,6 @@
---
description: Execute workflow tasks sequentially from session folder
argument-hint: SESSION=<path-to-session-folder>
description: Execute workflow tasks sequentially from session folder. Supports parallel execution and task filtering.
argument-hint: "SESSION=<path-to-session-folder> [--parallel] [--filter=<pattern>] [--skip-tests]"
---
# Workflow Execute (Codex Version)
@@ -13,6 +13,10 @@ argument-hint: SESSION=<path-to-session-folder>
Session folder path via `$SESSION` (e.g., `.workflow/active/WFS-auth-system`)
- `--parallel`: Execute tasks in parallel (default: sequential)
- `--filter`: Filter tasks by pattern (e.g., `IMPL-1.*`)
- `--skip-tests`: Skip test execution
## Task Tracking (JSON Source of Truth + Codex TODO Tool)
- **Source of truth**: Task state MUST be read from and written to `$SESSION/.task/IMPL-*.json`.