mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
Replace JSONL session registry with marker file system
- Replace complex .workflow/session_status.jsonl registry with simple .active-[name] marker files - Implement ultra-fast session detection using file existence checks (<1ms vs JSON parsing) - Add atomic session switching through file creation/deletion operations - Remove all session_status.jsonl references across 9 command files - Rewrite session-management-principles.md with new marker file architecture - Update file-structure-standards.md directory access documentation - Maintain backward compatibility with automatic migration from JSONL to marker files - Enable visual session management through standard filesystem commands (ls, touch, rm) - Eliminate JSON parsing overhead and corruption risks in session management Core benefits: Zero parsing overhead, atomic operations, visual management, self-healing consistency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -192,7 +192,7 @@ This template is automatically filled and generated after execution.
|
||||
|
||||
- **Trigger**: Activated by the `--save-session` flag.
|
||||
- **Action**: Saves the complete execution session, including inferred context, Gemini analysis, and implementation results.
|
||||
- **Session Check**: Query `.workflow/session_status.jsonl` to identify current active session. If the file doesn't exist, create it.
|
||||
- **Session Check**: Check for `.workflow/.active-*` marker file to identify current active session. No file creation needed.
|
||||
- **Location Strategy**:
|
||||
- **IF active session exists**: Save to existing `.workflow/WFS-[topic-slug]/.chat/` directory
|
||||
- **IF no active session**: Create new session directory following WFS naming convention
|
||||
|
||||
Reference in New Issue
Block a user