workflowy-triage 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -48,11 +48,11 @@ Each proposal looks like:
48
48
 
49
49
  ```
50
50
  [source node]
51
- ├── [node name](id) -> [target name]
52
- │ ├── [original node] ← moved here
51
+ ├── "original node text..." -> [link to target location]
52
+ │ ├── [original node]
53
53
  │ ├── target: [link to proposed location]
54
- │ ├── reason: [why this location fits]
55
- │ └── alternative targets: [other options]
54
+ │ ├── reason: "why this location fits"
55
+ │ └── alternative targets: [link to other locations]
56
56
  ```
57
57
 
58
58
  ### Phase 2: User Review
@@ -71,18 +71,16 @@ Run `/workflowy-triage <node-id> --review` to:
71
71
 
72
72
  ## Triage Rules
73
73
 
74
- Create a node called "rules for triage" in your Workflowy with patterns like:
74
+ Create a node called "rules for triage" in your Workflowy with rules like:
75
75
 
76
76
  ```
77
77
  rules for triage
78
- ├── AI/LLM insights use agents
79
- ├── actionable tasks plan > in the next 7 days
80
- ├── meeting notes grow > grow understanding
81
- ├── business opportunities → create a business
82
- └── philosophical insights → remember, ponder, reflect
78
+ ├── find the deepest most applicable node under synthesize
79
+ ├── before finalizing a location, always call workflowy_get on it to see its children
80
+ │ └── only stop when the node is a leaf or no children match the item's content
83
81
  ```
84
82
 
85
- Claude will match items against these patterns and propose appropriate locations.
83
+ Claude will start from broad categories and drill down recursively, fetching children at each level until finding the most specific matching location.
86
84
 
87
85
  ## Uninstall
88
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workflowy-triage",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "Claude Code skill that triages Workflowy nodes by proposing locations based on rules",
6
6
  "bin": {
@@ -138,7 +138,7 @@ For each node to triage:
138
138
  [inbox] ← source-node-id
139
139
  ├── science of achievement vs art of fulfillment
140
140
  ├── try get shit done plugin
141
- └── Ian (meeting notes about Maven Machines)
141
+ └── John (meeting notes)
142
142
  ```
143
143
 
144
144
  ### After Phase 1
@@ -155,22 +155,22 @@ For each node to triage:
155
155
  │ ├── target: [in the next 7 days](link)
156
156
  │ ├── reason: actionable task to try a productivity tool
157
157
  │ └── alternative targets: [use skills](link)
158
- └── [Ian](c19f) -> [care for, mate, partner, invest]
159
- ├── Ian (meeting notes about Maven Machines)
160
- ├── target: [care for, mate, partner, invest](link)
158
+ └── [John](c19f) -> [care for, partner, invest]
159
+ ├── John (meeting notes)
160
+ ├── target: [care for, partner, invest](link)
161
161
  ├── reason: developing a business relationship
162
162
  └── alternative targets: [grow understanding](link), [partner](link)
163
163
  ```
164
164
 
165
165
  ### After User Review
166
166
 
167
- User moved "Ian" under the alternative suggestion, deleted the primary. User accepted other suggestions.
167
+ User moved "John" under the alternative suggestion, deleted the primary. User accepted other suggestions.
168
168
 
169
169
  ### Phase 3 Output
170
170
 
171
171
  ```
172
172
  Observed patterns:
173
- - You moved "Ian" to "grow > grow understanding" instead of "reproduce > care for..."
173
+ - You moved "John" to "grow > grow understanding" instead of "reproduce > care for..."
174
174
  - This suggests meeting notes should prioritize learning over relationship-building
175
175
 
176
176
  Proposed rule update:
@@ -185,22 +185,16 @@ The rules node should contain children structured as:
185
185
 
186
186
  ```
187
187
  [rules for triage]
188
- ├── links and references metabolize > store > resources
189
- ├── philosophical insights respond > remember, ponder, reflect
190
- ├── actionable tasks plan > in the next 7 days
191
- ├── meeting notes → grow > grow understanding, experience
192
- ├── business relationships → reproduce > care for, mate, partner, invest
193
- ├── technical research create > research scientifically
194
- ├── creative production create > create
195
- ├── attention/focus principles structure > attend to, focus
196
- ├── tool configurations structure > know structure > things, objects
197
- └── customer interactions reproduce > add to, foster, promote, empower
198
- ```
199
-
200
- Each rule is a simple pattern → location mapping. Rules can include:
201
- - Keywords to match
202
- - Node structure patterns (e.g., "has children", "contains link")
203
- - Context hints
188
+ ├── find the deepest most applicable node under synthesize
189
+ ├── before finalizing a location, always call workflowy_get on it to see its children
190
+ │ └── only stop when the node is a leaf or no children match the item's content
191
+ ```
192
+
193
+ Each rule guides how to find the best location. The triage process should:
194
+ 1. Start from broad categories and drill down
195
+ 2. For each candidate location, fetch its children with `workflowy_get`
196
+ 3. Check if any child is a better match for the item's content
197
+ 4. Continue recursively until reaching a leaf node or no children match
204
198
 
205
199
  ## Error Handling
206
200