From 1929b7f72dac1a7f9ebef3973aaa07973cf583f8 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 20 Nov 2025 12:13:45 +0000 Subject: [PATCH] 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. --- COMMAND_SPEC.md | 2 +- WORKFLOW_DIAGRAMS.md | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/COMMAND_SPEC.md b/COMMAND_SPEC.md index 50b81eab..3fc3d611 100644 --- a/COMMAND_SPEC.md +++ b/COMMAND_SPEC.md @@ -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 diff --git a/WORKFLOW_DIAGRAMS.md b/WORKFLOW_DIAGRAMS.md index be8c1da4..2fa4d426 100644 --- a/WORKFLOW_DIAGRAMS.md +++ b/WORKFLOW_DIAGRAMS.md @@ -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