Commit f0439f5
feat(wiki): improve registry visualization scoring and docs (#276)
* feat(wiki): add /visualize-registry skill for cross-campaign knowledge graph
Adds the registry visualization — an interactive D3.js HTML page showing
campaigns, entities, concepts, and parameters as a force-directed graph
with entity clusters and heuristic opportunity scoring.
The Opportunities tab computes scores from frontier/interaction/dead-end
counts per cluster (no LLM calls needed) and provides copyable /suggest-next
commands for users who want detailed recommendations for specific clusters.
Delivers:
- scripts/visualize_registry.py — generates ~/.nous/wiki/viz/registry.html
- .claude/commands/visualize-registry.md — 4-step deterministic skill
- docs/nous-wiki.md — updated with /visualize-registry documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(wiki): improve registry visualization scoring and docs
- Fix opportunity scoring: use principle-based relevance matching instead of
counting all frontiers/interactions from any touching campaign
- Use adaptive normalization (max raw score = 1.0) instead of fixed divisor
- Remove numerical score display from UI — show only raw counts
- Cap entity clusters at 20 per project
- Add quickstart section and concurrency warning to docs/nous-wiki.md
- Document scripts/visualize_registry.py in the Scripts section
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR #276 review — robustness and UX fixes
1. Show all nodes by default on Knowledge tab (was blank until filter)
2. Add try-except to all JSON load paths (graceful degradation)
3. Use D3 CDN directly (remove dead local path fallback)
4. Escape </ in JSON data to prevent </script> injection breakage
5. Remove unused params from build_entity_clusters signature
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 66c8faf commit f0439f5
4 files changed
Lines changed: 2181 additions & 1 deletion
File tree
- .claude/commands
- docs
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
7 | 29 | | |
8 | 30 | | |
9 | 31 | | |
| |||
162 | 184 | | |
163 | 185 | | |
164 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
165 | 230 | | |
166 | 231 | | |
167 | 232 | | |
| |||
185 | 250 | | |
186 | 251 | | |
187 | 252 | | |
188 | | - | |
| 253 | + | |
| 254 | + | |
189 | 255 | | |
190 | 256 | | |
191 | 257 | | |
| |||
310 | 376 | | |
311 | 377 | | |
312 | 378 | | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
0 commit comments