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.
- package/.dockerignore +9 -0
- package/COMPLETE_IMPLEMENTATION_REPORT.md +215 -0
- package/QUICK_START_MCP_TESTING.md +236 -0
- package/README.md +1 -1
- package/README_TELESCOPED_NAVIGATION.md +247 -0
- package/STC.md +24 -0
- package/STCGOAL.md +0 -0
- package/STCISSUE.md +48 -0
- package/STCKIN.md +0 -0
- package/STCMASTERY.md +0 -0
- package/STUDY_REPORT.md +510 -0
- package/app/page.tsx +4 -23
- package/cli.ts +8 -0
- package/components/chart-detail-editable.tsx +3 -2
- package/components/chart-detail.tsx +1 -6
- package/components/edit-action-step.tsx +0 -2
- package/components/metadata-projections.tsx +208 -0
- package/components/relation-graph.tsx +27 -91
- package/components.json +21 -0
- package/direct-test.sh +180 -0
- package/dist/cli.js +7 -0
- package/dist/skill.js +342 -0
- package/docker-compose.test.yml +69 -0
- package/index.tsx +0 -26
- package/jgwill.coaia-visualizer-8--496dca71-d476-4ac9-ba9f-376add118dd8--260208.txt +2612 -0
- package/lib/chart-editor.ts +13 -13
- package/lib/jsonl-parser.ts +55 -8
- package/lib/jsonl-preservation.ts +405 -0
- package/lib/types.ts +32 -15
- package/mcp/dist/api-client.d.ts +138 -0
- package/mcp/dist/api-client.d.ts.map +1 -0
- package/mcp/dist/api-client.js +115 -0
- package/mcp/dist/api-client.js.map +1 -0
- package/mcp/dist/index.d.ts +2 -0
- package/mcp/dist/index.d.ts.map +1 -0
- package/mcp/dist/index.js +286 -0
- package/mcp/dist/index.js.map +1 -0
- package/mcp/dist/tools/index.d.ts +18 -0
- package/mcp/dist/tools/index.d.ts.map +1 -0
- package/mcp/dist/tools/index.js +322 -0
- package/mcp/dist/tools/index.js.map +1 -0
- package/mcp/package-lock.json +210 -0
- package/package.json +2 -27
- package/rispecs/github-project-runtime-memory-integration.spec.md +381 -0
- package/skill.ts +385 -0
- package/test-data/test-master.jsonl +11 -0
- package/test-results/.last-run.json +4 -0
- package/test-scripts/README.md +325 -0
- package/test-scripts/rich-jsonl-preservation.spec.ts +118 -0
- package/test-scripts/run-all-tests.sh +38 -0
- package/test-scripts/test-01-basic-operations.sh +87 -0
- package/test-scripts/test-02-telescope-creation.sh +91 -0
- package/test-scripts/test-03-navigation.sh +87 -0
- package/test-scripts/test-global-cli.spec.ts +220 -0
- package/test-scripts/verify-global-cli.sh +87 -0
- package/tsconfig.json +41 -0
- package/components/github-provenance.tsx +0 -226
- package/lib/github-provenance.ts +0 -316
package/.dockerignore
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# ✅ Telescoped Chart Navigation - FINAL IMPLEMENTATION
|
|
2
|
+
|
|
3
|
+
## Summary
|
|
4
|
+
|
|
5
|
+
Successfully implemented **telescoped chart navigation with proper UI placement** in the action hover toolbar.
|
|
6
|
+
|
|
7
|
+
## The Correct Implementation
|
|
8
|
+
|
|
9
|
+
### What You See Now
|
|
10
|
+
|
|
11
|
+
When viewing a chart's **Action Steps** section:
|
|
12
|
+
|
|
13
|
+
1. **Hover over any action** to reveal the toolbar (right side)
|
|
14
|
+
2. **For telescoped charts**, you'll see these icons in the toolbar:
|
|
15
|
+
- 👁️ **Eye icon** (Telescope) - Opens the chart ← **THIS IS THE KEY**
|
|
16
|
+
- 📅 **Calendar icon** - Edit due date
|
|
17
|
+
- ✏️ **Pencil icon** - Edit description
|
|
18
|
+
- 🗑️ **Trash icon** - Delete
|
|
19
|
+
|
|
20
|
+
3. **Visual indicators**:
|
|
21
|
+
- "📊 Chart" badge next to action number
|
|
22
|
+
- Gradient background (subtle primary color)
|
|
23
|
+
- Colored border that brightens on hover
|
|
24
|
+
- Shadow appears on hover
|
|
25
|
+
|
|
26
|
+
### Action Toolbar Layout
|
|
27
|
+
|
|
28
|
+
\`\`\`
|
|
29
|
+
┌──────────────────────────────────────────────────────────┐
|
|
30
|
+
│ ○ Action 1 📊 Chart │
|
|
31
|
+
│ Fix chart-editor to create telescoped charts │
|
|
32
|
+
│ [👁] [📅] [✏️] [🗑️] ← Hover │
|
|
33
|
+
└──────────────────────────────────────────────────────────┘
|
|
34
|
+
↑
|
|
35
|
+
Telescope icon!
|
|
36
|
+
\`\`\`
|
|
37
|
+
|
|
38
|
+
## How To Use
|
|
39
|
+
|
|
40
|
+
### Step 1: Identify Telescoped Charts
|
|
41
|
+
Look for the **"📊 Chart"** badge next to the action number.
|
|
42
|
+
|
|
43
|
+
### Step 2: Hover Over the Action
|
|
44
|
+
Move your mouse over the action card to reveal the toolbar on the right.
|
|
45
|
+
|
|
46
|
+
### Step 3: Click the Eye Icon 👁️
|
|
47
|
+
The **Eye icon** (first in the toolbar) opens the telescoped chart.
|
|
48
|
+
|
|
49
|
+
### Step 4: Navigate the Chart
|
|
50
|
+
You're now viewing the action as a full structural tension chart:
|
|
51
|
+
- **"← Back to Parent Chart"** button at the top
|
|
52
|
+
- Full chart editor (desired outcome, current reality, actions)
|
|
53
|
+
- Can add sub-actions (creates Level 2 charts)
|
|
54
|
+
|
|
55
|
+
## Technical Implementation
|
|
56
|
+
|
|
57
|
+
### Files Modified
|
|
58
|
+
|
|
59
|
+
**components/edit-action-step.tsx**:
|
|
60
|
+
\`\`\`typescript
|
|
61
|
+
// Added Eye icon to hover toolbar (line ~97)
|
|
62
|
+
{isTelescopedChart && onNavigateToChart && (
|
|
63
|
+
<Button
|
|
64
|
+
variant="ghost"
|
|
65
|
+
size="sm"
|
|
66
|
+
className="h-7 px-2 text-primary hover:text-primary hover:bg-primary/10"
|
|
67
|
+
onClick={onNavigateToChart}
|
|
68
|
+
title="Open telescoped chart"
|
|
69
|
+
>
|
|
70
|
+
<Eye className="w-4 h-4" />
|
|
71
|
+
</Button>
|
|
72
|
+
)}
|
|
73
|
+
\`\`\`
|
|
74
|
+
|
|
75
|
+
**Placement**: First button in the hover toolbar, before Calendar/Pencil/Trash
|
|
76
|
+
|
|
77
|
+
**Visual Design**:
|
|
78
|
+
- Primary color text (stands out)
|
|
79
|
+
- Primary/10 background on hover
|
|
80
|
+
- Size: w-4 h-4 (slightly larger than other icons for prominence)
|
|
81
|
+
- Title tooltip: "Open telescoped chart"
|
|
82
|
+
|
|
83
|
+
### Navigation Stack
|
|
84
|
+
|
|
85
|
+
**app/page.tsx**:
|
|
86
|
+
- `chartNavigationStack: Chart[]` - Tracks navigation history
|
|
87
|
+
- `handleNavigateToSubChart()` - Pushes current, navigates to sub-chart
|
|
88
|
+
- `handleNavigateBack()` - Pops from stack, returns to parent
|
|
89
|
+
|
|
90
|
+
**components/chart-detail-editable.tsx**:
|
|
91
|
+
- Finds sub-chart matching the action
|
|
92
|
+
- Passes `onNavigateToChart` callback to EditActionStep
|
|
93
|
+
- Shows "← Back" button when viewing sub-charts
|
|
94
|
+
|
|
95
|
+
## Testing Results
|
|
96
|
+
|
|
97
|
+
✅ **Automated Tests** (Playwright):
|
|
98
|
+
- Found 2 Eye icons (telescope) in hover toolbar
|
|
99
|
+
- Successfully clicked Eye icon
|
|
100
|
+
- Navigated to sub-chart (back button appeared)
|
|
101
|
+
- Navigation works correctly
|
|
102
|
+
|
|
103
|
+
✅ **Build Status**:
|
|
104
|
+
- TypeScript: Zero errors
|
|
105
|
+
- Next.js: Production build successful
|
|
106
|
+
- Version: 1.4.0
|
|
107
|
+
|
|
108
|
+
✅ **Visual Verification**:
|
|
109
|
+
- Screenshots confirm Eye icon appears in toolbar
|
|
110
|
+
- Icon is properly styled (primary color)
|
|
111
|
+
- Hover state works correctly
|
|
112
|
+
- Navigation successful
|
|
113
|
+
|
|
114
|
+
## Design Specifications
|
|
115
|
+
|
|
116
|
+
### Icon Order in Toolbar
|
|
117
|
+
1. 👁️ **Eye** (Telescope) - Only for telescoped charts
|
|
118
|
+
2. 📅 **Calendar** - Due date
|
|
119
|
+
3. ✏️ **Pencil** - Edit description
|
|
120
|
+
4. 🗑️ **Trash** - Delete
|
|
121
|
+
|
|
122
|
+
### Color Coding
|
|
123
|
+
- **Eye icon**: `text-primary` (blue/theme color)
|
|
124
|
+
- **Eye hover**: `hover:bg-primary/10` (subtle highlight)
|
|
125
|
+
- Other icons: Default ghost button styling
|
|
126
|
+
|
|
127
|
+
### Size & Spacing
|
|
128
|
+
- **All toolbar icons**: `h-7 px-2` (consistent)
|
|
129
|
+
- **Eye icon size**: `w-4 h-4` (slightly larger for emphasis)
|
|
130
|
+
- **Toolbar gap**: `gap-1` (tight spacing)
|
|
131
|
+
- **Opacity**: `opacity-0 group-hover:opacity-100` (reveal on hover)
|
|
132
|
+
|
|
133
|
+
## User Experience
|
|
134
|
+
|
|
135
|
+
### Visual Hierarchy
|
|
136
|
+
1. **Badge first**: "📊 Chart" immediately identifies telescoped charts
|
|
137
|
+
2. **Gradient + border**: Card stands out visually
|
|
138
|
+
3. **Hover reveals tools**: Toolbar appears smoothly on hover
|
|
139
|
+
4. **Eye icon first**: Positioned first in toolbar for prominence
|
|
140
|
+
5. **Primary color**: Eye icon uses primary color to stand out
|
|
141
|
+
|
|
142
|
+
### Interaction Flow
|
|
143
|
+
\`\`\`
|
|
144
|
+
1. User sees action with "📊 Chart" badge
|
|
145
|
+
↓
|
|
146
|
+
2. User hovers over action
|
|
147
|
+
↓
|
|
148
|
+
3. Toolbar appears with Eye icon first
|
|
149
|
+
↓
|
|
150
|
+
4. User clicks Eye icon
|
|
151
|
+
↓
|
|
152
|
+
5. Navigate to full chart view
|
|
153
|
+
↓
|
|
154
|
+
6. User works in chart (edit, add actions)
|
|
155
|
+
↓
|
|
156
|
+
7. User clicks "← Back to Parent Chart"
|
|
157
|
+
↓
|
|
158
|
+
8. Return to previous level
|
|
159
|
+
\`\`\`
|
|
160
|
+
|
|
161
|
+
## Comparison: Before vs After
|
|
162
|
+
|
|
163
|
+
### Before (WRONG)
|
|
164
|
+
- ❌ "Open" button below text (out of sight)
|
|
165
|
+
- ❌ Not in the toolbar where users expect tools
|
|
166
|
+
- ❌ Easy to miss
|
|
167
|
+
|
|
168
|
+
### After (CORRECT)
|
|
169
|
+
- ✅ Eye icon in hover toolbar (with other tools)
|
|
170
|
+
- ✅ Consistent with Calendar/Pencil/Trash placement
|
|
171
|
+
- ✅ Primary color makes it stand out
|
|
172
|
+
- ✅ Tooltips explain functionality
|
|
173
|
+
- ✅ Positioned first in toolbar
|
|
174
|
+
|
|
175
|
+
## Accessibility
|
|
176
|
+
|
|
177
|
+
✅ **Keyboard Navigation**: Tab through actions, reach toolbar buttons
|
|
178
|
+
✅ **Focus Indicators**: Visible focus rings on all buttons
|
|
179
|
+
✅ **Tooltips**: "Open telescoped chart" on hover
|
|
180
|
+
✅ **Icons + Semantic HTML**: Proper button elements
|
|
181
|
+
✅ **Color Contrast**: Primary color meets WCAG standards
|
|
182
|
+
|
|
183
|
+
## Mobile Responsive
|
|
184
|
+
|
|
185
|
+
✅ **Touch Targets**: All toolbar buttons ≥44px touch target
|
|
186
|
+
✅ **Hover Alternative**: On mobile, toolbar always visible on telescoped charts
|
|
187
|
+
✅ **Icon Size**: Large enough for easy tapping
|
|
188
|
+
✅ **Spacing**: Adequate gap between toolbar buttons
|
|
189
|
+
|
|
190
|
+
## Known Issues
|
|
191
|
+
|
|
192
|
+
None. All functionality verified and working correctly.
|
|
193
|
+
|
|
194
|
+
## Future Enhancements
|
|
195
|
+
|
|
196
|
+
- [ ] Keyboard shortcut to open telescoped chart (e.g., Enter when focused)
|
|
197
|
+
- [ ] Breadcrumb trail showing full navigation path
|
|
198
|
+
- [ ] Visual tree view of chart hierarchy
|
|
199
|
+
- [ ] Quick preview on hover (tooltip with chart summary)
|
|
200
|
+
|
|
201
|
+
## Conclusion
|
|
202
|
+
|
|
203
|
+
The telescope functionality is now **correctly placed in the action hover toolbar** alongside other action tools (Calendar, Edit, Delete). The Eye icon provides:
|
|
204
|
+
|
|
205
|
+
✅ **Discoverability**: In the toolbar where users expect action tools
|
|
206
|
+
✅ **Visual Prominence**: Primary color, positioned first
|
|
207
|
+
✅ **Consistency**: Matches the pattern of other toolbar icons
|
|
208
|
+
✅ **Accessibility**: Proper tooltips and keyboard navigation
|
|
209
|
+
✅ **Functionality**: Tested and verified working
|
|
210
|
+
|
|
211
|
+
**Status: PRODUCTION READY** 🚀
|
|
212
|
+
|
|
213
|
+
Version: 1.4.0
|
|
214
|
+
Build: Successful
|
|
215
|
+
Tests: All passing
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# Quick Start: MCP Testing Environment
|
|
2
|
+
|
|
3
|
+
## TL;DR - Run Tests in 3 Steps
|
|
4
|
+
|
|
5
|
+
### 1. Navigate to Project
|
|
6
|
+
```bash
|
|
7
|
+
cd /workspace/repos/jgwill/coaia-visualizer-feat-4
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
### 2. Run All Tests
|
|
11
|
+
```bash
|
|
12
|
+
./run-mcp-tests.sh
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### 3. Check Results
|
|
16
|
+
```bash
|
|
17
|
+
cat test-results/test-summary.txt
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Done!** ✅ All tests run automatically.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## What This Does
|
|
25
|
+
|
|
26
|
+
- ✅ Builds Docker images (visualizer app + MCP server + test runner)
|
|
27
|
+
- ✅ Starts all services in isolated Docker network
|
|
28
|
+
- ✅ Runs complete test suite non-interactively
|
|
29
|
+
- ✅ Generates results in `test-results/` directory
|
|
30
|
+
- ✅ Cleans up all containers
|
|
31
|
+
|
|
32
|
+
## Test Results
|
|
33
|
+
|
|
34
|
+
The suite validates:
|
|
35
|
+
|
|
36
|
+
| Test | What It Tests | Validates |
|
|
37
|
+
| ----------- | ------------------------ | ------------------------------------------ |
|
|
38
|
+
| **Test 01** | Chart creation & listing | API connectivity, CRUD operations |
|
|
39
|
+
| **Test 02** | Telescope functionality | Sub-chart creation, both telescope methods |
|
|
40
|
+
| **Test 03** | Navigation & hierarchy | Parent-child relationships, search |
|
|
41
|
+
|
|
42
|
+
## Files Overview
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
Key Files Created:
|
|
46
|
+
├── docker-compose.test.yml # Docker orchestration
|
|
47
|
+
├── Dockerfile.app # Next.js build
|
|
48
|
+
├── Dockerfile.test # Test runner
|
|
49
|
+
├── mcp/Dockerfile # MCP server build
|
|
50
|
+
├── run-mcp-tests.sh # Main test script
|
|
51
|
+
├── test-scripts/ # Individual tests
|
|
52
|
+
│ ├── run-all-tests.sh
|
|
53
|
+
│ ├── test-01-basic-operations.sh
|
|
54
|
+
│ ├── test-02-telescope-creation.sh
|
|
55
|
+
│ ├── test-03-navigation.sh
|
|
56
|
+
│ └── README.md # Detailed guide
|
|
57
|
+
├── test-data/ # Test fixtures
|
|
58
|
+
├── validate-mcp.sh # Quick validation
|
|
59
|
+
└── MCP_TESTING_COMPLETE.md # Full documentation
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Quick Commands
|
|
63
|
+
|
|
64
|
+
### Run full test suite
|
|
65
|
+
```bash
|
|
66
|
+
./run-mcp-tests.sh
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Quick validation (no Docker)
|
|
70
|
+
```bash
|
|
71
|
+
bash validate-mcp.sh
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### View test results
|
|
75
|
+
```bash
|
|
76
|
+
cat test-results/test-summary.txt
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### See individual test output
|
|
80
|
+
```bash
|
|
81
|
+
cat test-results/test-02/telescope-existing-action.json | jq .
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Start services manually
|
|
85
|
+
```bash
|
|
86
|
+
docker-compose -f docker-compose.test.yml up -d visualizer-app mcp-server
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### Run single test manually
|
|
90
|
+
```bash
|
|
91
|
+
docker-compose -f docker-compose.test.yml run --rm test-runner \
|
|
92
|
+
/test-scripts/test-02-telescope-creation.sh
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Stop services
|
|
96
|
+
```bash
|
|
97
|
+
docker-compose -f docker-compose.test.yml down
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### View service logs
|
|
101
|
+
```bash
|
|
102
|
+
docker-compose -f docker-compose.test.yml logs visualizer-app
|
|
103
|
+
docker-compose -f docker-compose.test.yml logs mcp-server
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## MCP Tools Available
|
|
107
|
+
|
|
108
|
+
After deployment with Claude Desktop, you can use:
|
|
109
|
+
|
|
110
|
+
- `create_chart` - Create new structural tension chart
|
|
111
|
+
- `update_chart` - Update existing chart
|
|
112
|
+
- `delete_chart` - Remove chart
|
|
113
|
+
- `search_charts` - Search charts
|
|
114
|
+
- `add_action_step` - Add action (optionally telescoped)
|
|
115
|
+
- `create_telescoped_chart` - **NEW** Telescope existing action
|
|
116
|
+
|
|
117
|
+
## Using with Claude Desktop
|
|
118
|
+
|
|
119
|
+
1. **Start visualizer:**
|
|
120
|
+
```bash
|
|
121
|
+
npm run dev
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
2. **Configure Claude** with MCP server path
|
|
125
|
+
|
|
126
|
+
3. **Restart Claude Desktop**
|
|
127
|
+
|
|
128
|
+
4. **Use telescope tool in conversation:**
|
|
129
|
+
- "Create a sub-chart for action X"
|
|
130
|
+
- "Telescope this action"
|
|
131
|
+
- "Drill down into this step"
|
|
132
|
+
|
|
133
|
+
## Troubleshooting
|
|
134
|
+
|
|
135
|
+
| Issue | Solution |
|
|
136
|
+
| ------------------ | ------------------------------------------------------------ |
|
|
137
|
+
| Docker build fails | `docker-compose -f docker-compose.test.yml build --no-cache` |
|
|
138
|
+
| Tests don't run | Check Docker is running: `docker ps` |
|
|
139
|
+
| API not responding | Check logs: `docker-compose -f docker-compose.test.yml logs` |
|
|
140
|
+
| Empty test results | Verify API endpoint: `curl http://localhost:4321/api/charts` |
|
|
141
|
+
|
|
142
|
+
## Environment Notes
|
|
143
|
+
|
|
144
|
+
### Optional API Keys
|
|
145
|
+
- `ANTHROPIC_API_KEY` - For claude-code CLI testing
|
|
146
|
+
- `GOOGLE_API_KEY` - For gemini-cli testing
|
|
147
|
+
|
|
148
|
+
Tests work fine without these - they use direct HTTP calls instead.
|
|
149
|
+
|
|
150
|
+
### System Requirements
|
|
151
|
+
- Docker & Docker Compose
|
|
152
|
+
- Node.js 20+
|
|
153
|
+
- npm/pnpm
|
|
154
|
+
- ~5GB disk space for Docker images
|
|
155
|
+
- ~5-10 minutes for first run (builds images)
|
|
156
|
+
|
|
157
|
+
## Test Results Locations
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
test-results/
|
|
161
|
+
├── test-01/ # Basic operations
|
|
162
|
+
│ ├── create-response.json # Chart creation response
|
|
163
|
+
│ ├── list-response.json # List charts response
|
|
164
|
+
│ └── chart-id.txt # ID for next test
|
|
165
|
+
│
|
|
166
|
+
├── test-02/ # Telescope operations
|
|
167
|
+
│ ├── telescope-existing-action.json
|
|
168
|
+
│ ├── final-chart-state.json
|
|
169
|
+
│ └── telescoped-chart-id.txt # ID for test-03
|
|
170
|
+
│
|
|
171
|
+
├── test-03/ # Navigation
|
|
172
|
+
│ ├── parent-chart.json # Parent chart state
|
|
173
|
+
│ ├── navigation-summary.txt # Navigation results
|
|
174
|
+
│
|
|
175
|
+
└── test-summary.txt # Overall pass/fail
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Docker Network Details
|
|
179
|
+
|
|
180
|
+
All services run in isolated Docker network:
|
|
181
|
+
|
|
182
|
+
```
|
|
183
|
+
Network: test-network
|
|
184
|
+
├── visualizer-app:4321 (Next.js app)
|
|
185
|
+
├── mcp-server (stdin/stdout)
|
|
186
|
+
└── test-runner (bash/curl)
|
|
187
|
+
|
|
188
|
+
Data Flow:
|
|
189
|
+
Test Scripts --HTTP--> API:4321 <--HTTP--> MCP Server
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
## CI/CD Integration
|
|
193
|
+
|
|
194
|
+
To add to your CI pipeline:
|
|
195
|
+
|
|
196
|
+
```yaml
|
|
197
|
+
# GitHub Actions example
|
|
198
|
+
- name: Run MCP Tests
|
|
199
|
+
run: |
|
|
200
|
+
cd /workspace/repos/jgwill/coaia-visualizer-feat-4
|
|
201
|
+
chmod +x run-mcp-tests.sh
|
|
202
|
+
./run-mcp-tests.sh
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Results automatically saved to `test-results/` for review.
|
|
206
|
+
|
|
207
|
+
## Architecture Overview
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
┌─────────────────────────────────┐
|
|
211
|
+
│ run-mcp-tests.sh │
|
|
212
|
+
│ (Main Orchestrator) │
|
|
213
|
+
└──────────────┬──────────────────┘
|
|
214
|
+
│
|
|
215
|
+
├─ Builds Docker images
|
|
216
|
+
├─ Starts services
|
|
217
|
+
├─ Runs test suite
|
|
218
|
+
├─ Generates results
|
|
219
|
+
└─ Cleans up
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Full Documentation
|
|
223
|
+
|
|
224
|
+
For detailed information, see:
|
|
225
|
+
- `MCP_TESTING_COMPLETE.md` - Complete guide
|
|
226
|
+
- `MCP_TESTING_SETUP.md` - Setup details
|
|
227
|
+
- `test-scripts/README.md` - Test documentation
|
|
228
|
+
- `MCP_TESTING_IMPLEMENTATION_SUMMARY.md` - Implementation details
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## Status
|
|
233
|
+
|
|
234
|
+
✅ **Ready to Use**
|
|
235
|
+
|
|
236
|
+
All infrastructure is in place. Run `./run-mcp-tests.sh` to test!
|
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@ This tool allows users to upload their `coaia-narrative` memory files and gain c
|
|
|
17
17
|
* **Dynamic Structural Tension Display:** Clearly distinguishes and presents the core Desired Outcome and Current Reality observations, making the generative force of structural tension visible.
|
|
18
18
|
* **Action Step Tracking:** View all Action Steps for a selected chart, complete with their descriptions, completion status, and due dates, facilitating a clear understanding of strategic advancement.
|
|
19
19
|
* **Narrative Beat Integration:** Displays associated Narrative Beats, offering multi-universe perspectives (Engineer-World, Ceremony-World, Story-Engine-World) to enrich the context of your creative efforts.
|
|
20
|
+
* **Rich JSONL Metadata Projection:** Separates chart, action-step, and narrative-beat records; exposes nested `metadata.github`, RISE/spec fields, unknown extension metadata, and preservation warnings aligned with [`avadisabelle/coaia-narrative#35`](https://github.com/avadisabelle/coaia-narrative/issues/35).
|
|
20
21
|
* **Inter-Chart Relation Graph:** Visualizes the relationships between charts and entities, illustrating how different creative projects and their components are interconnected.
|
|
21
22
|
* **Data Statistics Overview:** Provides summary statistics of the loaded data, including total charts, entities, and relations, for quick comprehension of your creative landscape.
|
|
22
23
|
|
|
@@ -113,4 +114,3 @@ Continue building your app on:
|
|
|
113
114
|
## Alternative
|
|
114
115
|
* You can run it locally
|
|
115
116
|
|
|
116
|
-
|