@sleep2agi/agent-network-dashboard 0.5.1-preview.7 → 0.5.1-preview.70

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 (217) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/diagnostics/route-bundle-stats.json +6 -6
  4. package/.next/fallback-build-manifest.json +3 -3
  5. package/.next/server/app/_global-error.html +1 -1
  6. package/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/_not-found.html +2 -2
  14. package/.next/server/app/_not-found.rsc +2 -2
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  16. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  18. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  19. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  20. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  21. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/admin.html +2 -2
  23. package/.next/server/app/admin.rsc +2 -2
  24. package/.next/server/app/admin.segments/_full.segment.rsc +2 -2
  25. package/.next/server/app/admin.segments/_head.segment.rsc +1 -1
  26. package/.next/server/app/admin.segments/_index.segment.rsc +2 -2
  27. package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
  28. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +1 -1
  29. package/.next/server/app/admin.segments/admin.segment.rsc +1 -1
  30. package/.next/server/app/index.html +2 -2
  31. package/.next/server/app/index.rsc +3 -3
  32. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  33. package/.next/server/app/index.segments/_full.segment.rsc +3 -3
  34. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  35. package/.next/server/app/index.segments/_index.segment.rsc +2 -2
  36. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  37. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  38. package/.next/server/app/login.html +2 -2
  39. package/.next/server/app/login.rsc +3 -3
  40. package/.next/server/app/login.segments/_full.segment.rsc +3 -3
  41. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  42. package/.next/server/app/login.segments/_index.segment.rsc +2 -2
  43. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  44. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  45. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  46. package/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  47. package/.next/server/app/logs.html +2 -2
  48. package/.next/server/app/logs.rsc +2 -2
  49. package/.next/server/app/logs.segments/_full.segment.rsc +2 -2
  50. package/.next/server/app/logs.segments/_head.segment.rsc +1 -1
  51. package/.next/server/app/logs.segments/_index.segment.rsc +2 -2
  52. package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
  53. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +1 -1
  54. package/.next/server/app/logs.segments/logs.segment.rsc +1 -1
  55. package/.next/server/app/messages/page_client-reference-manifest.js +1 -1
  56. package/.next/server/app/messages.html +2 -2
  57. package/.next/server/app/messages.rsc +2 -2
  58. package/.next/server/app/messages.segments/_full.segment.rsc +2 -2
  59. package/.next/server/app/messages.segments/_head.segment.rsc +1 -1
  60. package/.next/server/app/messages.segments/_index.segment.rsc +2 -2
  61. package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
  62. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +1 -1
  63. package/.next/server/app/messages.segments/messages.segment.rsc +1 -1
  64. package/.next/server/app/node/page_client-reference-manifest.js +1 -1
  65. package/.next/server/app/node.html +2 -2
  66. package/.next/server/app/node.rsc +2 -2
  67. package/.next/server/app/node.segments/_full.segment.rsc +2 -2
  68. package/.next/server/app/node.segments/_head.segment.rsc +1 -1
  69. package/.next/server/app/node.segments/_index.segment.rsc +2 -2
  70. package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
  71. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +1 -1
  72. package/.next/server/app/node.segments/node.segment.rsc +1 -1
  73. package/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  74. package/.next/server/app/nodes.html +2 -2
  75. package/.next/server/app/nodes.rsc +2 -2
  76. package/.next/server/app/nodes.segments/_full.segment.rsc +2 -2
  77. package/.next/server/app/nodes.segments/_head.segment.rsc +1 -1
  78. package/.next/server/app/nodes.segments/_index.segment.rsc +2 -2
  79. package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
  80. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +1 -1
  81. package/.next/server/app/nodes.segments/nodes.segment.rsc +1 -1
  82. package/.next/server/app/page_client-reference-manifest.js +1 -1
  83. package/.next/server/app/server-logs/page_client-reference-manifest.js +1 -1
  84. package/.next/server/app/server-logs.html +2 -2
  85. package/.next/server/app/server-logs.rsc +2 -2
  86. package/.next/server/app/server-logs.segments/_full.segment.rsc +2 -2
  87. package/.next/server/app/server-logs.segments/_head.segment.rsc +1 -1
  88. package/.next/server/app/server-logs.segments/_index.segment.rsc +2 -2
  89. package/.next/server/app/server-logs.segments/_tree.segment.rsc +2 -2
  90. package/.next/server/app/server-logs.segments/server-logs/__PAGE__.segment.rsc +1 -1
  91. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +1 -1
  92. package/.next/server/app/settings/networks/page_client-reference-manifest.js +1 -1
  93. package/.next/server/app/settings/networks.html +2 -2
  94. package/.next/server/app/settings/networks.rsc +2 -2
  95. package/.next/server/app/settings/networks.segments/_full.segment.rsc +2 -2
  96. package/.next/server/app/settings/networks.segments/_head.segment.rsc +1 -1
  97. package/.next/server/app/settings/networks.segments/_index.segment.rsc +2 -2
  98. package/.next/server/app/settings/networks.segments/_tree.segment.rsc +2 -2
  99. package/.next/server/app/settings/networks.segments/settings/networks/__PAGE__.segment.rsc +1 -1
  100. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +1 -1
  101. package/.next/server/app/settings/networks.segments/settings.segment.rsc +1 -1
  102. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  103. package/.next/server/app/settings/tokens/page_client-reference-manifest.js +1 -1
  104. package/.next/server/app/settings/tokens.html +2 -2
  105. package/.next/server/app/settings/tokens.rsc +2 -2
  106. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +2 -2
  107. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +1 -1
  108. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +2 -2
  109. package/.next/server/app/settings/tokens.segments/_tree.segment.rsc +2 -2
  110. package/.next/server/app/settings/tokens.segments/settings/tokens/__PAGE__.segment.rsc +1 -1
  111. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +1 -1
  112. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +1 -1
  113. package/.next/server/app/settings.html +2 -2
  114. package/.next/server/app/settings.rsc +3 -3
  115. package/.next/server/app/settings.segments/_full.segment.rsc +3 -3
  116. package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
  117. package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
  118. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  119. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +2 -2
  120. package/.next/server/app/settings.segments/settings.segment.rsc +1 -1
  121. package/.next/server/app/tasks/[id]/page_client-reference-manifest.js +1 -1
  122. package/.next/server/app/tasks/page_client-reference-manifest.js +1 -1
  123. package/.next/server/app/tasks.html +2 -2
  124. package/.next/server/app/tasks.rsc +2 -2
  125. package/.next/server/app/tasks.segments/_full.segment.rsc +2 -2
  126. package/.next/server/app/tasks.segments/_head.segment.rsc +1 -1
  127. package/.next/server/app/tasks.segments/_index.segment.rsc +2 -2
  128. package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
  129. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +1 -1
  130. package/.next/server/app/tasks.segments/tasks.segment.rsc +1 -1
  131. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +3 -3
  132. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
  133. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
  134. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
  135. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
  136. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
  137. package/.next/server/middleware-build-manifest.js +3 -3
  138. package/.next/server/pages/404.html +2 -2
  139. package/.next/server/pages/500.html +1 -1
  140. package/.next/static/chunks/0_p8jkzdw5x2_.css +2 -0
  141. package/.next/static/chunks/0i6t8g~8ffaw9.js +1 -0
  142. package/.next/static/chunks/13cp6he5qwrwb.js +4 -0
  143. package/.next/static/chunks/15njs76t5041a.js +1 -0
  144. package/.next/trace +2 -2
  145. package/.next/trace-build +1 -1
  146. package/app/components/TopoGraph.tsx +1411 -83
  147. package/package.json +1 -1
  148. package/scripts/topo-active-links-chip-hover-lift-test.mjs +93 -0
  149. package/scripts/topo-chip-digit-fontweight-test.mjs +105 -0
  150. package/scripts/topo-chip-row-hover-lift-test.mjs +95 -0
  151. package/scripts/topo-chrome-button-hover-lift-test.mjs +94 -0
  152. package/scripts/topo-chrome-segmented-radius-test.mjs +100 -0
  153. package/scripts/topo-click-ripple-opacity-test.mjs +99 -0
  154. package/scripts/topo-edge-badge-fontsize-test.mjs +90 -0
  155. package/scripts/topo-edge-badge-hover-opacity-test.mjs +94 -0
  156. package/scripts/topo-edge-badge-hover-stroke-test.mjs +92 -0
  157. package/scripts/topo-edge-badge-opacity-test.mjs +80 -0
  158. package/scripts/topo-edge-badge-pin-opacity-test.mjs +86 -0
  159. package/scripts/topo-edge-badge-stroke-test.mjs +92 -0
  160. package/scripts/topo-edge-freshness-floor-test.mjs +99 -0
  161. package/scripts/topo-edge-visible-linecap-test.mjs +89 -0
  162. package/scripts/topo-filter-pill-hover-lift-test.mjs +101 -0
  163. package/scripts/topo-filter-pill-hover-opacity-test.mjs +110 -0
  164. package/scripts/topo-filter-pill-x-hover-scale-test.mjs +99 -0
  165. package/scripts/topo-flow-rail-linecap-test.mjs +79 -0
  166. package/scripts/topo-freshness-chip-tabular-test.mjs +41 -0
  167. package/scripts/topo-freshness-floor-lift-test.mjs +92 -0
  168. package/scripts/topo-freshness-suffix-tabular-test.mjs +88 -0
  169. package/scripts/topo-fullscreen-icon-hover-scale-test.mjs +91 -0
  170. package/scripts/topo-group-box-stroke-test.mjs +105 -0
  171. package/scripts/topo-group-label-count-fontweight-test.mjs +108 -0
  172. package/scripts/topo-hover-detail-body-fw-test.mjs +101 -0
  173. package/scripts/topo-hover-detail-model-fw-test.mjs +98 -0
  174. package/scripts/topo-hover-detail-opacity-test.mjs +98 -0
  175. package/scripts/topo-hover-detail-rx-test.mjs +81 -0
  176. package/scripts/topo-hub-digit-fontsize-test.mjs +86 -0
  177. package/scripts/topo-hub-halo-light-trough-test.mjs +88 -0
  178. package/scripts/topo-hub-halo-radius-test.mjs +86 -0
  179. package/scripts/topo-hub-halo-trough-test.mjs +83 -0
  180. package/scripts/topo-hub-highlight-opacity-test.mjs +88 -0
  181. package/scripts/topo-hub-highlight-radius-test.mjs +90 -0
  182. package/scripts/topo-hub-hover-ring-opacity-test.mjs +96 -0
  183. package/scripts/topo-hub-hover-ring-stroke-test.mjs +86 -0
  184. package/scripts/topo-hub-spoke-linecap-test.mjs +80 -0
  185. package/scripts/topo-layout-toggle-hover-tracking-test.mjs +109 -0
  186. package/scripts/topo-layout-toggle-radius-test.mjs +87 -0
  187. package/scripts/topo-legend-label-fontweight-test.mjs +94 -0
  188. package/scripts/topo-legend-pin-ring-stroke-test.mjs +101 -0
  189. package/scripts/topo-minimap-offline-opacity-test.mjs +90 -0
  190. package/scripts/topo-minimap-online-opacity-test.mjs +93 -0
  191. package/scripts/topo-minimap-online-radius-test.mjs +85 -0
  192. package/scripts/topo-minimap-viewport-linejoin-test.mjs +75 -0
  193. package/scripts/topo-minimap-viewport-rx-test.mjs +85 -0
  194. package/scripts/topo-more-flows-fontweight-test.mjs +103 -0
  195. package/scripts/topo-node-halo-offline-opacity-test.mjs +87 -0
  196. package/scripts/topo-node-pulse-peak-test.mjs +89 -0
  197. package/scripts/topo-panel-count-letterspacing-test.mjs +89 -0
  198. package/scripts/topo-panel-rect-opacity-hover-test.mjs +109 -0
  199. package/scripts/topo-pressure-bar-height-test.mjs +92 -0
  200. package/scripts/topo-pressure-kicker-fontweight-test.mjs +76 -0
  201. package/scripts/topo-recent-pip-radius-2-test.mjs +72 -0
  202. package/scripts/topo-recent-pip-radius-test.mjs +76 -0
  203. package/scripts/topo-recent-row-text-fontweight-test.mjs +90 -0
  204. package/scripts/topo-reset-hover-rotate-test.mjs +102 -0
  205. package/scripts/topo-spoke-active-opacity-test.mjs +104 -0
  206. package/scripts/topo-vendor-chip-hover-lift-test.mjs +87 -0
  207. package/scripts/topo-vendor-glyph-fontweight-test.mjs +102 -0
  208. package/scripts/topo-vendor-letter-hover-scale-test.mjs +129 -0
  209. package/scripts/topo-zoom-icon-hover-scale-test.mjs +114 -0
  210. package/scripts/topo-zoom-level-hover-letterspacing-test.mjs +91 -0
  211. package/.next/static/chunks/0aauz~36q5n2a.css +0 -2
  212. package/.next/static/chunks/0bja1amnrg3li.js +0 -1
  213. package/.next/static/chunks/0k~uc0~~19hyy.js +0 -4
  214. package/.next/static/chunks/0wtq_6dnzems6.js +0 -1
  215. /package/.next/static/{x9zCCrMkHsIYlXNY791KF → rlPM5o1PeXl3t_WnszW5b}/_buildManifest.js +0 -0
  216. /package/.next/static/{x9zCCrMkHsIYlXNY791KF → rlPM5o1PeXl3t_WnszW5b}/_clientMiddlewareManifest.js +0 -0
  217. /package/.next/static/{x9zCCrMkHsIYlXNY791KF → rlPM5o1PeXl3t_WnszW5b}/_ssgManifest.js +0 -0
@@ -194,7 +194,27 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
194
194
  // tier (R312-R314 family); the amber bg/text/border still does
195
195
  // the warning-state work, the weight just keeps the chip in the
196
196
  // same data-typography ladder as its siblings.
197
- const baseClass = "hidden sm:inline px-2.5 py-1 rounded-md font-mono font-medium border transition-colors duration-300";
197
+ // Round 377 / Loop: FreshnessChip baseClass picks up `tabular-nums`.
198
+ // The chip-row's last untouched chip joins the R224-R357 broader
199
+ // tabular-nums sweep:
200
+ // R224 edge badge digit
201
+ // R225 hub digit / panel header counts / recent row count
202
+ // R232 chip row counts (working / online / active-links)
203
+ // R321 recent row timestamp
204
+ // R322 recent panel hot count
205
+ // R323 filter pin pill counts
206
+ // R333 vendor count suffix
207
+ // R357 active-links freshness suffix wrapper
208
+ // R377 FreshnessChip body (this round)
209
+ // `font-mono` already gives equal-width glyphs but `tabular-nums`
210
+ // is the explicit-invariant the rest of the chip row carries.
211
+ // FreshnessChip body reads `lag · {sec}s` — the {sec} digit grows
212
+ // every second; tabular-nums explicitly locks digit width so the
213
+ // chip stays planted as the seconds counter ticks past 9 → 10 →
214
+ // 99 → 100. R187 transition-colors duration-300 + R275 stale-only
215
+ // render gate + R315 font-medium R313 family alignment all
216
+ // preserved.
217
+ const baseClass = "hidden sm:inline px-2.5 py-1 rounded-md font-mono font-medium tabular-nums border transition-colors duration-300";
198
218
  const colorClass = stale
199
219
  ? "bg-amber-500/10 text-amber-300 border-amber-500/20"
200
220
  : "bg-gray-500/10 text-gray-400 border-gray-500/20";
@@ -1038,6 +1058,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1038
1058
  // 280ms ease-out transition list matches R199 smoothView vocabulary
1039
1059
  // so the visual joins the existing rhythm on the same rect.
1040
1060
  const [hoveredMinimap, setHoveredMinimap] = useState(false);
1061
+ // Round 347 / Loop: zoom-level readout hover-state letter-spacing
1062
+ // tween (0 → 0.5 px). The readout sandwiched between zoom-out /
1063
+ // zoom-in is a passive percent display — pre-R347 it had no hover
1064
+ // feedback at all (only a `title` tooltip). R347 extends the R344
1065
+ // (`+N more flows` footer) + R345 (panel titles) hover-letter-
1066
+ // spacing family from panel/footer surfaces into the HTML chrome
1067
+ // strip. Hovering the readout spreads its digits 0.5 px, signalling
1068
+ // "this is alive". tabular-nums + minWidth: 46 from R225 still lock
1069
+ // the column so the tween doesn't shove neighbouring controls.
1070
+ // 200ms ease-out joins the existing R264 color/border transition
1071
+ // list on the same span.
1072
+ const [hoveredZoomLevel, setHoveredZoomLevel] = useState(false);
1073
+ // Round 350 / Loop: reset-button icon hover-rotate preview of the
1074
+ // R184 click-spin. Pre-R350 hovering the reset button only changed
1075
+ // the button bg (white/5); the icon inside stayed perfectly still.
1076
+ // R350 nudges the icon -8° on hover — a tactile hint that this
1077
+ // button rotates the icon on click. When the click fires, the
1078
+ // R184 anet-reset-spin keyframe animation overrides the hover
1079
+ // transform for its 450 ms run (CSS animations win over transitions
1080
+ // on the same property); when the animation ends + React removes
1081
+ // the className, the inline transform eases back to whatever the
1082
+ // hover state says — either -8° (still hovering) or 0 (mouse left).
1083
+ // 350th-round milestone polish.
1084
+ const [hoveredReset, setHoveredReset] = useState(false);
1041
1085
  // R135: panel-wide hover-elevation. The recent-signal + legend
1042
1086
  // panels both already host clickable rows (R56/R116 recent rows,
1043
1087
  // R55/R61 legend rows) and a clickable footer (R133), so the
@@ -1799,12 +1843,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1799
1843
  while honoring R328's wider baseline rhythm. data-topo-
1800
1844
  chrome-layout-trailer attr unchanged — it still marks
