You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Rename global config directory to ~/.config/wireflow
Completes WireFlow rebrand by renaming global configuration directory from ~/.config/workflow/ to ~/.config/wireflow/ for full consistency.
Changes (33 files):
- Updated all references to global config directory
- lib/config.sh: GLOBAL_CONFIG_DIR uses wireflow
- Default WIREFLOW_PROMPT_PREFIX: ~/.config/wireflow/prompts
- Default WIREFLOW_TASK_PREFIX: ~/.config/wireflow/tasks
- Updated all documentation references
- Updated test helper common.bash
Migration (manual):
Users should rename their existing directory:
mv ~/.config/workflow ~/.config/wireflow
No other changes needed. All projects with .workflow/ directories continue working unchanged.
This is part of v0.3.0 breaking changes alongside command and env var renames.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected])
**Preserved:**`.workflow/` directories, `~/.config/workflow/` config location continue working unchanged.
32
+
**Preserved:**`.workflow/` directories, `~/.config/wireflow/` config location continue working unchanged.
33
33
34
34
### ✨ Built-In Task Templates
35
35
36
-
Eight carefully designed generic task templates provide immediate value for common research and development workflows. Templates are created automatically in `~/.config/workflow/tasks/` on first use.
36
+
Eight carefully designed generic task templates provide immediate value for common research and development workflows. Templates are created automatically in `~/.config/wireflow/tasks/` on first use.
37
37
38
38
**Templates:**
39
39
-`summarize`: Concise summary with key points and action items
@@ -69,7 +69,7 @@ wfw new analysis --task summarize
69
69
70
70
### 🔍 Intelligent Fallback Search
71
71
72
-
When using custom `WIREFLOW_PROMPT_PREFIX` or `WIREFLOW_TASK_PREFIX`, the tool now automatically searches default locations (`~/.config/workflow/prompts/`, `~/.config/workflow/tasks/`) as fallback, preserving access to built-in prompts and templates.
72
+
When using custom `WIREFLOW_PROMPT_PREFIX` or `WIREFLOW_TASK_PREFIX`, the tool now automatically searches default locations (`~/.config/wireflow/prompts/`, `~/.config/wireflow/tasks/`) as fallback, preserving access to built-in prompts and templates.
73
73
74
74
**Problem Solved:**
75
75
- Setting custom PREFIX no longer breaks access to built-in "base" system prompt
Automatic workflow context orientation prompt included as first block in every API request, helping AI assistants understand the workflow structure, content organization, and project hierarchy.
117
117
118
118
**Implementation:**
119
-
- Created automatically at `~/.config/workflow/prompts/meta.txt`
119
+
- Created automatically at `~/.config/wireflow/prompts/meta.txt`
120
120
- Always included first (before user prompts)
121
121
- Not user-configurable (internal implementation)
122
122
- No cache_control (too small ~50 tokens, below 1024 minimum)
Copy file name to clipboardExpand all lines: docs/contributing/architecture.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ project-root/
70
70
**Multi-tier cascade with pass-through:**
71
71
72
72
1. Global defaults (hardcoded in `lib/config.sh`)
73
-
2. Global config (`~/.config/workflow/config`, auto-created on first use)
73
+
2. Global config (`~/.config/wireflow/config`, auto-created on first use)
74
74
3. Ancestor project configs (grandparent → parent, oldest to newest)
75
75
4. Current project config (`.workflow/config`)
76
76
5. Workflow config (`.workflow/<name>/config`)
@@ -180,7 +180,7 @@ Builds JSON content blocks only. Pseudo-XML files optionally created via custom
180
180
181
181
**Build process (every run):**
182
182
183
-
1. Load meta prompt from `~/.config/workflow/prompts/meta.txt` (auto-included)
183
+
1. Load meta prompt from `~/.config/wireflow/prompts/meta.txt` (auto-included)
184
184
2. Create meta JSON block WITHOUT cache_control (too small to cache)
185
185
3. Add meta block as first element in `SYSTEM_BLOCKS` array
186
186
4. Load user prompts from `$WIREFLOW_PROMPT_PREFIX/{name}.txt`
@@ -218,7 +218,7 @@ Builds JSON content blocks only. Pseudo-XML files optionally created via custom
218
218
219
219
**Cache breakpoints:** User prompts and project descriptions are cached (most stable), meta and date are not cached (meta too small, date changes daily).
220
220
221
-
**Meta prompt:** Automatically included as first block, provides workflow structure orientation to AI. Not user-configurable. Created at `~/.config/workflow/prompts/meta.txt` during initialization.
221
+
**Meta prompt:** Automatically included as first block, provides workflow structure orientation to AI. Not user-configurable. Created at `~/.config/wireflow/prompts/meta.txt` during initialization.
0 commit comments