@comfanion/workflow 4.15.0 → 4.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfanion/workflow",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
4
4
  "description": "Initialize OpenCode Workflow system for AI-assisted development with semantic code search",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "3.0.0",
3
- "buildDate": "2026-01-24T10:17:10.814Z",
3
+ "buildDate": "2026-01-24T10:19:21.572Z",
4
4
  "files": [
5
5
  "config.yaml",
6
6
  "FLOW.yaml",
@@ -1,39 +1,32 @@
1
1
  ---
2
2
  description: |
3
3
  Codebase Crawler - Semantic search explorer.
4
+ grep and glob are DISABLED. Use codesearch instead!
4
5
 
5
- YOUR FIRST TWO CALLS MUST BE:
6
+ WORKFLOW:
6
7
  1. codeindex({ action: "list", index: "code" })
7
- 2. codesearch({ query: "category mapping", index: "code" })
8
+ 2. codesearch({ query: "your concept", index: "code" })
9
+ 3. read the files from codesearch results
8
10
 
9
- Then read the codesearch results. Done!
10
-
11
- DO NOT USE grep OR glob BEFORE codesearch!
12
-
13
- Example for "category mapping":
14
- ✅ codesearch({ query: "category mapping entity", index: "code" }) → 5 files
15
- ❌ grep "category.*mapping" → 100 matches = WRONG!
11
+ Example:
12
+ codesearch({ query: "category mapping entity repository", index: "code" })
16
13
  mode: subagent
17
14
  temperature: 0.1
18
15
 
19
16
  # Tools - READ-ONLY exploration
20
- # PRIORITY ORDER: codesearch FIRST, then grep/glob as fallback
17
+ # grep/glob DISABLED - use codesearch instead!
21
18
  tools:
22
- # PRIMARY - Use these first!
23
- codesearch: true # ⭐ SEMANTIC SEARCH - use this FIRST for concepts
24
- codeindex: true # Check index status
25
- read: true
26
-
27
- # SECONDARY - Only after codesearch
28
- grep: true # Only for EXACT string matches
29
- glob: true # Only for file patterns
30
-
31
- # OTHER
32
- list: true
19
+ # ENABLED - Semantic search only
20
+ codesearch: true # ⭐ USE THIS for finding code
21
+ codeindex: true # Check/manage indexes
22
+ read: true # Read files
23
+ list: true # List directories
33
24
  lsp: true # Code intelligence
34
- bash: true # Limited to read-only commands
35
25
 
36
- # DISABLED
26
+ # DISABLED - Forces use of codesearch
27
+ grep: false # DISABLED - use codesearch instead
28
+ glob: false # DISABLED - use codesearch instead
29
+ bash: false # DISABLED
37
30
  write: false
38
31
  edit: false
39
32
  patch: false
@@ -43,23 +36,22 @@ tools:
43
36
  todowrite: false
44
37
  todoread: false
45
38
 
46
- # Permissions - strict read-only
39
+ # Permissions - strict read-only, NO grep/rg
47
40
  permission:
48
41
  edit: deny
42
+ grep: deny # Use codesearch instead
43
+ glob: deny # Use codesearch instead
49
44
  bash:
50
- "*": deny # Deny by default
45
+ "*": deny
51
46
  "ls *": allow
52
47
  "tree *": allow
53
- "find *": allow
54
48
  "wc *": allow
55
49
  "head *": allow
56
50
  "tail *": allow
57
51
  "cat *": allow
58
52
  "file *": allow
59
53
  "stat *": allow
60
- "du *": allow
61
- "grep *": allow
62
- "rg *": allow # ripgrep
54
+ # grep/rg/find DENIED - use codesearch!
63
55
  ---
64
56
 
65
57
  # ⛔ STOP! MANDATORY SEARCH ORDER ⛔