1801
1845
  the boundary surface for the gap probe. */}
1846
+ {/* Round 375 / Loop: Layout-toggle wrapper rounded-md → rounded-
1847
+ lg (6 → 8 px). Extends the corner-radius cascade family
1848
+ to the chrome-strip layout-toggle wrapper:
1849
+ R330 canvas wrapper rounded-xl 12 px
1850
+ R331 SVG panels rx=10 10 px
1851
+ R332 minimap container rounded-lg 8 px
1852
+ R375 Layout-toggle wrapper rounded-lg 8 px (this round)
1853
+ Pre-R375 the wrapper at rounded-md (6 px) was the only
1854
+ chrome-strip container still using the smaller corner
1855
+ radius — both R330 outer wrapper and R332 minimap sit at
1856
+ ≥ 8 px, so the Layout toggle's 6 px stood out as a
1857
+ tighter corner against the family. R375 brings it into
1858
+ the rounded-lg tier where the minimap already lives.
1859
+ Pure paint change — overflow-hidden still clips the
1860
+ inner buttons' bg-cyan-500/15 tints; no layout shift.
1861
+ R268 border-color + 200ms transition + R329 mr-0.5 +
1862
+ data-topo-chrome-layout-trailer all preserved. */}
1802
1863
  <div
1803
- className="mr-0.5 inline-flex rounded-md border overflow-hidden"
1864
+ className="mr-0.5 inline-flex rounded-lg border overflow-hidden"
1804
1865
  style={{ borderColor: pal.containerBorder, transition: 'border-color 200ms ease-out' }}
1805
1866
  role="group"
1806
1867
  aria-label="Topology layout"
1807
1868
  data-topo-chrome-layout-trailer
1869
+ data-topo-chrome-layout-radius="rounded-lg"
1808
1870
  >
1809
1871
  <button
1810
1872
  onClick={() => { popChrome('layout-ring'); if (layout !== 'ring') toggleLayout(); }}
@@ -1838,7 +1900,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1838
1900
  weight; cyan-400/60 + ring-inset retained. The
1839
1901
  R163/R196 hover/active deeps + R249 chrome-pop
1840
1902
  click feedback continue unchanged. */
1841
- className={`px-2.5 py-1 transition-colors focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset ${layout === 'ring' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-ring' ? ' anet-chrome-pop' : ''}`}
1903
+ // R351: hover:tracking-wide extends the R344/R345/R347
1904
+ // hover-letter-spacing family to a 4th surface (chrome-
1905
+ // strip Ring/Grid pair). transition-colors className
1906
+ // dropped in favour of an inline transition spec that
1907
+ // bundles bg/color (150ms ease) + letter-spacing
1908
+ // (200ms ease-out) — Tailwind's transition-colors
1909
+ // doesn't list letter-spacing, so without this the
1910
+ // hover:tracking-wide would snap. Sibling change on
1911
+ // the Grid button below.
1912
+ className={`px-2.5 py-1 focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset hover:tracking-wide ${layout === 'ring' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-ring' ? ' anet-chrome-pop' : ''}`}
1913
+ style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out' }}
1842
1914
  >
1843
1915
  Ring
1844
1916
  </button>
@@ -1855,14 +1927,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1855
1927
  // Round 306 / Loop: focus-visible:ring-2 → ring-1 sibling
1856
1928
  // change to Ring above — unifies focus-ring width across
1857
1929
  // all chrome buttons.
1858
- className={`px-2.5 py-1 border-l transition-colors focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset ${layout === 'grid' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-grid' ? ' anet-chrome-pop' : ''}`}
1930
+ // R351 sibling Grid button picks up hover:tracking-wide
1931
+ // + inline transition spec. Same vocabulary as Ring.
1932
+ className={`px-2.5 py-1 border-l focus:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset hover:tracking-wide ${layout === 'grid' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15'} ${chromePopping === 'layout-grid' ? ' anet-chrome-pop' : ''}`}
1859
1933
  /* Round 268 / Loop: Grid button's left border (the
1860
1934
  internal divider between Ring and Grid) picks up
1861
1935
  pal.containerBorder, matching the wrapper change at
1862
1936
  line ~1460 and the chrome strip's segmented borders
1863
- (nodeSize, zoom). transition-colors className covers
1864
- the border-color eased on theme toggle. */
1865
- style={{ borderColor: pal.containerBorder }}
1937
+ (nodeSize, zoom). The R268 transition-colors className
1938
+ used to carry the border-color ease; R351 unfolds the
1939
+ transition list into the inline spec below so the
1940
+ letter-spacing tween rides alongside without snapping
1941
+ the border-color flip — border-color 200ms ease-out
1942
+ keeps R268's theme-toggle smoothness intact. */
1943
+ style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out' }}
1866
1944
  >
1867
1945
  Grid
1868
1946
  </button>
@@ -1949,11 +2027,37 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1949
2027
  7th surface in the info-density tabular-nums
1950
2028
  sweep — and the first on the HTML side
1951
2029
  (previous 6 were SVG <text>/<tspan>). */
1952
- className={`tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors duration-200 ${
2030
+ /* Round 398 / Loop: chip-row chips gain hover translateY
2031
+ (-1px) lift on the CLICKABLE variant only (workingCount
2032
+ > 0 here / onlineNodes.length > 0 below / activeLinks
2033
+ > 0 deeper). Pre-R398 the chips brightened bg + border
2034
+ on hover (R201) but didn't lift — only their clickable
2035
+ siblings (filter pin pills R397, recent rows R143,
2036
+ legend rows R144) acknowledged cursor entry with a
2037
+ translate-y. R398 closes the chip-row by extending
2038
+ the same gesture to the static header chips, gated
2039
+ on the clickable role so empty chips (which have
2040
+ no role="button") stay planted at their R205
2041
+ opacity-50 receded paint. transition-transform
2042
+ + duration-200 + ease-out + transform-gpu added
2043
+ alongside existing transition-colors so the lift
2044
+ and the color tween share rhythm.
2045
+ Gesture-vocabulary table (post-R398):
2046
+ recent-signal row -1 px (R143)
2047
+ legend row -1 px (R144)
2048
+ group cluster box fill+sw lift (R142)
2049
+ filter pin pills -1 px (R397)
2050
+ chip-row chips -1 px (R398, this round)
2051
+ Empty chips: no lift. Pin-mirror chips: no
2052
+ conflict (R180 inset double-ring is a box-shadow
2053
+ not a transform). new data-chip-hover-lift attr
2054
+ surfaces the lift surface for tests. */
2055
+ className={`tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
1953
2056
  workingCount > 0
1954
- ? 'bg-green-500/10 text-green-300 border-green-500/20 hover:bg-green-500/15 hover:border-green-500/30'
2057
+ ? 'bg-green-500/10 text-green-300 border-green-500/20 hover:bg-green-500/15 hover:border-green-500/30 hover:-translate-y-px'
1955
2058
  : 'bg-green-500/10 text-green-300 border-green-500/20'
1956
2059
  }`}
2060
+ data-chip-hover-lift={workingCount > 0 ? 'true' : 'false'}
1957
2061
  data-working-chip
1958
2062
  data-working-chip-aliases={workingAliases.join(',')}
1959
2063
  data-pin-mirror={pinnedStatus === 'working' ? 'true' : 'false'}
@@ -2023,7 +2127,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2023
2127
  pattern: small label spans demote, value stays
2024
2128
  prominent. data-working-chip-unit exposes the
2025
2129
  span for tests. */}
2026
- {workingCount}<span className="opacity-70" data-working-chip-unit> working</span>
2130
+ {/* Round 362 / Loop: digit picks up font-semibold
2131
+ (fw 500 → 600) for within-chip weight tier. The
2132
+ chip's outer className stays at font-medium (R313
2133
+ data-weight baseline); the digit overrides to
2134
+ semibold so it reads heavier than its " working"
2135
+ unit (which keeps fw 500 + R338 opacity-70).
2136
+ Joins the R333-R341 chip-internal-hierarchy arc
2137
+ at the chip-count scope. Sibling edits on the
2138
+ online + active-links chip digits below. data-
2139
+ working-chip-digit attr exposes the digit span. */}
2140
+ <span className="font-semibold" data-working-chip-digit>{workingCount}</span><span className="opacity-70" data-working-chip-unit> working</span>
2027
2141
  </span>
2028
2142
  <span
2029
2143
  // Round 201 / Loop: online chip — mirror of the working
@@ -2037,11 +2151,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2037
2151
  /* Round 232 / Loop: tabular-nums on online chip
2038
2152
  (sibling treatment to working chip — same row,
2039
2153
  same digit-jitter physics on count crossings). */
2040
- className={`tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors duration-200 ${
2154
+ // R398: hover translate-y lift on clickable variant see working chip above.
2155
+ className={`tabular-nums font-medium px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-colors transition-transform duration-200 ease-out transform-gpu ${
2041
2156
  onlineNodes.length > 0
2042
- ? 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20 hover:bg-cyan-500/15 hover:border-cyan-500/30'
2157
+ ? 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20 hover:bg-cyan-500/15 hover:border-cyan-500/30 hover:-translate-y-px'
2043
2158
  : 'bg-cyan-500/10 text-cyan-300 border-cyan-500/20'
2044
2159
  }`}
2160
+ data-chip-hover-lift={onlineNodes.length > 0 ? 'true' : 'false'}
2045
2161
  data-online-chip
2046
2162
  data-online-chip-aliases={onlineAliases.join(',')}
2047
2163
  data-pin-mirror={pinnedStatus === 'idle' ? 'true' : 'false'}
@@ -2086,7 +2202,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2086
2202
  }}
2087
2203
  >
2088
2204
  {/* R337 sibling — online chip unit demotion. */}
2089
- {onlineNodes.length}<span className="opacity-70" data-online-chip-unit> online</span>
2205
+ {/* R362 sibling — online-chip digit gains font-semibold. */}
2206
+ <span className="font-semibold" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70" data-online-chip-unit> online</span>
2090
2207
  </span>
2091
2208
  </>
2092
2209
  );
@@ -2213,8 +2330,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2213
2330
  title={`${w} working · ${i} idle · ${o} offline`}
2214
2331
  data-fleet-pressure
2215
2332
  >
2216
- <span className="text-[10px] tracking-wide">pressure</span>
2217
- <span className="inline-flex h-1.5 w-16 rounded-full overflow-hidden" style={{ background: 'rgb(75 85 99 / 0.25)' }}>
2333
+ {/* Round 373 / Loop: pressure-bar kicker label gains
2334
+ font-medium (fw 400 500). Sibling small-text fw
2335
+ lift family with R363 recent-row alias + R364
2336
+ legend-row label + R366 group-label count + R368
2337
+ +N more flows footer — extends to a 5th surface
2338
+ (the chip-row's 'pressure' label). At fontSize
2339
+ 10 px tracking-wide against the chip's gray bg,
2340
+ the default fw 400 sat below the deliberate-data
2341
+ band; fw 500 brings it into parity with the
2342
+ chip-row 'working / online / active links' unit
2343
+ spans (chip-level font-medium R313). data-fleet-
2344
+ pressure-kicker attr exposes the kicker for tests. */}
2345
+ <span className="text-[10px] tracking-wide font-medium" data-fleet-pressure-kicker>pressure</span>
2346
+ {/* Round 374 / Loop: pressure-bar height h-1.5 → h-2
2347
+ (6 → 8 px) — sibling visual-weight bump (8th anchor
2348
+ in the family):
2349
+ R287 minimap viewport stroke 1 → 1.5
2350
+ R295 legend swatch base radius 5.5 → 6
2351
+ R359 recent-row pip base radius 1.6 → 1.8
2352
+ R360 hub digit fontSize 11 → 12
2353
+ R361 edge-badge digit fontSize 10 → 11
2354
+ R365 hub-highlight base radius 5 → 5.5
2355
+ R367 edge-badge rest stroke 1 → 1.25
2356
+ R374 pressure-bar height 1.5 → 2 (this round)
2357
+ +33 % bar height gives the working/idle/offline
2358
+ segments more visibility — at h-1.5 the 3-segment
2359
+ proportion bar was readable but slim; at h-2 the
2360
+ segments parse cleanly even when one tier is
2361
+ < 10 % share. Geometry-safe: items-center flex
2362
+ centers the bar inside the chip's py-1 (4 px top +
2363
+ 4 px bottom) — bar at 8 px stays comfortably
2364
+ inside the 10-px text-row height. R165 segment
2365
+ width transitions + R210 brightness hover + R83
2366
+ pin-mirror box-shadow on segments all preserved
2367
+ (segments inherit width from parent so the height
2368
+ bump propagates without segment-side edits).
2369
+ data-fleet-pressure-bar-height attr exposes the
2370
+ height token for tests. */}
2371
+ <span className="inline-flex h-2 w-16 rounded-full overflow-hidden" style={{ background: 'rgb(75 85 99 / 0.25)' }} data-fleet-pressure-bar-height="h-2">
2218
2372
  {seg(w, isLight ? '#059669' : '#22c55e', 'working', 'working')}
2219
2373
  {seg(i, isLight ? '#0d9488' : '#2dd4bf', 'idle', 'idle')}
2220
2374
  {seg(o, isLight ? '#94a3b8' : '#6b7280', 'offline', 'offline')}
@@ -2271,7 +2425,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2271
2425
  data-active-filter="status"
2272
2426
  data-filter-match-count={matchCount}
2273
2427
  data-filter-match-aliases={matchAliases.join(',')}
2274
- className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus"
2428
+ // R355: `group` lets the inner opacity-70 spans (prefix
2429
+ // `filter:` + count `· N`) brighten to 100 % on pill hover.
2430
+ // Sibling treatment on group + vendor pills below.
2431
+ className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
2275
2432
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
2276
2433
  onClick={() => setPinnedStatus(null)}
2277
2434
  style={{
@@ -2285,12 +2442,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2285
2442
  cursor: 'pointer',
2286
2443
  }}
2287
2444
  >
2288
- <span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedStatus}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
2445
+ <span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedStatus}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
2289
2446
  <button
2290
2447
  type="button"
2291
2448
  aria-label={`Clear ${pinnedStatus} filter`}
2292
2449
  onClick={(e) => { e.stopPropagation(); setPinnedStatus(null); }}
2293
- className="ml-0.5 leading-none hover:opacity-70"
2450
+ /* Round 356 / Loop: filter pin pill × buttons gain
2451
+ hover:scale-110 (Tailwind 4 modern CSS `scale` property,
2452
+ not legacy transform). Sibling polish to R354 vendor
2453
+ letter glyph + R350/R352/R353 chrome icon hover-scales.
2454
+ Pre-R356 the × had only hover:opacity-70 — the target
2455
+ dimmed under cursor but didn't lift. R356 adds a 10 %
2456
+ scale on hover so the click-target reads as "press me"
2457
+ alongside the dim. transform-gpu hint promotes the
2458
+ button to its own compositor layer for crisper edges
2459
+ during the scale tween. transition-transform duration-
2460
+ 200 matches the chrome icon hover-scale timing family.
2461
+ inline-block is default for <button> so no display
2462
+ tweak needed. replace_all covers all 4 filter pin
2463
+ pills (status / group / vendor / edge) at once. */
2464
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
2294
2465
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2295
2466
  >×</button>
2296
2467
  </span>
@@ -2309,7 +2480,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2309
2480
  data-active-filter="group"
2310
2481
  data-filter-match-count={matchCount}
2311
2482
  data-filter-match-aliases={matchAliases.join(',')}
2312
- className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus"
2483
+ // R355 sibling `group` parent + group-hover on inner spans.
2484
+ className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
2313
2485
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
2314
2486
  onClick={() => setPinnedGroup(null)}
2315
2487
  style={{
@@ -2319,12 +2491,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2319
2491
  cursor: 'pointer',
2320
2492
  }}
2321
2493
  >
2322
- <span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedGroup}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
2494
+ <span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedGroup}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
2323
2495
  <button
2324
2496
  type="button"
2325
2497
  aria-label={`Clear group filter ${pinnedGroup}`}
2326
2498
  onClick={(e) => { e.stopPropagation(); setPinnedGroup(null); }}
2327
- className="ml-0.5 leading-none hover:opacity-70"
2499
+ /* Round 356 / Loop: filter pin pill × buttons gain
2500
+ hover:scale-110 (Tailwind 4 modern CSS `scale` property,
2501
+ not legacy transform). Sibling polish to R354 vendor
2502
+ letter glyph + R350/R352/R353 chrome icon hover-scales.
2503
+ Pre-R356 the × had only hover:opacity-70 — the target
2504
+ dimmed under cursor but didn't lift. R356 adds a 10 %
2505
+ scale on hover so the click-target reads as "press me"
2506
+ alongside the dim. transform-gpu hint promotes the
2507
+ button to its own compositor layer for crisper edges
2508
+ during the scale tween. transition-transform duration-
2509
+ 200 matches the chrome icon hover-scale timing family.
2510
+ inline-block is default for <button> so no display
2511
+ tweak needed. replace_all covers all 4 filter pin
2512
+ pills (status / group / vendor / edge) at once. */
2513
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
2328
2514
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2329
2515
  >×</button>
2330
2516
  </span>
@@ -2359,7 +2545,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2359
2545
  data-active-filter="vendor"
2360
2546
  data-filter-match-count={matchCount}
2361
2547
  data-filter-match-aliases={matchAliases.join(',')}
2362
- className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus"
2548
+ // R355 sibling `group` parent + group-hover on inner spans.
2549
+ className="group inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
2363
2550
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
2364
2551
  onClick={() => setPinnedVendor(null)}
2365
2552
  style={{
@@ -2369,12 +2556,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2369
2556
  cursor: 'pointer',
2370
2557
  }}
2371
2558
  >
