Refactor workflow output paths to use a standardized sessions directory structure

- Updated output paths in various command files to reflect the new structure: `.workflow/sessions/{session_id}/` instead of `.workflow/{session_id}/`.
- Adjusted documentation and code comments to ensure consistency across all agents and commands.
- Ensured that all references to session-related files are correctly pointing to the new directory format.
This commit is contained in:
catlog22
2025-11-19 23:04:10 +08:00
parent 9b07310d68
commit 89a61acb71
37 changed files with 492 additions and 316 deletions

View File

@@ -98,7 +98,7 @@ allowed-tools: SlashCommand(*), TodoWrite(*), Read(*), Write(*), Bash(*)
**Session Integration**:
- `--session` flag determines session integration or standalone execution
- Integrated: Design system automatically added to session artifacts
- Standalone: Output in `.workflow/{run_id}/`
- Standalone: Output in `.workflow/sessions/{run_id}/`
## 5-Phase Execution
@@ -188,7 +188,7 @@ IF --session:
session_mode = "integrated"
ELSE:
session_id = null
relative_base_path = ".workflow/{design_id}"
relative_base_path = ".workflow/sessions/{design_id}"
session_mode = "standalone"
# Create base directory and convert to absolute path