docs: remove obsolete .active marker file references

Remove outdated references to .active-session marker files that are no longer used in the workflow implementation. The system now uses directory-based session management where active sessions are identified by their location in .workflow/active/ directory.

Changes:
- WORKFLOW_DIAGRAMS.md: Replace .active-session marker with actual directory structure
- COMMAND_SPEC.md: Update session:complete description to reflect directory-based archival

The .archiving marker is still valid and used for transactional session completion.
This commit is contained in:
Claude
2025-11-20 12:13:45 +00:00
parent 67c18d1b03
commit 1929b7f72d
2 changed files with 4 additions and 5 deletions

View File

@@ -180,7 +180,7 @@ Commands for creating, listing, and managing workflow sessions.
- **Syntax**: `/workflow:session:complete [--detailed]` - **Syntax**: `/workflow:session:complete [--detailed]`
- **Parameters**: - **Parameters**:
- `--detailed` (Flag): Shows a more detailed completion summary. - `--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. - **Agent Calls**: None.
- **Example**: - **Example**:
```bash ```bash

View File

@@ -14,9 +14,10 @@ graph TB
end end
subgraph "Session Management" subgraph "Session Management"
MARKER[".active-session marker"]
SESSION["workflow-session.json"] SESSION["workflow-session.json"]
WDIR[".workflow/ directories"] WDIR[".workflow/ directories"]
ACTIVE_DIR[".workflow/active/"]
ARCHIVE_DIR[".workflow/archives/"]
end end
subgraph "Task System" subgraph "Task System"
@@ -124,9 +125,7 @@ stateDiagram-v2
CreateStructure --> CreateJSON: Create workflow-session.json CreateStructure --> CreateJSON: Create workflow-session.json
CreateJSON --> CreatePlan: Create IMPL_PLAN.md CreateJSON --> CreatePlan: Create IMPL_PLAN.md
CreatePlan --> CreateTasks: Create .task/ directory CreatePlan --> CreateTasks: Create .task/ directory
CreateTasks --> SetActive: touch .active-session-name CreateTasks --> Active: Session Ready in .workflow/active/
SetActive --> Active: Session Ready
Active --> Paused: Switch to Another Session Active --> Paused: Switch to Another Session
Active --> Working: Execute Tasks Active --> Working: Execute Tasks