2372
- <span><span className="hidden sm:inline opacity-70" data-filter-prefix>filter: </span>{pinnedVendor}<span className="opacity-70 tabular-nums" data-filter-pill-count> · {matchCount}</span></span>
2559
+ <span><span className="hidden sm:inline opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-filter-prefix>filter: </span>{pinnedVendor}<span className="opacity-70 tabular-nums transition-opacity duration-200 group-hover:opacity-100" data-filter-pill-count> · {matchCount}</span></span>
2373
2560
  <button
2374
2561
  type="button"
2375
2562
  aria-label={`Clear vendor filter ${pinnedVendor}`}
2376
2563
  onClick={(e) => { e.stopPropagation(); setPinnedVendor(null); }}
2377
- className="ml-0.5 leading-none hover:opacity-70"
2564
+ /* Round 356 / Loop: filter pin pill × buttons gain
2565
+ hover:scale-110 (Tailwind 4 modern CSS `scale` property,
2566
+ not legacy transform). Sibling polish to R354 vendor
2567
+ letter glyph + R350/R352/R353 chrome icon hover-scales.
2568
+ Pre-R356 the × had only hover:opacity-70 — the target
2569
+ dimmed under cursor but didn't lift. R356 adds a 10 %
2570
+ scale on hover so the click-target reads as "press me"
2571
+ alongside the dim. transform-gpu hint promotes the
2572
+ button to its own compositor layer for crisper edges
2573
+ during the scale tween. transition-transform duration-
2574
+ 200 matches the chrome icon hover-scale timing family.
2575
+ inline-block is default for <button> so no display
2576
+ tweak needed. replace_all covers all 4 filter pin
2577
+ pills (status / group / vendor / edge) at once. */
2578
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
2378
2579
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2379
2580
  >×</button>
2380
2581
  </span>
@@ -2407,7 +2608,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2407
2608
  data-filter-match-count={link.count}
2408
2609
  data-filter-match-aliases={`${link.from},${link.to}`}
2409
2610
  data-active-filter-edge-hot={isHot ? 'true' : 'false'}
2410
- className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus"
2611
+ className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md font-mono font-medium text-xs border anet-fade-in anet-topo-chip-focus transition-transform duration-200 ease-out hover:-translate-y-px transform-gpu" data-topo-filter-pill-hover-lift="true"
2411
2612
  title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
2412
2613
  onClick={() => setPinnedEdgeKey(null)}
2413
2614
  style={{
@@ -2451,7 +2652,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2451
2652
  type="button"
2452
2653
  aria-label={`Clear edge filter ${link.from} → ${link.to}`}
2453
2654
  onClick={(e) => { e.stopPropagation(); setPinnedEdgeKey(null); }}
2454
- className="ml-0.5 leading-none hover:opacity-70"
2655
+ /* Round 356 / Loop: filter pin pill × buttons gain
2656
+ hover:scale-110 (Tailwind 4 modern CSS `scale` property,
2657
+ not legacy transform). Sibling polish to R354 vendor
2658
+ letter glyph + R350/R352/R353 chrome icon hover-scales.
2659
+ Pre-R356 the × had only hover:opacity-70 — the target
2660
+ dimmed under cursor but didn't lift. R356 adds a 10 %
2661
+ scale on hover so the click-target reads as "press me"
2662
+ alongside the dim. transform-gpu hint promotes the
2663
+ button to its own compositor layer for crisper edges
2664
+ during the scale tween. transition-transform duration-
2665
+ 200 matches the chrome icon hover-scale timing family.
2666
+ inline-block is default for <button> so no display
2667
+ tweak needed. replace_all covers all 4 filter pin
2668
+ pills (status / group / vendor / edge) at once. */
2669
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
2455
2670
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2456
2671
  >×</button>
2457
2672
  </span>
@@ -2716,9 +2931,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2716
2931
  vendor letter chips ('A:N', 'O:N', '书:N',
2717
2932
  '?:N'). They display vendor-distribution
2718
2933
  data; same tier as the sibling data chips. */
2719
- className="tabular-nums font-medium inline-flex items-baseline gap-0.5 px-1 rounded anet-topo-chip-focus"
2934
+ /* Round 401 / Loop: vendor letter chip closes the
2935
+ hover-lift gesture family at its last unaddressed
2936
+ interactive HTML surface. R397/R398/R399 lifted
2937
+ filter pin pills + chip-row chips (working /
2938
+ online / active-links); R400 lifted standalone
2939
+ chrome buttons (reset / fullscreen). The vendor
2940
+ letter chips (A:N / O:N / 书:N / ?:N) are
2941
+ sibling interactive chips in the same chip-row
2942
+ — clickable to toggle the vendor filter pin —
2943
+ but were not yet on the hover-lift family.
2944
+ R401 closes the gap with hover:-translate-y-px
2945
+ + transition-transform + transform-gpu added
2946
+ to the className. The inline transition list
2947
+ (box-shadow + background-color) keeps eaching
2948
+ independently — different property axes compose
2949
+ cleanly. Existing R354 glyph scale-1.1 (inner
2950
+ span) + R202 chip bg color-mix + R180 pin-mirror
2951
+ box-shadow + R354 glyph hover transform all
2952
+ preserved. data-vendor-letter-hover-lift attr
2953
+ surfaces the lift for tests. */
2954
+ className="tabular-nums font-medium inline-flex items-baseline gap-0.5 px-1 rounded anet-topo-chip-focus transition-transform duration-200 ease-out transform-gpu hover:-translate-y-px"
2720
2955
  data-vendor-letter={v.initial}
2721
2956
  data-vendor-letter-count={v.count}
2957
+ data-vendor-letter-hover-lift="true"
2722
2958
  data-vendor-pinned={isPinned ? 'true' : 'false'}
2723
2959
  data-vendor-hovered={hoveredVendor === v.initial ? 'true' : 'false'}
2724
2960
  data-vendor-aliases={aliases.join(',')}
@@ -2762,7 +2998,64 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2762
2998
  }
2763
2999
  }}
2764
3000
  >
