mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
Merge pull request #28 from catlog22/claude/check-active-workflow-files-01S7quRK9xHWStgpQ9WeTnF2
Check for .active identifier in workflow files
This commit is contained in:
@@ -180,7 +180,7 @@ Commands for creating, listing, and managing workflow sessions.
|
||||
- **Syntax**: `/workflow:session:complete [--detailed]`
|
||||
- **Parameters**:
|
||||
- `--detailed` (Flag): Shows a more detailed completion summary.
|
||||
- **Responsibilities**: Marks the currently active session as "completed", records timestamps, and removes the `.active-*` marker file.
|
||||
- **Responsibilities**: Marks the currently active session as "completed", records timestamps, and moves the session from `.workflow/active/` to `.workflow/archives/`.
|
||||
- **Agent Calls**: None.
|
||||
- **Example**:
|
||||
```bash
|
||||
|
||||
@@ -14,9 +14,10 @@ graph TB
|
||||
end
|
||||
|
||||
subgraph "Session Management"
|
||||
MARKER[".active-session marker"]
|
||||
SESSION["workflow-session.json"]
|
||||
WDIR[".workflow/ directories"]
|
||||
ACTIVE_DIR[".workflow/active/"]
|
||||
ARCHIVE_DIR[".workflow/archives/"]
|
||||
end
|
||||
|
||||
subgraph "Task System"
|
||||
@@ -124,9 +125,7 @@ stateDiagram-v2
|
||||
CreateStructure --> CreateJSON: Create workflow-session.json
|
||||
CreateJSON --> CreatePlan: Create IMPL_PLAN.md
|
||||
CreatePlan --> CreateTasks: Create .task/ directory
|
||||
CreateTasks --> SetActive: touch .active-session-name
|
||||
|
||||
SetActive --> Active: Session Ready
|
||||
CreateTasks --> Active: Session Ready in .workflow/active/
|
||||
|
||||
Active --> Paused: Switch to Another Session
|
||||
Active --> Working: Execute Tasks
|
||||
|
||||
Reference in New Issue
Block a user