coaia-visualizer 1.6.0 → 1.6.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.
Files changed (58) hide show
  1. package/.dockerignore +9 -0
  2. package/COMPLETE_IMPLEMENTATION_REPORT.md +215 -0
  3. package/QUICK_START_MCP_TESTING.md +236 -0
  4. package/README.md +1 -1
  5. package/README_TELESCOPED_NAVIGATION.md +247 -0
  6. package/STC.md +24 -0
  7. package/STCGOAL.md +0 -0
  8. package/STCISSUE.md +48 -0
  9. package/STCKIN.md +0 -0
  10. package/STCMASTERY.md +0 -0
  11. package/STUDY_REPORT.md +510 -0
  12. package/app/page.tsx +4 -23
  13. package/cli.ts +8 -0
  14. package/components/chart-detail-editable.tsx +3 -2
  15. package/components/chart-detail.tsx +1 -6
  16. package/components/edit-action-step.tsx +0 -2
  17. package/components/metadata-projections.tsx +208 -0
  18. package/components/relation-graph.tsx +27 -91
  19. package/components.json +21 -0
  20. package/direct-test.sh +180 -0
  21. package/dist/cli.js +7 -0
  22. package/dist/skill.js +342 -0
  23. package/docker-compose.test.yml +69 -0
  24. package/index.tsx +0 -26
  25. package/jgwill.coaia-visualizer-8--496dca71-d476-4ac9-ba9f-376add118dd8--260208.txt +2612 -0
  26. package/lib/chart-editor.ts +13 -13
  27. package/lib/jsonl-parser.ts +55 -8
  28. package/lib/jsonl-preservation.ts +405 -0
  29. package/lib/types.ts +32 -15
  30. package/mcp/dist/api-client.d.ts +138 -0
  31. package/mcp/dist/api-client.d.ts.map +1 -0
  32. package/mcp/dist/api-client.js +115 -0
  33. package/mcp/dist/api-client.js.map +1 -0
  34. package/mcp/dist/index.d.ts +2 -0
  35. package/mcp/dist/index.d.ts.map +1 -0
  36. package/mcp/dist/index.js +286 -0
  37. package/mcp/dist/index.js.map +1 -0
  38. package/mcp/dist/tools/index.d.ts +18 -0
  39. package/mcp/dist/tools/index.d.ts.map +1 -0
  40. package/mcp/dist/tools/index.js +322 -0
  41. package/mcp/dist/tools/index.js.map +1 -0
  42. package/mcp/package-lock.json +210 -0
  43. package/package.json +2 -27
  44. package/rispecs/github-project-runtime-memory-integration.spec.md +381 -0
  45. package/skill.ts +385 -0
  46. package/test-data/test-master.jsonl +11 -0
  47. package/test-results/.last-run.json +4 -0
  48. package/test-scripts/README.md +325 -0
  49. package/test-scripts/rich-jsonl-preservation.spec.ts +118 -0
  50. package/test-scripts/run-all-tests.sh +38 -0
  51. package/test-scripts/test-01-basic-operations.sh +87 -0
  52. package/test-scripts/test-02-telescope-creation.sh +91 -0
  53. package/test-scripts/test-03-navigation.sh +87 -0
  54. package/test-scripts/test-global-cli.spec.ts +220 -0
  55. package/test-scripts/verify-global-cli.sh +87 -0
  56. package/tsconfig.json +41 -0
  57. package/components/github-provenance.tsx +0 -226
  58. package/lib/github-provenance.ts +0 -316