2765
- <span style={{ color: v.color }}>{v.initial}</span>
3001
+ {/* Round 354 / Loop: vendor letter glyph scales
3002
+ 1.0 → 1.1 on hover. R88 already dims OTHER
3003
+ vendors on hover via canvas-wide opacity
3004
+ masking; R202 added a chip-level bg tint
3005
+ (color-mix 12 % alpha) so the chip itself
3006
+ responds. R354 closes the trio with a glyph-
3007
+ level lift: the focused vendor LETTER actively
3008
+ rises (transform scale) rather than the chip
3009
+ merely changing colour. Three layers of positive
3010
+ feedback on the hovered vendor + canvas-wide
3011
+ negative feedback on the others — a clean
3012
+ figure/ground separation.
3013
+
3014
+ display: inline-block is required for transform
3015
+ to apply (inline elements ignore transform).
3016
+ transformOrigin: 'center' so the glyph pivots
3017
+ around its centre instead of arcing from the
3018
+ baseline anchor. transition rides the existing
3019
+ Tailwind 4 transform/scale list (no new
3020
+ property — Tailwind already lists transform in
3021
+ the default transition-property set). 200ms
3022
+ matches the R202 chip bg-tint timing so the
3023
+ glyph lift and chip background ease in concert. */}
3024
+ {/* Round 369 / Loop: vendor letter glyph picks up
3025
+ fontWeight 600 (font-semibold). The glyph is the
3026
+ vendor identifier — the DATA the operator scans
3027
+ in this chip (A / O / 书 / C / G / ?). R333 set
3028
+ the count suffix `:N` to text-gray-400 + tabular-
3029
+ nums and (via parent inheritance) fw 500. Pre-
3030
+ R369 the LETTER also inherited fw 500 from the
3031
+ chip's font-medium — letter and count read at
3032
+ the same weight, contradicting the data-vs-label
3033
+ hierarchy the rest of the chip-row already speaks.
3034
+ R369 lifts the letter to fw 600 so the chip now
3035
+ reads as the same two-tier pattern R362 closed
3036
+ on the working / online / active-links chips:
3037
+ chip digit/letter fw 600 (data)
3038
+ chip unit/count fw 500 (label)
3039
+ Sibling treatment to R362 — extends the R333-R341
3040
+ chip-internal-hierarchy arc to the vendor-letter
3041
+ chip surface (9th surface family). R354 transform-
3042
+ scale-on-hover + R88 canvas-dim-others + R202
3043
+ chip bg color-mix all preserved on the same span.
3044
+ data-vendor-letter-glyph-font-weight attr exposes
3045
+ the value for tests. */}
3046
+ <span
3047
+ data-vendor-letter-glyph={v.initial}
3048
+ data-vendor-letter-glyph-hover={hoveredVendor === v.initial ? 'true' : 'false'}
3049
+ data-vendor-letter-glyph-font-weight="600"
3050
+ style={{
3051
+ color: v.color,
3052
+ display: 'inline-block',
3053
+ fontWeight: 600,
3054
+ transform: hoveredVendor === v.initial ? 'scale(1.1)' : 'scale(1)',
3055
+ transformOrigin: 'center',
3056
+ transition: 'transform 200ms ease-out',
3057
+ }}
3058
+ >{v.initial}</span>
2766
3059
  {/* Round 333 / Loop: vendor count suffix `:{N}` joins
2767
3060
  the R317 subordinate-text-lift family (gray-500 →
2768
3061
  gray-400) plus picks up tabular-nums for digit
@@ -2864,11 +3157,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2864
3157
  (third chip in the row — matches working + online
2865
3158
  chip treatment so all three digits in the chip row
2866
3159
  stay width-stable across counter crossings). */
2867
- className={`tabular-nums font-medium hidden sm:inline px-2.5 py-1 rounded-md border anet-topo-chip-focus ${
3160
+ /* Round 399 / Loop: active-links chip closes the 3-chip
3161
+ chip-row by extending R398's hover translateY(-1px)
3162
+ lift onto the third (rightmost) chip. The R398 family
3163
+ already covered working + online chips on the
3164
+ clickable variant; R399 adds the same gate (isInter-
3165
+ active = flowLinks.length > 0) so empty active-links
3166
+ stays planted at R206's opacity-50 receded paint.
3167
+ transition-transform + ease-out + transform-gpu join
3168
+ the inline transition list (different property axes
3169
+ compose cleanly: inline handles color/bg/border/
3170
+ opacity, className handles transform).
3171
+ Gesture-vocabulary table (post-R399 — now complete
3172
+ across the chip-row):
3173
+ working chip -1 px (R398)
3174
+ online chip -1 px (R398)
3175
+ active-links chip -1 px (R399, this round)
3176
+ filter pin pills -1 px (R397)
3177
+ recent-signal row -1 px (R143)
3178
+ legend row -1 px (R144)
3179
+ Every interactive chip in TopoGraph lifts on hover.
3180
+ data-chip-hover-lift attr exposes the lift surface
3181
+ state ('true' clickable, 'false' empty) for tests. */
3182
+ className={`tabular-nums font-medium hidden sm:inline px-2.5 py-1 rounded-md border anet-topo-chip-focus transition-transform duration-200 ease-out transform-gpu ${
2868
3183
  isInteractive
2869
- ? 'bg-gray-500/10 text-gray-400 border-gray-500/20 hover:bg-cyan-500/10 hover:text-cyan-200 hover:border-cyan-500/30'
3184
+ ? 'bg-gray-500/10 text-gray-400 border-gray-500/20 hover:bg-cyan-500/10 hover:text-cyan-200 hover:border-cyan-500/30 hover:-translate-y-px'
2870
3185
  : 'bg-gray-500/10 text-gray-400 border-gray-500/20'
2871
3186
  }`}
3187
+ data-chip-hover-lift={isInteractive ? 'true' : 'false'}
2872
3188
  data-active-links-chip
2873
3189
  data-active-links-flow-count={flowLinks.length}
2874
3190
  data-active-links-clickable={isInteractive ? 'true' : 'false'}
@@ -2896,7 +3212,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2896
3212
  the 5th chip surface in the R333/R335/R336/R337
2897
3213
  chip-internal-hierarchy arc. data-active-links-
2898
3214
  chip-unit exposes the unit span for tests. */}
2899
- {flowLinks.length}<span className="opacity-70" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
3215
+ {/* R362 sibling — active-links chip digit gains font-semibold. */}
3216
+ <span className="font-semibold" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
2900
3217
  {rel ? (() => {
2901
3218
  // Round 161 / Loop: extend R160's recency-pip
2902
3219
  // vocabulary up one scope — from per-flow row to
@@ -2921,8 +3238,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2921
3238
  const alpha = ageSec <= 30
2922
3239
  ? 1
2923
3240
  : ageSec <= 300
2924
- ? 1 - ((ageSec - 30) / 270) * 0.75
2925
- : 0.25;
3241
+ ? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
3242
+ : 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
2926
3243
  // Cyan dark / teal light to match palette legendAccent.
2927
3244
  const dotColor = isLight
2928
3245
  ? `rgba(13, 148, 136, ${alpha.toFixed(2)})`
@@ -2939,7 +3256,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2939
3256
  // color: dotColor — the lift only affects the trailing
2940
3257
  // literal "last {rel}" text.
2941
3258
  return (
2942
- <span className="text-gray-400">
3259
+ // Round 357 / Loop: active-links chip freshness
3260
+ // suffix wrapper picks up `tabular-nums` for digit
3261
+ // width-lock. Pre-R357 the literal "last {rel}"
3262
+ // text (e.g. "last 5s ago", "last 10s ago",
3263
+ // "last 1m ago") had natural-figure digits — the
3264
+ // freshness ticker updates every second, so the
3265
+ // 9→10 boundary on the seconds counter and the
3266
+ // 59→60s → 1m flip both jittered ~1-2 px of glyph
3267
+ // width which propagated through the chip-row's
3268
+ // inline-flex layout, nudging the freshness DOT
3269
+ // and the chip's left edge. Tabular-nums on the
3270
+ // wrapper applies to all descendant digits only
3271
+ // (letters render at natural widths) so the
3272
+ // ticker stays planted across every count cross.
3273
+ // Joins the R224-R232 info-density tabular-nums
3274
+ // sweep at the chip-row freshness scope. Pure
3275
+ // paint-level change, no geometry shift on rest.
3276
+ // The R342 text-gray-400 lift + R161 dot freshness
3277
+ // alpha ramp + R317 subordinate-text-lift family
3278
+ // all preserved. data-active-links-freshness-
3279
+ // wrapper attr exposes the wrapper for tests.
3280
+ <span className="text-gray-400 tabular-nums" data-active-links-freshness-wrapper>
2943
3281
  <span
2944
3282
  data-active-links-freshness-dot
2945
3283
  data-active-links-freshness-alpha={alpha.toFixed(2)}
@@ -3603,6 +3941,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3603
3941
  active surfaces the activity state for test probes
3604
3942
  (active spokes don't carry the bucket/dur attrs so
3605
3943
  they need their own data anchor). */
3944
+ // Round 382 / Loop: hub-spoke path picks up
3945
+ // strokeLinecap='round'. Sibling polish to R378 flow-
3946
+ // rail dashes + R380 group box dashes — three dashed-
3947
+ // stroke surfaces now share 'round' linecap:
3948
+ // R378 flow-rail '2 12' -> soft 3-px pills
3949
+ // R380 group box '6 6' -> soft 7.5-px pills
3950
+ // R382 hub spoke '6 14' -> soft 7-px pills (this round)
3951
+ // For idle spokes (dashed at sw=1), each 6-px dash gains
3952
+ // 0.5-px round caps and reads as a soft pill instead of
3953
+ // a sharp 6 x 1 rectangle. Active spokes (solid, no
3954
+ // dasharray) have caps mostly hidden by the hub center +
3955
+ // node radius. Geometry-safe; paint-only. R51 sentinel
3956
+ // strokeWidth 1.5/3 untouched (idle=1, active=2). data-
3957
+ // topo-hub-spoke-linecap attr exposes the value for tests.
3958
+ // Round 391 / Loop: hub-spoke active opacity 0.7 → 0.8.
3959
+ // Pre-R391 active spokes (the spoke connecting the hub
3960
+ // to the currently-active alias — hovered or pinned)
3961
+ // lifted opacity from rest 0.45 to active 0.7 — a clear
3962
+ // step but slightly understated against the canvas
3963
+ // chrome. R391 lifts active to 0.8 so the "this spoke
3964
+ // connects to your active node" signal reads with
3965
+ // matching weight to the R370 hub hover-ring opacity
3966
+ // (0.7 → 0.8 cyber) — paired canvas signals now share
3967
+ // the same active-state alpha (0.8) so when a user
3968
+ // hovers a node, both the spoke and the hub-ring lift
3969
+ // to identical opacity. Rest 0.45 invariant preserved.
3970
+ // Theme-consistency / canvas-presence polish family
3971
+ // (6th anchor):
3972
+ // R370 hub hover-ring opacity 0.7 → 0.8 cyber
3973
+ // R371 edge-badge rest opacity 0.82 → 0.85 cyber
3974
+ // R372 minimap offline-dot opacity 0.5 → 0.6
3975
+ // R386 hub-highlight idle opacity 0.9 → 0.95
3976
+ // R387 hover-detail panel opacity 0.94 → 0.97 cyber
3977
+ // R391 hub-spoke active opacity 0.7 → 0.8 (this round)
3978
+ // Idle path (45% alpha + dashed flow animation) entirely
3979
+ // untouched — R391 is an active-state-only lift.
3980
+ // data-topo-hub-spoke-opacity attr exposes the resolved
3981
+ // value for tests. R382 strokeLinecap='round' + R51
3982
+ // sentinel-safe sw (1 idle / 2 active) preserved.
3606
3983
  return (
3607
3984
  <path
3608
3985
  key={`hub-${session.alias}`}
@@ -3611,11 +3988,14 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3611
3988
  stroke={isActiveSpoke ? pal.spokeStroke.active : pal.spokeStroke.idle}
3612
3989
  strokeWidth={isActiveSpoke ? 2 : 1}
3613
3990
  strokeDasharray={isActiveSpoke ? 'none' : '6 14'}
3614
- opacity={isActiveSpoke ? 0.7 : 0.45}
3991
+ strokeLinecap="round"
3992
+ opacity={isActiveSpoke ? 0.8 : 0.45}
3615
3993
  className={isActiveSpoke ? undefined : 'anet-topo-spoke-flow'}
3616
3994
  data-topo-spoke-bucket={isActiveSpoke ? undefined : busy}
3617
3995
  data-topo-spoke-dur={isActiveSpoke ? undefined : spokeDur}
3618
3996
  data-topo-hub-spoke-active={isActiveSpoke ? 'true' : 'false'}
3997
+ data-topo-hub-spoke-opacity={isActiveSpoke ? 0.8 : 0.45}
3998
+ data-topo-hub-spoke-linecap="round"
3619
3999
  style={{
3620
4000
  transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
3621
4001
  ...(isActiveSpoke ? {} : {
@@ -3707,7 +4087,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3707
4087
  stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
3708
4088
  strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
3709
4089
  strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
4090
+ /* Round 380 / Loop: cluster box stroke gets round
4091
+ linecap + round linejoin. Sibling SVG stroke-
4092
+ softening polish to R378 flow-rail linecap + R379
4093
+ minimap viewport linejoin — extends the family to
4094
+ the group cluster boundary box (grid layout only):
4095
+ R288 chrome icons strokeLinecap='round'
4096
+ R378 flow-rail dashes strokeLinecap='round'
4097
+ R380 group box dashes strokeLinecap='round' (this round)
4098
+ R379 viewport rect strokeLinejoin='round'
4099
+ R380 group box corners strokeLinejoin='round' (this round)
4100
+ Linecap rounds the R85 '6 6' marching-ants dash
4101
+ pills at rest — each 6 px dash gains a ~0.75 px
4102
+ round cap (sw=1.5 idle), reading as soft pills
4103
+ instead of sharp 6 × 1.5 px rectangles. Linejoin
4104
+ rounds the 4 sharp 90° corners (any state — solid
4105
+ or dashed); at sw=1.5 the join arc is ~0.75 px,
4106
+ matching R379 viewport vocabulary. Geometry-safe:
4107
+ stroke-* properties only affect paint, not bbox.
4108
+ The R51 sentinel 1.5/3 strokeWidth values stay
4109
+ intact (the overlap probe is gated to g[data-
4110
+ node], so this cluster-internal rect is invisible
4111
+ to it anyway). data-group-box-linecap + -linejoin
4112
+ attrs expose the values for tests. */
4113
+ strokeLinecap="round"
4114
+ strokeLinejoin="round"
3710
4115
  data-group-box-pinned={isPinned ? 'true' : 'false'}
4116
+ data-group-box-linecap="round"
4117
+ data-group-box-linejoin="round"
3711
4118
  // R85: ambient "marching ants" drift on the perimeter
3712
4119
  // when this group has at least one working member, and
3713
4120
  // neither pin nor hover is active (those treatments
@@ -3907,12 +4314,33 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3907
4314
  lives at a fixed dx=6 offset from the name, so a
3908
4315
  digit-width jitter at 9→10 used to shift the
3909
4316
  whole count visibly. Tabular locks it. */}
4317
+ {/* Round 366 / Loop: group label member-count tspan
4318
+ fontWeight 400 → 500. Sibling polish to R363
4319
+ recent-row alias text fw 400 → 500 + R364 legend-
4320
+ row label fw 400 → 500 — closes the per-row 'count
4321
+ is fw 500 against label-tier fw 700' pattern at
4322
+ the group-label scope (grid layout cluster mark).
4323
+ Hierarchy snapshot post-R366 across all 3 row
4324
+ surfaces:
4325
+ recent count(hot/cold) fw 700/600 (R320)
4326
+ recent alias fw 500 (R363)
4327
+ legend count fw 600 (R309)
4328
+ legend label fw 500 (R364)
4329
+ group name fw 700 (legacy)
4330
+ group count fw 500 (R366, this round)
4331
+ Monospace family + R225 tabular-nums lock digit
4332
+ width, so the fw bump is paint-only — bbox
4333
+ unchanged + overlap-test invariants hold. R229
4334
+ fill-inherit from parent label (hover-deepen-own-
4335
+ hue family) preserved. data-group-label-count-
4336
+ font-weight attr exposes the value for tests. */}
3910
4337
  <tspan
3911
4338
  dx="6"
3912
4339
  fontSize="11"
3913
- fontWeight="400"
4340
+ fontWeight="500"
3914
4341
  data-group-label-count={box.key}
3915
4342
  data-group-label-count-value={box.count}
4343
+ data-group-label-count-font-weight="500"
3916
4344
  style={{ fontVariantNumeric: 'tabular-nums' }}
3917
4345
  >· {box.count}</tspan>
3918
4346
  {/* Round 58 / Loop: status mix pip strip. Compact text-
@@ -4043,13 +4471,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4043
4471
  // synchronised per-edge animation set.
4044
4472
  const stagger = (index * 0.37) % duration;
4045
4473
  // Round 10 / Loop: freshness fade. An edge that fired ≤30s ago
4046
- // stays at full intensity; over 5 minutes it decays to ~35%.
4047
- // Surfaces "what's happening now" vs background chatter without
4048
- // hiding old flow entirely (some context still useful). `now`
4049
- // captured at useMemo-recompute time (every 5s message refresh)
4050
- // — accuracy is within the poll interval, plenty.
4474
+ // stays at full intensity; over 5 minutes it decays to a
4475
+ // floor. Surfaces "what's happening now" vs background
4476
+ // chatter without hiding old flow entirely (some context
4477
+ // still useful). `now` captured at useMemo-recompute time
4478
+ // (every 5s message refresh) — accuracy is within the poll
4479
+ // interval, plenty.
4480
+ //
4481
+ // Round 406 / Loop: edge freshness fade floor 0.35 → 0.40.
4482
+ // Stale-state legibility lift family (6th anchor) — pre-
4483
+ // R406 edges older than 5 minutes faded to α=0.35 (a 65 %
4484
+ // dim against full intensity). The decay rate is the same
4485
+ // 1 - ageMs/300s curve; only the FLOOR shifts. Sibling
4486
+ // treatment to:
4487
+ // R317 subordinate-text gray-500 → gray-400
4488
+ // R358 freshness ramp floor 0.25 → 0.30
4489
+ // R372 minimap offline-dot opacity 0.5 → 0.6
4490
+ // R404 hub-halo cyber trough 0.08 → 0.10
4491
+ // R405 hub-halo light trough 0.32 → 0.34
4492
+ // R406 edge freshness floor 0.35 → 0.40 (this round)
4493
+ // Edges past 5min now sit at 40% intensity instead of 35%
4494
+ // — they still recede against fresh edges but read
4495
+ // legibly enough to convey "this conversation existed".
4496
+ // ageMs threshold for the 5-minute decay unchanged; the
4497
+ // decay curve shape (linear) unchanged. The visual delta
4498
+ // is most pronounced on edges between 5-60 minutes old —
4499
+ // where the floor was binding pre-R406.
4051
4500
  const ageMs = link.last_at ? Math.max(0, Date.now() - Date.parse(link.last_at)) : 0;
4052
- const fresh = Math.max(0.35, 1 - ageMs / (5 * 60 * 1000));
4501
+ const fresh = Math.max(0.40, 1 - ageMs / (5 * 60 * 1000));
4053
4502
  // Round 16 arrow-tier binning — keep `topo-arrow` as the
4054
4503
  // medium tier id so the legend swatch picks it up unchanged.
4055
4504
  const arrowId = link.count <= 2 ? 'topo-arrow-s'
@@ -4201,20 +4650,56 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4201
4650
  online chips to splice in additional properties
4202
4651
  beside Tailwind's). data-edge-flow-rail attr
4203
4652
  surfaces the path for test introspection. */}
4653
+ {/* Round 381 / Loop: edge visible flow path picks up
4654
+ strokeLinecap='round'. Sibling polish to R378
4655
+ flow-rail dashed linecap — both flow-element paths
4656
+ (visible primary + dashed secondary rail) now share
4657
+ 'round' linecap vocabulary. The visible path runs
4658
+ source-node → dest-node as one continuous line, so
4659
+ the dest-end is covered by the markerEnd arrow and
4660
+ the source-end usually sits inside the source-node
4661
+ circle. At certain alignments (post-zoom, post-
4662
+ layout-switch transitions), the source-end may peek
4663
+ out by a fraction of a px past the node edge —
4664
+ round caps render that overshoot as a smooth half-
4665
+ disc instead of a sharp rectangle. Pure paint
4666
+ refinement, geometry-safe (bbox of the stroke
4667
+ unchanged at the join with the arrow marker).
4668
+ data-edge-visible-linecap attr exposes the value
4669
+ for tests. */}
4204
4670
  <path
4205
4671
  d={path}
4206
4672
  fill="none"
4207
4673
  stroke={pal.flowEdge}
4208
4674
  strokeWidth={renderWidth}
4675
+ strokeLinecap="round"
4209
4676
  opacity={Math.min(1, (isLight ? 0.22 : 0.28) * fresh * edgeOpacityMul)}
4210
4677
  filter={isLight ? undefined : 'url(#topo-glow)'}
4211
4678
  markerEnd={`url(#${arrowId})`}
4212
4679
  data-edge-visible={link.key}
4680
+ data-edge-visible-linecap="round"
4213
4681
  style={{
4214
4682
  pointerEvents: 'none',
4215
4683
  transition: 'opacity 300ms ease-out, stroke-width 300ms ease-out, stroke 300ms ease-out',
4216
4684
  }}
4217
4685
  />
4686
+ {/* Round 378 / Loop: edge flow-path dashed-rail picks
4687
+ up strokeLinecap='round'. Pre-R378 the rail
4688
+ rendered '2 12' dashes as sharp 1×2 rectangles
4689
+ against the canvas backdrop; default 'butt' caps
4690
+ leave dash ends square. R378 rounds each cap so
4691
+ the dashes read as soft 3-px pills (1 px stroke +
4692
+ 0.5 px round cap each end). The flow-rail is the
4693
+ secondary 'invisible-spine' line that gives the
4694
+ R57 spoke flow a directional rail to slide along
4695
+ — rounding the dashes softens its presence
4696
+ against the primary visible flow path (R245 has
4697
+ no strokeLinecap so it inherits 'butt' on a
4698
+ continuous line, irrelevant). Geometry-safe:
4699
+ round caps only widen the visible dash; the
4700
+ bbox of the path is unchanged so overlap-test
4701
+ invariants hold. data-edge-flow-rail-linecap
4702
+ attr exposes the value for tests. */}
4218
4703
  <path
4219
4704
  id={`flow-path-${index}`}
4220
4705
  d={path}
@@ -4222,8 +4707,10 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4222
4707
  stroke={pal.flowPath}
4223
4708
  strokeWidth="1"
4224
4709
  strokeDasharray="2 12"
4710
+ strokeLinecap="round"
4225
4711
  opacity={Math.min(1, (isLight ? 0.4 : 0.75) * fresh * edgeOpacityMul)}
4226
4712
  data-edge-flow-rail={link.key}
4713
+ data-edge-flow-rail-linecap="round"
4227
4714
  style={{ transition: 'opacity 300ms ease-out, stroke 300ms ease-out' }}
4228
4715
  />
4229
4716
  {!reducedMotion && (
@@ -4588,14 +5075,137 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4588
5075
  R251 closes the per-edge surface theme-toggle
4589
5076
  smoothness — every theme-driven property on
4590
5077
  every edge element now eases under cyber↔light. */}
5078
+ {/* Round 367 / Loop: edge midpoint badge rest
5079
+ stroke-width 1 → 1.25. Sibling visual-weight
5080
+ bump family (7th canvas anchor now):
5081
+ R287 minimap viewport stroke 1 → 1.5
5082
+ R295 legend swatch base radius 5.5 → 6
5083
+ R359 recent-row pip base radius 1.6 → 1.8
5084
+ R360 hub digit fontSize 11 → 12
5085
+ R361 edge-badge digit fontSize 10 → 11
5086
+ R365 hub-highlight base radius 5 → 5.5
5087
+ R367 edge-badge rest stroke 1 → 1.25 (this round)
5088
+ Cold edge badges gain ~25 % stroke presence
5089
+ (1.25/1.0 = 1.25). Stays clear of the R51
5090
+ overlap-test sentinel values (1.5 / 3 reserved
5091
+ for node strokes — the test selector is gated
5092
+ to g[data-node] ancestors so this edge-internal
5093
+ circle is invisible to that probe anyway, but
5094
+ 1.25 is a safe non-sentinel value regardless).
5095
+ R188 transition list 'stroke-width 300ms ease-
5096
+ out' still smoothes the hot/pin flip — now
5097
+ 1.25 → 2 instead of 1 → 2, same ease pace.
5098
+ data-edge-badge-stroke-width-rest exposes the
5099
+ new baseline for tests. */}
5100
+ {/* Round 371 / Loop: edge-badge cyber opacity 0.82
5101
+ → 0.85. Sibling theme-consistency polish to R370
5102
+ hub hover-ring 0.7 → 0.8. R251 designed this
5103
+ badge with opacity 0.82 (cyber) / 0.95 (light)
5104
+ — 13 % delta. Cyber-theme dark bg needs more
5105
+ alpha to read as 'present'; R371 narrows the
5106
+ gap to 10 %, bringing the badge closer to light
5107
+ theme's 0.95 floor. Light stays at 0.95
5108
+ (already in the legibility band). data-edge-
5109
+ badge-opacity attr exposes the resolved value.
5110
+ Theme-consistency polish family:
5111
+ R246/R247 panel transition family
5112
+ R251 edge badge fill/opacity baseline
5113
+ R370 hub hover-ring cyber 0.7 → 0.8
5114
+ R371 edge badge cyber 0.82 → 0.85 (this round)
5115
+ R164 r=9/10.5 hover-lift + R188/R251 transition
5116
+ list + R367 strokeWidth=1.25 cold rest preserved. */}
5117
+ {/* Round 394 / Loop: edge-badge gains a hover
5118
+ strokeWidth tier (1.5) between cold rest
5119
+ (R367 1.25) and pin/hot (2). Pre-R394 the
5120
+ badge lifted only its radius on hover (R164
5121
+ 9 → 10.5); the stroke stayed at cold rest
5122
+ 1.25 unless pin/hot kicked in, so a plain
5123
+ hover felt half-lifted — geometry expanded
5124
+ while the contour stayed thin. R394 adds
5125
+ strokeWidth=1.5 on isHoveredEdge so hover
5126
+ now lifts both r AND stroke in concert —
5127
+ same pattern R385 used for the hub hover-
5128
+ ring (1.5 → 1.75) where the ring's three
5129
+ hover axes (r grow / opacity fade-in /
5130
+ stroke thicken) all rise together.
5131
+ Three-tier stroke hierarchy now:
5132
+ cold rest 1.25 (R367)
5133
+ hovered 1.5 (R394 — this round)
5134
+ pinned / hot 2.0 (R188)
5135
+ R51 sentinel concern: strokeWidth=1.5 is
5136
+ one of the two sentinels reserved for node
5137
+ detection, but the R51 selector is gated
5138
+ to `g[data-node]` ancestors so this edge-
5139
+ internal circle is invisible to the probe
5140
+ (same lesson R177 hub hover-ring + R367
5141
+ cold rest documented). 300ms strokeWidth
5142
+ transition already in the style list eases
5143
+ the new tier naturally. data-edge-badge-
5144
+ stroke-width-hover attr exposes the hover
5145
+ value for tests. */}
5146
+ {/* Round 395 / Loop: edge-badge gains a third
5147
+ hover axis — opacity 0.85 (cyber) / 0.95
5148
+ (light) → 1.0 on isHoveredEdge. Pre-R395
5149
+ hovering thickened the stroke (R394 1.25 →
5150
+ 1.5) and grew the radius (R164 9 → 10.5)
5151
+ but the badge's translucency stayed put at
5152
+ R371's rest alpha (cyber 0.85 / light 0.95).
5153
+ R395 lifts hover to a clean 1.0 — fully
5154
+ opaque — so the hovered badge reads as
5155
+ "in focus" against the dim siblings.
5156
+ Three-axis hover-lift parity now complete:
5157
+ hub hover-ring (R177/R370/R385):
5158
+ r 14 → 17, opacity 0 → 0.8 cyber, sw 1.5 → 1.75
5159
+ edge badge (R164/R394/R395):
5160
+ r 9 → 10.5, sw 1.25 → 1.5, opacity → 1.0
5161
+ 200ms opacity transition (already in the
5162
+ style list) eases the new axis naturally.
5163
+ R371 rest opacity (0.85 cyber / 0.95 light)
5164
+ preserved as the resting alpha — R395
5165
+ adds an isHoveredEdge override on top.
5166
+ data-edge-badge-opacity-hover attr exposes
5167
+ the hover value for tests. */}
5168
+ {/* Round 396 / Loop: extend the R395 opacity → 1.0
5169
+ lift to the pinned state. Pre-R396 the badge
5170
+ shared `r=10.5` on both hover AND pin (R164
5171
+ unified-lift) but R395's opacity lift fired
5172
+ ONLY on isHoveredEdge — pinned badges stayed
5173
+ at R371 rest alpha (cyber 0.85 / light 0.95).
5174
+ That left pin (sticky selection) reading
5175
+ softer than hover (transient preview), even
5176
+ though pin is the stronger commitment.
5177
+ R396 unifies hover + pin at opacity=1.0
5178
+ so the same data-edge-badge-lifted='true'
5179
+ surface uniformly carries full alpha. Pin
5180
+ stroke (R188 sw=2 + pal.legendHeadline color)
5181
+ continues to differentiate pin from hover —
5182
+ the opacity track now closes the lift parity.
5183
+ The new gate (isHoveredEdge || isPinned)
5184
+ mirrors the existing R164 r-lift gate, so
5185
+ the badge has a single "active state"
5186
+ signature across r + opacity.
5187
+ 200ms opacity transition (already in style
5188
+ list) eases pin/unpin naturally. R371 rest
5189
+ opacity preserved as the resting alpha.
5190
+ data-edge-badge-opacity-hover renamed
5191
+ semantically to -active (covers hover+pin)
5192
+ via the new -opacity-active attr; the
5193
+ legacy -opacity-hover attr kept for R395
5194
+ test compatibility. */}
4591
5195
  <circle
4592
5196
  cx={badgeX} cy={badgeY}
4593
5197
  r={isHoveredEdge || isPinned ? 10.5 : 9}
4594
5198
  fill={pal.legendBox.fill}
4595
5199
  stroke={isPinned ? pal.legendHeadline : isHot ? hotStroke : pal.flowEdge}
4596
- strokeWidth={isPinned ? 2 : isHot ? 2 : 1}
4597
- opacity={isLight ? 0.95 : 0.82}
5200
+ strokeWidth={isPinned ? 2 : isHot ? 2 : isHoveredEdge ? 1.5 : 1.25}
5201
+ opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
4598
5202
  data-edge-badge-lifted={(isHoveredEdge || isPinned) ? 'true' : 'false'}
5203
+ data-edge-badge-stroke-width-rest="1.25"
5204
+ data-edge-badge-stroke-width-hover="1.5"
5205
+ data-edge-badge-opacity={(isHoveredEdge || isPinned) ? 1 : (isLight ? 0.95 : 0.85)}
5206
+ data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
5207
+ data-edge-badge-opacity-hover="1"
5208
+ data-edge-badge-opacity-active="1"
4599
5209
  style={{ transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out' }}
4600
5210
  />
4601
5211
  {/* Round 224 / Loop: edge badge text gains the 4th
@@ -4634,11 +5244,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4634
5244
  x={badgeX} y={badgeY + 3}
4635
5245
  textAnchor="middle"
4636
5246
  fill={pal.legendHeadline}
4637
- fontSize="10"
5247
+ /* Round 361 / Loop: edge midpoint badge text
5248
+ fontSize 10 → 11. Sibling visual-weight bump
5249
+ to R360 hub digit 11 → 12. The badge digit
5250
+ is the per-edge equivalent of the hub digit
5251
+ — a high-information scalar (link.count) at
5252
+ a stable canvas position. Pre-R361 fontSize=
5253
+ 10 + R220 letter-spacing 0.4 + R224 tabular-
5254
+ nums made the digit READABLE but small
5255
+ against the r=9 / 18-px badge envelope;
5256
+ fontSize=11 nudges the glyph ~10 % bigger
5257
+ (bbox ~7×10 px from ~6×9 px) so the count
5258
+ reads more cleanly at glance — still well
5259
+ inside the r=9 idle circle and the r=10.5
5260
+ hover/pin lift (R164). y=badgeY+3 empirical
5261
+ vertical centring kept (1px drift at the
5262
+ bumped size is below the noise floor in
5263
+ the on-curve flow path).
5264
+ Visual-weight bump family:
5265
+ R287 minimap viewport stroke 1 → 1.5
5266
+ R295 legend swatch base radius 5.5 → 6
5267
+ R359 recent-row pip base radius 1.6 → 1.8
5268
+ R360 hub digit fontSize 11 → 12
5269
+ R361 edge-badge digit fontSize 10 → 11 (this round)
5270
+ data-edge-badge-text-font-size attr exposes
5271
+ the value for tests. R220 pin/hot letter-
5272
+ spacing tween + R224 tabular-nums + R188
5273
+ stroke-width pin/hot transitions all preserved. */
5274
+ fontSize="11"
4638
5275
  fontFamily="monospace"
4639
5276
  fontWeight="700"
4640
5277
  data-edge-badge-text={link.key}
4641
5278
  data-edge-badge-text-pin={(isPinned || isHot) ? 'true' : 'false'}
5279
+ data-edge-badge-text-font-size="11"
4642
5280
  style={{
4643
5281
  pointerEvents: 'none',
4644
5282
  fontVariantNumeric: 'tabular-nums',
@@ -4754,19 +5392,68 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4754
5392
  : workingCount <= 2 ? 1
4755
5393
  : workingCount <= 5 ? 2
4756
5394
  : 3;
5395
+ // Round 404 / Loop: hub-halo cyber trough opacity 0.08 →
5396
+ // 0.10. Pre-R404 the breath's low-point sat at α=0.08
5397
+ // cyber (per R84 family tuning) — the halo nearly faded
5398
+ // out at trough on the dark canvas. R404 lifts cyber
5399
+ // trough to 0.10. Per-bucket peak amplitudes [0.16/0.20/
5400
+ // 0.26/0.32] stay exactly tuned.
5401
+ //
5402
+ // Round 405 / Loop: hub-halo LIGHT trough 0.32 → 0.34 —
5403
+ // symmetric +0.02 lift to mirror R404's cyber treatment
5404
+ // across both themes. Pre-R405 only cyber got the lift
5405
+ // (R404 docstring noted "light already at the strong
5406
+ // end" as deliberate); but the cyber/light delta in
5407
+ // R404 was an inconsistency in the family pattern.
5408
+ // R405 closes the symmetry — both themes get +0.02
5409
+ // baseline lift, so the breath low-point reads with
5410
+ // matching confidence regardless of theme. Light peak
5411
+ // array [0.52/0.58/0.65/0.72] stays tuned.
5412
+ //
5413
+ // Stale-state legibility lift family (5 anchors now):
5414
+ // R317 subordinate-text gray-500 → gray-400
5415
+ // R358 freshness floor 0.25 → 0.30
5416
+ // R372 minimap offline-dot opacity 0.5 → 0.6
5417
+ // R404 hub-halo cyber trough 0.08 → 0.10
5418
+ // R405 hub-halo light trough 0.32 → 0.34 (this round)
5419
+ //
5420
+ // R84 per-bucket peak/dur + R245 ease-in-out spline
5421
+ // keySplines all preserved. Test fixture probes the
5422
+ // SMIL <animate> values via data-topo-hub-halo-trough
5423
+ // attr (now exposes both light + cyber resolved values).
4757
5424
  const peakLight = [0.52, 0.58, 0.65, 0.72][busy];
4758
5425
  const peakDark = [0.16, 0.20, 0.26, 0.32][busy];
4759
- const troughLight = 0.32;
4760
- const troughDark = 0.08;
5426
+ const troughLight = 0.34;
5427
+ const troughDark = 0.10;
4761
5428
  const dur = [4.0, 3.2, 2.7, 2.4][busy];
4762
5429
  const valuesLight = `${troughLight};${peakLight};${troughLight}`;
4763
5430
  const valuesDark = `${troughDark};${peakDark};${troughDark}`;
5431
+ // Round 408 / Loop: hub-halo radius 18 → 20. The
5432
+ // grounding halo (the breathing outer circle around
5433
+ // the hub center) is the canvas's signature breath
5434
+ // element — R84 family. R408 bumps r=18 → 20 so the
5435
+ // breath extends slightly further while keeping 4px
5436
+ // clearance before the spoke origin (still room for
5437
+ // spoke start anchors). Visual presence on the
5438
+ // canvas focal point lifts ~23% area (π·20²/π·18²
5439
+ // = 1.23) without changing the per-bucket opacity
5440
+ // envelope or breath rhythm. Visual-weight bump
5441
+ // family 13th anchor — pairs with R404/R405 trough
5442
+ // lifts so the halo now breathes both with more
5443
+ // visible amplitude AND more visual footprint.
5444
+ // R84 per-bucket peak/dur invariants + R244 calc-
5445
+ // Mode='spline' + R245 ease-in-out keySplines all
5446
+ // preserved. data-topo-hub-halo-radius attr exposes
5447
+ // value for tests.
4764
5448
  return (
4765
5449
  <circle
4766
- cx={cx} cy={cy} r="18"
5450
+ cx={cx} cy={cy} r="20"
4767
5451
  fill={isLight ? '#d1fae5' : '#10b981'}
4768
5452
  opacity={isLight ? 0.42 : 0.12}
4769
5453
  data-hub-busyness={busy}
5454
+ data-topo-hub-halo-radius="20"
5455
+ data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
5456
+ data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
4770
5457
  /* Round 253 / Loop: hub grounding halo fill transition
4771
5458
  for theme toggle. Pre-R253 the base fill (cyber
4772
5459
  #10b981 ↔ light #d1fae5) snapped while R244's SMIL
@@ -4865,11 +5552,27 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4865
5552
  textAnchor="middle"
4866
5553
  dy="0.36em"
4867
5554
  fill={isLight ? '#d1fae5' : '#ecfdf5'}
4868
- fontSize="11"
5555
+ /* Round 360 / Loop: hub working-count digit fontSize 11
5556
+ → 12. The hub is the canvas's focal point — its digit
5557
+ is the most-read scalar on the whole topology. R130
5558
+ sized it at 11 (well inside the r=10 / 20-px core);
5559
+ R360 nudges it to 12 (~13 px wide × 12 px tall, still
5560
+ well inside the 20-px diameter) for ~9 % more presence.
5561
+ Sibling visual-weight bump family:
5562
+ R287 minimap viewport stroke 1 → 1.5
5563
+ R295 legend swatch base radius 5.5 → 6
5564
+ R359 recent-row pip radius 1.6 → 1.8
5565
+ R360 hub digit fontSize 11 → 12 (this round)
5566
+ The R209 scale-1.08-on-hub-hover, R225 tabular-nums,
5567
+ R253 fill transition, R213 always-mount opacity gate
5568
+ all preserved. data-topo-hub-working-count-font-size
5569
+ attr exposes the value for tests. */
5570
+ fontSize="12"
4869
5571
  fontFamily="monospace"
4870
5572
  fontWeight="700"
4871
5573
  opacity={workingCount > 0 ? 1 : 0}
4872
5574
  data-topo-hub-working-count={workingCount}
5575
+ data-topo-hub-working-count-font-size="12"
4873
5576
  data-topo-hub-working-count-hovered={hoveredHub ? 'true' : 'false'}
4874
5577
  data-topo-hub-working-count-visible={workingCount > 0 ? 'true' : 'false'}
4875
5578
  // Round 209 / Loop: hub workingCount digit scales 1.0 →
@@ -4910,12 +5613,53 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4910
5613
  {workingCount}
4911
5614
  </text>
4912
5615
  {/* decorative highlight (visible when workingCount === 0) */}
5616
+ {/* Round 365 / Loop: hub-center 'lit-lamp' decorative highlight
5617
+ circle r 5 → 5.5. Sibling visual-weight bump family —
5618
+ each round lifts one canvas anchor's geometric presence
5619
+ without disturbing its bbox envelope:
5620
+ R287 minimap viewport stroke 1 → 1.5
5621
+ R295 legend swatch base radius 5.5 → 6
5622
+ R359 recent-row pip base radius 1.6 → 1.8
5623
+ R360 hub digit fontSize 11 → 12
5624
+ R361 edge-badge digit fontSize 10 → 11
5625
+ R365 hub-highlight base radius 5 → 5.5 (this round)
5626
+ The highlight only renders when workingCount === 0
5627
+ (decorative 'lamp lit but idle' state per R130 + R213
5628
+ always-mount opacity-gate). At idle, the 0.5-px radius
5629
+ bump (21 % area, π*5.5² / π*5² = 1.21) lifts the lamp's
5630
+ presence — still well inside the r=10 hub-core (R130).
5631
+ opacity=0 when working preserved so the hub-digit's R130
5632
+ takeover stays seamless. R213 always-mount opacity-gate
5633
+ + 300ms opacity transition + pointerEvents:none all
5634
+ preserved. data-topo-hub-highlight-radius attr exposes
5635
+ the value for tests. */}
5636
+ {/* Round 386 / Loop: hub-highlight idle opacity 0.9 → 0.95.
5637
+ When workingCount===0 the highlight paints as the visible
5638
+ idle "lamp lit but no work" core (R130 takeover gate).
5639
+ Pre-R386 idle opacity was 0.9 — a ~6 % fade against full
5640
+ paint that read as slightly-dimmed-ghost on the focal
5641
+ point. R386 lifts to 0.95 (idle alpha gap halved 0.10
5642
+ → 0.05) so the canvas anchor reads more confidently
5643
+ as a present-but-idle state rather than a faded ghost.
5644
+ Theme-consistency / canvas-presence polish family (4th
5645
+ anchor):
5646
+ R370 hub hover-ring opacity 0.7 → 0.8 cyber
5647
+ R371 edge-badge rest opacity 0.82 → 0.85 cyber
5648
+ R372 minimap offline-dot opacity 0.5 → 0.6
5649
+ R386 hub-highlight idle opacity 0.9 → 0.95 (this round)
5650
+ opacity=0 when working preserved so the hub-digit's
5651
+ R130 takeover stays seamless. 300ms opacity transition
5652
+ + R213 always-mount opacity-gate + pointerEvents:none
5653
+ + R365 r=5.5 all preserved. data-topo-hub-highlight-
5654
+ opacity attr exposes the resolved value for tests. */}
4913
5655
  <circle
4914
- cx={cx} cy={cy} r="5"
5656
+ cx={cx} cy={cy} r="5.5"
4915
5657
  fill="#d1fae5"
4916
- opacity={workingCount > 0 ? 0 : 0.9}
5658
+ opacity={workingCount > 0 ? 0 : 0.95}
4917
5659
  data-topo-hub-highlight
4918
5660
  data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
5661
+ data-topo-hub-highlight-radius="5.5"
5662
+ data-topo-hub-highlight-opacity={workingCount > 0 ? 0 : 0.95}
4919
5663
  style={{
4920
5664
  pointerEvents: 'none',
4921
5665
  transition: 'opacity 300ms ease-out',
@@ -4946,15 +5690,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4946
5690
  R142 group boxes, R143/R144 rows, R164 edge badges,
4947
5691
  R177 hub ring). prefers-reduced-motion respected via
4948
5692
  R29 globals.css blanket. */}
5693
+ {/* Round 385 / Loop: hub hover-ring strokeWidth 1.5 → 1.75.
5694
+ Sibling visual-weight bump (11th anchor) to R367 edge-
5695
+ badge rest stroke 1 → 1.25. The ring is only visible
5696
+ during hub hover (opacity=0 rest, R177 + R370 control
5697
+ the hover-state alpha) so the change manifests purely
5698
+ as a thicker hover-state ring on the canvas focal
5699
+ point. R177 r 14 → 17 grow + R370 opacity 0 → 0.8
5700
+ already lift the hover cue; R385 adds stroke weight
5701
+ as the third lift axis. Stays clear of R51 overlap-
5702
+ test sentinel value 3 (1.75 is non-sentinel); the
5703
+ R51 selector is gated to g[data-node] ancestors so
5704
+ this hub-internal circle is invisible to the probe
5705
+ regardless. R253 stroke transition + pointerEvents:
5706
+ none preserved. data-topo-hub-hover-ring-stroke-width
5707
+ attr exposes the value for tests. */}
4949
5708
  <circle
4950
5709
  cx={cx} cy={cy}
4951
5710
  r={hoveredHub ? 17 : 14}
4952
5711
  fill="none"
4953
5712
  stroke={isLight ? '#059669' : '#10b981'}
4954
- strokeWidth="1.5"
4955
- opacity={hoveredHub ? (isLight ? 0.85 : 0.7) : 0}
5713
+ strokeWidth="1.75"
5714
+ /* Round 370 / Loop: hub hover-ring cyber opacity 0.7
5715
+ 0.8. R177 designed the hub hover-ring at opacity-0 →
5716
+ 0.85 (light) / 0 → 0.7 (cyber). The 15 % gap between
5717
+ the two themes meant cyber-theme operators got a
5718
+ noticeably softer hover cue than light-theme users
5719
+ against backgrounds that should equalise (dark bg
5720
+ needs more luminance to read as 'on'). R370 bumps
5721
+ cyber 0.7 → 0.8, narrowing the theme gap to 5 % —
5722
+ sibling theme-consistency polish to R251 edge badge
5723
+ fill/opacity (cyber 0.82 / light 0.95) and R246/R247
5724
+ panel transition families. Light theme 0.85 stays
5725
+ as is (already in the legibility band). data-topo-
5726
+ hub-hover-ring-opacity attr exposes the value for
5727
+ tests. */
5728
+ opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
4956
5729
  data-topo-hub-hover-ring
4957
5730
  data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
5731
+ data-topo-hub-hover-ring-stroke-width="1.75"
5732
+ data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
4958
5733
  /* Round 253 / Loop: hub hover ring also gets stroke
4959
5734
  transition for theme toggle (cyber #10b981 ↔ light
4960
5735
  #059669). The opacity + r transitions stay for hover
@@ -5383,14 +6158,49 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
5383
6158
  keyTimes="0;0.5;1"
5384
6159
  keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
5385
6160
  />
6161
+ {/* Round 409 / Loop: active-node pulse peak
6162
+ opacity lift — cyber 0.18 → 0.20 / light
6163
+ 0.12 → 0.14. The R243 pulse is the per-
6164
+ node "this alias has recent flow" breath;
6165
+ its peak amplitude was tuned in R243 but
6166
+ sat at 0.18 cyber / 0.12 light — visible
6167
+ but understated against the surrounding
6168
+ status halos (R407 lifted offline halos
6169
+ 0.25→0.30 cyber; online halos sit at 0.65
6170
+ cyber). R409 lifts peak +0.02 on both
6171
+ themes so the active-state breath reads
6172
+ more confidently at its high-point while
6173
+ the trough (0.04 cyber / 0.02 light)
6174
+ stays put — breath amplitude widens
6175
+ slightly (cyber 0.14 → 0.16; light 0.10
6176
+ → 0.12) without changing rhythm or dur.
6177
+ Theme-consistency / canvas-presence family
6178
+ (9 anchors now):
6179
+ R370 hub hover-ring 0.7 → 0.8 cyber
6180
+ R371 edge-badge rest 0.82 → 0.85 cyber
6181
+ R372 minimap offline-dot 0.5 → 0.6
6182
+ R386 hub-highlight idle 0.9 → 0.95
6183
+ R387 hover-detail panel 0.94 → 0.97 cyber
6184
+ R391 hub-spoke active 0.7 → 0.8
6185
+ R392 minimap online-dot 0.9 → 0.95
6186
+ R403 click-ripple start 0.7 → 0.8
6187
+ R409 active-node pulse peak (this round)
6188
+ cyber 0.18 → 0.20
6189
+ light 0.12 → 0.14
6190
+ R243 always-mount opacity-gate + R243
6191
+ ease-in-out keySplines + r animation
6192
+ (radius+8 ↔ radius+22) preserved.
6193
+ data-node-pulse-peak attr exposes the
6194
+ resolved per-theme peak for tests. */}
5386
6195
  <animate
5387
6196
  attributeName="opacity"
5388
- values={isLight ? '0.12;0.02;0.12' : '0.18;0.04;0.18'}
6197
+ values={isLight ? '0.14;0.02;0.14' : '0.20;0.04;0.20'}
5389
6198
  dur="2.4s"
5390
6199
  repeatCount="indefinite"
5391
6200
  calcMode="spline"
5392
6201
  keyTimes="0;0.5;1"
5393
6202
  keySplines="0.42 0 0.58 1;0.42 0 0.58 1"
6203
+ data-node-pulse-peak={isLight ? '0.14' : '0.20'}
5394
6204
  />
5395
6205
  </circle>
5396
6206
  </g>
@@ -5435,12 +6245,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
5435
6245
  parent stays for status flips. data-node-halo-
5436
6246
  breath-offset surfaces the chosen offset for
5437
6247
  test introspection. */}
6248
+ {/* Round 407 / Loop: offline node halo opacity lift —
6249
+ cyber 0.25 → 0.30 and light 0.4 → 0.45. Pre-R407
6250
+ offline node halos faded to α=0.25 cyber (75 %
6251
+ dim) / α=0.4 light. On the dark canvas the 0.25
6252
+ halo read as "nearly gone" — exactly the
6253
+ legibility floor R404/R405 just lifted on the
6254
+ hub-halo and R372 lifted on minimap offline dots.
6255
+ R407 closes the same family at the per-node halo
6256
+ surface: +0.05 lift on both themes so offline
6257
+ anchors stay legibly present without crossing into
6258
+ "could be online" territory (online cyber 0.65 /
6259
+ light 0.85 unchanged — the 0.30/0.65 cyber ratio
6260
+ still gives 2.17× contrast for online/offline).
6261
+ Stale-state legibility lift family (7 anchors now):
6262
+ R317 subordinate-text gray-500 → gray-400
6263
+ R358 freshness floor 0.25 → 0.30
6264
+ R372 minimap offline-dot 0.5 → 0.6
6265
+ R404 hub-halo cyber trough 0.08 → 0.10
6266
+ R405 hub-halo light trough 0.32 → 0.34
6267
+ R406 edge freshness floor 0.35 → 0.40
6268
+ R407 node halo offline opacity (this round)
6269
+ cyber 0.25 → 0.30
6270
+ light 0.4 → 0.45
6271
+ R278 retired-breath gate + R12 status.halo color
6272
+ + R226 phase stagger code-path preserved (the
6273
+ breath stays disabled per Vincent's R278 ask;
6274
+ only the BASE opacity floor shifts here). transi-
6275
+ tion list ('fill,opacity' 300ms ease-out) unchanged.
6276
+ data-node-halo-offline-opacity attr exposes the
6277
+ resolved value for tests. */}
5438
6278
  <circle
5439
6279
  cx={pos.x}
5440
6280
  cy={pos.y}
5441
6281
  r={radius + 8}
5442
6282
  fill={status.halo}
5443
- opacity={isOnline ? (isLight ? 0.85 : 0.65) : (isLight ? 0.4 : 0.25)}
6283
+ opacity={isOnline ? (isLight ? 0.85 : 0.65) : (isLight ? 0.45 : 0.30)}
6284
+ data-node-halo-offline-opacity={isOnline ? undefined : (isLight ? 0.45 : 0.30)}
5444
6285
  className="transition-[fill,opacity] duration-300 ease-out"
5445
6286
  data-node-halo-breath={!reducedMotion && session.status === 'working' ? 'on' : 'off'}
5446
6287
  data-node-halo-breath-offset={
@@ -6071,26 +6912,122 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6071
6912
  const detailY = pos.y - detailH / 2;
6072
6913
  return (
6073
6914
  <g transform={`translate(${detailX}, ${detailY})`} data-topo-hover-detail={session.alias} style={{ pointerEvents: 'none' }}>
6915
+ {/* Round 387 / Loop: hover-detail panel cyber backdrop
6916
+ opacity 0.94 → 0.97. The hover-detail card is
6917
+ ALWAYS rendered in active-hover context (it IS
6918
+ the hover product), so it should carry the
6919
+ same backdrop weight as the R348 recent-signal /
6920
+ legend panel HOVER state (which lifts 0.92 →
6921
+ 0.97 cyber). Pre-R387 the card sat at 0.94
6922
+ cyber, leaving a 0.03 alpha gap against the
6923
+ R348 panel-hover state — small but visible
6924
+ when the hover-detail floats next to a hovered
6925
+ recent-signal panel. R387 unifies them at 0.97
6926
+ so all active-hover panels paint with the same
6927
+ confident backdrop opacity in cyber. Light
6928
+ stays at 0.98 (already at the strong end —
6929
+ R348 light also stays at 0.97/0.98 max).
6930
+ Theme-consistency / canvas-presence polish
6931
+ family (5th anchor):
6932
+ R370 hub hover-ring opacity 0.7 → 0.8 cyber
6933
+ R371 edge-badge rest opacity 0.82 → 0.85 cyber
6934
+ R372 minimap offline-dot opacity 0.5 → 0.6
6935
+ R386 hub-highlight idle opacity 0.9 → 0.95
6936
+ R387 hover-detail panel opacity 0.94 → 0.97 cyber (this round)
6937
+ data-topo-hover-detail-opacity attr exposes
6938
+ the resolved value for tests. R348 drop-shadow
6939
+ + rx=8 + stroke=pal.legendAccent + fill=pal.
6940
+ labelBox.fill all preserved. */}
6941
+ {/* Round 390 / Loop: hover-detail card rx 8 → 10.
6942
+ Corner-radius cascade family — the hover-detail
6943
+ card is a panel-tier surface (192×88 floating
6944
+ info card with drop-shadow + stroke), so its
6945
+ corner radius should match the R331 panel tier
6946
+ (rx=10) used by the recent-signal and legend
6947
+ panels. Pre-R390 it shared rx=8 with the R332
6948
+ minimap and R375/R376 segmented-control tier
6949
+ (Layout-toggle, nodeSize, zoom wrappers),
6950
+ which is the "compact chrome control" tier —
6951
+ a tier mismatch for a content-bearing panel.
6952
+ Corner-radius cascade (6 anchors now):
6953
+ R330 canvas rx 12 (root)
6954
+ R331 panels rx 10 (recent-signal, legend)
6955
+ R332 minimap rx 8 (compact chrome)
6956
+ R375 Layout-toggle rx 8 (segmented control)
6957
+ R376 nodeSize/zoom rx 8 (segmented control)
6958
+ R390 hover-detail rx 10 (panel — this round)
6959
+ Pure paint change; no layout shift (rx grows
6960
+ the corner curve INWARD without changing the
6961
+ card's outer bbox). data-topo-hover-detail-
6962
+ rx attr exposes the resolved value for tests.
6963
+ R348 drop-shadow + stroke + R387 opacity all
6964
+ preserved. */}
6074
6965
  <rect
6075
- x="0" y="0" width={detailW} height={detailH} rx="8"
6966
+ x="0" y="0" width={detailW} height={detailH} rx="10"
6076
6967
  fill={pal.labelBox.fill}
6077
6968
  stroke={pal.legendAccent}
6078
- opacity={isLight ? 0.98 : 0.94}
6969
+ opacity={isLight ? 0.98 : 0.97}
6970
+ data-topo-hover-detail-opacity={isLight ? 0.98 : 0.97}
6971
+ data-topo-hover-detail-rx="10"
6079
6972
  style={{ filter: isLight ? 'drop-shadow(0 4px 12px rgba(15,23,42,0.16))' : 'drop-shadow(0 4px 12px rgba(0,0,0,0.6))' }}
6080
6973
  />
6081
6974
  <text x="10" y="16" fontSize="9" fontFamily="monospace" fill={pal.legendAccent} fontWeight="700">
6082
6975
  {v.id !== 'unknown' ? v.label : '—'}
6083
6976
  </text>
6084
- <text x="10" y="32" fontSize="10" fontFamily="monospace" fill={pal.legendHeadline}>
6977
+ {/* Round 389 / Loop: hover-detail model line (y=32)
6978
+ fontWeight 400 → 600. R388 lifted body lines
6979
+ (runtime/host/task at fontSize=9) to fw=500;
6980
+ R389 closes the typography hierarchy by giving
6981
+ the model name (the dominant subhead text in
6982
+ the card) its own weight tier. Three-tier
6983
+ ladder now reads cleanly:
6984
+ vendor fontSize=9 fw=700 (label badge)
6985
+ model fontSize=10 fw=600 (subhead — this round)
6986
+ body 3× fontSize=9 fw=500 (R388)
6987
+ One tier step per dimension (size + weight)
6988
+ between adjacent levels — classic editorial
6989
+ hierarchy idiom adapted to a 192×88 SVG card.
6990
+ Sibling to the chip-internal-hierarchy arc
6991
+ (R333-R341/R362/R369) which uses fw=600/500
6992
+ for digit/unit pairs; R389 applies the same
6993
+ fw=600 to a content-bearing identity line.
6994
+ data-topo-hover-detail-model-fw attr exposes
6995
+ the resolved value for tests. pal.legendHeadline
6996
+ fill preserved (R389 doesn't touch color). */}
6997
+ <text x="10" y="32" fontSize="10" fontFamily="monospace" fontWeight="600" fill={pal.legendHeadline} data-topo-hover-detail-model-fw="600">
6085
6998
  {session.model || 'model · pending'}
6086
6999
  </text>
6087
- <text x="10" y="48" fontSize="9" fontFamily="monospace" fill={pal.legendText}>
7000
+ {/* Round 388 / Loop: hover-detail body lines (the
7001
+ three fontSize=9 lines: runtime, host, task)
7002
+ gain fontWeight=500. Small-text fw lift family
7003
+ (6th anchor) — fontSize 9-10 px text reads
7004
+ consistently bolder at fw=500 than at the
7005
+ default 400 weight at small sizes, especially
7006
+ on the cyber-theme backdrop where stroke-
7007
+ rendering is the limiting factor.
7008
+ Sibling lifts in this family:
7009
+ R363 recent-row alias text 400 → 500
7010
+ R364 legend-row label 400 → 500
7011
+ R366 group-label count tspan 400 → 500
7012
+ R368 +N more flows footer 400 → 500
7013
+ R373 pressure-bar kicker (font-medium)
7014
+ R388 hover-detail body lines 400 → 500 (this round)
7015
+ Tier structure preserved:
7016
+ y=16 vendor (fw=700, headline)
7017
+ y=32 model (fontSize=10, subhead by size)
7018
+ y=48 runtime / y=64 host / y=80 task (body, now fw=500)
7019
+ The y=80 task line keeps opacity=0.7 so its
7020
+ caption-tier identity stays distinct from the
7021
+ y=48 / y=64 body lines despite shared fw.
7022
+ data-topo-hover-detail-body-fw attr exposes
7023
+ the resolved value for tests. */}
7024
+ <text x="10" y="48" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
6088
7025
  {rt ? rt.label : 'runtime · pending'}
6089
7026
  </text>
6090
- <text x="10" y="64" fontSize="9" fontFamily="monospace" fill={pal.legendText}>
7027
+ <text x="10" y="64" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} data-topo-hover-detail-body-fw="500">
6091
7028
  host · {session.server || 'unknown'}
6092
7029
  </text>
6093
- <text x="10" y="80" fontSize="9" fontFamily="monospace" fill={pal.legendText} opacity="0.7">
7030
+ <text x="10" y="80" fontSize="9" fontFamily="monospace" fontWeight="500" fill={pal.legendText} opacity="0.7" data-topo-hover-detail-body-fw="500">
6094
7031
  {session.task ? truncate(session.task, 28) : 'no recent task'}
6095
7032
  </text>
6096
7033
  </g>
@@ -6154,14 +7091,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6154
7091
  keySplines="0.25 0.1 0.25 1"
6155
7092
  fill="freeze"
6156
7093
  />
7094
+ {/* Round 403 / Loop: click-ripple SMIL initial opacity
7095
+ 0.7 → 0.8. Pre-R403 the ripple's opacity animation
7096
+ faded from 0.7 to 0 over 500ms, providing a clean
7097
+ click-feedback pulse. Theme-consistency / canvas-
7098
+ presence polish family (R370 hub hover-ring +
7099
+ R391 hub-spoke active) already lifted paired
7100
+ hover-state alphas from 0.7 → 0.8. R403 brings
7101
+ click-feedback into that same alpha — three canvas
7102
+ state-feedback indicators (hover-ring, active spoke,
7103
+ click ripple) now share a uniform 0.8 start alpha
7104
+ so the visual "I responded" signal carries the
7105
+ same weight regardless of which state fired it.
7106
+ Pre-R403 invariants preserved: 500ms duration,
7107
+ R227 calcMode='spline' + ease-out keySplines
7108
+ (0.25 0.1 0.25 1), fill='freeze', concurrent r
7109
+ animation. Theme-consistency family (8 anchors):
7110
+ R370 hub hover-ring 0.7 → 0.8
7111
+ R371 edge-badge rest 0.82 → 0.85 cyber
7112
+ R372 minimap offline-dot 0.5 → 0.6
7113
+ R386 hub-highlight idle 0.9 → 0.95
7114
+ R387 hover-detail panel 0.94 → 0.97 cyber
7115
+ R391 hub-spoke active 0.7 → 0.8
7116
+ R392 minimap online-dot 0.9 → 0.95
7117
+ R403 click-ripple start 0.7 → 0.8 (this round)
7118
+ data-click-ripple-start-opacity attr exposes the
7119
+ resolved value for tests. */}
6157
7120
  <animate
6158
7121
  attributeName="opacity"
6159
- values="0.7;0"
7122
+ values="0.8;0"
6160
7123
  dur="0.5s"
6161
7124
  calcMode="spline"
6162
7125
  keyTimes="0;1"
6163
7126
  keySplines="0.25 0.1 0.25 1"
6164
7127
  fill="freeze"
7128
+ data-click-ripple-start-opacity="0.8"
6165
7129
  />
6166
7130
  </circle>
6167
7131
  )}
@@ -6236,7 +7200,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6236
7200
  x="0" y="0" width="230" height="88" rx="10"
6237
7201
  fill={pal.legendBox.fill}
6238
7202
  stroke={pal.legendBox.stroke}
6239
- opacity={isLight ? 0.97 : 0.92}
7203
+ // Round 348 / Loop: recent-signal panel rect opacity hover-
7204
+ // state bump — joins the panel-hover cue stack (R135 drop-
7205
+ // shadow boost + R345 title letter-spacing tween 0.3 → 0.4
7206
+ // + R266 fill theme-flip). Cyber 0.92 → 0.97, light 0.97 →
7207
+ // 1.0 on hoveredPanel === 'recent'. The panel "solidifies"
7208
+ // on hover — pure paint-level change, geometry-safe (bbox
7209
+ // unchanged so topo-overlap-test invariants hold). The
7210
+ // R247 transition list already includes `opacity 200ms
7211
+ // ease-out` so the value tween is automatic. Sibling
7212
+ // change at legend panel rect below (~line 7222).
7213
+ opacity={hoveredPanel === 'recent' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
6240
7214
  style={{
6241
7215
  /* R135: drop-shadow intensifies on panel hover. Base
6242
7216
  shadow (2px / 6px blur) signals card elevation
@@ -6359,8 +7333,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6359
7333
  const alpha = ageSec <= 30
6360
7334
  ? 1
6361
7335
  : ageSec <= 300
6362
- ? 1 - ((ageSec - 30) / 270) * 0.75
6363
- : 0.25;
7336
+ ? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
7337
+ : 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
6364
7338
  // Dark cyan-400 / light teal-600 with alpha — same
6365
7339
  // palette as R161's chip bullet so the two scopes
6366
7340
  // visually align even side-by-side.
@@ -6373,6 +7347,21 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6373
7347
  textAnchor="end"
6374
7348
  fontSize="10"
6375
7349
  fontFamily="monospace"
7350
+ // Round 349 / Loop: editorial letter-spacing 0.2 on the
7351
+ // recent-signal panel header count. Sits one tier below
7352
+ // the R301 panel title letterSpacing="0.3" so the panel
7353
+ // header reads as a 2-step hierarchy (title 0.3 / count
7354
+ // 0.2). Sibling change on the legend panel count below
7355
+ // closes the panel-pair editorial symmetry. Joins the
7356
+ // R285 / R289 / R301 / R302 / R304 / R325 editorial-
7357
+ // letterspacing tier at the panel-summary scope. The
7358
+ // R162 freshness fill, R225 tabular-nums, R311 fw=600,
7359
+ // R336 unit-tspan opacity-0.7 split all preserved —
7360
+ // the tier propagates to all descendant tspans via
7361
+ // SVG inheritance. data-recent-panel-count-letter-
7362
+ // spacing exposes the value for tests.
7363
+ letterSpacing="0.2"
7364
+ data-recent-panel-count-letter-spacing="0.2"
6376
7365
  >
6377
7366
  {/* Round 225 / Loop: tabular-nums on the panel-header
6378
7367
  flow-count tspan. The "{N} flows" string lives in
@@ -6841,17 +7830,58 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6841
7830
  const alpha = ageSec <= 30
6842
7831
  ? 1
6843
7832
  : ageSec <= 300
6844
- ? 1 - ((ageSec - 30) / 270) * 0.75
6845
- : 0.25;
7833
+ ? 1 - ((ageSec - 30) / 270) * 0.70 /* R358: floor 0.25 → 0.30 lift across 3 freshness scopes */
7834
+ : 0.30; /* R358: stale floor lifted 0.25 → 0.30 — 20% legibility bump while preserving fresh/stale ratio */
6846
7835
  return (
6847
7836
  <circle
6848
7837
  cx={10}
6849
7838
  cy={38 + index * 16 - 3}
6850
- r={1.6}
7839
+ /* Round 359 / Loop: recency pip base radius
7840
+ 1.6 → 1.8. Sibling lift to R358's freshness-
7841
+ floor bump (alpha 0.25 → 0.30) — pre-R358/
7842
+ R359 the stale pip painted at r=1.6 + α=0.25
7843
+ which read as near-invisible chrome. R358
7844
+ gave it more alpha; R359 gives it more area
7845
+ (1.8² / 1.6² ≈ 1.27, so ~27 % more glyph)
7846
+ so the pip stays distinguishable across the
7847
+ freshness ramp. Geometry: 1.8-radius dot
7848
+ centred at (10, row_y - 3) is bbox 3.6×3.6,
7849
+ still well inside the 7-px left margin
7850
+ (x=6 rect-start → x=13 text-start) the R160
7851
+ pip was placed in. Overlap-test reads the
7852
+ parent row rect's bbox, not this pip's, so
7853
+ grid+ring invariants hold. Matches the same
7854
+ 1.6 → 1.8 visual-weight bump R295 applied
7855
+ to the legend swatch (5.5 → 6 base radius)
7856
+ and R287 to the minimap viewport stroke
7857
+ (1 → 1.5). data-recent-row-freshness-radius
7858
+ attr exposes the value for tests. */
7859
+ /* Round 383 / Loop: recency pip base radius
7860
+ 1.8 → 2.0. Continues the R359 lift
7861
+ trajectory — pip area grows ~23 % (π·2²/
7862
+ π·1.8² ≈ 1.23) for a clearer at-a-glance
7863
+ freshness anchor in each row. Bbox 4.0×4.0
7864
+ still inside the 7-px R160 left margin
7865
+ (3-px remaining clearance vs 3.4 at r=1.8
7866
+ — geometry-safe margin holds). Sibling
7867
+ visual-weight bump family (9th anchor now):
7868
+ R287 minimap viewport stroke 1 → 1.5
7869
+ R295 legend swatch base radius 5.5 → 6
7870
+ R359 recent-row pip base radius 1.6 → 1.8
7871
+ R360 hub digit fontSize 11 → 12
7872
+ R361 edge-badge digit fontSize 10 → 11
7873
+ R365 hub-highlight base radius 5 → 5.5
7874
+ R367 edge-badge rest stroke 1 → 1.25
7875
+ R374 pressure-bar height 1.5 → 2
7876
+ R383 recent-row pip radius 1.8 → 2.0 (this round)
7877
+ data-recent-row-freshness-radius attr
7878
+ bumps to '2.0' for tests. */
7879
+ r={2.0}
6851
7880
  fill={pal.legendAccent}
6852
7881
  opacity={alpha}
6853
7882
  data-recent-row-freshness={link.key}
6854
7883
  data-recent-row-freshness-alpha={alpha.toFixed(2)}
7884
+ data-recent-row-freshness-radius="2.0"
6855
7885
  style={{ pointerEvents: 'none', transition: 'opacity 200ms ease-out' }}
6856
7886
  />
6857
7887
  );
@@ -6881,8 +7911,28 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6881
7911
  fill={isRowActive ? pal.legendHeadline : pal.legendText}
6882
7912
  fontSize="9"
6883
7913
  fontFamily="monospace"
7914
+ /* Round 363 / Loop: recent-row text fontWeight 400
7915
+ → 500 (font-medium tier). At fontSize=9 the
7916
+ default-weight 400 glyphs read thin against the
7917
+ panel chrome (pal.legendBox.fill with 0.92/0.97
7918
+ opacity); the 100-weight bump lifts the alias→
7919
+ alias text into the legibility band without
7920
+ changing geometry. The R320 count tspan fw=600
7921
+ (cold) / fw=700 (hot) override still wins
7922
+ locally via inline fontWeight on the inner
7923
+ tspan, so the count-vs-alias hierarchy stays
7924
+ intact:
7925
+ alias fw 500 (R363, this round)
7926
+ count fw 600/700 (R320)
7927
+ Sibling typography lift to R362 chip-row digit
7928
+ 500 → 600 — both nudge a within-element data
7929
+ tier without disturbing the surrounding family
7930
+ baseline. data-recent-row-text-font-weight attr
7931
+ exposes the value for tests. */
7932
+ fontWeight="500"
6884
7933
  data-recent-row-text={link.key}
6885
7934
  data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
7935
+ data-recent-row-text-font-weight="500"
6886
7936
  style={{
6887
7937
  transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
6888
7938
  letterSpacing: isRowPinned ? '0.5px' : '0px',
@@ -7144,6 +8194,23 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7144
8194
  surface. transition list extends letter-spacing
7145
8195
  200ms ease-out alongside the existing opacity/
7146
8196
  fill easings. */}
8197
+ {/* Round 368 / Loop: `+N more flows` footer text gains
8198
+ fontWeight=500 (font-medium tier). Sibling small-
8199
+ text fw lift family with R363 recent-row alias
8200
+ + R364 legend-row label + R366 group-label count
8201
+ — all four lifts share the same theory: at small
8202
+ fontSize (9-11 px) against panel chrome, SVG-
8203
+ default fw 400 sits at the legibility floor;
8204
+ fw 500 brings the glyph into the deliberate-data
8205
+ band. fontStyle=italic + opacity 0.55 rest + R325
8206
+ letterSpacing 0.2 baseline + R344 hover-spread
8207
+ 0.2 → 0.3 + R195 cyan fill on hover all preserved
8208
+ — the fw bump just thickens the italic stroke.
8209
+ Hover-state punch (R195 fill + R325 opacity 0.55
8210
+ → 0.85 + R344 letter-spacing + R133 underline)
8211
+ stays as is, so the rest-vs-hover delta still
8212
+ reads clearly. data-recent-panel-more-font-weight
8213
+ attr exposes the value for tests. */}
7147
8214
  <text
7148
8215
  x="115" y="82"
7149
8216
  textAnchor="middle"
@@ -7151,11 +8218,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7151
8218
  fontSize="9"
7152
8219
  fontFamily="monospace"
7153
8220
  fontStyle="italic"
8221
+ fontWeight="500"
7154
8222
  letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
7155
8223
  opacity={hoveredRecentMore ? 0.85 : 0.55}
7156
8224
  textDecoration={hoveredRecentMore ? 'underline' : 'none'}
7157
8225
  data-recent-panel-more={moreCount}
7158
8226
  data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
8227
+ data-recent-panel-more-font-weight="500"
7159
8228
  style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
7160
8229
  >
7161
8230
  {`+ ${moreCount}`}
@@ -7208,7 +8277,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7208
8277
  x="0" y="0" width="224" height="88" rx="10"
7209
8278
  fill={pal.legendBox.fill}
7210
8279
  stroke={pal.legendBox.stroke}
7211
- opacity={isLight ? 0.97 : 0.92}
8280
+ // R348 sibling legend panel rect opacity hover-state
8281
+ // bump 0.92 → 0.97 (cyber) / 0.97 → 1 (light) on
8282
+ // hoveredPanel === 'legend'. Pairs with the recent-signal
8283
+ // panel rect above so the two corner panels' hover cues
8284
+ // stay symmetric. Geometry-safe (paint-only).
8285
+ opacity={hoveredPanel === 'legend' ? (isLight ? 1 : 0.97) : (isLight ? 0.97 : 0.92)}
7212
8286
  style={{
7213
8287
  filter: hoveredPanel === 'legend'
7214
8288
  ? (isLight ? 'drop-shadow(0 4px 12px rgba(15,23,42,0.14))'
@@ -7297,7 +8371,14 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7297
8371
  <text
7298
8372
  x="211" y="21" textAnchor="end"
7299
8373
  fill={pal.legendAccent} fontSize="10" fontFamily="monospace" fontWeight="600"
8374
+ // R349 sibling — legend panel header count picks up
8375
+ // letterSpacing="0.2", one tier below the R301 panel
8376
+ // title 0.3. Pairs with the recent-signal panel count
8377
+ // letter-spacing above so the two corner panels' header
8378
+ // typography stays editorially symmetric.
8379
+ letterSpacing="0.2"
7300
8380
  data-legend-panel-count
8381
+ data-legend-panel-count-letter-spacing="0.2"
7301
8382
  style={{
7302
8383
  transition: 'fill 200ms ease-out',
7303
8384
  fontVariantNumeric: 'tabular-nums',
@@ -7518,14 +8599,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7518
8599
  so this legend-internal circle is invisible to
7519
8600
  that probe. pointerEvents:none so the ring can't
7520
8601
  intercept the row click that produced it. */}
8602
+ {/* Round 402 / Loop: legend pin-ring strokeWidth 1.5
8603
+ → 1.75. Sibling visual-weight bump (12th anchor)
8604
+ to R385 hub hover-ring strokeWidth 1.5 → 1.75 —
8605
+ both are pin/hover state indicators painted as
8606
+ stroke-only circles outside their target swatch
8607
+ with the R51 sentinel value 1.5. R402 lifts to
8608
+ 1.75 (matching R385's choice) so the pin signal
8609
+ reads slightly heavier without crossing the
8610
+ R51 sentinel band (3 reserved for offline node).
8611
+ The R51 selector is gated to g[data-node]
8612
+ ancestors so this legend-internal circle (lives
8613
+ under a <g data-legend-status>) is invisible
8614
+ to the probe — same lesson R177/R385 documented.
8615
+ Visual-weight bump family (12 anchors now):
8616
+ R287 minimap viewport stroke 1 → 1.5
8617
+ R295 legend swatch radius 5.5 → 6
8618
+ R359 recent-row pip radius 1.6 → 1.8
8619
+ R360 hub digit fontSize 11 → 12
8620
+ R361 edge-badge digit fontSize 10 → 11
8621
+ R365 hub-highlight radius 5 → 5.5
8622
+ R367 edge-badge rest stroke 1 → 1.25
8623
+ R374 pressure-bar height 1.5 → 2
8624
+ R383 recent-row pip radius 1.8 → 2.0
8625
+ R384 minimap online dot 1.7 → 1.9
8626
+ R385 hub hover-ring stroke 1.5 → 1.75
8627
+ R402 legend pin-ring stroke 1.5 → 1.75 (this round)
8628
+ R181 always-mount opacity gate + 150ms transition
8629
+ + pointerEvents:none all preserved. data-legend-
8630
+ pin-ring-stroke-width attr exposes the value for
8631
+ tests. */}
7521
8632
  <circle
7522
8633
  cx="16" cy={row.y0} r="8"
7523
8634
  fill="none"
7524
8635
  stroke={row.fill}
7525
- strokeWidth="1.5"
8636
+ strokeWidth="1.75"
7526
8637
  opacity={isPinned ? 1 : 0}
7527
8638
  data-legend-pin-ring={row.key}
7528
8639
  data-legend-pin-ring-pinned={isPinned ? 'true' : 'false'}
8640
+ data-legend-pin-ring-stroke-width="1.75"
7529
8641
  style={{
7530
8642
  pointerEvents: 'none',
7531
8643
  transition: 'opacity 150ms ease-out',
@@ -7552,8 +8664,31 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7552
8664
  fill={hoveredStatus === row.key || isPinned ? pal.legendHeadline : pal.legendText}
7553
8665
  fontSize="11"
7554
8666
  fontFamily="monospace"
8667
+ /* Round 364 / Loop: legend-row label fontWeight 400
8668
+ → 500. Sibling typography lift to R363 recent-row
8669
+ text fw 400 → 500. Both surfaces render small
8670
+ monospace text against panel chrome at fontSize
8671
+ 9-11 where SVG-default fw 400 sits at the
8672
+ legibility floor. font-medium tier (500) gives
8673
+ the label a more deliberate-data register.
8674
+ The R309 per-row count text (separate element
8675
+ below at x=215 textAnchor=end) keeps its own
8676
+ fontWeight 600 inline override, so the count >
8677
+ label hierarchy stays intact at the legend
8678
+ scope same as R363 holds it at the recent-row
8679
+ scope:
8680
+ legend label fw 500 (R364, this round)
8681
+ legend count fw 600 (R309)
8682
+ recent alias fw 500 (R363)
8683
+ recent count fw 600/700 (R320)
8684
+ data-legend-row-label-font-weight attr exposes
8685
+ the value for tests. R219 letter-spacing pin
8686
+ tween + R55 fill transition + R181 always-mount
8687
+ pin ring all preserved. */
8688
+ fontWeight="500"
7555
8689
  data-legend-row-label={row.key}
7556
8690
  data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
8691
+ data-legend-row-label-font-weight="500"
7557
8692
  style={{
7558
8693
  transition: 'fill 150ms ease-out, letter-spacing 150ms ease-out',
7559
8694
  letterSpacing: isPinned ? '0.5px' : '0px',
@@ -7872,14 +9007,63 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7872
9007
  const isOn = s.status !== 'offline' || !!sseN;
7873
9008
  const st = nodeStatus(s, isOn, isLight);
7874
9009
  return (
9010
+ /* Round 372 / Loop: minimap offline-dot opacity
9011
+ 0.5 → 0.6. Sibling stale-state legibility lift
9012
+ to R358 freshness ramp floor 0.25 → 0.30 + R317
9013
+ subordinate-text-lift family. Pre-R372 R198
9014
+ drew offline dots at α=0.5 (44 % below online
9015
+ 0.9). The minimap is a small overlay against
9016
+ the canvas backdrop — at α=0.5 offline dots
9017
+ sat at the legibility floor when the minimap
9018
+ mounted (only on non-default view). R372 lifts
9019
+ offline 0.5 → 0.6 for +20 % relative presence;
9020
+ online stays at 0.9 so the offline/online
9021
+ contrast ratio is now 0.6/0.9 ≈ 0.67 (vs prior
9022
+ 0.5/0.9 ≈ 0.56) — still a clear two-tier
9023
+ distinction. R198 opacity + fill + r transition
9024
+ list preserved so status flips still ease
9025
+ smoothly. data-topo-minimap-dot-opacity attr
9026
+ exposes the resolved value for tests. */
7875
9027
  <circle
7876
9028
  key={s.alias}
7877
9029
  cx={p.x * sx} cy={p.y * sy}
7878
- r={isOn ? 1.7 : 1.2}
9030
+ /* Round 384 / Loop: minimap online dot radius 1.7
9031
+ → 1.9. Sibling visual-weight bump (10th anchor)
9032
+ to R383 recent-row pip 1.8 → 2.0. R198 designed
9033
+ the dots at 1.7 (online) / 1.2 (offline) — at
9034
+ the minimap's 120 × 82 scale these read clearly
9035
+ but the online ↔ offline contrast was modest
9036
+ (1.7/1.2 = 1.42×). R384 bumps online to 1.9 so
9037
+ the tier delta widens to 1.58× (1.9/1.2). Pair
9038
+ completes minimap-dot legibility polish:
9039
+ R358 (era R372) offline opacity 0.5 → 0.6
9040
+ R384 online radius 1.7 → 1.9 (this round)
9041
+ R198 transition list (opacity + fill + r 200ms)
9042
+ preserved so status flips still ease smoothly.
9043
+ data-topo-minimap-dot-radius attr exposes the
9044
+ resolved value for tests. */
9045
+ /* Round 392 / Loop: minimap online dot opacity
9046
+ 0.9 → 0.95. Theme-consistency / canvas-presence
9047
+ polish family (7th anchor) — mirrors R386's
9048
+ hub-highlight idle 0.9 → 0.95 lift on the
9049
+ minimap surface: the online-dot's idle alpha
9050
+ gap (0.10 against full presence) halves to
9051
+ 0.05, so the live-fleet anchors on the minimap
9052
+ read more confidently. Offline dot stays at
9053
+ R372 0.6 — the binary online/offline contrast
9054
+ ratio shifts from 0.6/0.9 ≈ 0.67 to 0.6/0.95
9055
+ ≈ 0.63, preserved as a clear two-tier
9056
+ distinction. R198 opacity + fill + r transition
9057
+ list + R384 r=1.9 + R372 offline 0.6 all
9058
+ preserved. data-topo-minimap-dot-opacity attr
9059
+ bumps to '0.95' for tests. */
9060
+ r={isOn ? 1.9 : 1.2}
7879
9061
  fill={st.primary}
7880
- opacity={isOn ? 0.9 : 0.5}
9062
+ opacity={isOn ? 0.95 : 0.6}
7881
9063
  data-topo-minimap-dot={s.alias}
7882
9064
  data-topo-minimap-dot-online={isOn ? 'true' : 'false'}
9065
+ data-topo-minimap-dot-opacity={isOn ? 0.95 : 0.6}
9066
+ data-topo-minimap-dot-radius={isOn ? 1.9 : 1.2}
7883
9067
  style={{
7884
9068
  transition: 'opacity 200ms ease-out, fill 200ms ease-out, r 200ms ease-out',
7885
9069
  } as React.CSSProperties}
@@ -7920,17 +9104,66 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7920
9104
  information element to lift it above ambient
7921
9105
  chrome. opacity 0.9 stays — strokeWidth alone
7922
9106
  does the lifting. */}
9107
+ {/* Round 379 / Loop: minimap viewport rect picks up
9108
+ strokeLinejoin='round'. Pre-R379 the rect's 4
9109
+ corners painted with default 'miter' joins —
9110
+ sharp 90° corners with a small miter overshoot
9111
+ (≈ strokeWidth × 1.4 = 2.1 px at sw=1.5). R379
9112
+ rounds the joins so corners arc smoothly through
9113
+ a quarter-circle of radius ≈ strokeWidth/2. At
9114
+ sw=1.5 that's a 0.75-px radius — subtle but
9115
+ matches the same stroke-softening vocabulary R288
9116
+ chrome icons (zoom/reset/fullscreen) and R378
9117
+ flow-rail already speak. Geometry-safe: stroke-
9118
+ linejoin only affects the corner overshoot, the
9119
+ rect's bbox is unchanged. R287 strokeWidth=1.5 +
9120
+ R346 hover-state strokeWidth/opacity bump + R199
9121
+ smoothView x/y/w/h transition all preserved.
9122
+ data-topo-minimap-viewport-linejoin attr exposes
9123
+ the value for tests. */}
9124
+ {/* Round 393 / Loop: minimap viewport rect rx 0 → 2.
9125
+ Pre-R393 the cyan-stroked viewport rect (the frame
9126
+ showing what's currently visible on the canvas)
9127
+ drew with sharp corners inside the R332 rounded
9128
+ minimap container (rx=8). A small frame with sharp
9129
+ corners sitting inside a rounded container reads
9130
+ as visually loud — the 90° corners catch the eye
9131
+ against the soft container edge. R393 adds rx=2
9132
+ so the viewport corners get a subtle radius that
9133
+ matches the family's softening idiom on a sub-
9134
+ element scale. The R379 strokeLinejoin='round'
9135
+ already softens stroke joins; R393 adds a complete
9136
+ geometric soften via rx.
9137
+ Corner-radius cascade (7 anchors now):
9138
+ R330 canvas rx 12
9139
+ R331 panels rx 10
9140
+ R332 minimap container rx 8
9141
+ R375 Layout-toggle rx 8
9142
+ R376 nodeSize/zoom rx 8
9143
+ R390 hover-detail rx 10
9144
+ R393 minimap viewport rx 2 (this round, sub-element)
9145
+ The 2-px radius is intentionally small — the
9146
+ viewport rect is typically only 30-50px wide,
9147
+ where rx=2 reads as "rounded enough to not snap"
9148
+ without feeling pillowy. data-topo-minimap-
9149
+ viewport-rx attr exposes the resolved value
9150
+ for tests. R346 hover-state tweens (strokeWidth
9151
+ + opacity) preserved verbatim. */}
7923
9152
  <rect
7924
9153
  x={Math.max(0, rectX)} y={Math.max(0, rectY)}
7925
9154
  width={Math.max(0, Math.min(MW - Math.max(0, rectX), rectW))}
7926
9155
  height={Math.max(0, Math.min(MH - Math.max(0, rectY), rectH))}
9156
+ rx="2"
7927
9157
  fill="none" stroke={pal.legendAccent}
7928
9158
  // R346: strokeWidth + opacity tween on container hover.
7929
9159
  strokeWidth={hoveredMinimap ? '1.75' : '1.5'}
9160
+ strokeLinejoin="round"
7930
9161
  opacity={hoveredMinimap ? '1' : '0.9'}
7931
9162
  data-topo-minimap-viewport
9163
+ data-topo-minimap-viewport-rx="2"
7932
9164
  data-topo-minimap-viewport-smooth={smoothView ? 'true' : 'false'}
7933
9165
  data-topo-minimap-viewport-hover={hoveredMinimap ? 'true' : 'false'}
9166
+ data-topo-minimap-viewport-linejoin="round"
7934
9167
  style={{
7935
9168
  transition: smoothView
7936
9169
  ? 'x 280ms ease-out, y 280ms ease-out, width 280ms ease-out, height 280ms ease-out, stroke-width 200ms ease-out, opacity 200ms ease-out'
@@ -7989,8 +9222,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7989
9222
  own transition-colors. Same R254 holdover pattern that
7990
9223
  R263 just closed at the canvas wrapper scope, now at the
7991
9224
  chrome strip's nodeSize sub-wrapper scope. */}
9225
+ {/* Round 376 / Loop: nodeSize wrapper rounded-md → rounded-lg.
9226
+ Sibling polish to R375 Layout-toggle wrapper. Three
9227
+ chrome-strip segmented controls now all share rounded-lg
9228
+ at the wrapper tier:
9229
+ R375 Layout-toggle wrapper rounded-lg 8 px
9230
+ R376 nodeSize wrapper rounded-lg 8 px (this round)
9231
+ R376 zoom wrapper rounded-lg 8 px (this round)
9232
+ Individual atomic chrome buttons (reset, fullscreen) keep
9233
+ rounded-md (6 px) as their own atomic-button tier — the
9234
+ chrome strip's typography now expresses a clear two-tier
9235
+ hierarchy: 'segmented control container' (rounded-lg)
9236
+ vs 'standalone button' (rounded-md). Pure paint change,
9237
+ no layout shift. */}
7992
9238
  <div
7993
- className="flex items-center rounded-md border overflow-hidden"
9239
+ className="flex items-center rounded-lg border overflow-hidden"
9240
+ data-topo-chrome-nodesize-radius="rounded-lg"
7994
9241
  style={{
7995
9242
  background: pal.legendBox.fill,
7996
9243
  borderColor: pal.containerBorder,
@@ -8070,8 +9317,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8070
9317
  data-topo-chrome-view-group-leader marks the boundary surface
8071
9318
  for the test probe; data-topo-chrome-fleet-group-trailer marks
8072
9319
  the nodeSize wrapper's right edge for the gap measurement. */}
9320
+ {/* R376 sibling — zoom wrapper rounded-md → rounded-lg.
9321
+ Closes the chrome-strip segmented-control corner radius
9322
+ cascade (Layout R375 + nodeSize R376 + zoom R376). */}
8073
9323
  <div
8074
- className="ml-1.5 flex items-center rounded-md border overflow-hidden"
9324
+ className="ml-1.5 flex items-center rounded-lg border overflow-hidden"
9325
+ data-topo-chrome-zoom-wrapper-radius="rounded-lg"
8075
9326
  style={{
8076
9327
  background: pal.legendBox.fill,
8077
9328
  borderColor: pal.containerBorder,
@@ -8087,7 +9338,8 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8087
9338
  // R196: press-state deepens bg one tier above hover (white/5
8088
9339
  // → white/10) so mouse-down has a tactile dim before the
8089
9340
  // R186 icon pop fires on release.
8090
- className="px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
9341
+ // R352: `group` lets the inner svg respond via group-hover.
9342
+ className="group px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
8091
9343
  style={{ color: pal.legendText }}
8092
9344
  aria-label="Zoom out"
8093
9345
  title="Zoom out (−)"
@@ -8095,11 +9347,25 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8095
9347
  {/* R186: icon pop on click. CSS animation runs once;
8096
9348
  React removes the class after 240ms so a quick
8097
9349
  re-click can replay. */}
9350
+ {/* Round 352 / Loop: zoom-out icon picks up group-hover:
9351
+ scale-110 — sibling to R350 reset hover-rotate. Pre-
9352
+ R352 hovering the zoom button only changed the bg
9353
+ (white/5); the icon inside stayed perfectly still.
9354
+ R352 lifts the icon 10% on hover for a tactile "this
9355
+ button does something" cue. The R186 anet-chrome-pop
9356
+ keyframe (220ms scale 1→1.06→1) still owns transform
9357
+ during click via CSS-animation precedence over
9358
+ transition-transform; after the pop ends + className
9359
+ is removed, the group-hover scale-110 picks up
9360
+ smoothly. `transform-gpu` hint promotes the svg to
9361
+ its own compositor layer for crisper edges during
9362
+ the scale tween. Sibling change on zoom-in icon
9363
+ below. */}
8098
9364
  <svg
8099
9365
  width="12" height="12" viewBox="0 0 24 24"
8100
9366
  fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
8101
9367
  aria-hidden
8102
- className={chromePopping === 'zoom-out' ? 'anet-chrome-pop' : undefined}
9368
+ className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-out' ? ' anet-chrome-pop' : ''}`}
8103
9369
  data-topo-chrome-zoom-out-icon
8104
9370
  ><path d="M5 12h14" /></svg>
8105
9371
  </button>
@@ -8145,11 +9411,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8145
9411
  chromePopping === 'zoom-in' || chromePopping === 'zoom-out'
8146
9412
  ? 'true' : 'false'
8147
9413
  }
9414
+ data-topo-chrome-zoom-level-hover={hoveredZoomLevel ? 'true' : 'false'}
9415
+ onMouseEnter={() => setHoveredZoomLevel(true)}
9416
+ onMouseLeave={() => setHoveredZoomLevel(false)}
8148
9417
  style={{
8149
9418
  color: pal.legendText,
8150
9419
  borderColor: pal.containerBorder,
8151
9420
  minWidth: 46,
8152
9421
  display: 'inline-block',
9422
+ // R347: letter-spacing hover tween — extends R344/R345
9423
+ // hover-letter-spacing family into the chrome strip.
9424
+ letterSpacing: hoveredZoomLevel ? '0.5px' : '0',
8153
9425
  /* Round 264 / Loop: zoom level readout gains theme-toggle
8154
9426
  transition. The span has theme-driven color (pal.
8155
9427
  legendText) + border-x (pal.containerBorder via the
@@ -8158,7 +9430,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8158
9430
  on theme flip while siblings eased. Sibling treatment
8159
9431
  to the nodeSize + zoom wrapper transitions added this
8160
9432
  round. */
8161
- transition: 'color 200ms ease-out, border-color 200ms ease-out',
9433
+ transition: 'color 200ms ease-out, border-color 200ms ease-out, letter-spacing 200ms ease-out',
8162
9434
  }}
8163
9435
  title="Current zoom level"
8164
9436
  >
@@ -8169,18 +9441,22 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8169
9441
  data-topo-chrome-zoom-in
8170
9442
  data-topo-chrome-zoom-in-popping={chromePopping === 'zoom-in' ? 'true' : 'false'}
8171
9443
  // R196: press-state (mirror of zoom-out above).
8172
- className="px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
9444
+ // R352: `group` lets the inner svg respond via group-hover.
9445
+ className="group px-2 py-1 hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset"
8173
9446
  style={{ color: pal.legendText }}
8174
9447
  aria-label="Zoom in"
8175
9448
  title="Zoom in (+)"
8176
9449
  >
8177
9450
  {/* R186: icon pop on click. Same one-shot CSS animation
8178
9451
  as zoom-out; React removes the class after 240ms. */}
9452
+ {/* R352 sibling — zoom-in icon picks up the same
9453
+ group-hover:scale-110 family. Mirror change at
9454
+ the zoom-out icon above. */}
8179
9455
  <svg
8180
9456
  width="12" height="12" viewBox="0 0 24 24"
8181
9457
  fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round"
8182
9458
  aria-hidden
8183
- className={chromePopping === 'zoom-in' ? 'anet-chrome-pop' : undefined}
9459
+ className={`transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu${chromePopping === 'zoom-in' ? ' anet-chrome-pop' : ''}`}
8184
9460
  data-topo-chrome-zoom-in-icon
8185
9461
  ><path d="M12 5v14M5 12h14" /></svg>
8186
9462
  </button>
@@ -8189,9 +9465,35 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8189
9465
  onClick={() => { armResetSpin(); resetView(); }}
8190
9466
  data-topo-chrome-reset
8191
9467
  data-topo-chrome-reset-spinning={resetSpinning ? 'true' : 'false'}
9468
+ data-topo-chrome-reset-hover={hoveredReset ? 'true' : 'false'}
9469
+ // R350: hover state drives the icon transform below.
9470
+ onMouseEnter={() => setHoveredReset(true)}
9471
+ onMouseLeave={() => setHoveredReset(false)}
9472
+ onFocus={() => setHoveredReset(true)}
9473
+ onBlur={() => setHoveredReset(false)}
8192
9474
  // R196: press-state deepens before R184 reset-spin fires on
8193
9475
  // release — mouse-down dim then 450ms spin = full handshake.
8194
- className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60"
9476
+ /* Round 400 / Loop · milestone: chrome reset + fullscreen
9477
+ buttons gain hover:-translate-y-px lift — closes the
9478
+ hover-lift gesture vocabulary across every standalone
9479
+ interactive HTML element in TopoGraph. Segmented
9480
+ controls (zoom -/+, nodeSize S/M/L, Layout Ring/Grid)
9481
+ intentionally stay planted: lifting one segment of a
9482
+ unified strip would tear the visual unity of the
9483
+ segmented control. Only the standalone chrome buttons
9484
+ (reset, fullscreen) get the lift.
9485
+ Gesture vocabulary post-R400 (now complete across HTML):
9486
+ chip-row chips (3×) -1 px R398, R399
9487
+ filter pin pills (4×) -1 px R397
9488
+ recent-signal row -1 px R143
9489
+ legend row -1 px R144
9490
+ reset button -1 px R400 (this round)
9491
+ fullscreen button -1 px R400 (this round)
9492
+ Every standalone interactive HTML surface in TopoGraph
9493
+ now lifts on hover. data-topo-chrome-reset-hover-lift
9494
+ attr surfaces the lift for tests. */
9495
+ className="p-1.5 rounded-md border hover:bg-white/5 active:bg-white/10 hover:-translate-y-px transition-colors transition-transform duration-200 ease-out transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60"
9496
+ data-topo-chrome-reset-hover-lift="true"
8195
9497
  style={{ background: pal.legendBox.fill, borderColor: pal.containerBorder, color: pal.legendText }}
8196
9498
  aria-label="Reset view"
8197
9499
  title="Reset zoom + pan (0, or double-click the canvas)"
@@ -8218,6 +9520,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8218
9520
  aria-hidden
8219
9521
  className={resetSpinning ? 'anet-reset-spin' : undefined}
8220
9522
  data-topo-chrome-reset-icon
9523
+ // R350: hover-rotate preview of the R184 click-spin.
9524
+ // Gated on !resetSpinning so the anet-reset-spin keyframe
9525
+ // owns transform during its 450ms run. transformOrigin
9526
+ // 'center' so rotation pivots around the icon's centre
9527
+ // (default would be top-left and the icon would arc).
9528
+ style={{
9529
+ transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
9530
+ transformOrigin: 'center',
9531
+ transition: 'transform 200ms ease-out',
9532
+ }}
9533
+ data-topo-chrome-reset-icon-hover={hoveredReset && !resetSpinning ? 'true' : 'false'}
8221
9534
  >
8222
9535
  <path d="M3 12a9 9 0 1 0 9-9 9 9 0 0 0-6.4 2.6L3 8" />
8223
9536
  <path d="M3 3v5h5" />
@@ -8251,11 +9564,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8251
9564
  its inactive state benefits from the same "hover previews
8252
9565
  active state" idiom R163 designed. Sibling treatment to
8253
9566
  the nodeSize buttons at line ~6711. */
8254
- className={`p-1.5 rounded-md border transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
9567
+ // R353: `group` lets the inner svg respond via group-hover
9568
+ // sibling to R352 zoom buttons. Closes the chrome-strip per-
9569
+ // icon hover-affordance arc (zoom-out / zoom-in / reset /
9570
+ // fullscreen now all carry an icon-level hover gesture in
9571
+ // addition to the bg hover).
9572
+ // R400: hover translateY(-1px) lift — see reset button above for family doc.
9573
+ className={`group p-1.5 rounded-md border hover:-translate-y-px transition-colors transition-transform duration-200 ease-out transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
8255
9574
  isFullscreen
8256
9575
  ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
8257
9576
  : 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
8258
9577
  }${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
9578
+ data-topo-chrome-fullscreen-hover-lift="true"
8259
9579
  style={{
8260
9580
  borderColor: pal.containerBorder,
8261
9581
  ...(isFullscreen
@@ -8270,12 +9590,20 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8270
9590
  at the reset icon above. data-topo-chrome-fullscreen-
8271
9591
  icon attribute exposes BOTH variants (entered / exited)
8272
9592
  for the round's stroke-width regression probe. */}
9593
+ {/* Round 353 / Loop: fullscreen icon (both enter + exit
9594
+ variants) picks up the R352 family group-hover:scale-110.
9595
+ Pre-R353 hovering the button only changed the bg; the
9596
+ icon stayed still. R353 lifts the icon 10 % on hover —
9597
+ same gesture vocabulary as the zoom buttons. transform-
9598
+ gpu hint promotes the svg to its own compositor layer
9599
+ for crisper edges during the scale tween. Closes the
9600
+ chrome-strip per-icon hover-affordance arc. */}
8273
9601
  {isFullscreen ? (
8274
- <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden data-topo-chrome-fullscreen-icon="exit">
9602
+ <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu" data-topo-chrome-fullscreen-icon="exit">
8275
9603
  <path d="M8 3v4a1 1 0 0 1-1 1H3M21 8h-4a1 1 0 0 1-1-1V3M3 16h4a1 1 0 0 1 1 1v4M16 21v-4a1 1 0 0 1 1-1h4" />
8276
9604
  </svg>
8277
9605
  ) : (
8278
- <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden data-topo-chrome-fullscreen-icon="enter">
9606
+ <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round" aria-hidden className="transition-transform duration-200 ease-out group-hover:scale-110 transform-gpu" data-topo-chrome-fullscreen-icon="enter">
8279
9607
  <path d="M3 8V5a2 2 0 0 1 2-2h3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M21 16v3a2 2 0 0 1-2 2h-3" />
8280
9608
  </svg>
8281
9609
  )}