deepflow 0.1.87 → 0.1.89

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.
@@ -4,9 +4,7 @@ description: Discovers requirement gaps during ideation. Use when user describes
4
4
  allowed-tools: [AskUserQuestion, Read]
5
5
  ---
6
6
 
7
- # Gap Discovery
8
-
9
- Proactively identify missing requirements before implementation.
7
+ # Gap Discovery — Proactive Requirement Gap Identification
10
8
 
11
9
  ## Gap Categories
12
10
 
@@ -19,82 +17,31 @@ Proactively identify missing requirements before implementation.
19
17
  | **Success criteria** | "How will you know this works?" |
20
18
  | **Anti-goals** | "What should this explicitly NOT do?" |
21
19
 
22
- ## Implementation
23
-
24
- **Use the `AskUserQuestion` tool** to ask structured questions with predefined options.
25
-
26
- ### AskUserQuestion Format
20
+ ## AskUserQuestion Format
27
21
 
28
22
  ```json
29
23
  {
30
24
  "questions": [
31
25
  {
32
- "question": "What file types should be supported?",
33
- "header": "File types",
26
+ "question": "Clear, specific question ending with ?",
27
+ "header": "Short label (max 12 chars)",
34
28
  "multiSelect": true,
35
29
  "options": [
36
- {"label": "JPG/PNG only", "description": "Standard image formats"},
37
- {"label": "Include WebP", "description": "Modern format with better compression"},
38
- {"label": "Include GIF", "description": "Animated images supported"},
39
- {"label": "Include video", "description": "MP4, WebM formats"}
30
+ {"label": "Option 1", "description": "What this means"},
31
+ {"label": "Option 2", "description": "What this means"}
40
32
  ]
41
33
  }
42
34
  ]
43
35
  }
44
36
  ```
45
37
 
46
- ### Guidelines for AskUserQuestion
47
-
48
- - **header**: Max 12 characters (e.g., "File types", "Auth", "Storage")
49
- - **options**: 2-4 choices per question, each with label + description
50
- - **multiSelect**: Set `true` when choices aren't mutually exclusive
51
- - **questions**: Max 4 questions per tool call (tool limit)
52
- - Users can always select "Other" to provide custom input
53
-
54
- ### Example Questions by Category
55
-
56
- **Scope:**
57
- ```json
58
- {
59
- "question": "Should this feature include admin management?",
60
- "header": "Scope",
61
- "multiSelect": false,
62
- "options": [
63
- {"label": "Yes, include admin", "description": "Add admin dashboard for management"},
64
- {"label": "No, user-only", "description": "Only end-user functionality"},
65
- {"label": "Phase 2", "description": "Add admin features later"}
66
- ]
67
- }
68
- ```
69
-
70
- **Constraints:**
71
- ```json
72
- {
73
- "question": "What's the maximum file size for uploads?",
74
- "header": "Size limit",
75
- "multiSelect": false,
76
- "options": [
77
- {"label": "5 MB", "description": "Conservative, fast uploads"},
78
- {"label": "10 MB (Recommended)", "description": "Balanced for most images"},
79
- {"label": "25 MB", "description": "High-res photos supported"},
80
- {"label": "50 MB", "description": "Large files, slower uploads"}
81
- ]
82
- }
83
- ```
84
-
85
- **Dependencies:**
86
- ```json
87
- {
88
- "question": "What authentication is required?",
89
- "header": "Auth",
90
- "multiSelect": false,
91
- "options": [
92
- {"label": "Public access", "description": "No login required"},
93
- {"label": "Logged-in users", "description": "Require authentication"},
94
- {"label": "Role-based", "description": "Different permissions per role"}
95
- ]
96
- }
97
- ```
38
+ | Constraint | Value |
39
+ |-----------|-------|
40
+ | header | Max 12 characters |
41
+ | options | 2-4 per question, each with label + description |
42
+ | multiSelect | true when choices aren't mutually exclusive |
43
+ | questions | Max 4 per tool call |
44
+ | Other | Users can always select "Other" for custom input |
98
45
 
99
46
  ## Process
100
47
 
@@ -102,26 +49,12 @@ Proactively identify missing requirements before implementation.
102
49
  2. Identify categories lacking clarity
103
50
  3. Use `AskUserQuestion` with 1-4 targeted questions
104
51
  4. Wait for answers
105
- 5. Follow up if answers reveal new gaps (another AskUserQuestion call)
106
- 6. Signal when ready: "Requirements clear. Ready to proceed."
107
-
108
- ## Question Quality
109
-
110
- ```
111
- BAD: "Any other requirements?"
112
- GOOD: "Max file size for uploads?" with concrete options
113
-
114
- BAD: "What about errors?"
115
- GOOD: "If upload fails, retry automatically or show error to user?" with clear choices
116
- ```
52
+ 5. Follow up if answers reveal new gaps
53
+ 6. Signal: "Requirements clear. Ready to proceed."
117
54
 
118
55
  ## Rules
119
56
 
120
- - Use `AskUserQuestion` tool for structured input
121
- - Max 4 questions per tool call (tool limitation)
122
- - Headers max 12 characters
123
- - 2-4 options per question with descriptions
124
- - Use multiSelect when choices can combine
125
- - Be specific, offer choices with trade-offs explained
126
- - Don't assume - ask
127
- - Stop when gaps are covered
57
+ - Be specific offer concrete choices with trade-offs explained
58
+ - BAD: "Any other requirements?" / GOOD: "Max file size?" with concrete options
59
+ - BAD: "What about errors?" / GOOD: "If upload fails, retry or show error?" with choices
60
+ - Don't assume ask. Stop when gaps are covered.
@@ -96,6 +96,16 @@ quality:
96
96
  # Timeout in seconds to wait for the dev server to become ready (default: 30)
97
97
  browser_timeout: 30
98
98
 
99
+ # deepflow-dashboard team mode settings
100
+ # dashboard_url: URL of the shared team server for POST ingestion
101
+ # Leave blank (or omit) to use local-only mode (no data is pushed)
102
+ # Example: http://team-server:3334
103
+ dashboard_url: ""
104
+
105
+ # Port for `npx deepflow-dashboard serve` (team server mode)
106
+ # Default: 3334 (3333 is reserved for local mode)
107
+ dashboard_port: 3334
108
+
99
109
  # Recommended .gitignore entries
100
110
  # Add these entries to your .gitignore to exclude instrumentation artifacts
101
111
  gitignore_entries:
@@ -37,7 +37,18 @@
37
37
  ---
38
38
 
39
39
  <!--
40
- Spec Guidelines:
40
+ Spec Layers (onion model):
41
+ Specs don't need to be complete to be useful. The layer is computed
42
+ from which sections exist — /df:plan gates task generation accordingly.
43
+
44
+ L0 (Objective only) → spikes only
45
+ L1 (+ Requirements) → targeted spikes
46
+ L2 (+ Acceptance Criteria) → implementation tasks
47
+ L3 (+ Constraints, Out of Scope, Tech) → full impact analysis + optimize
48
+
49
+ Start at L0. Let spikes deepen the spec. Each layer adds knowledge, not guesswork.
50
+
51
+ Other guidelines:
41
52
  - Keep under 100 lines
42
53
  - Requirements must be testable
43
54
  - Acceptance criteria must be verifiable