@@ -0,0 +1,247 @@
1
+ # 🎯 Telescoped Chart Navigation - User Guide
2
+
3
+ ## Quick Start
4
+
5
+ ### What are Telescoped Charts?
6
+
7
+ In structural tension methodology, **every action step is actually a full structural tension chart** with its own:
8
+ - Desired outcome (what you want to create)
9
+ - Current reality (where you actually are)
10
+ - Action steps (which are also charts)
11
+
12
+ This creates an **infinite fractal structure** where you can zoom into any action and work on it as a complete chart.
13
+
14
+ ### Visual Indicators
15
+
16
+ When viewing a master chart's actions, you'll see two types:
17
+
18
+ **Regular Actions** (simple todo items):
19
+ \`\`\`
20
+ ┌──────────────────────────┐
21
+ │ ○ Action 1 │
22
+ │ Do something simple │
23
+ └──────────────────────────┘
24
+ \`\`\`
25
+
26
+ **Telescoped Charts** (full structural tension charts):
27
+ \`\`\`
28
+ ┌─────────────────────────────────────┐
29
+ │ ○ Action 1 📊 Chart [👁 Open ›] │ ← Gradient background
30
+ │ Complex multi-step task ▓ │ ← Colored border
31
+ └─────────────────────────────────────┘ ← Hover for shadow
32
+ \`\`\`
33
+
34
+ Key visual differences:
35
+ - 🎨 **Gradient background** (subtle primary color)
36
+ - 🔲 **Colored border** (primary color, brightens on hover)
37
+ - 📊 **"Chart" badge** (bold, with icon)
38
+ - 👁 **"Open" button** (prominent, with icons)
39
+
40
+ ## How to Use
41
+
42
+ ### 1. Navigate Into a Telescoped Chart
43
+
44
+ 1. Find an action with the **"📊 Chart"** badge
45
+ 2. Click the **"👁 Open ›"** button on the right
46
+ 3. You'll navigate into that action as a full chart
47
+
48
+ ### 2. Work Within the Sub-Chart
49
+
50
+ Once inside, you can:
51
+ - ✏️ **Edit the desired outcome** (click the pencil icon)
52
+ - 📝 **Edit current reality** (add observations)
53
+ - ➕ **Add action steps** (these become Level 2 charts)
54
+ - ✅ **Mark complete** (advances parent's current reality)
55
+ - 📅 **Set due dates**
56
+ - 🗑️ **Delete the chart**
57
+
58
+ ### 3. Navigate Deeper
59
+
60
+ Any action steps you add to the sub-chart can themselves be opened as charts:
61
+ - Add an action to a Level 1 chart → creates Level 2 chart
62
+ - Add an action to a Level 2 chart → creates Level 3 chart
63
+ - Continue infinitely...
64
+
65
+ ### 4. Navigate Back
66
+
67
+ Click **"← Back to Parent Chart"** at the top to return to the previous level.
68
+
69
+ The app maintains a navigation stack, so you can:
70
+ \`\`\`
71
+ Level 0 (Master)
72
+ → Level 1 (First action)
73
+ → Level 2 (Sub-action)
74
+ → Level 3 (Sub-sub-action)
75
+ \`\`\`
76
+
77
+ Press back repeatedly to climb back up the hierarchy.
78
+
79
+ ## Example Workflow
80
+
81
+ ### Creating a Multi-Level Chart
82
+
83
+ **Step 1: Create Master Chart**
84
+ \`\`\`
85
+ Chart: "Build COAIA Feature"
86
+ Desired Outcome: Complete feature implementation
87
+ Current Reality: Have basic structure, need details
88
+ \`\`\`
89
+
90
+ **Step 2: Add Action Steps**
91
+ \`\`\`
92
+ Action 1: "Implement core logic"
93
+ Current Reality: "Have file structure, need methods"
94
+ → Creates chart_2 as Level 1
95
+
96
+ Action 2: "Add UI components"
97
+ Current Reality: "UI design done, need implementation"
98
+ → Creates chart_3 as Level 1
99
+ \`\`\`
100
+
101
+ **Step 3: Navigate Into "Implement core logic"**
102
+
103
+ Click **"👁 Open ›"** on Action 1
104
+
105
+ Now viewing chart_2 as a full chart:
106
+ \`\`\`
107
+ Chart 2 (Level 1)
108
+ Desired Outcome: Implement core logic
109
+ Current Reality: Have file structure, need methods
110
+
111
+ You can now add sub-actions:
112
+ Action 1: "Write parser methods"
113
+ Action 2: "Add validation logic"
114
+ \`\`\`
115
+
116
+ **Step 4: Navigate Deeper**
117
+
118
+ Click **"👁 Open ›"** on "Write parser methods"
119
+
120
+ Now viewing chart_3 (Level 2):
121
+ \`\`\`
122
+ Chart 3 (Level 2)
123
+ Desired Outcome: Write parser methods
124
+ Current Reality: Have empty functions, need implementation
125
+ \`\`\`
126
+
127
+ **Step 5: Navigate Back**
128
+
129
+ - Click **"← Back"** once → returns to chart_2 (Level 1)
130
+ - Click **"← Back"** again → returns to chart_1 (Level 0)
131
+
132
+ ## Design Features
133
+
134
+ ### Color Coding
135
+
136
+ **Light Mode**:
137
+ - Telescoped charts: Light blue/primary gradient
138
+ - Border: Blue, brightens on hover
139
+ - Badge: Solid blue with white text
140
+ - Button: Blue with white icons
141
+
142
+ **Dark Mode**:
143
+ - Telescoped charts: Subtle colored gradient
144
+ - Border: Colored, brightens on hover
145
+ - Badge: Solid color with dark text
146
+ - Button: Colored with appropriate contrast
147
+
148
+ ### Interactive States
149
+
150
+ **Hover**:
151
+ - Border color intensifies
152
+ - Shadow appears underneath card
153
+ - Button shadow deepens
154
+
155
+ **Focus** (keyboard navigation):
156
+ - Visible focus ring around buttons
157
+ - High contrast for accessibility
158
+
159
+ **Completed**:
160
+ - Muted background
161
+ - Text has line-through
162
+ - Can still be opened to view details
163
+
164
+ ## Keyboard Shortcuts
165
+
166
+ - **Tab**: Navigate between actions
167
+ - **Enter/Space**: Click focused button
168
+ - **Shift+Tab**: Navigate backwards
169
+
170
+ ## Mobile Experience
171
+
172
+ On mobile devices:
173
+ - **Touch targets** are large enough for easy tapping
174
+ - **Badge wraps** to next line if needed
175
+ - **"Open" button** maintains size for easy access
176
+ - **Scrolling** works smoothly through action lists
177
+
178
+ ## Tips & Tricks
179
+
180
+ ### When to Create Telescoped Charts
181
+
182
+ Create a telescoped chart (action step) when:
183
+ - ✅ The task has multiple sub-steps
184
+ - ✅ You need to track progress on sub-components
185
+ - ✅ The task has its own structural tension
186
+ - ✅ You want to maintain the advancing pattern at multiple levels
187
+
188
+ Use simple actions when:
189
+ - ✅ The task is genuinely atomic
190
+ - ✅ No sub-planning needed
191
+ - ✅ Quick checkbox completion is sufficient
192
+
193
+ ### Organizing Deep Hierarchies
194
+
195
+ For complex projects:
196
+ \`\`\`
197
+ Level 0: Project goal
198
+ Level 1: Major features/phases
199
+ Level 2: Specific implementation tasks
200
+ Level 3: Detailed sub-tasks
201
+ Level 4: Implementation details
202
+ \`\`\`
203
+
204
+ ### Completing Charts at Different Levels
205
+
206
+ When you mark a Level 2 action complete:
207
+ - ✅ The Level 2 chart's desired outcome is marked complete
208
+ - ✅ The Level 1 chart's current reality gets "Completed: {action}" added
209
+ - ✅ This creates momentum up the hierarchy
210
+
211
+ ## Troubleshooting
212
+
213
+ **Q: I don't see the "Open" button**
214
+
215
+ A: The action might not be a telescoped chart. Only actions with the "📊 Chart" badge can be opened. Regular actions don't have this button.
216
+
217
+ **Q: The "Open" button doesn't work**
218
+
219
+ A: Make sure you've loaded a file with properly structured telescoped charts. The test file `feat-4-mcp-api/test-telescoped-charts.jsonl` has examples.
220
+
221
+ **Q: I can't find the back button**
222
+
223
+ A: The "← Back to Parent Chart" button only appears when you're viewing a sub-chart (Level 1+). It won't show on Level 0 (master) charts.
224
+
225
+ **Q: How deep can I nest charts?**
226
+
227
+ A: Infinitely! The system supports unlimited nesting levels (0 → 1 → 2 → 3 → ...).
228
+
229
+ ## Screenshots
230
+
231
+ Check the `screenshots/` directory for visual examples:
232
+ - `improved-01-actions.png`: Action list with telescoped charts
233
+ - `improved-02-action-detail.png`: Close-up of telescoped action
234
+ - `improved-03-after-open.png`: Sub-chart view after navigation
235
+
236
+ ## Related Documentation
237
+
238
+ - **UI_GUIDE.md**: Detailed design specifications
239
+ - **TELESCOPED_CHART_NAVIGATION.md**: Technical implementation
240
+ - **IMPLEMENTATION_COMPLETE.md**: Development summary
241
+ - **FEATURE_4_COMPLETE.md**: Full Feature 4 documentation
242
+
243
+ ## Support
244
+
245
+ The telescoped chart navigation has been fully tested and verified with automated Playwright tests. All functionality is production-ready.
246
+
247
+ **Version: 1.4.0**
package/STC.md ADDED
@@ -0,0 +1,24 @@
1
+
2
+ ## Activity Log Entry (2026-04-17T18:59:43Z)
3
+ - **Bot**: @stcissue
4
+ - **Event**: issues.opened
5
+ - **Issue**: #17
6
+
7
+
8
+ ## Activity Log Entry (2026-05-09T18:21:47Z)
9
+ - **Bot**: @stcissue
10
+ - **Event**: issues.opened
11
+ - **Issue**: #18
12
+
13
+
14
+ ## Activity Log Entry (2026-05-13T08:33:56Z)
15
+ - **Bot**: @stcissue
16
+ - **Event**: issues.opened
17
+ - **Issue**: #19
18
+
19
+
20
+ ## Activity Log Entry (2026-05-19T06:53:31Z)
21
+ - **Bot**: @stcissue
22
+ - **Event**: issues.opened
23
+ - **Issue**: #20
24
+
package/STCGOAL.md ADDED
File without changes
package/STCISSUE.md ADDED
@@ -0,0 +1,48 @@
1
+
2
+ ## Issue #17 - Parent chart due date not applied before adding action steps
3
+
4
+ - **Repository**: jgwill/coaia-visualizer
5
+ - **State**: open
6
+ - **Category**: technical
7
+ - **Logged**: 2026-04-17T18:59:43Z
8
+ - **GitHub Link**: https://github.com/jgwill/coaia-visualizer/issues/17
9
+
10
+ ### Current Reality
11
+ Issue being tracked via @stcissue bot.
12
+
13
+
14
+ ## Issue #18 - Render GitHub Project runtime-memory provenance in a non-breaking way
15
+
16
+ - **Repository**: jgwill/coaia-visualizer
17
+ - **State**: open
18
+ - **Category**: technical
19
+ - **Logged**: 2026-05-09T18:21:47Z
20
+ - **GitHub Link**: https://github.com/jgwill/coaia-visualizer/issues/18
21
+
22
+ ### Current Reality
23
+ Issue being tracked via @stcissue bot.
24
+
25
+
26
+ ## Issue #19 - nightly release: coaia-visualizer-mcp@1.6.0
27
+
28
+ - **Repository**: jgwill/coaia-visualizer
29
+ - **State**: open
30
+ - **Category**: technical
31
+ - **Logged**: 2026-05-13T08:33:56Z
32
+ - **GitHub Link**: https://github.com/jgwill/coaia-visualizer/issues/19
33
+
34
+ ### Current Reality
35
+ Issue being tracked via @stcissue bot.
36
+
37
+
38
+ ## Issue #20 - Render rich COAIA JSONL metadata with chart/action/beat projections
39
+
40
+ - **Repository**: jgwill/coaia-visualizer
41
+ - **State**: open
42
+ - **Category**: technical
43
+ - **Logged**: 2026-05-19T06:53:31Z
44
+ - **GitHub Link**: https://github.com/jgwill/coaia-visualizer/issues/20
45
+
46
+ ### Current Reality
47
+ Issue being tracked via @stcissue bot.
48
+
package/STCKIN.md ADDED
File without changes
package/STCMASTERY.md ADDED
File without changes