@sleep2agi/agent-network-dashboard 0.5.3-preview.7 → 0.5.3-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 (225) 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 +32 -32
  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 +12 -12
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +12 -12
  16. package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  17. package/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
  18. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  19. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  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 +14 -14
  24. package/.next/server/app/admin.segments/_full.segment.rsc +14 -14
  25. package/.next/server/app/admin.segments/_head.segment.rsc +4 -4
  26. package/.next/server/app/admin.segments/_index.segment.rsc +7 -7
  27. package/.next/server/app/admin.segments/_tree.segment.rsc +2 -2
  28. package/.next/server/app/admin.segments/admin/__PAGE__.segment.rsc +4 -4
  29. package/.next/server/app/admin.segments/admin.segment.rsc +3 -3
  30. package/.next/server/app/index.html +2 -2
  31. package/.next/server/app/index.rsc +14 -14
  32. package/.next/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  33. package/.next/server/app/index.segments/_full.segment.rsc +14 -14
  34. package/.next/server/app/index.segments/_head.segment.rsc +4 -4
  35. package/.next/server/app/index.segments/_index.segment.rsc +7 -7
  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 +14 -14
  40. package/.next/server/app/login.segments/_full.segment.rsc +14 -14
  41. package/.next/server/app/login.segments/_head.segment.rsc +4 -4
  42. package/.next/server/app/login.segments/_index.segment.rsc +7 -7
  43. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  44. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  45. package/.next/server/app/login.segments/login.segment.rsc +3 -3
  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 +14 -14
  49. package/.next/server/app/logs.segments/_full.segment.rsc +14 -14
  50. package/.next/server/app/logs.segments/_head.segment.rsc +4 -4
  51. package/.next/server/app/logs.segments/_index.segment.rsc +7 -7
  52. package/.next/server/app/logs.segments/_tree.segment.rsc +2 -2
  53. package/.next/server/app/logs.segments/logs/__PAGE__.segment.rsc +4 -4
  54. package/.next/server/app/logs.segments/logs.segment.rsc +3 -3
  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 +14 -14
  58. package/.next/server/app/messages.segments/_full.segment.rsc +14 -14
  59. package/.next/server/app/messages.segments/_head.segment.rsc +4 -4
  60. package/.next/server/app/messages.segments/_index.segment.rsc +7 -7
  61. package/.next/server/app/messages.segments/_tree.segment.rsc +2 -2
  62. package/.next/server/app/messages.segments/messages/__PAGE__.segment.rsc +4 -4
  63. package/.next/server/app/messages.segments/messages.segment.rsc +3 -3
  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 +14 -14
  67. package/.next/server/app/node.segments/_full.segment.rsc +14 -14
  68. package/.next/server/app/node.segments/_head.segment.rsc +4 -4
  69. package/.next/server/app/node.segments/_index.segment.rsc +7 -7
  70. package/.next/server/app/node.segments/_tree.segment.rsc +2 -2
  71. package/.next/server/app/node.segments/node/__PAGE__.segment.rsc +4 -4
  72. package/.next/server/app/node.segments/node.segment.rsc +3 -3
  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 +14 -14
  76. package/.next/server/app/nodes.segments/_full.segment.rsc +14 -14
  77. package/.next/server/app/nodes.segments/_head.segment.rsc +4 -4
  78. package/.next/server/app/nodes.segments/_index.segment.rsc +7 -7
  79. package/.next/server/app/nodes.segments/_tree.segment.rsc +2 -2
  80. package/.next/server/app/nodes.segments/nodes/__PAGE__.segment.rsc +4 -4
  81. package/.next/server/app/nodes.segments/nodes.segment.rsc +3 -3
  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 +14 -14
  86. package/.next/server/app/server-logs.segments/_full.segment.rsc +14 -14
  87. package/.next/server/app/server-logs.segments/_head.segment.rsc +4 -4
  88. package/.next/server/app/server-logs.segments/_index.segment.rsc +7 -7
  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 +4 -4
  91. package/.next/server/app/server-logs.segments/server-logs.segment.rsc +3 -3
  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 +14 -14
  95. package/.next/server/app/settings/networks.segments/_full.segment.rsc +14 -14
  96. package/.next/server/app/settings/networks.segments/_head.segment.rsc +4 -4
  97. package/.next/server/app/settings/networks.segments/_index.segment.rsc +7 -7
  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 +4 -4
  100. package/.next/server/app/settings/networks.segments/settings/networks.segment.rsc +3 -3
  101. package/.next/server/app/settings/networks.segments/settings.segment.rsc +3 -3
  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 +14 -14
  106. package/.next/server/app/settings/tokens.segments/_full.segment.rsc +14 -14
  107. package/.next/server/app/settings/tokens.segments/_head.segment.rsc +4 -4
  108. package/.next/server/app/settings/tokens.segments/_index.segment.rsc +7 -7
  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 +4 -4
  111. package/.next/server/app/settings/tokens.segments/settings/tokens.segment.rsc +3 -3
  112. package/.next/server/app/settings/tokens.segments/settings.segment.rsc +3 -3
  113. package/.next/server/app/settings.html +2 -2
  114. package/.next/server/app/settings.rsc +14 -14
  115. package/.next/server/app/settings.segments/_full.segment.rsc +14 -14
  116. package/.next/server/app/settings.segments/_head.segment.rsc +4 -4
  117. package/.next/server/app/settings.segments/_index.segment.rsc +7 -7
  118. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  119. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +4 -4
  120. package/.next/server/app/settings.segments/settings.segment.rsc +3 -3
  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 +14 -14
  125. package/.next/server/app/tasks.segments/_full.segment.rsc +14 -14
  126. package/.next/server/app/tasks.segments/_head.segment.rsc +4 -4
  127. package/.next/server/app/tasks.segments/_index.segment.rsc +7 -7
  128. package/.next/server/app/tasks.segments/_tree.segment.rsc +2 -2
  129. package/.next/server/app/tasks.segments/tasks/__PAGE__.segment.rsc +4 -4
  130. package/.next/server/app/tasks.segments/tasks.segment.rsc +3 -3
  131. package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js +1 -1
  132. package/.next/server/chunks/ssr/[root-of-the-server]__0sv~g.o._.js.map +1 -1
  133. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js +3 -3
  134. package/.next/server/chunks/ssr/agent-network-dashboard_09kk21a._.js.map +1 -1
  135. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js +1 -1
  136. package/.next/server/chunks/ssr/agent-network-dashboard_app_01jhlxz._.js.map +1 -1
  137. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js +1 -1
  138. package/.next/server/chunks/ssr/agent-network-dashboard_app_09d29my._.js.map +1 -1
  139. package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js +1 -1
  140. package/.next/server/chunks/ssr/agent-network-dashboard_app_components_0mvyi-4._.js.map +1 -1
  141. package/.next/server/middleware-build-manifest.js +3 -3
  142. package/.next/server/pages/404.html +2 -2
  143. package/.next/server/pages/500.html +1 -1
  144. package/.next/static/chunks/0boiij6s6nrkh.js +1 -0
  145. package/.next/static/chunks/0ehw4_lp248_1.js +1 -0
  146. package/.next/static/chunks/0ej-5z4i~xbwe.css +2 -0
  147. package/.next/static/chunks/{0jz0q_~y452m5.js → 0mkpm4lv6985f.js} +1 -1
  148. package/.next/static/chunks/0qwcmg950z6u5.js +4 -0
  149. package/.next/static/chunks/{03a4--7ncekmk.js → 0v4-5tng.uh.7.js} +2 -2
  150. package/.next/trace +2 -2
  151. package/.next/trace-build +1 -1
  152. package/app/components/ServersDrawer.tsx +16 -3
  153. package/app/components/TopoGraph.tsx +1910 -86
  154. package/app/globals.css +81 -7
  155. package/package.json +4 -4
  156. package/scripts/p157-servers-copy-test.mjs +95 -0
  157. package/scripts/topo-active-chrome-hover-text-test.mjs +107 -0
  158. package/scripts/topo-alias-glow-test.mjs +121 -0
  159. package/scripts/topo-avatar-brightness-test.mjs +116 -0
  160. package/scripts/topo-brand-logo-breath-test.mjs +102 -0
  161. package/scripts/topo-brand-logo-hover-rotate-test.mjs +93 -0
  162. package/scripts/topo-brand-logo-hover-test.mjs +85 -0
  163. package/scripts/topo-chip-row-digit-ls-test.mjs +135 -0
  164. package/scripts/topo-cluster-count-attr-test.mjs +80 -0
  165. package/scripts/topo-crescent-breath-test.mjs +104 -0
  166. package/scripts/topo-crescent-recede-test.mjs +111 -0
  167. package/scripts/topo-edge-badge-hover-glow-test.mjs +90 -0
  168. package/scripts/topo-edge-pill-glow-test.mjs +67 -0
  169. package/scripts/topo-filter-pill-glow-test.mjs +90 -0
  170. package/scripts/topo-filter-pills-press-test.mjs +96 -0
  171. package/scripts/topo-fleet-density-tier-test.mjs +84 -0
  172. package/scripts/topo-freshness-chip-fade-test.mjs +105 -0
  173. package/scripts/topo-fullscreen-attr-test.mjs +73 -0
  174. package/scripts/topo-grid-content-bottom-attr-test.mjs +72 -0
  175. package/scripts/topo-group-label-hover-glow-test.mjs +86 -0
  176. package/scripts/topo-group-pill-glow-test.mjs +76 -0
  177. package/scripts/topo-hub-digit-ls-test.mjs +119 -0
  178. package/scripts/topo-hub-halo-glow-test.mjs +96 -0
  179. package/scripts/topo-hub-highlight-amplify-test.mjs +139 -0
  180. package/scripts/topo-hub-highlight-fill-transition-test.mjs +84 -0
  181. package/scripts/topo-hub-highlight-glow-test.mjs +99 -0
  182. package/scripts/topo-hub-highlight-r-test.mjs +112 -0
  183. package/scripts/topo-hub-highlight-recede-test.mjs +144 -0
  184. package/scripts/topo-hub-highlight-theme-fill-test.mjs +83 -0
  185. package/scripts/topo-hub-hover-ring-glow-test.mjs +97 -0
  186. package/scripts/topo-hub-idle-breath-test.mjs +109 -0
  187. package/scripts/topo-hub-recede-test.mjs +124 -0
  188. package/scripts/topo-hub-spoke-glow-test.mjs +112 -0
  189. package/scripts/topo-layout-hover-fw-test.mjs +98 -0
  190. package/scripts/topo-legend-count-letter-spacing-test.mjs +108 -0
  191. package/scripts/topo-legend-label-fw-test.mjs +107 -0
  192. package/scripts/topo-legend-swatch-glow-test.mjs +109 -0
  193. package/scripts/topo-minimap-hover-glow-test.mjs +109 -0
  194. package/scripts/topo-nodesize-hover-fw-test.mjs +99 -0
  195. package/scripts/topo-orphan-box-dash-test.mjs +89 -0
  196. package/scripts/topo-orphan-fill-opacity-test.mjs +91 -0
  197. package/scripts/topo-orphan-label-italic-test.mjs +90 -0
  198. package/scripts/topo-orphan-label-opacity-test.mjs +98 -0
  199. package/scripts/topo-panel-title-glow-test.mjs +111 -0
  200. package/scripts/topo-pill-x-rotate-test.mjs +96 -0
  201. package/scripts/topo-pinned-aspect-test.mjs +89 -0
  202. package/scripts/topo-pressure-seg-glow-test.mjs +92 -0
  203. package/scripts/topo-pressure-seg-motion-test.mjs +101 -0
  204. package/scripts/topo-recent-hot-pulse-test.mjs +102 -0
  205. package/scripts/topo-recent-more-fw-test.mjs +126 -0
  206. package/scripts/topo-recent-row-fw-test.mjs +115 -0
  207. package/scripts/topo-reduced-motion-attr-test.mjs +69 -0
  208. package/scripts/topo-reset-icon-hover-scale-test.mjs +102 -0
  209. package/scripts/topo-starfield-hue-test.mjs +109 -0
  210. package/scripts/topo-titleblock-h2-hover-fw-test.mjs +109 -0
  211. package/scripts/topo-titleblock-h2-hover-tracking-test.mjs +128 -0
  212. package/scripts/topo-titleblock-kicker-hover-test.mjs +134 -0
  213. package/scripts/topo-vendor-activelinks-press-test.mjs +100 -0
  214. package/scripts/topo-vendor-chip-glow-test.mjs +97 -0
  215. package/scripts/topo-vendor-pill-glow-test.mjs +98 -0
  216. package/scripts/topo-watermark-breath-test.mjs +100 -0
  217. package/scripts/topo-watermark-recede-test.mjs +114 -0
  218. package/scripts/topo-zoom-level-color-test.mjs +105 -0
  219. package/.next/static/chunks/0hndl9yzpqajt.css +0 -2
  220. package/.next/static/chunks/0ia4_98ytam_7.js +0 -1
  221. package/.next/static/chunks/0md~c._ox5owe.js +0 -4
  222. package/.next/static/chunks/15w33hhbf3.28.js +0 -1
  223. /package/.next/static/{bIxZRyo8qjN2ZGvJ_1dmh → 8fEL_YAK7U48berKDXWZQ}/_buildManifest.js +0 -0
  224. /package/.next/static/{bIxZRyo8qjN2ZGvJ_1dmh → 8fEL_YAK7U48berKDXWZQ}/_clientMiddlewareManifest.js +0 -0
  225. /package/.next/static/{bIxZRyo8qjN2ZGvJ_1dmh → 8fEL_YAK7U48berKDXWZQ}/_ssgManifest.js +0 -0
@@ -240,11 +240,30 @@ function FreshnessChip({ sessions }: { sessions: unknown }) {
240
240
  stale-onset to direct attention. */
241
241
  if (!stale) return null;
242
242
  return (
243
+ /* Round 505 / Loop — FreshnessChip mount animation. Pre-R505 the
244
+ chip popped into the chip-row instantly when SWR data crossed
245
+ the 10s stale threshold; users saw an abrupt amber pill appear
246
+ mid-row. R505 adds the existing `anet-fade-in` class so the
247
+ chip eases through opacity 0→1 over 150ms (R51 globals.css
248
+ keyframe) on first appearance. The chip itself only renders
249
+ when stale (R275 conditional), so the fade plays exactly when
250
+ the stale signal first arrives — perfectly aligned with the
251
+ semantic. Mount-once via React reconciliation (key not used
252
+ since FreshnessChip is a singleton in the parent).
253
+ a11y respected via R29 blanket — `@media (prefers-reduced-
254
+ motion: reduce)` neutralizes anet-fade-in to `animation:none`
255
+ (globals.css line 1083-1089 includes anet-fade-in in the
256
+ blanket list). Reduced-motion users see the chip pop instantly,
257
+ same as pre-R505 behavior — no regression.
258
+ Pure paint-axis addition (opacity animation, no geometry),
259
+ bbox unchanged. data-freshness-chip-mount-fade attr exposes
260
+ the gate for tests. */
243
261
  <span
244
- className={`${baseClass} ${colorClass}`}
262
+ className={`${baseClass} ${colorClass} anet-fade-in`}
245
263
  title={stale ? `Last sync ${sec}s ago — SWR refresh may be lagging` : `Live data · refreshes every 5s · last sync ${sec}s ago`}
246
264
  data-freshness-chip
247
265
  data-freshness-chip-stale={stale ? 'true' : 'false'}
266
+ data-freshness-chip-mount-fade="true"
248
267
  >
249
268
  {/* Round 272 / Loop: swap prefix word to match color state so
250
269
  text and color point the same way. Pre-R272 the chip read
@@ -867,12 +886,19 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
867
886
  // R63 label render + R86 hover-pin keying + #99 tooltip
868
887
  // member listing, so all the existing group-box machinery
869
888
  // applies uniformly to the orphan bucket too.
889
+ // Round 499 / Loop — surface `isOrphan` flag on the box
890
+ // shape so downstream renderers (label text, future polish)
891
+ // can apply orphan-specific typography (italic) without
892
+ // re-deriving the flag from key === '其他' (key matching
893
+ // would also catch a legitimate "其他" prefix-group, this
894
+ // flag is canonical from the band assignment pass).
870
895
  return {
871
896
  key: band.isOrphan
872
897
  ? '其他'
873
898
  : band.members.length
874
899
  ? groupKeys[band.members[0].alias]
875
900
  : '',
901
+ isOrphan: !!band.isOrphan,
876
902
  count: band.members.length,
877
903
  statuses: { working: w, idle: i, offline: o },
878
904
  x: minX - GROUP_PAD,
@@ -977,7 +1003,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
977
1003
  groupKeys,
978
1004
  // #111: group boxes are a grid-layout feature only — radially scattered
979
1005
  // ring nodes can't be cleanly boxed. Ring keeps the #83 prefix hue.
980
- groupBoxes: [] as { key: string; count: number; statuses: { working: number; idle: number; offline: number }; x: number; y: number; w: number; h: number }[],
1006
+ groupBoxes: [] as { key: string; isOrphan?: boolean; count: number; statuses: { working: number; idle: number; offline: number }; x: number; y: number; w: number; h: number }[],
981
1007
  // ring fits within VIEWBOX_H by construction (offlineRadius=325 + centre at y=330)
982
1008
  gridContentBottom: 0,
983
1009
  };
@@ -1699,7 +1725,18 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1699
1725
  width) = 166px total title-block width vs 168px pre-R298 —
1700
1726
  no measurable layout shift, just a deliberate tighter
1701
1727
  grouping. */}
1702
- <div className="flex items-center gap-2.5">
1728
+ {/* Round 554 / Loop — title-block wrapper picks up `group` so
1729
+ the H2 below can subscribe to `group-hover:tracking-tighter`.
1730
+ Pairs with R548/R549 brand-logo hover gestures: cursor
1731
+ sweeping anywhere across the title cluster fires the brand
1732
+ logo's scale-105 + rotate-6 + breath ↔ AND tightens the
1733
+ H2's tracking from -0.025em → -0.05em.
1734
+ Makes the title-block read as one coherent hover cluster —
1735
+ brand mark provides the loud gesture (scale + rotate), H2
1736
+ provides the subtle editorial gesture (kerning tighten).
1737
+ data-topo-section-titleblock-group attr surfaces the gate
1738
+ for tests. */}
1739
+ <div className="group flex items-center gap-2.5" data-topo-section-titleblock-group>
1703
1740
  {/* Round 297 / Loop: brand-logo color picks up the 200ms ease-
1704
1741
  out transition. Pre-R297 the moon glyph had theme-
1705
1742
  conditional color (cyber #67e8f9 cyan ↔ light #0d9488
@@ -1723,12 +1760,92 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1723
1760
  overpowering the h2 at text-lg/font-semibold (R286).
1724
1761
  viewBox 32×32 unchanged so the inner crescent geometry
1725
1762
  scales proportionally. */}
1763
+ {/* Round 548 / Loop — title-block brand logo gains subtle
1764
+ hover-scale gesture. Pre-R548 the 40×40 crescent was
1765
+ fully static — no hover affordance. R548 adds hover:
1766
+ scale-105 (Tailwind 4 emits as `scale: 1.05`) so the
1767
+ brand mark gently responds to attention as the user's
1768
+ cursor sweeps across the title block. 5% scale is
1769
+ intentionally subtle (vs R350 chrome icon hover-scale-
1770
+ 110): the brand logo is a passive identity mark, not
1771
+ an interactive control, so the gesture stays small.
1772
+ cursor: default to clarify non-clickability (the SVG
1773
+ isn't a button; just a brand element).
1774
+ transition-transform duration-200 ease-out matches the
1775
+ dashboard's R350-family hover-scale cadence so the
1776
+ brand logo's response shares the same motion vocabulary
1777
+ as the chrome strip's icon scales. transform-gpu hint
1778
+ promotes the SVG to its own compositor layer for crisp
1779
+ edges during the tween.
1780
+ Brand-mark delight gesture family (1 anchor):
1781
+ R548 title-block brand logo hover:scale-105
1782
+ The crescent at canvas top-left (data-topo-brand-
1783
+ canvas-mark) and the watermark at bottom-left (data-
1784
+ topo-brand-watermark) are intentionally LEFT STATIC —
1785
+ both have pointerEvents:none and exist as ambient
1786
+ decoration with their own breath/recede dynamics
1787
+ (R519/R525/R526/R528). The title-block logo is the
1788
+ ONLY brand surface that's a candidate for hover affordance,
1789
+ since it sits in the chrome-band where the cursor
1790
+ naturally passes during normal use. */}
1791
+ {/* Round 549 / Loop — extends R548 (hover:scale-105) with a
1792
+ subtle hover:rotate-6 rotation. Pairs scale + rotate on
1793
+ the brand mark, same idiom as R547 added to the pill ×
1794
+ close buttons (scale-110 + rotate-12) but at gentler
1795
+ amounts: 105% vs 110% scale and 6° vs 12° rotation —
1796
+ brand marks want restraint vs interactive close buttons.
1797
+
1798
+ The crescent-moon shape (curved cutout via mask) reads
1799
+ visually distinct as it rotates — the asymmetric cutout
1800
+ swings into a fresh angle, telegraphing "this brand mark
1801
+ is alive without being loud". The 6° landing lands the
1802
+ moon's cusp pointing slightly NE rather than straight up,
1803
+ a small but legible reveal of the shape's geometry.
1804
+
1805
+ Tailwind 4 emits BOTH `scale: 1.05` AND `rotate: 6deg`
1806
+ as INDIVIDUAL CSS properties (not a combined transform
1807
+ string — see R547 banked pattern). The className keeps
1808
+ transition-transform so both axes ease at the same 200ms
1809
+ cadence; transform-gpu hint stays so the compositor
1810
+ promotes both axes to GPU layers.
1811
+
1812
+ data-topo-brand-logo-hover-rotate attr surfaces the
1813
+ landing rotation for tests. Pair with R548's
1814
+ data-topo-brand-logo-hover-scale attr — both attrs
1815
+ advertise the dual-axis hover signature. */}
1816
+ {/* Round 553 / Loop — title-block brand logo gains subtle
1817
+ idle opacity breath (~0.92 ↔ 1, 5s ease-in-out cycle).
1818
+ 5th anchor in the 呼吸感 breath family, slotting into
1819
+ the ascending cadence ladder between hub idle (4s) and
1820
+ watermark (6s):
1821
+ row hot 3s
1822
+ hub idle 4s
1823
+ brand logo 5s ← this round
1824
+ watermark 6s
1825
+ crescent 7s
1826
+ Composes cleanly with R548 hover:scale-105 + R549
1827
+ hover:rotate-6 — opacity, scale, and rotate are
1828
+ independent CSS properties; the moon keeps breathing
1829
+ as it scales and rotates on hover. Layered effect
1830
+ reads as "this brand mark is alive even before you
1831
+ touch it, and lights up further on hover".
1832
+ Reduced-motion gate: component-side `!reducedMotion`
1833
+ toggles the className (canonical TopoGraph breath
1834
+ pattern); R29 globals.css blanket provides a
1835
+ defense-in-depth fallback (animation-duration →
1836
+ 0.001ms under prefers-reduced-motion: reduce).
1837
+ data-topo-brand-logo-breath attr exposes the gate
1838
+ state for tests. */}
1726
1839
  <svg
1727
1840
  width="40" height="40" viewBox="0 0 32 32" aria-hidden
1728
- className="shrink-0"
1841
+ className={`shrink-0 transition-transform duration-200 ease-out hover:scale-105 hover:rotate-6 transform-gpu${!reducedMotion ? ' anet-topo-brand-logo-breath' : ''}`}
1729
1842
  data-topo-brand-logo
1843
+ data-topo-brand-logo-hover-scale="1.05"
1844
+ data-topo-brand-logo-hover-rotate="6deg"
1845
+ data-topo-brand-logo-breath={!reducedMotion ? 'true' : 'false'}
1730
1846
  style={{
1731
1847
  color: isLight ? '#0d9488' : '#67e8f9',
1848
+ cursor: 'default',
1732
1849
  transition: 'color 200ms ease-out',
1733
1850
  }}
1734
1851
  >
@@ -1777,7 +1894,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1777
1894
  R300 marks the milestone of 25 rounds (R275-R300) of
1778
1895
  continuous TopoGraph polish + codex's Vincent 5215/
1779
1896
  5222 logo asset+integration work. */}
1780
- <div className="text-xs uppercase text-gray-500 tracking-widest leading-tight font-medium" data-topo-section-kicker>Network Topology</div>
1897
+ {/* Round 555 / Loop kicker "Network Topology" gains group-
1898
+ hover affordance via the R554 wrapper's `group` flag,
1899
+ closing the title-block cluster's hover coverage at 3
1900
+ surfaces (brand logo + H2 + kicker).
1901
+ Picks up the small-label SPREAD direction (R554 banked
1902
+ "small labels SPREAD on hover / large headlines TIGHTEN"
1903
+ — kicker is xs uppercase, definitely a small label) plus
1904
+ a color brighten (text-gray-500 #6b7280 → text-gray-400
1905
+ #9ca3af).
1906
+ Spread: tracking-widest (0.1em rest) → 0.13em hover —
1907
+ +30% kerning bump. At text-xs (12px) the per-gap shift
1908
+ is 1.2px → 1.56px (+0.36px/gap), legible without
1909
+ overshooting the rest's tracking-widest editorial base.
1910
+ Color: text-gray-500 → text-gray-400 — one tier lighter,
1911
+ same idiom as R296 (kicker rest tone-up from gray-600 to
1912
+ gray-500), now extended at the hover-state tier.
1913
+ transition-[letter-spacing,color] duration-200 ease-out
1914
+ matches the 200ms cadence of R554 H2 ls + the rest of
1915
+ the hover-ls family (R344/R345/R347/R351/R420/R427/R431/
1916
+ R432/R434/R527/R539).
1917
+ Title-block cluster signature post-R555 (3 surfaces):
1918
+ brand logo loud scale + rotate + breath
1919
+ (R548/R549/R553)
1920
+ H2 subtle tracking-tighter
1921
+ (R554, editorial-tighten)
1922
+ kicker subtle tracking-spread + color lift
1923
+ (R555, data-spread) ← this round
1924
+ Two of the three surfaces are typographic; the brand
1925
+ logo carries the geometric+chromatic motion. Cluster
1926
+ reads as ONE coherent hover unit through three
1927
+ independent gesture vocabularies.
1928
+ data-topo-section-kicker-hover-tracking + -hover-color
1929
+ attrs expose the landing values for tests. */}
1930
+ <div className="text-xs uppercase text-gray-500 group-hover:text-gray-400 tracking-widest group-hover:tracking-[0.13em] transition-[letter-spacing,color] duration-200 ease-out leading-tight font-medium" data-topo-section-kicker data-topo-section-kicker-hover-tracking="0.13em" data-topo-section-kicker-hover-color="text-gray-400">Network Topology</div>
1781
1931
  {/* Round 286 / Loop: title 'Command mesh' adopts tracking-tight
1782
1932
  (-0.025em) to complement R285 kicker tracking-widest. Wide
1783
1933
  eyebrow + tight headline is the conventional editorial
@@ -1789,7 +1939,62 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1789
1939
  cumulatively legible across 12 characters. font-semibold
1790
1940
  (600) stays — tracking-tight does the heavy lifting for
1791
1941
  the editorial register. */}
1792
- <h2 className="text-lg text-white font-semibold leading-tight tracking-tight" data-topo-section-title>Command mesh</h2>
1942
+ {/* Round 554 / Loop — H2 "Command mesh" gains group-hover-
1943
+ gated tracking-tighter via the wrapper's R554 `group`
1944
+ flag. Pre-R554 the H2 was fully static (R286 tracking-
1945
+ tight only at rest). R554 adds an editorial-tighten
1946
+ gesture: when cursor sweeps anywhere across the title
1947
+ cluster (brand logo OR title text), the headline tightens
1948
+ from -0.025em → -0.05em.
1949
+ Inverts the typical hover-letter-spacing direction:
1950
+ small labels (chip counts, panel titles, edge digits)
1951
+ SPREAD on hover → "data telegraphing"
1952
+ large headlines (h2 Command mesh)
1953
+ TIGHTEN on hover → "editorial emphasis"
1954
+ Both directions are coherent design language — small
1955
+ data wants spacing for legibility; large headlines want
1956
+ tightening for designed-headline polish. Same idiom as
1957
+ the conventional editorial pairing of "wide kicker +
1958
+ tight headline" R285/R286 set up (kicker spreads 0.1em
1959
+ tracking-widest; headline tightens -0.025em tracking-
1960
+ tight) — R554 deepens that pairing's tighten side at
1961
+ the hover-state tier.
1962
+ At text-lg (18px) the shift is -0.45px → -0.9px per
1963
+ gap (~5.4px total tightening across "Command mesh" 12
1964
+ chars). Subtle but legible when the cursor sweeps in.
1965
+ transition-[letter-spacing] duration-200 ease-out
1966
+ matches the 200ms hover-ls cadence used at R344/R345/
1967
+ R347/R351/R420/R427/R431/R432/R434/R527/R539 family
1968
+ anchors.
1969
+ data-topo-section-title-hover-tracking attr surfaces
1970
+ the landing tracking class for tests. */}
1971
+ {/* Round 556 / Loop — H2 "Command mesh" gains a 2nd
1972
+ editorial-emphasis axis: group-hover:font-bold paired
1973
+ with R554's group-hover:tracking-tighter. Both lifts
1974
+ fire on the same R554 wrapper's `group` flag (hover
1975
+ anywhere in the title cluster → BOTH H2 axes intensify
1976
+ simultaneously).
1977
+ H2 hover signature post-R556 (2 typographic axes
1978
+ intensify together):
1979
+ rest font-semibold 600 + tracking-tight -0.025em
1980
+ hover font-bold 700 + tracking-tighter -0.05em
1981
+ Editorial emphasis through TWO axes — heavier AND
1982
+ tighter on hover. Mirrors the conventional "designed-
1983
+ headline emphasis" idiom (heavier + tighter = more
1984
+ authoritative; the eye reads both axes as intensifying
1985
+ the same semantic).
1986
+ Hover-fw family extension (6 anchors now):
1987
+ R416 chip-row count digit (chip group-hover)
1988
+ R420 chrome zoom-level (hover)
1989
+ R425 hub-center digit (hub hover)
1990
+ R520 +N more flows footer (recent panel hover)
1991
+ R521 chrome nodeSize S/M/L (inactive hover)
1992
+ R556 title-block H2 (cluster group-hover) ← this round
1993
+ Transition list extends to include 'font-weight 200ms
1994
+ ease-out' alongside the existing 'letter-spacing'
1995
+ 200ms cadence. data-topo-section-title-hover-fw attr
1996
+ surfaces the landing weight for tests. */}
1997
+ <h2 className="text-lg text-white font-semibold group-hover:font-bold leading-tight tracking-tight group-hover:tracking-tighter transition-[letter-spacing,font-weight] duration-200 ease-out" data-topo-section-title data-topo-section-title-hover-tracking="tracking-tighter" data-topo-section-title-hover-fw="700">Command mesh</h2>
1793
1998
  </div>
1794
1999
  </div>
1795
2000
  {/* Round 328 / Loop: chip-row strip wrapper gap 2 → 2.5
@@ -1959,8 +2164,61 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1959
2164
  // overlays the release-pop. Matching `transform-gpu`
1960
2165
  // promotes the layer so the scale doesn't trigger
1961
2166
  // layout/paint thrash. Sibling change on Grid below.
1962
- 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 active:scale-95 transform-gpu ${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' : ''}`}
1963
- style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out, transform 150ms ease-out' }}
2167
+ /* Round 522 / Loop extends R521's typography-preview
2168
+ idiom (chrome nodeSize hover:font-medium 400 500) to
2169
+ the Ring/Grid layout toggle's inactive variant. Pre-
2170
+ R522 the inactive Ring/Grid had `hover:text-cyan-300
2171
+ hover:bg-cyan-500/5` (R270 color + bg previews of the
2172
+ active state) but no typography preview — the active
2173
+ variant uses `font-medium` (fw 500), inactive sat at
2174
+ default fw 400 even on hover. R522 adds `hover:font-
2175
+ medium` to the inactive Ring/Grid so the rest-vs-hover
2176
+ transition previews the typography state the click
2177
+ would commit to, matching the click commits's locked
2178
+ weight.
2179
+ font-weight 150ms appended to the transition list
2180
+ matching the existing 150ms color/bg cadence at this
2181
+ button — when hover lifts color (gray-400 → cyan-300)
2182
+ + bg (transparent → cyan-500/5) + fw (400 → 500), all
2183
+ 3 ease at the same 150ms beat.
2184
+ Hover-fw family extension (6 anchors): R416/R420/R425/
2185
+ R520/R521/R522. R522 closes the chrome toggle group
2186
+ typography preview at the last remaining toggle —
2187
+ layout (Ring/Grid). After R521 (nodeSize) + R522
2188
+ (layout), every multi-state chrome toggle has hover-
2189
+ fw preview on its inactive variant.
2190
+ data-topo-chrome-layout-hover-preview-fw="500" attr
2191
+ on inactive button exposes the polish for tests. */
2192
+ /* Round 552 / Loop — chrome active-variant gains hover:
2193
+ text-cyan-200, lifting text one brightness tier alongside
2194
+ the existing hover:bg-cyan-500/20 bg deepen. Coordinated
2195
+ 4-anchor edit (replace_all touched 4 sibling lines sharing
2196
+ the identical active-variant className substring):
2197
+ Ring (this line) layout === 'ring'
2198
+ Grid (line ~2097) layout === 'grid'
2199
+ S/M/L (line ~12635) nodeScale === v
2200
+ Fscrn (line ~13030) isFullscreen
2201
+ Pre-R552 the active variant's hover state only deepened bg
2202
+ (cyan-500/15 → /20); text stayed planted at cyan-300. The
2203
+ inactive variant already lifts text on hover (text-gray-400
2204
+ → text-cyan-300). R552 brings parity: active variant lifts
2205
+ text one tier brighter (cyan-300 → cyan-200) on hover,
2206
+ mirroring the inactive variant's "text brightens on hover"
2207
+ gesture at the next brightness step.
2208
+ Brightness ladder snapshot (cyan):
2209
+ cyan-400 brand chrome focus ring
2210
+ cyan-300 active-variant rest ←─┐
2211
+ │ +1 tier on hover
2212
+ cyan-200 active-variant hover ←─┘ (this round)
2213
+ Pure paint axis (text color); bbox/geometry unchanged.
2214
+ transition-colors already in the class list so the cyan-
2215
+ 300 → cyan-200 swap eases at the existing 200ms cadence.
2216
+ hover-color brighten family extension at the chrome strip
2217
+ active-variant scope; sibling to the inactive variant's
2218
+ R163/R178/R179/R270 hover:text-cyan-300 idiom. */
2219
+ 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 active:scale-95 transform-gpu ${layout === 'ring' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'} ${chromePopping === 'layout-ring' ? ' anet-chrome-pop' : ''}`}
2220
+ data-topo-chrome-layout-hover-preview-fw={layout === 'ring' ? null : '500'}
2221
+ style={{ transition: 'background-color 150ms ease, color 150ms ease, letter-spacing 200ms ease-out, transform 150ms ease-out, font-weight 150ms ease' }}
1964
2222
  >
1965
2223
  Ring
1966
2224
  </button>
@@ -1982,7 +2240,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1982
2240
  // R492 sibling — Grid button picks up active:scale-95
1983
2241
  // press feedback + transform in transition list. Same
1984
2242
  // vocabulary as Ring above.
1985
- 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 active:scale-95 transform-gpu ${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' : ''}`}
2243
+ /* Round 522 sibling Grid button mirrors Ring above:
2244
+ inactive variant gains `hover:font-medium` typography
2245
+ preview + font-weight 150ms in inline transition list.
2246
+ Same idiom, same family (R522 chrome layout). */
2247
+ 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 active:scale-95 transform-gpu ${layout === 'grid' ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'text-gray-400 hover:text-cyan-300 hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'} ${chromePopping === 'layout-grid' ? ' anet-chrome-pop' : ''}`}
2248
+ data-topo-chrome-layout-hover-preview-fw={layout === 'grid' ? null : '500'}
1986
2249
  /* Round 268 / Loop: Grid button's left border (the
1987
2250
  internal divider between Ring and Grid) picks up
1988
2251
  pal.containerBorder, matching the wrapper change at
@@ -1995,7 +2258,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
1995
2258
  keeps R268's theme-toggle smoothness intact.
1996
2259
  R492 adds `transform 150ms ease-out` so active:scale-95
1997
2260
  eases smoothly. */
1998
- style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out, transform 150ms ease-out' }}
2261
+ style={{ borderColor: pal.containerBorder, transition: 'background-color 150ms ease, color 150ms ease, border-color 200ms ease-out, letter-spacing 200ms ease-out, transform 150ms ease-out, font-weight 150ms ease' }}
1999
2262
  >
2000
2263
  Grid
2001
2264
  </button>
@@ -2206,7 +2469,26 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2206
2469
  at the chip-count scope. Sibling edits on the
2207
2470
  online + active-links chip digits below. data-
2208
2471
  working-chip-digit attr exposes the digit span. */}
2209
- <span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-working-chip-digit>{workingCount}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-working-chip-unit> working</span>
2472
+ {/* Round 539 / Loop chip-row digit gains group-hover:
2473
+ tracking-wide alongside the existing R362 group-
2474
+ hover:font-bold. Pre-R539 the chip digit lifted
2475
+ only on the font-weight axis (600 → 700 on chip
2476
+ hover); R539 adds the kerning axis (tracking
2477
+ normal → tracking-wide ≈ 0.025em ≈ 0.3px on a 12px
2478
+ digit) so hover lifts BOTH typography axes
2479
+ together — same idiom R420/R517 establish at the
2480
+ chrome zoom-level (letter-spacing + fontWeight
2481
+ hover delta) and R531/R530 mirror at the panel
2482
+ label scope. transition-[font-weight] extends to
2483
+ transition-[font-weight,letter-spacing] for the
2484
+ smooth dual-axis tween.
2485
+ Sibling treatment across the 3 chip-row digits
2486
+ (working / online / active-links) — single concept
2487
+ replicated at 3 surfaces by replace_all.
2488
+ Hover-letter-spacing family extension (12 anchors
2489
+ now): R344/R345/R347/R420/R427/R431/R432/R433/
2490
+ R434/R517/R518 + R539 (this round). */}
2491
+ <span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-working-chip-digit>{workingCount}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-working-chip-unit> working</span>
2210
2492
  </span>
2211
2493
  <span
2212
2494
  // Round 201 / Loop: online chip — mirror of the working
@@ -2277,7 +2559,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2277
2559
  >
2278
2560
  {/* R337 sibling — online chip unit demotion. */}
2279
2561
  {/* R362 sibling — online-chip digit gains font-semibold. */}
2280
- <span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-online-chip-unit> online</span>
2562
+ {/* R539 sibling online chip digit. Same idiom as
2563
+ working chip above (group-hover:tracking-wide). */}
2564
+ <span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-online-chip-digit>{onlineNodes.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-online-chip-unit> online</span>
2281
2565
  </span>
2282
2566
  </>
2283
2567
  );
@@ -2366,7 +2650,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2366
2650
  height: '100%',
2367
2651
  cursor: 'pointer',
2368
2652
  boxShadow: isPinned ? `inset 0 0 0 1px ${color}, inset 0 0 0 2px rgba(255,255,255,0.6)` : undefined,
2369
- filter: hoveredStatus === key ? 'brightness(1.2)' : undefined,
2653
+ /* Round 542 / Loop pressure-bar segments gain
2654
+ drop-shadow tier-color glow on hover, stacked
2655
+ on R210 brightness(1.2). Sibling to R537 legend
2656
+ swatch + R541 vendor chip glow at the chip-row
2657
+ scope — three same-pattern surfaces (legend
2658
+ swatch / vendor chip / pressure segment) all
2659
+ radiate their identity color on hover.
2660
+ 3rd anchor in the chip-row tier-color paint
2661
+ glow sub-family:
2662
+ R537 legend swatch row.fill (status hex)
2663
+ R541 vendor chip v.color (hsl via color-mix)
2664
+ R542 pressure seg color (status hex) ← this round
2665
+ Stacked filter syntax (brightness + drop-shadow
2666
+ in same filter declaration): `brightness(1.2)
2667
+ drop-shadow(...)`. CSS filter supports multiple
2668
+ functions; they apply left-to-right. Brightness
2669
+ boosts the segment's own color, drop-shadow
2670
+ paints the outer halo. Together: hovered seg
2671
+ looks "lit up" with both inner glow + outer
2672
+ halo in its tier color.
2673
+ Hue: `${color}99` hex+alpha (60%) — color here
2674
+ is a 6-char hex (e.g., '#22c55e' for working
2675
+ cyber, '#0d9488' for idle light), not hsl, so
2676
+ hex+alpha concat works (unlike R541 vendor
2677
+ which needed color-mix for hsl). Banked
2678
+ pattern: hex sources use hex+alpha; hsl/color()
2679
+ sources use color-mix.
2680
+ 2px blur (vs R537's 3px) since pressure-seg is
2681
+ small (h-2 = 8px tall, variable width) — a
2682
+ smaller blur keeps the glow tight to the
2683
+ segment without bleeding into neighbors.
2684
+ filter is paint-only; bbox unchanged; R51
2685
+ overlap-test invariants hold. Transition list
2686
+ already includes `filter` (post-R524). */
2687
+ filter: hoveredStatus === key ? `brightness(1.2) drop-shadow(0 0 2px ${color}99)` : undefined,
2370
2688
  transition: 'width 220ms ease-out, box-shadow 150ms ease-out, filter 150ms ease-out',
2371
2689
  }}
2372
2690
  onClick={(e) => {
@@ -2502,9 +2820,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2502
2820
  // R355: `group` lets the inner opacity-70 spans (prefix
2503
2821
  // `filter:` + count `· N`) brighten to 100 % on pill hover.
2504
2822
  // Sibling treatment on group + vendor pills below.
2505
- 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"
2823
+ // R495 filter pills (3 sibling `group` variants) join the
2824
+ // active:scale-95 press-feedback family. R490's !important
2825
+ // transition list on .anet-topo-chip-focus already covers
2826
+ // transform, so just appending active:scale-95 to the
2827
+ // className wires the press tactile in one token. Compound
2828
+ // with R400-era hover:-translate-y-px gives lift-and-compress.
2829
+ 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 active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
2506
2830
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
2507
2831
  onClick={() => setPinnedStatus(null)}
2832
+ /* Round 543 / Loop — status filter pill gains always-on
2833
+ tier-color drop-shadow when rendered. Pre-R543 the
2834
+ pill carried bg-tint + tier-color text + border but
2835
+ no outer paint extent — it sat as a flat tinted chip
2836
+ in the chip row. R543 adds an outer glow at the
2837
+ pill's text color so the pill radiates a soft tier-
2838
+ colored halo signaling "this filter is active." Pin
2839
+ pill only renders when pinnedStatus is set (the JSX
2840
+ gate above), so the drop-shadow appearing reinforces
2841
+ the visual "active pin" state.
2842
+ Sibling pattern: R477 legend pin-ring also paints a
2843
+ pin-gated tier-color drop-shadow. Pin pill follows
2844
+ the same "pin-gated paint glow" semantics but at the
2845
+ chip-row scope vs the panel-row scope. The chip-row
2846
+ tier-color glow trio (R537/R541/R542 hover-gated)
2847
+ plus R543 (pin-gated, this round) closes the chip-
2848
+ row paint-glow family across BOTH gate types
2849
+ (hover for transient affordance, pin for sticky
2850
+ active-state visual).
2851
+ Hue: explicit tier color (extracted from the
2852
+ existing `color` ternary). 0x99 alpha (~60%) +
2853
+ 3px blur. Stays inside the same color hierarchy
2854
+ as the pill's own text/border (currentColor).
2855
+ R543 status pill scope only — R543's pattern can
2856
+ future-extend to group/vendor/edge filter pills
2857
+ (3 more variants at lines 2683/2755/2824). Out of
2858
+ scope to keep R543 single-pill. */
2508
2859
  style={{
2509
2860
  background: pinnedStatus === 'working' ? (isLight ? '#05966914' : '#22c55e1f')
2510
2861
  : pinnedStatus === 'idle' ? (isLight ? '#0d948814' : '#2dd4bf1f')
@@ -2514,6 +2865,11 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2514
2865
  : (isLight ? '#475569' : '#9ca3af'),
2515
2866
  borderColor: 'currentColor',
2516
2867
  cursor: 'pointer',
2868
+ filter: `drop-shadow(0 0 3px ${
2869
+ pinnedStatus === 'working' ? (isLight ? '#047857' : '#86efac')
2870
+ : pinnedStatus === 'idle' ? (isLight ? '#0f766e' : '#5eead4')
2871
+ : (isLight ? '#475569' : '#9ca3af')
2872
+ }99)`,
2517
2873
  }}
2518
2874
  >
2519
2875
  {/* Round 412 / Loop: filter pin pill VALUE picks up the
@@ -2546,7 +2902,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2546
2902
  inline-block is default for <button> so no display
2547
2903
  tweak needed. replace_all covers all 4 filter pin
2548
2904
  pills (status / group / vendor / edge) at once. */
2549
- className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
2905
+ /* Round 547 / Loop — extends pill × close-button hover
2906
+ gesture from scale-110 (R356) + opacity-70 to ALSO
2907
+ include rotate-12 on hover. Pre-R547 the × dimmed
2908
+ and grew on hover; R547 adds a 12° twist so the
2909
+ close action telegraphs "discarding/spinning away"
2910
+ with a small delight gesture. Composes with
2911
+ transition-transform (existing) — Tailwind's
2912
+ hover:rotate-12 + hover:scale-110 stack into one
2913
+ transform under the same 200ms ease-out tween.
2914
+ Applied to all 4 pill × buttons (status / group /
2915
+ vendor / edge) via replace_all since the className
2916
+ is identical. Closes the pill × hover gesture
2917
+ vocabulary at 3 axes:
2918
+ hover:opacity-70 paint dim
2919
+ hover:scale-110 geometry grow (R356)
2920
+ hover:rotate-12 geometry twist (R547, this round)
2921
+ Hover-gesture parity across the 4-pill family. */
2922
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
2550
2923
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2551
2924
  >×</button>
2552
2925
  </span>
@@ -2566,14 +2939,47 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2566
2939
  data-filter-match-count={matchCount}
2567
2940
  data-filter-match-aliases={matchAliases.join(',')}
2568
2941
  // R355 sibling — `group` parent + group-hover on inner spans.
2569
- 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"
2942
+ // R495 filter pills (3 sibling `group` variants) join the
2943
+ // active:scale-95 press-feedback family. R490's !important
2944
+ // transition list on .anet-topo-chip-focus already covers
2945
+ // transform, so just appending active:scale-95 to the
2946
+ // className wires the press tactile in one token. Compound
2947
+ // with R400-era hover:-translate-y-px gives lift-and-compress.
2948
+ 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 active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
2570
2949
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear filter'}
2571
2950
  onClick={() => setPinnedGroup(null)}
2951
+ /* Round 544 / Loop — extends R543 pin-active filter-pill
2952
+ drop-shadow pattern to the GROUP pill (2nd of 4 pill
2953
+ variants). Pre-R544 the group pill carried bg-tint +
2954
+ pal.legendAccent text/border but no outer paint glow.
2955
+ R544 adds the matching cyan-accent drop-shadow so the
2956
+ group pin pill radiates the same paint glow as R543
2957
+ status pill — pin-active visual signal at chip-row
2958
+ scope.
2959
+ Hue: pal.legendAccent (cyber #67e8f9 cyan-300 /
2960
+ light #0d9488 teal-600). Uses color-mix() syntax
2961
+ because pal.legendAccent may resolve to hex; same
2962
+ syntax works for both hex and hsl sources (banked
2963
+ R541 lesson). 60% alpha + 3px blur — same intensity
2964
+ as R543 status pill so the pin-active visual signal
2965
+ reads with matching brightness across pill variants.
2966
+ Pin-active tier-color paint glow sub-family
2967
+ (CLOSED progressively):
2968
+ R477 legend pin-ring (panel-row, row.fill)
2969
+ R543 status pill (chip-row, tier-color)
2970
+ R544 group pill (chip-row, legendAccent)
2971
+ ← this round
2972
+ Out of scope: vendor pill (line ~2755) + edge pill
2973
+ (line ~2824) — can future-extend in subsequent
2974
+ rounds (R545/R546). Both use the same R543 idiom:
2975
+ always-on drop-shadow when rendered, color from the
2976
+ pill's existing text color. */
2572
2977
  style={{
2573
2978
  background: isLight ? '#67e8f914' : '#67e8f91f',
2574
2979
  color: pal.legendAccent,
2575
2980
  borderColor: 'currentColor',
2576
2981
  cursor: 'pointer',
2982
+ filter: `drop-shadow(0 0 3px color-mix(in srgb, ${pal.legendAccent} 60%, transparent))`,
2577
2983
  }}
2578
2984
  >
2579
2985
  {/* R412: see status pill above — filter value fw=600 data tier. */}
@@ -2596,7 +3002,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2596
3002
  inline-block is default for <button> so no display
2597
3003
  tweak needed. replace_all covers all 4 filter pin
2598
3004
  pills (status / group / vendor / edge) at once. */
2599
- className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
3005
+ /* Round 547 / Loop — extends pill × close-button hover
3006
+ gesture from scale-110 (R356) + opacity-70 to ALSO
3007
+ include rotate-12 on hover. Pre-R547 the × dimmed
3008
+ and grew on hover; R547 adds a 12° twist so the
3009
+ close action telegraphs "discarding/spinning away"
3010
+ with a small delight gesture. Composes with
3011
+ transition-transform (existing) — Tailwind's
3012
+ hover:rotate-12 + hover:scale-110 stack into one
3013
+ transform under the same 200ms ease-out tween.
3014
+ Applied to all 4 pill × buttons (status / group /
3015
+ vendor / edge) via replace_all since the className
3016
+ is identical. Closes the pill × hover gesture
3017
+ vocabulary at 3 axes:
3018
+ hover:opacity-70 paint dim
3019
+ hover:scale-110 geometry grow (R356)
3020
+ hover:rotate-12 geometry twist (R547, this round)
3021
+ Hover-gesture parity across the 4-pill family. */
3022
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
2600
3023
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2601
3024
  >×</button>
2602
3025
  </span>
@@ -2632,14 +3055,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2632
3055
  data-filter-match-count={matchCount}
2633
3056
  data-filter-match-aliases={matchAliases.join(',')}
2634
3057
  // R355 sibling — `group` parent + group-hover on inner spans.
2635
- 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"
3058
+ // R495 filter pills (3 sibling `group` variants) join the
3059
+ // active:scale-95 press-feedback family. R490's !important
3060
+ // transition list on .anet-topo-chip-focus already covers
3061
+ // transform, so just appending active:scale-95 to the
3062
+ // className wires the press tactile in one token. Compound
3063
+ // with R400-era hover:-translate-y-px gives lift-and-compress.
3064
+ 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 active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
2636
3065
  title={matchCount > 0 ? `${matchPreview}${matchSuffix} — click to clear` : 'Click to clear vendor filter'}
2637
3066
  onClick={() => setPinnedVendor(null)}
3067
+ /* Round 545 / Loop — extends pin-active filter-pill drop-
3068
+ shadow pattern to VENDOR pill (3rd of 4 pill variants
3069
+ after R543 status + R544 group). vendorColor is HSL
3070
+ format (banked R541 lesson — vendorDist.color sources
3071
+ from mono.text in vendorIdentity.ts, which is `hsl(...)`),
3072
+ so the filter uses color-mix() syntax — same as R544.
3073
+ 60% alpha + 3px blur, matching R543/R544 intensity for
3074
+ consistent pin-active visual signal across all pill
3075
+ variants.
3076
+ Pin-active tier-color paint glow sub-family (progressive
3077
+ extension, 1 pill variant remaining):
3078
+ R477 legend pin-ring (panel-row, row.fill, hex+alpha)
3079
+ R543 status pill (chip-row, tier-color, hex+alpha)
3080
+ R544 group pill (chip-row, legendAccent, color-mix)
3081
+ R545 vendor pill (chip-row, vendorColor, color-mix)
3082
+ ← this round
3083
+ Out of scope: edge pill (line ~2824 pre-R545, now ~2900+).
3084
+ Final 1/4 pill remaining for a future round closes the
3085
+ sub-family. */
2638
3086
  style={{
2639
3087
  background: `${vendorColor}1f`,
2640
3088
  color: vendorColor,
2641
3089
  borderColor: 'currentColor',
2642
3090
  cursor: 'pointer',
3091
+ filter: `drop-shadow(0 0 3px color-mix(in srgb, ${vendorColor} 60%, transparent))`,
2643
3092
  }}
2644
3093
  >
2645
3094
  {/* R412: see status pill above — filter value fw=600 data tier. */}
@@ -2662,7 +3111,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2662
3111
  inline-block is default for <button> so no display
2663
3112
  tweak needed. replace_all covers all 4 filter pin
2664
3113
  pills (status / group / vendor / edge) at once. */
2665
- className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
3114
+ /* Round 547 / Loop — extends pill × close-button hover
3115
+ gesture from scale-110 (R356) + opacity-70 to ALSO
3116
+ include rotate-12 on hover. Pre-R547 the × dimmed
3117
+ and grew on hover; R547 adds a 12° twist so the
3118
+ close action telegraphs "discarding/spinning away"
3119
+ with a small delight gesture. Composes with
3120
+ transition-transform (existing) — Tailwind's
3121
+ hover:rotate-12 + hover:scale-110 stack into one
3122
+ transform under the same 200ms ease-out tween.
3123
+ Applied to all 4 pill × buttons (status / group /
3124
+ vendor / edge) via replace_all since the className
3125
+ is identical. Closes the pill × hover gesture
3126
+ vocabulary at 3 axes:
3127
+ hover:opacity-70 paint dim
3128
+ hover:scale-110 geometry grow (R356)
3129
+ hover:rotate-12 geometry twist (R547, this round)
3130
+ Hover-gesture parity across the 4-pill family. */
3131
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
2666
3132
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2667
3133
  >×</button>
2668
3134
  </span>
@@ -2695,14 +3161,40 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2695
3161
  data-filter-match-count={link.count}
2696
3162
  data-filter-match-aliases={`${link.from},${link.to}`}
2697
3163
  data-active-filter-edge-hot={isHot ? 'true' : 'false'}
2698
- 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"
3164
+ // R495 sibling 4th filter pill (no `group` prefix variant)
3165
+ // joins active:scale-95 press family alongside the 3 group
3166
+ // variants above. Same recipe.
3167
+ 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 active:scale-95 transform-gpu" data-topo-filter-pill-hover-lift="true"
2699
3168
  title={`${link.from} → ${link.to} (${link.count} msg${link.count === 1 ? '' : 's'}${isHot ? ', hot lane · ≥ 10' : ''}) — click to clear`}
2700
3169
  onClick={() => setPinnedEdgeKey(null)}
3170
+ /* Round 546 / Loop — CLOSES pin-active filter-pill drop-
3171
+ shadow sub-family at the 4th and final pill variant
3172
+ (edge pill). R543 (status) + R544 (group) + R545
3173
+ (vendor) covered the first three; R546 closes at
3174
+ edge.
3175
+ Pin-active tier-color paint glow sub-family CLOSED
3176
+ (4 anchors):
3177
+ R477 legend pin-ring (panel-row, row.fill)
3178
+ R543 status pill (chip-row, tier-color text)
3179
+ R544 group pill (chip-row, legendAccent)
3180
+ R545 vendor pill (chip-row, vendorColor)
3181
+ R546 edge pill (chip-row, pal.flowEdge)
3182
+ ← this round, family CLOSED
3183
+ All 4 filter pin pills now radiate paint glow in the
3184
+ same hue family as their text/border on render —
3185
+ pin-active visual signal uniform across the chip-row
3186
+ pill family.
3187
+ pal.flowEdge is theme-driven (dynamic); color-mix
3188
+ syntax safe-defaults regardless of resolved format
3189
+ (banked R541/R544/R545 pattern). 60% alpha + 3px blur
3190
+ — same intensity as R543/R544/R545 for consistent
3191
+ cross-pill visual signal. */
2701
3192
  style={{
2702
3193
  background: isLight ? `${pal.flowEdge}14` : `${pal.flowEdge}1f`,
2703
3194
  color: pal.flowEdge,
2704
3195
  borderColor: 'currentColor',
2705
3196
  cursor: 'pointer',
3197
+ filter: `drop-shadow(0 0 3px color-mix(in srgb, ${pal.flowEdge} 60%, transparent))`,
2706
3198
  }}
2707
3199
  >
2708
3200
  {/* R412: filter pin pill value (edge variant) picks up fw=600.
@@ -2755,7 +3247,24 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
2755
3247
  inline-block is default for <button> so no display
2756
3248
  tweak needed. replace_all covers all 4 filter pin
2757
3249
  pills (status / group / vendor / edge) at once. */
2758
- className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 transform-gpu"
3250
+ /* Round 547 / Loop — extends pill × close-button hover
3251
+ gesture from scale-110 (R356) + opacity-70 to ALSO
3252
+ include rotate-12 on hover. Pre-R547 the × dimmed
3253
+ and grew on hover; R547 adds a 12° twist so the
3254
+ close action telegraphs "discarding/spinning away"
3255
+ with a small delight gesture. Composes with
3256
+ transition-transform (existing) — Tailwind's
3257
+ hover:rotate-12 + hover:scale-110 stack into one
3258
+ transform under the same 200ms ease-out tween.
3259
+ Applied to all 4 pill × buttons (status / group /
3260
+ vendor / edge) via replace_all since the className
3261
+ is identical. Closes the pill × hover gesture
3262
+ vocabulary at 3 axes:
3263
+ hover:opacity-70 paint dim
3264
+ hover:scale-110 geometry grow (R356)
3265
+ hover:rotate-12 geometry twist (R547, this round)
3266
+ Hover-gesture parity across the 4-pill family. */
3267
+ className="ml-0.5 leading-none hover:opacity-70 transition-transform duration-200 ease-out hover:scale-110 hover:rotate-12 transform-gpu"
2759
3268
  style={{ background: 'transparent', color: 'inherit', cursor: 'pointer', padding: 0 }}
2760
3269
  >×</button>
2761
3270
  </span>
@@ -3045,7 +3554,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3045
3554
  // — sibling to R355 filter-pill prefix/suffix + R414
3046
3555
  // chip-row unit brighten. Closes the inner-span
3047
3556
  // hover-brighten family at the vendor chip surface.
3048
- className="group 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"
3557
+ // R496 vendor letter chip joins active:scale-95 press
3558
+ // family. Last vendor-row clickable joining the family
3559
+ // R495 cashed via R490's transition-cascade dividend.
3560
+ // Same compound w/ R401 hover-lift idiom — lift-and-
3561
+ // compress on press, springs back on release.
3562
+ className="group 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 active:scale-95"
3049
3563
  data-vendor-letter={v.initial}
3050
3564
  data-vendor-letter-count={v.count}
3051
3565
  data-vendor-letter-hover-lift="true"
@@ -3072,6 +3586,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3072
3586
  // for older browsers the chip falls back to its idle
3073
3587
  // transparent bg (graceful degradation — the canvas-
3074
3588
  // dim effect still fires regardless).
3589
+ /* Round 541 / Loop — vendor letter chip gains drop-
3590
+ shadow glow on hover/pin using its OWN vendor
3591
+ identity color (v.color). Sibling to R537 legend-
3592
+ swatch tier-color glow at the chip-row scope.
3593
+ Pre-R541 the vendor chip lifted on multiple
3594
+ axes (R354 inner-glyph scale-1.1, R202 bg color-
3595
+ mix tint, R180 box-shadow pin-mirror inset, R401
3596
+ hover-translate-y -1px, R496 active:scale-95
3597
+ press) but no paint-axis glow extending past
3598
+ the chip's bbox. R541 adds the outer glow at
3599
+ the paint axis so the vendor chip's identity
3600
+ color radiates beyond the chip on attention —
3601
+ same idiom as legend swatch tier-color glow.
3602
+ 2-tier alpha ladder (mirrors R538 group-label):
3603
+ pin (committed) v.color 99 (~60%)
3604
+ hover (preview) v.color 66 (~40%)
3605
+ rest none
3606
+ Pin is brighter to distinguish locked vs preview
3607
+ at the paint axis. The R180 inset box-shadow
3608
+ (pin-mirror) and R541 outer drop-shadow compose
3609
+ at pin — inside chrome reads as "this is pinned"
3610
+ (inset white double-ring), outside paint reads
3611
+ as "vendor identity is locked" (vendor-colour
3612
+ outer glow). Hover gets only the outer glow.
3613
+ 3px blur tuned to read as soft chip-halo without
3614
+ overwhelming adjacent chips in the chip row.
3615
+ filter property is in the .anet-topo-chip-focus
3616
+ class transition list (R524 banked fix), so the
3617
+ filter eases at 200ms naturally.
3618
+ Drop-shadow visual-polish family — R541 adds
3619
+ chip-row tier-color paint glow as another anchor
3620
+ in the same family pattern R537 established.
3621
+ data-vendor-glow attr ('pin' | 'hover' | 'false')
3622
+ exposes the gate state for tests. */
3623
+ data-vendor-glow={isPinned ? 'pin' : hoveredVendor === v.initial ? 'hover' : 'false'}
3075
3624
  style={{
3076
3625
  cursor: 'pointer',
3077
3626
  backgroundColor: (hoveredVendor === v.initial && !isPinned)
@@ -3080,7 +3629,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3080
3629
  boxShadow: isPinned
3081
3630
  ? `inset 0 0 0 1px ${v.color}, inset 0 0 0 2px rgba(255,255,255,0.45)`
3082
3631
  : undefined,
3083
- transition: 'box-shadow 150ms ease-out, background-color 200ms ease-out',
3632
+ filter: isPinned
3633
+ ? `drop-shadow(0 0 3px color-mix(in srgb, ${v.color} 60%, transparent))`
3634
+ : hoveredVendor === v.initial
3635
+ ? `drop-shadow(0 0 3px color-mix(in srgb, ${v.color} 40%, transparent))`
3636
+ : undefined,
3637
+ transition: 'box-shadow 150ms ease-out, background-color 200ms ease-out, filter 200ms ease-out',
3084
3638
  }}
3085
3639
  onMouseEnter={() => setHoveredVendor(v.initial)}
3086
3640
  onMouseLeave={() => setHoveredVendor(prev => prev === v.initial ? null : prev)}
@@ -3283,9 +3837,13 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3283
3837
  data-chip-hover-lift attr exposes the lift surface
3284
3838
  state ('true' clickable, 'false' empty) for tests. */
3285
3839
  // R414: `group` parent + inner unit span group-hover-brighten — see working chip above.
3840
+ // R496 — active-links chip joins active:scale-95 press
3841
+ // family. Sibling to working+online chips (R494). Gated
3842
+ // on `isInteractive` (flowLinks.length > 0) — same R399
3843
+ // conditional pattern used for hover-lift.
3286
3844
  className={`group 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 ${
3287
3845
  isInteractive
3288
- ? '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'
3846
+ ? '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 active:scale-95'
3289
3847
  : 'bg-gray-500/10 text-gray-400 border-gray-500/20'
3290
3848
  }`}
3291
3849
  data-chip-hover-lift={isInteractive ? 'true' : 'false'}
@@ -3318,7 +3876,9 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3318
3876
  chip-internal-hierarchy arc. data-active-links-
3319
3877
  chip-unit exposes the unit span for tests. */}
3320
3878
  {/* R362 sibling — active-links chip digit gains font-semibold. */}
3321
- <span className="font-semibold transition-[font-weight] duration-200 group-hover:font-bold" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
3879
+ {/* R539 sibling active-links chip digit. Same idiom
3880
+ as working + online above. */}
3881
+ <span className="font-semibold transition-[font-weight,letter-spacing] duration-200 group-hover:font-bold group-hover:tracking-wide" data-active-links-chip-digit>{flowLinks.length}</span><span className="opacity-70 transition-opacity duration-200 group-hover:opacity-100" data-active-links-chip-unit> active link{flowLinks.length === 1 ? '' : 's'}</span>
3322
3882
  {rel ? (() => {
3323
3883
  // Round 161 / Loop: extend R160's recency-pip
3324
3884
  // vocabulary up one scope — from per-flow row to
@@ -3532,6 +4092,36 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3532
4092
  on the canvas root for non-visual consumers.
3533
4093
  Composed from existing onlineNodes / workingCount /
3534
4094
  offlineNodes / flowLinks — no new state. */
4095
+ /* Round 502 / Loop — categorical density-tier paired with the
4096
+ R469 numeric counts. data-topo-fleet-density-tier classifies
4097
+ the fleet size into 5 buckets so external consumers (CSS
4098
+ selectors, Playwright probes, future density-conditional
4099
+ polish gates like R109 dense-label collapse at 16+ nodes)
4100
+ can branch on a stable tier name without re-deriving the
4101
+ threshold logic from the raw numeric. Buckets:
4102
+ 'empty' — onlineNodes.length === 0
4103
+ 'sparse' — 1-3 nodes
4104
+ 'normal' — 4-15 nodes
4105
+ 'dense' — 16-30 nodes (matches R109 collapse gate)
4106
+ 'very-dense' — 31+ nodes
4107
+ Picks the gate boundaries that already drive CONDITIONAL
4108
+ RENDER decisions elsewhere (R109 denseLayout = >16, R110
4109
+ plain-text fallback) so the tier name is semantically
4110
+ aligned with the visual mode the canvas already switches
4111
+ to. Composed from existing onlineNodes — no new state.
4112
+ 12th attr in the canvas state surface set (R462/R466/R467/
4113
+ R469×4/R471×2/R487/R488/R502). 12 attrs covers: build
4114
+ identity, transient/sticky inspection modes, fleet split
4115
+ numerics, fleet density tier, canvas layout/theme, canvas
4116
+ zoom, hover identity. A test harness can snapshot the
4117
+ full canvas state with 12 getAttribute calls. */
4118
+ data-topo-fleet-density-tier={
4119
+ onlineNodes.length === 0 ? 'empty' :
4120
+ onlineNodes.length <= 3 ? 'sparse' :
4121
+ onlineNodes.length <= 15 ? 'normal' :
4122
+ onlineNodes.length <= 30 ? 'dense' :
4123
+ 'very-dense'
4124
+ }
3535
4125
  data-topo-online-count={onlineNodes.length}
3536
4126
  data-topo-working-count={workingCount}
3537
4127
  data-topo-offline-count={offlineNodes.length}
@@ -3597,6 +4187,119 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3597
4187
  categorical) — separate dedicated attrs if/when needed.
3598
4188
  Root svg attribute set now 11 attrs total. */
3599
4189
  data-topo-hovered-alias={hoveredAlias ?? ''}
4190
+ /* Round 504 / Loop — categorical pin-aspect attr paired with
4191
+ R467 any-pinned boolean and R488 hovered-alias identity.
4192
+ Pre-R504 the canvas state surface set told tests WHETHER
4193
+ any pin was active (R467 boolean) but tests had to enumerate
4194
+ 4 individual state vars to determine WHICH pin axis fired:
4195
+ pinnedStatus legend-row status filter
4196
+ pinnedGroup prefix-cluster lock
4197
+ pinnedVendor vendor-chip filter
4198
+ pinnedEdgeKey edge-focus
4199
+ R504 surfaces the active aspect as a single categorical
4200
+ attribute: data-topo-pinned-aspect ∈
4201
+ 'none' no pin active
4202
+ 'status' pinnedStatus only
4203
+ 'group' pinnedGroup only
4204
+ 'vendor' pinnedVendor only
4205
+ 'edge' pinnedEdgeKey only
4206
+ 'multi' 2 or more pins active simultaneously
4207
+ ('multi' covers cross-cutting filters — e.g. user pins
4208
+ status='working' AND vendor='claude' simultaneously to
4209
+ narrow the canvas. Each pin axis is independently
4210
+ dismissable via Esc / individual chip click, so multi
4211
+ states are reachable and worth surfacing as a distinct
4212
+ tier.)
4213
+ 13th attr in the canvas state surface set after R502.
4214
+ Composed from 4 existing state vars — no new state. */
4215
+ /* Round 512 / Loop — 14th canvas state attr. groupBoxes.length
4216
+ surfaces the count of cluster boxes currently rendered in
4217
+ grid layout (always 0 in ring). Paired with R502 categorical
4218
+ density tier + R469 fleet numerics for a complete cluster-
4219
+ cardinality surface:
4220
+ R469 data-topo-online-count node-count
4221
+ R502 data-topo-fleet-density-tier categorical
4222
+ R512 data-topo-cluster-count cluster-count ← this round
4223
+ Use cases:
4224
+ - Playwright: assert orphan-band existence by
4225
+ `cluster-count === N + 1` vs prefix-only `=== N`
4226
+ - external CSS: `[data-topo-cluster-count='1']` to apply
4227
+ single-cluster grid-specific layout adjustments
4228
+ - future polish gates: cluster-count > N could trigger
4229
+ dense-grid mode
4230
+ Composed from existing `groupBoxes.length` — no new state.
4231
+ Always renders (0 in ring layout, N in grid), so tests can
4232
+ rely on attribute presence + value. */
4233
+ data-topo-cluster-count={groupBoxes.length}
4234
+ /* Round 513 / Loop — 15th canvas state attr. Surfaces the
4235
+ user's prefers-reduced-motion preference directly on the
4236
+ root SVG so external CSS / Playwright tests can branch on
4237
+ a11y state without re-reading the media query.
4238
+ reducedMotion is already in component scope (R29 a11y
4239
+ blanket reads it via a useEffect listener); R513 just
4240
+ exposes it as a stable attribute handle.
4241
+ Use cases:
4242
+ - Playwright: assert reduced-motion gates from one attr
4243
+ read instead of mocking media-query state per test
4244
+ - External CSS hooks: `[data-topo-prefers-reduced-motion=
4245
+ "true"]` to apply paint-only overrides (e.g. mute
4246
+ hover glows entirely on a11y instead of just
4247
+ disabling transitions)
4248
+ - Future polish rounds: any motion-gated render can
4249
+ read this attr server-side without the media-query
4250
+ hydration mismatch risk
4251
+ 'true' / 'false' string values (consistent with R466/R467
4252
+ boolean attrs). */
4253
+ data-topo-prefers-reduced-motion={reducedMotion ? 'true' : 'false'}
4254
+ /* Round 515 / Loop — 16th canvas state attr. Surfaces the
4255
+ fullscreen-mode state directly on root SVG so external
4256
+ consumers don't have to traverse the chrome strip's
4257
+ `data-topo-chrome-fullscreen-active` button attr (which
4258
+ measures the BUTTON state, not the canvas state — they
4259
+ agree, but reading from the root is semantically cleaner
4260
+ for canvas-state probes).
4261
+ Composed from existing isFullscreen React state (R103
4262
+ fullscreen toggle).
4263
+ Use cases:
4264
+ - Playwright: assert canvas mode in one attr read
4265
+ (paired with R471 data-topo-layout for ring/grid +
4266
+ R487 data-topo-zoom for zoom level + R513 reduced-
4267
+ motion for a11y mode = 4-axis canvas-mode probe)
4268
+ - External CSS: `[data-topo-fullscreen="true"]` to
4269
+ apply fullscreen-only paint adjustments outside the
4270
+ React tree (e.g. body-level scrollbar hide)
4271
+ 'true' / 'false' string values (consistent with R466/
4272
+ R467/R513 boolean attrs). */
4273
+ data-topo-fullscreen={isFullscreen ? 'true' : 'false'}
4274
+ /* Round 516 / Loop — 17th canvas state attr. Surfaces the
4275
+ grid layout's content-bottom y-coordinate so tests can
4276
+ verify grid content doesn't extend past the viewBox or
4277
+ collide with chrome elements positioned below the canvas.
4278
+ Composed from existing gridContentBottom derived state
4279
+ (computed at line ~915 from gy0 + totalRows * cellH + 8).
4280
+ In ring layout, gridContentBottom is 0 (no grid). In grid
4281
+ layout it's the actual pixel y-coordinate where the
4282
+ cluster bands end.
4283
+ Use cases:
4284
+ - Playwright: assert grid layout doesn't exceed viewBox
4285
+ height (680) without re-computing the layout math
4286
+ - External CSS: `[data-topo-grid-content-bottom='0']` to
4287
+ distinguish ring-mode (no grid content) from grid-mode
4288
+ in CSS without parsing layout attr
4289
+ - Future polish gates: if cluster count grows large
4290
+ enough to push grid bottom past viewBox, can trigger
4291
+ a 'compact' mode automatically */
4292
+ data-topo-grid-content-bottom={gridContentBottom}
4293
+ data-topo-pinned-aspect={(() => {
4294
+ const aspects: string[] = [];
4295
+ if (pinnedStatus) aspects.push('status');
4296
+ if (pinnedGroup) aspects.push('group');
4297
+ if (pinnedVendor) aspects.push('vendor');
4298
+ if (pinnedEdgeKey) aspects.push('edge');
4299
+ if (aspects.length === 0) return 'none';
4300
+ if (aspects.length === 1) return aspects[0];
4301
+ return 'multi';
4302
+ })()}
3600
4303
  /* Round 466 / Loop — aggregate hover signal on the root SVG.
3601
4304
  Exposes a single boolean `data-topo-any-hover` that
3602
4305
  reflects whether ANY hover state in the topology is
@@ -3839,7 +4542,38 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
3839
4542
  const x = ((seed * 13) % 1000);
3840
4543
  const y = ((seed * 7) % 680);
3841
4544
  const r = (i % 3 === 0) ? 1.2 : 0.7;
3842
- return <circle key={i} cx={x} cy={y} r={r} fill="#a5b4fc" opacity={0.35 + (i % 4) * 0.05} data-topo-starfield-dot={i} />;
4545
+ /* Round 523 / Loop 配色 family extension to a 3rd anchor.
4546
+ Pre-R523 all 14 starfield dots painted at the same
4547
+ hardcoded `#a5b4fc` (indigo-300). The starfield's role
4548
+ is atmospheric depth (R45, R291 comment), but a flat
4549
+ single-hue field reads more like a regular dot grid
4550
+ than a star field — real starlight has color
4551
+ temperature variation (blue-white hot stars / yellow
4552
+ sun-like / cool red).
4553
+ R523 cycles a 3-color deterministic rotation based on
4554
+ `i % 3`:
4555
+ i % 3 === 0 → #a5b4fc indigo-300 (original, cool)
4556
+ i % 3 === 1 → #67e8f9 cyan-300 (cyber accent, hot)
4557
+ i % 3 === 2 → #cbd5e1 slate-300 (neutral, warm white)
4558
+ All three hues sit inside the cyber theme's palette
4559
+ family (indigo / cyan / slate) so the starfield reads
4560
+ varied-but-coherent rather than rainbow. At opacity
4561
+ 0.5 (parent <g>) * 0.35-0.50 (per-dot) the temperature
4562
+ shifts are gentle but perceptible — closes the gap
4563
+ between 'dot grid' and 'star field'.
4564
+ 配色 family extension (3 anchors): R509/R510 hub-
4565
+ highlight cross-theme fill + R523 starfield color
4566
+ temperature variation. Light theme unaffected
4567
+ (starfield gated `!isLight` so light theme stays
4568
+ clean per R45's original 'white surface stays clean'
4569
+ intent).
4570
+ Deterministic on `i` — no JS hydration mismatch,
4571
+ same SSR/client output. data-topo-starfield-dot-hue
4572
+ attr exposes the resolved hue category for tests. */
4573
+ const hues = ['#a5b4fc', '#67e8f9', '#cbd5e1'] as const;
4574
+ const hueNames = ['indigo', 'cyan', 'slate'] as const;
4575
+ const hueIdx = i % 3;
4576
+ return <circle key={i} cx={x} cy={y} r={r} fill={hues[hueIdx]} opacity={0.35 + (i % 4) * 0.05} data-topo-starfield-dot={i} data-topo-starfield-dot-hue={hueNames[hueIdx]} />;
3843
4577
  })}
3844
4578
  </g>
3845
4579
  )}
@@ -4377,8 +5111,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4377
5111
  data-topo-hub-spoke-stroke-width={spokeStrokeWidth}
4378
5112
  data-topo-hub-spoke-stroke-width-active="2.25"
4379
5113
  data-topo-hub-spoke-linecap="round"
5114
+ /* Round 533 / Loop — extends drop-shadow visual-polish
5115
+ family to a 9th anchor: hub spokes gain filter:drop-
5116
+ shadow glow on hub-hover. Subtle 1.5px cyan/teal blur
5117
+ applied across ALL spokes simultaneously when the
5118
+ user hovers the hub — the network mesh visually
5119
+ "lights up" in response to focal attention. Sibling
5120
+ to R476 hub-digit + R532 hub-highlight glow at the
5121
+ same gate (hoveredHub && !reducedMotion); together
5122
+ the three anchors (digit + highlight disc + spokes)
5123
+ form a unified focal-cluster glow that signals
5124
+ "you're focused on the hub" across geometry,
5125
+ paint, and mesh-extent axes.
5126
+ Theme-aware glow palette matches the spoke stroke
5127
+ family:
5128
+ light: rgba(13, 148, 136, 0.4) teal-600
5129
+ cyber: rgba(34, 211, 238, 0.4) cyan-400
5130
+ 0.4 alpha keeps the glow subtle across N spokes
5131
+ (30+ at peak fleet sizes) — loud bloom across many
5132
+ edges would compete with the focal cluster itself.
5133
+ 1.5px blur is conservative; tuned so each spoke
5134
+ gains a faint outer halo rather than a wide bloom.
5135
+ filter is paint-only; bbox unchanged; existing
5136
+ R241 transition list extends to 'filter 250ms
5137
+ ease-out' matching the spoke transition cadence
5138
+ (250ms, distinct from the 200ms hub-cluster
5139
+ cadence — spokes ease slightly slower since they
5140
+ respond to per-alias state, not just hub state).
5141
+ data-topo-hub-spoke-glow attr exposes the gate
5142
+ state for tests. */
5143
+ data-topo-hub-spoke-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
4380
5144
  style={{
4381
- transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out',
5145
+ transition: 'stroke 250ms ease-out, stroke-width 250ms ease-out, opacity 250ms ease-out, filter 250ms ease-out',
5146
+ filter: !reducedMotion && hoveredHub
5147
+ ? (isLight
5148
+ ? 'drop-shadow(0 0 1.5px rgba(13, 148, 136, 0.4))'
5149
+ : 'drop-shadow(0 0 1.5px rgba(34, 211, 238, 0.4))')
5150
+ : undefined,
4382
5151
  ...(isActiveSpoke ? {} : {
4383
5152
  animationDelay: `${-(idx * 0.25)}s`,
4384
5153
  // CSS var consumed by `.anet-topo-spoke-flow`
@@ -4526,12 +5295,75 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4526
5295
  // pinned → fill 0.08 / 0.13, stroke 3 px (locked)
4527
5296
  // hovered → fill 0.05 / 0.09, stroke 2 px (inspecting)
4528
5297
  // idle → fill 0.025 / 0.045, stroke 1.5 px dashed
4529
- fillOpacity={isPinned ? (isLight ? 0.08 : 0.13)
4530
- : isHovered ? (isLight ? 0.05 : 0.09)
4531
- : (isLight ? 0.025 : 0.045)}
5298
+ /* Round 506 / Loop category-differentiation family
5299
+ 3rd anchor. Orphan band rest-state fillOpacity drops
5300
+ slightly below prefix-group rest (0.025/0.045
5301
+ 0.015/0.028). Adds a 3rd independent paint
5302
+ differentiator to the orphan visual signature:
5303
+ R499 fontStyle: italic (label text)
5304
+ R503 '3 6' dash pattern (rect stroke)
5305
+ R506 lower fillOpacity (rect fill) ← this round
5306
+ Three independent channels (typography + stroke
5307
+ pattern + fill density) collectively encode the
5308
+ catchall semantic at rest. Pin and hover branches
5309
+ UNCHANGED (still 0.05/0.09 hover, 0.08/0.13 pin) —
5310
+ orphan box gets full visual emphasis on inspection
5311
+ identical to prefix groups; the differentiation
5312
+ lives ONLY in the unsolicited rest state. The
5313
+ ~40% drop (0.045 → 0.028 cyber, 0.025 → 0.015
5314
+ light) is subtle enough that the orphan box stays
5315
+ visible at rest, just quieter — matches the
5316
+ "misc bucket, less attention-deserving" semantic
5317
+ without losing the visual anchor.
5318
+ Pure paint axis; bbox unchanged; R51 SVG sentinel
5319
+ safety untouched (overlap-test gates to g[data-
5320
+ node], cluster rect invisible to it).
5321
+ data-group-box-fill-opacity attr surfaces the
5322
+ resolved value for tests. */
5323
+ fillOpacity={
5324
+ isPinned ? (isLight ? 0.08 : 0.13)
5325
+ : isHovered ? (isLight ? 0.05 : 0.09)
5326
+ : box.isOrphan ? (isLight ? 0.015 : 0.028)
5327
+ : (isLight ? 0.025 : 0.045)
5328
+ }
5329
+ data-group-box-fill-opacity={
5330
+ isPinned ? (isLight ? 0.08 : 0.13)
5331
+ : isHovered ? (isLight ? 0.05 : 0.09)
5332
+ : box.isOrphan ? (isLight ? 0.015 : 0.028)
5333
+ : (isLight ? 0.025 : 0.045)
5334
+ }
4532
5335
  stroke={(isPinned || isHovered) ? pal.legendAccent : pal.ringStroke}
4533
5336
  strokeWidth={isPinned ? 3 : isHovered ? 2 : 1.5}
4534
- strokeDasharray={(isPinned || isHovered) ? 'none' : '6 6'}
5337
+ /* Round 503 / Loop category-differentiation family
5338
+ 2nd anchor (R499 = orphan label italic, 1st anchor).
5339
+ Orphan band rest-state strokeDasharray switches from
5340
+ '6 6' (prefix-group default) to '3 6' (tighter
5341
+ dashes). Pre-R503 the rect dash pattern was uniform
5342
+ across all bands; combined with R499's italic label,
5343
+ the orphan box now has TWO independent paint/
5344
+ typography differentiators at rest:
5345
+ R499 fontStyle: italic (label text)
5346
+ R503 '3 6' dash pattern (rect stroke) ← this round
5347
+ The R85 marching-ants animation continues to work
5348
+ with the new dash size (uses --march-dur custom
5349
+ property, dash-length-agnostic) — orphan's ants
5350
+ just have a different visual rhythm than prefix-
5351
+ group ants, reinforcing the catchall semantic.
5352
+ Pinned/hovered orphan still gets 'none' (solid
5353
+ stroke) so the hover/pin affordance is preserved
5354
+ — the differentiation lives ONLY in the rest
5355
+ state, never blocking inspection.
5356
+ Pure paint axis; no geometry change; bbox unchanged
5357
+ (strokeDasharray is paint-only). R51 SVG sentinel
5358
+ safety untouched (overlap-test gates to g[data-
5359
+ node], this cluster rect is invisible to it).
5360
+ data-group-box-orphan attr surfaces the gate for
5361
+ tests + future polish references. */
5362
+ strokeDasharray={
5363
+ (isPinned || isHovered) ? 'none' :
5364
+ box.isOrphan ? '3 6' : '6 6'
5365
+ }
5366
+ data-group-box-orphan={box.isOrphan ? 'true' : 'false'}
4535
5367
  /* Round 380 / Loop: cluster box stroke gets round
4536
5368
  linecap + round linejoin. Sibling SVG stroke-
4537
5369
  softening polish to R378 flow-rail linecap + R379
@@ -4851,7 +5683,44 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4851
5683
  fontSize="9"
4852
5684
  fontFamily="monospace"
4853
5685
  fontWeight={isPinned ? '800' : '700'}
4854
- opacity={isPinned || isHovered ? 1 : 0.55}
5686
+ /* Round 551 / Loop category-differentiation family
5687
+ 4th anchor. Orphan band ("其他" catchall) rest-state
5688
+ LABEL opacity drops 0.55 → 0.4 (~27% relative dim),
5689
+ mirroring R506's rect fillOpacity drop pattern at
5690
+ the label-paint tier. Adds a 4th independent
5691
+ channel to the orphan visual signature at rest:
5692
+ R499 fontStyle italic (typography style)
5693
+ R503 '3 6' dash pattern (rect stroke)
5694
+ R506 lower rect fill-opacity (rect fill)
5695
+ R551 lower label opacity (label paint) ← this round
5696
+ Four independent channels (typography style +
5697
+ stroke pattern + rect fill density + label paint
5698
+ density) collectively encode the catchall semantic
5699
+ at rest — orphan band reads as "misc bucket, less
5700
+ attention-deserving" through every available paint
5701
+ channel, no chrome / color / geometry change.
5702
+ Pin and hover branches UNCHANGED — orphan label
5703
+ restores to full opacity 1 on inspection, same as
5704
+ prefix groups. The differentiation lives ONLY in
5705
+ the unsolicited rest state. The ~27% drop (0.55 →
5706
+ 0.4) is dimmer than R506's ~40% (rect could
5707
+ tolerate it; small 9px text needs more residual
5708
+ paint to stay legible) — orphan label stays
5709
+ readable when scanning, just clearly quieter.
5710
+ Pure paint axis; bbox unchanged; R51 SVG sentinel
5711
+ safety untouched (overlap-test gates to g[data-
5712
+ node], this group-label is invisible to it).
5713
+ transition list (R55/R432/R457/R479: fill, ls,
5714
+ fw, filter all 200ms) already eases opacity since
5715
+ `opacity 300ms ease-out` lives in the parent <text>
5716
+ CSS — wait, only filter/ls/fw/fill 200ms are
5717
+ listed. Need to add 'opacity 200ms ease-out' for
5718
+ smooth orphan opacity flip on pin/hover transitions
5719
+ (currently opacity 0.55 → 1 was snapping).
5720
+ data-group-label-opacity attr exposes the resolved
5721
+ value for tests. */
5722
+ opacity={isPinned || isHovered ? 1 : box.isOrphan ? 0.4 : 0.55}
5723
+ data-group-label-opacity={isPinned || isHovered ? 1 : box.isOrphan ? 0.4 : 0.55}
4855
5724
  data-group-label-hovered={isHovered && !isPinned ? 'true' : 'false'}
4856
5725
  data-group-label-font-weight={isPinned ? '800' : '700'}
4857
5726
  /* Round 479 / Loop — extend drop-shadow visual-polish
@@ -4875,17 +5744,63 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
4875
5744
  transition list extends to include 'filter 200ms
4876
5745
  ease-out' alongside the existing fill/ls/fw/opacity
4877
5746
  200ms tweens. */
4878
- data-group-label-glow={isPinned ? 'true' : 'false'}
5747
+ /* Round 538 / Loop — extends R479 group-label drop-
5748
+ shadow from pin-only to ALSO fire on hover, with
5749
+ a 2-tier alpha ladder matching the R432 letter-
5750
+ spacing 3-tier (hover at 0.25px / pin at 0.5px)
5751
+ pattern. Pre-R538 the paint axis was binary (lit
5752
+ on pin, dark on hover); R538 adds a softer hover
5753
+ glow that distinguishes from the stronger pin
5754
+ glow without losing the "active state lights up"
5755
+ gesture.
5756
+ 2-tier alpha ladder:
5757
+ pin (committed) cyan 80 hex (~50% alpha)
5758
+ hover (preview) cyan 4d hex (~30% alpha)
5759
+ rest none
5760
+ Pin signature stays distinctively brighter, but
5761
+ hover now telegraphs paint-axis attention too.
5762
+ Sibling to R534 edge-badge hover-precedence
5763
+ extension at the drop-shadow family. R479 hue
5764
+ (pal.legendAccent) preserved across both tiers.
5765
+ data-group-label-glow attr upgraded from binary
5766
+ ('true'/'false') to 3-value ('pin' | 'hover' |
5767
+ 'false') so tests can distinguish gate cause. */
5768
+ data-group-label-glow={isPinned ? 'pin' : isHovered ? 'hover' : 'false'}
5769
+ /* Round 499 / Loop — orphan band "其他" label gets
5770
+ fontStyle: italic to visually distinguish the
5771
+ catchall from real prefix-group bands. Pre-R499
5772
+ the orphan box label rendered identically to
5773
+ prefix-group labels (Hero D fontSize=9, fw=700,
5774
+ opacity 0.55 rest), so users had to read the
5775
+ literal text "其他" to identify the catchall. R499
5776
+ adds a pure-typography differentiation: italic
5777
+ signals "this is the misc bucket, not a real
5778
+ named group" while preserving full opacity
5779
+ affordance on hover/pin — the orphan box stays
5780
+ equally inspectable, just typographically marked
5781
+ as a different category. No geometry change
5782
+ (italic shifts glyph slant within the same bbox),
5783
+ no opacity loss, no behavior change. Sibling to
5784
+ R432 letter-spacing 3-tier + R457 pin fw-lift +
5785
+ R479 pin drop-shadow at the group-label scope.
5786
+ Falls under 配色 / 节点视觉 themes per the prompt;
5787
+ advances the "信息密度" axis by encoding
5788
+ category-distinction into a single typography
5789
+ channel without adding visual chrome. */
4879
5790
  style={{
4880
5791
  transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
4881
5792
  letterSpacing: isPinned ? '0.5px' :
4882
5793
  isHovered ? '0.25px' : '0px',
5794
+ fontStyle: box.isOrphan ? 'italic' : undefined,
4883
5795
  filter: isPinned
4884
5796
  ? `drop-shadow(0 0 3px ${pal.legendAccent}80)`
4885
- : undefined,
5797
+ : isHovered
5798
+ ? `drop-shadow(0 0 3px ${pal.legendAccent}4d)`
5799
+ : undefined,
4886
5800
  }}
4887
5801
  data-group-label={box.key}
4888
5802
  data-group-label-pinned={isPinned ? 'true' : 'false'}
5803
+ data-group-label-orphan={box.isOrphan ? 'true' : 'false'}
4889
5804
  >
4890
5805
  {box.key}
4891
5806
  {/* Round 19 / Loop: member-count chip. Inline tspan stays
@@ -5972,11 +6887,48 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
5972
6887
  data-edge-badge-opacity-rest={isLight ? 0.95 : 0.85}
5973
6888
  data-edge-badge-opacity-hover="1"
5974
6889
  data-edge-badge-opacity-active="1"
5975
- data-edge-badge-glow={isHot ? 'true' : 'false'}
6890
+ data-edge-badge-glow={(isHoveredEdge || isPinned) ? 'hover' : isHot ? 'hot' : 'false'}
6891
+ /* Round 534 / Loop — extends edge-badge drop-shadow
6892
+ coverage from hot-only (R480 amber) to also fire
6893
+ on hover/pin with a cyan accent glow. Pre-R534
6894
+ the badge's hover/pin lifted r (R164 9 → 10.5)
6895
+ + sw (R394 1.25 → 1.5) + opacity (R395/R396 →
6896
+ 1.0), but the paint axis stayed at the badge's
6897
+ rest fill — no glow to telegraph "in focus" at
6898
+ the paint layer. R534 closes that 4-axis hover-
6899
+ lift parity by adding drop-shadow glow on
6900
+ (hovered || pinned).
6901
+ Precedence: (hover || pin) wins over isHot when
6902
+ BOTH true — interactive signal (user is
6903
+ inspecting) overrides informational signal
6904
+ (hot lane). When only isHot fires (no hover/
6905
+ pin) the amber R480 glow remains; the hover/
6906
+ pin case paints cyan/teal `pal.legendAccent`
6907
+ at 0x99 alpha (~60%) — bright enough to read
6908
+ as "lit" but won't overwhelm at small badge
6909
+ size (r=10.5).
6910
+ Edge-badge 4-axis hover-lift parity now:
6911
+ R164 r 9 → 10.5
6912
+ R394 stroke-wd 1.25 → 1.5
6913
+ R395 opacity rest → 1.0
6914
+ R534 filter none → drop-shadow glow ← this round
6915
+ Drop-shadow visual-polish family extension —
6916
+ edge-badge surface upgraded from single-gate
6917
+ (R480 isHot) to two-gate (isHot OR hover-pin).
6918
+ transition list already includes filter 200ms
6919
+ ease-out (R480). data-edge-badge-glow attr
6920
+ upgraded from `isHot ? true : false` to a
6921
+ 3-value string: 'hot' | 'hover' | 'false' so
6922
+ tests can distinguish gate cause.
6923
+ R51 sentinel safety: badge is edge-internal
6924
+ (not g[data-node] ancestor); filter is paint-
6925
+ only; bbox unchanged. */
5976
6926
  style={{
5977
- filter: isHot
5978
- ? `drop-shadow(0 0 3px ${hotStroke}80)`
5979
- : undefined,
6927
+ filter: (isHoveredEdge || isPinned)
6928
+ ? `drop-shadow(0 0 3px ${pal.legendAccent}99)`
6929
+ : isHot
6930
+ ? `drop-shadow(0 0 3px ${hotStroke}80)`
6931
+ : undefined,
5980
6932
  transition: 'r 180ms ease-out, stroke 300ms ease-out, stroke-width 300ms ease-out, fill 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
5981
6933
  }}
5982
6934
  />
@@ -6276,6 +7228,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6276
7228
  data-hub-busyness={busy}
6277
7229
  data-topo-hub-halo-radius={haloR}
6278
7230
  data-topo-hub-halo-hovered={isHaloHovered ? 'true' : 'false'}
7231
+ data-topo-hub-halo-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
6279
7232
  data-topo-hub-halo-trough={isLight ? troughLight : troughDark}
6280
7233
  data-topo-hub-halo-peak={isLight ? peakLight : peakDark}
6281
7234
  /* Round 253 / Loop: hub grounding halo fill transition
@@ -6287,10 +7240,45 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6287
7240
  conflict.
6288
7241
  R451: r as CSS property (R197/R198 idiom) so the
6289
7242
  hover-radius tween eases smoothly under the same
6290
- 200ms cadence as fill. */
7243
+ 200ms cadence as fill.
7244
+ R536: extends hub-cluster glow QUARTET (R476 digit
7245
+ + R532 disc + R535 ring + R533 spokes) to a 5th
7246
+ tier — the halo gains drop-shadow at the outermost
7247
+ concentric ring on hub-hover. 2px blur + 0.3 alpha
7248
+ keeps the halo's glow subtle since (a) the halo is
7249
+ the LARGEST hub element (r=22 hover) and a heavier
7250
+ glow would bleed visibly past the ring tier into
7251
+ the spoke origin, and (b) the halo already SMIL-
7252
+ animates opacity (R84/R244 breath), so the visible
7253
+ glow pulses with the breath — an atmospheric
7254
+ "breathing glow" idiom rather than a static rim.
7255
+ Hub-cluster glow QUINTET (R476/R532/R533/R535/R536):
7256
+ digit (typo center) 3px emerald 0.6
7257
+ disc (r=5.5/6) 3px emerald 0.6
7258
+ ring (r=14/17) 3px emerald 0.5
7259
+ halo (r=20/22) 2px emerald 0.3 ← this round
7260
+ spokes (mesh) 1.5px cyan/teal 0.4
7261
+ Emerald palette continues through the focal-disc
7262
+ family (digit/disc/ring/halo); spokes break out
7263
+ into cyan/teal at the mesh tier. The 4-step alpha
7264
+ ladder 0.6→0.6→0.5→0.3 reads as the focal cluster
7265
+ fading outward — the OUTERMOST emerald glow is the
7266
+ softest, the focal digit is the brightest.
7267
+ filter is paint-only; SMIL animate on opacity
7268
+ continues independently (attribute vs CSS-property
7269
+ non-conflicting). transition list extends to
7270
+ 'filter 200ms ease-out' alongside fill + r.
7271
+ Drop-shadow visual-polish family extension (12
7272
+ anchors). preview.50 milestone round. data-topo-
7273
+ hub-halo-glow attr exposes the gate state. */
6291
7274
  style={{
6292
7275
  r: `${haloR}px`,
6293
- transition: 'fill 200ms ease-out, r 200ms ease-out',
7276
+ filter: !reducedMotion && hoveredHub
7277
+ ? (isLight
7278
+ ? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.3))'
7279
+ : 'drop-shadow(0 0 2px rgba(52, 211, 153, 0.3))')
7280
+ : undefined,
7281
+ transition: 'fill 200ms ease-out, r 200ms ease-out, filter 200ms ease-out',
6294
7282
  } as React.CSSProperties}
6295
7283
  >
6296
7284
  {/* Round 244 / Loop: hub grounding halo breath gets
@@ -6500,22 +7488,91 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6500
7488
  so the glow eases under the same cadence as the
6501
7489
  scale + fw + fill axes. */
6502
7490
  data-topo-hub-working-count-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
7491
+ /* Round 507 / Loop — focal recede. When ANY non-hub
7492
+ canvas surface is hovered (a node / an edge / a
7493
+ group label / a legend row / a vendor chip), the
7494
+ hub-center workingCount digit fades to 0.85 opacity,
7495
+ signaling "you're inspecting elsewhere, hub recedes
7496
+ to background." When the user un-hovers (or hovers
7497
+ the hub itself), opacity returns to 1.0. Pure paint
7498
+ polish at the canvas's most prominent focal point.
7499
+ Hits 信息密度 + 动效 themes — the hub digit gives
7500
+ way visually to the surface under inspection,
7501
+ reinforcing the "this is the focal point right now"
7502
+ gesture without requiring users to track which
7503
+ surface holds attention.
7504
+ Gate excludes hoveredHub specifically: hovering the
7505
+ hub itself should LIFT the digit (R425 fw bump +
7506
+ R476 glow + R209 scale 1.08) — the existing hover-
7507
+ on-hub signature is intact; only inspection
7508
+ ELSEWHERE recedes the hub.
7509
+ Composed from existing hoveredAlias / hoveredEdge-
7510
+ Key / hoveredGroupLabel / hoveredStatus / hovered-
7511
+ Vendor — no new state. 300ms ease-out opacity
7512
+ transition already in the style list (existing R213
7513
+ transition spec), so the fade rides on existing
7514
+ infrastructure.
7515
+ data-topo-hub-recede attr surfaces the gate state
7516
+ for tests. */
7517
+ data-topo-hub-recede={
7518
+ (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
7519
+ hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
7520
+ }
7521
+ /* Round 527 / Loop — focal-amplify family extension to a
7522
+ 2nd anchor. R511 introduced focal-amplify at the hub-
7523
+ highlight disc (base opacity 0.95 → 1.0 on hover); R527
7524
+ extends to the hub-center workingCount digit with a
7525
+ letter-spacing tween 0 → 0.3px on hub-hover.
7526
+ Composes with existing 3-axis hub-hover signature on
7527
+ this element:
7528
+ R209 transform scale(1.08) geometry
7529
+ R425 fontWeight 700 → 800 typography weight
7530
+ R476 filter drop-shadow glow paint
7531
+ R527 letter-spacing 0 → 0.3px typography kerning ← this round
7532
+ tabular-nums (R225) preserved — each digit cell keeps
7533
+ fixed width; the inter-digit advance grows by 0.3px
7534
+ per gap. Single-digit counts (1-9) show no kerning
7535
+ effect; multi-digit counts (10+) show the spread as
7536
+ info-density signaling. Sibling to R427/R431/R432/
7537
+ R433/R434 (hover-letter-spacing family at panel-text
7538
+ scope) — R527 brings the same idiom to the canvas's
7539
+ most-read scalar.
7540
+ Reduced-motion gate matches R209 scale, R425 fw, R476
7541
+ filter — !reducedMotion gates the lift; reducedMotion
7542
+ users see static digit baseline regardless of hover.
7543
+ Focal-amplify family extension (2 anchors): R511 hub-
7544
+ highlight opacity / R527 hub-digit letter-spacing.
7545
+ transition list extends to include `letter-spacing
7546
+ 200ms ease-out`, matching the cadence of the other
7547
+ hub-hover axes. data-topo-hub-working-count-letter-
7548
+ spacing attr exposes the resolved value for tests. */
7549
+ data-topo-hub-working-count-letter-spacing={!reducedMotion && hoveredHub ? '0.3px' : '0px'}
6503
7550
  style={{
6504
7551
  pointerEvents: 'none',
6505
7552
  transform: !reducedMotion && hoveredHub ? 'scale(1.08)' : 'scale(1)',
6506
7553
  transformBox: 'fill-box',
6507
7554
  transformOrigin: 'center',
7555
+ opacity: (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
7556
+ hoveredStatus || hoveredVendor) && !hoveredHub
7557
+ ? 0.85
7558
+ : 1,
6508
7559
  filter: !reducedMotion && hoveredHub
6509
7560
  ? (isLight
6510
7561
  ? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.6))'
6511
7562
  : 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.6))')
6512
7563
  : undefined,
7564
+ letterSpacing: !reducedMotion && hoveredHub ? '0.3px' : '0px',
6513
7565
  /* R425: font-weight 200ms appended so the hover fw
6514
7566
  bump 700 → 800 eases under the same cadence as
6515
7567
  R209 scale + R253 fill + R213 opacity.
6516
7568
  R476: filter 200ms appended so the new drop-
6517
- shadow glow eases at the same cadence. */
6518
- transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out',
7569
+ shadow glow eases at the same cadence.
7570
+ R507: opacity 300ms (existing in list) covers
7571
+ the new focal-recede fade.
7572
+ R527: letter-spacing 200ms appended so the new
7573
+ hover-kerning bump eases at the same cadence
7574
+ as the other axes. */
7575
+ transition: 'transform 200ms ease-out, opacity 300ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out, letter-spacing 200ms ease-out',
6519
7576
  fontVariantNumeric: 'tabular-nums',
6520
7577
  }}
6521
7578
  >
@@ -6561,19 +7618,205 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6561
7618
  + R213 always-mount opacity-gate + pointerEvents:none
6562
7619
  + R365 r=5.5 all preserved. data-topo-hub-highlight-
6563
7620
  opacity attr exposes the resolved value for tests. */}
6564
- <circle
6565
- cx={cx} cy={cy} r="5.5"
6566
- fill="#d1fae5"
6567
- opacity={workingCount > 0 ? 0 : 0.95}
6568
- data-topo-hub-highlight
6569
- data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
6570
- data-topo-hub-highlight-radius="5.5"
6571
- data-topo-hub-highlight-opacity={workingCount > 0 ? 0 : 0.95}
6572
- style={{
6573
- pointerEvents: 'none',
6574
- transition: 'opacity 300ms ease-out',
6575
- }}
6576
- />
7621
+ {/* Round 508 / Loop — focal-recede pattern 2nd anchor.
7622
+ Extends R507's hub-digit recede to the hub-highlight
7623
+ circle so the hub focal CLUSTER (digit at z-top + this
7624
+ idle-state highlight beneath) recedes as a unit when
7625
+ canvas attention is elsewhere. Computed once: a single
7626
+ non-hub-hover gate drives BOTH the digit (R507) AND
7627
+ this highlight (R508) so they always co-move.
7628
+ Recede multiplies the visible opacity by 0.85 — when
7629
+ workingCount===0 the rest opacity 0.95 becomes 0.81
7630
+ during external-hover; when workingCount>0 the
7631
+ opacity stays 0 (invisible) regardless of recede.
7632
+ Additionally, when recede is active the SMIL breath
7633
+ animation halts (animate node un-mounts) so the
7634
+ receded state reads as quietly static, not pulsing
7635
+ at 0.85↔1.0 against the recede multiplier (which
7636
+ would visually conflict — competing 15% drops). On
7637
+ un-hover the animate re-mounts and breath resumes.
7638
+ data-topo-hub-recede on both digit AND highlight
7639
+ provides a stable test handle for the unified-recede
7640
+ gate.
7641
+ Composed from existing hover state vars — no new
7642
+ state. Pure paint axis. */}
7643
+ {(() => {
7644
+ const hubRecede = !!((hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
7645
+ hoveredStatus || hoveredVendor) && !hoveredHub);
7646
+ /* Round 511 / Loop — hub-highlight gains a 3rd opacity tier
7647
+ (hovered-amplify). Pre-R511 the highlight had 2 visible
7648
+ states: rest (0.95) and recede (0.81 = 0.95 × 0.85).
7649
+ When the hub itself was hovered, the digit got R425 fw
7650
+ lift + R476 drop-shadow + R209 scale-1.08, but the
7651
+ highlight disc sibling stayed at 0.95 — the focal
7652
+ cluster lifted in 3 channels (typography/paint/scale)
7653
+ but the highlight didn't participate.
7654
+ R511 closes that asymmetry: when hoveredHub is true,
7655
+ highlight base opacity lifts to 1.0 (5% boost from
7656
+ rest 0.95). Cluster now lifts as a unit on hub-hover,
7657
+ just like it recedes as a unit on non-hub-hover
7658
+ (R508).
7659
+ 3-state opacity ladder:
7660
+ hub-hovered: baseOpacity = 1.0 (R511 NEW)
7661
+ rest (no hover): baseOpacity = 0.95 (existing)
7662
+ non-hub canvas hov: baseOpacity × 0.85 = 0.81 (R508)
7663
+ Composes cleanly: hubRecede gate requires !hoveredHub,
7664
+ so the hovered-amplify and recede states are mutually
7665
+ exclusive (they can't both fire). breathActive
7666
+ continues to halt on either non-rest state (recede OR
7667
+ hub-hover would visually compete with the 0.85↔1
7668
+ breath — clean for the unit-lift semantic too). */
7669
+ const baseOpacity = workingCount > 0 ? 0
7670
+ : hoveredHub ? 1.0
7671
+ : 0.95;
7672
+ const resolvedOpacity = hubRecede ? baseOpacity * 0.85 : baseOpacity;
7673
+ const breathActive = !reducedMotion && workingCount === 0 && !hubRecede && !hoveredHub;
7674
+ /* Round 529 / Loop — focal-amplify family 3rd anchor.
7675
+ Hub-highlight gains geometric amplify r 5.5 → 6 on
7676
+ hub-hover, mirroring R451's hub-halo r 20 → 22 hover
7677
+ pattern. Pre-R529 the highlight had paint-axis
7678
+ amplify only (R511 opacity 0.95 → 1.0 on hub-hover);
7679
+ R529 adds geometric amplify so the focal disc
7680
+ BREATHES outward on hub attention, like the halo
7681
+ does. Composes with the existing 2-axis hub-hover
7682
+ lift on this element:
7683
+ R511 opacity 0.95 → 1.0 paint (focal-amplify 1st)
7684
+ R529 r 5.5 → 6 geometry (this round)
7685
+ Implementation matches R451: CSS `r` property
7686
+ (R197/R198 idiom) for smooth interpolation. SVG
7687
+ attribute `r="5.5"` provides SSR fallback and serves
7688
+ as default; inline style.r overrides for animated
7689
+ value. transition list extends to include `r 200ms
7690
+ ease-out`, matching the fill cadence (also 200ms);
7691
+ opacity transition stays at 300ms (existing).
7692
+ r 6 sits well inside the existing visual envelope
7693
+ (next-larger sibling r=10 hub core, r=14 hub hover
7694
+ ring). The 0.5px lift is +9% radius / +19% area —
7695
+ enough to read as 'lift' without breaching the core
7696
+ boundary or invalidating overlap-test invariants.
7697
+ SMIL animate on opacity continues independently
7698
+ (animateAttr='opacity' vs CSS-property r — non-
7699
+ conflicting, same pattern R451 noted for halo).
7700
+ Focal-amplify family extension (3 anchors):
7701
+ R511 hub-highlight opacity 0.95 → 1.0
7702
+ R527 hub-digit letter-spacing 0 → 0.3px
7703
+ R529 hub-highlight radius 5.5 → 6 ← this round
7704
+ data-topo-hub-highlight-radius attr now reports the
7705
+ dynamic value (was static '5.5'). */
7706
+ const highlightR = !reducedMotion && hoveredHub ? 6 : 5.5;
7707
+ return (
7708
+ <circle
7709
+ cx={cx} cy={cy} r="5.5"
7710
+ /* Round 509 / Loop — 配色 cross-theme cleanup. Pre-R509
7711
+ the hub-highlight fill was hardcoded `#d1fae5`
7712
+ (emerald-100, a pale tone). On the light theme this
7713
+ near-white green ran against a pale background at
7714
+ 0.95 opacity — the disc was effectively invisible.
7715
+ Matches the existing R253 halo theme-inversion
7716
+ pattern (line ~6481): light theme picks the dark
7717
+ vibrant emerald (#10b981 emerald-600), dark theme
7718
+ keeps the pale emerald (#d1fae5 emerald-100). Both
7719
+ read at the same 0.95 opacity against their
7720
+ respective backdrops — light gets a saturated
7721
+ focal dot; dark keeps the soft glow signature.
7722
+ Pure paint axis (fill change only); bbox unchanged;
7723
+ R51 SVG sentinel safety untouched.
7724
+ transition list already includes `fill 200ms`?
7725
+ Actually the existing transition spec is `opacity
7726
+ 300ms ease-out` — fill change on theme toggle
7727
+ will be instant. That's acceptable: theme toggle
7728
+ is a discrete event, and the halo (line 6500)
7729
+ already snaps fill on theme toggle the same way
7730
+ (`fill 200ms ease-out` was added later to halo
7731
+ via R253). Future round could add `fill 200ms`
7732
+ to highlight too if theme-switch flicker is
7733
+ noticed. */
7734
+ fill={isLight ? '#10b981' : '#d1fae5'}
7735
+ opacity={resolvedOpacity}
7736
+ data-topo-hub-highlight
7737
+ data-topo-hub-highlight-visible={workingCount > 0 ? 'false' : 'true'}
7738
+ data-topo-hub-highlight-radius={highlightR}
7739
+ data-topo-hub-highlight-opacity={resolvedOpacity}
7740
+ data-topo-hub-highlight-breath={breathActive ? 'true' : 'false'}
7741
+ data-topo-hub-highlight-recede={hubRecede ? 'true' : 'false'}
7742
+ data-topo-hub-highlight-hovered={!reducedMotion && hoveredHub ? 'true' : 'false'}
7743
+ data-topo-hub-highlight-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
7744
+ /* Round 510 / Loop — R509 follow-on: theme-toggle fill
7745
+ ease. Pre-R510 the hub-highlight transition spec only
7746
+ listed `opacity 300ms ease-out`. When R509 introduced
7747
+ theme-conditional fill (#d1fae5 ↔ #10b981), the fill
7748
+ change SNAPPED on theme toggle because the transition
7749
+ list didn't include `fill`. R510 extends to `fill
7750
+ 200ms ease-out` so theme cycles smoothly through the
7751
+ emerald palette. 200ms timing matches the R253 halo
7752
+ fill transition (line ~6500) — both hub-cluster
7753
+ theme transitions now share a cadence so the focal
7754
+ cluster (digit + highlight + halo) eases as a unit.
7755
+ R508's recede opacity transition unchanged (300ms);
7756
+ fill is independent.
7757
+ R529: r as CSS property (R197/R198 idiom) + `r
7758
+ 200ms ease-out` appended to transition list so
7759
+ the new hub-hover radius lift (5.5 → 6) eases
7760
+ under the same fill cadence. SVG attr r="5.5"
7761
+ above provides SSR fallback; inline style.r
7762
+ wins the cascade for the dynamic value.
7763
+ R532: filter drop-shadow glow on hub-hover —
7764
+ sibling to R476 hub-digit drop-shadow at the
7765
+ same gate (hoveredHub && !reducedMotion). Two
7766
+ adjacent hub focal elements (digit + highlight
7767
+ disc) now BOTH glow on hub-hover, reading as
7768
+ one unified focal cluster. Emerald palette
7769
+ matches R476:
7770
+ light: drop-shadow(0 0 2px rgba(16,185,129,0.6)) emerald-500
7771
+ cyber: drop-shadow(0 0 3px rgba(52,211,153,0.6)) emerald-400
7772
+ filter is paint-only (bbox unchanged); SMIL
7773
+ animate on opacity continues independently
7774
+ (animateAttr='opacity' vs CSS-property filter
7775
+ — non-conflicting). transition list extends to
7776
+ 'filter 200ms ease-out' alongside fill/r.
7777
+ Drop-shadow visual-polish family extension
7778
+ (8 anchors): R476 hub-digit / R477 legend pin-
7779
+ ring / R478 recent freshness / hot edge / group
7780
+ label / zoom-state / node alias + R532 hub-
7781
+ highlight (this round). data-topo-hub-highlight-
7782
+ glow attr exposes the gate state. */
7783
+ style={{
7784
+ pointerEvents: 'none',
7785
+ r: `${highlightR}px`,
7786
+ filter: !reducedMotion && hoveredHub
7787
+ ? (isLight
7788
+ ? 'drop-shadow(0 0 2px rgba(16, 185, 129, 0.6))'
7789
+ : 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.6))')
7790
+ : undefined,
7791
+ transition: 'opacity 300ms ease-out, fill 200ms ease-out, r 200ms ease-out, filter 200ms ease-out',
7792
+ } as React.CSSProperties}
7793
+ >
7794
+ {/* Round 497 / Loop — idle-state breath (呼吸感 theme pivot
7795
+ from the R492-R496 press-family arc). Pre-R497 the hub
7796
+ idle highlight read as a static dim disc — present but
7797
+ motionless, visually mute. R497 adds a 4s opacity breath
7798
+ (0.85 ↔ 1.0 ↔ 0.85) so the hub reads "alive but quiet"
7799
+ instead of "frozen", giving the empty-fleet state a
7800
+ subtle living signature.
7801
+ Gates:
7802
+ - !reducedMotion (R29 a11y blanket) — reducedMotion
7803
+ users see static 0.95 disc, no animate
7804
+ - workingCount === 0 — when fleet is busy, the
7805
+ highlight is invisible (opacity=0) so the animate
7806
+ would waste paint cycles. Gating saves work.
7807
+ SMIL <animate> overrides the static opacity={0.95}
7808
+ during its run; falls back to 0.95 when reducedMotion
7809
+ flips on (the animate node simply doesn't render).
7810
+ 4s cycle is long enough to feel like ambient breath
7811
+ rather than a pulse, matching the "quiet" semantic.
7812
+ data-topo-hub-highlight-breath attr exposes the
7813
+ resolved gate state for tests. */}
7814
+ {breathActive && (
7815
+ <animate attributeName="opacity" values="0.85;1;0.85" dur="4s" repeatCount="indefinite" />
7816
+ )}
7817
+ </circle>
7818
+ );
7819
+ })()}
6577
7820
  {/* R115 / Loop: hover hint ring. Stroke-only circle at r=14
6578
7821
  that fades in when the hub is hovered — the same idea
6579
7822
  R44 used for node avatars (group-hover stroke). r=14
@@ -6639,13 +7882,47 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
6639
7882
  data-topo-hub-hover-ring-radius={hoveredHub ? 17 : 14}
6640
7883
  data-topo-hub-hover-ring-stroke-width="1.75"
6641
7884
  data-topo-hub-hover-ring-opacity={hoveredHub ? (isLight ? 0.85 : 0.8) : 0}
6642
- /* Round 253 / Loop: hub hover ring also gets stroke
6643
- transition for theme toggle (cyber #10b981 ↔ light
6644
- #059669). The opacity + r transitions stay for hover
6645
- lift; stroke closes the theme-snap. */
7885
+ /* Round 535 / Loop completes the hub-cluster glow
7886
+ QUARTET by adding drop-shadow to the hub-hover-ring.
7887
+ Pre-R535 the hub-hover trio (R476 digit + R532 highlight
7888
+ disc + R533 spokes) glowed in unified emerald (digit/
7889
+ disc) + cyan/teal (spokes) on hub-hover, but the ring
7890
+ itself — the outermost solid emerald boundary at
7891
+ r=14→17 — stayed flat. R535 adds the matching emerald
7892
+ drop-shadow to the ring so the FULL hub-cluster glows
7893
+ across all four concentric surfaces on hub-hover:
7894
+ digit (typography center) drop-shadow 0 0 3px emerald
7895
+ highlight disc (r=5.5/6) drop-shadow 0 0 3px emerald
7896
+ hover-ring (r=14/17) drop-shadow 0 0 3px emerald ← this round
7897
+ spokes (mesh) drop-shadow 0 0 1.5px cyan/teal
7898
+ The ring is only visible on hub-hover (opacity=0 rest);
7899
+ adding drop-shadow at the same gate means the glow shows
7900
+ the moment the ring shows — no extra state needed.
7901
+ Same R476/R532 emerald palette since the ring sits
7902
+ inside the focal-disc tier (its color is also emerald
7903
+ #059669/#10b981).
7904
+ transition list extends to include 'filter 200ms ease-
7905
+ out' alongside the existing 180ms opacity/r — slight
7906
+ cadence mismatch (180 vs 200) is acceptable; the filter
7907
+ only appears AFTER the ring fades in via opacity, and
7908
+ the 200ms vs 180ms 20ms tail difference is below
7909
+ perceptual threshold.
7910
+ Drop-shadow visual-polish family extension (11 anchors):
7911
+ the hub-cluster glow quartet (R476/R532/R533/R535) plus
7912
+ the 7 non-hub anchors (R477/R478/R479/R480/R481/R483/
7913
+ R534) makes for a thoroughly polished glow vocabulary
7914
+ across the canvas.
7915
+ data-topo-hub-hover-ring-glow attr exposes the gate
7916
+ state for tests. */
7917
+ data-topo-hub-hover-ring-glow={!reducedMotion && hoveredHub ? 'true' : 'false'}
6646
7918
  style={{
6647
7919
  pointerEvents: 'none',
6648
- transition: 'opacity 180ms ease-out, r 180ms ease-out, stroke 200ms ease-out',
7920
+ filter: !reducedMotion && hoveredHub
7921
+ ? (isLight
7922
+ ? 'drop-shadow(0 0 3px rgba(16, 185, 129, 0.5))'
7923
+ : 'drop-shadow(0 0 3px rgba(52, 211, 153, 0.5))')
7924
+ : undefined,
7925
+ transition: 'opacity 180ms ease-out, r 180ms ease-out, stroke 200ms ease-out, filter 200ms ease-out',
6649
7926
  }}
6650
7927
  />
6651
7928
  </g>)}
@@ -7558,6 +8835,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7558
8835
  const internByAlias = /书生|书小生|intern/i.test(session.alias);
7559
8836
 
7560
8837
  if (isIntern || internByAlias || vendor.logo) {
8838
+ /* Round 501 / Loop — vendor avatar inside node circles
8839
+ gains a hover-gated brightness lift. Pre-R501 the
8840
+ avatar <image> was the only per-node surface with
8841
+ NO hover treatment: R26 lifted the card, R242 tinted
8842
+ the card stroke, R427 spread the alias letter-
8843
+ spacing, R500 added the alias drop-shadow, R208
8844
+ lifted the runtime badge ring, R443 thickened
8845
+ the badge icon stroke, R177 brightened the
8846
+ halo — but the most visually-prominent element
8847
+ (the vendor logo / 书生 coin centred in each node)
8848
+ stayed paint-static. R501 closes the per-node
8849
+ hover-affordance arc by adding a 15% brightness
8850
+ lift on hover.
8851
+ Implementation: CSS filter: brightness(1.15)
8852
+ when hoveredAlias === session.alias. Pure paint
8853
+ axis on the <image> element — no geometry change,
8854
+ no bbox shift. Modern-browser supported (Chrome 64+
8855
+ / FF 56+ / Safari 9.1+).
8856
+ Hits 节点视觉 theme. data-node-avatar-hovered
8857
+ attr surfaces the gate for tests.
8858
+ Gated on !reducedMotion as a courtesy (brightness
8859
+ transition < ~50ms still feels instant; the gate
8860
+ avoids the transition cycle for a11y users). */
8861
+ const isAvatarHovered = !reducedMotion && hoveredAlias === session.alias;
7561
8862
  return (
7562
8863
  <image
7563
8864
  href={vendor.logo ?? '/intern_avatar.png'}
@@ -7566,6 +8867,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7566
8867
  width={size}
7567
8868
  height={size}
7568
8869
  preserveAspectRatio="xMidYMid meet"
8870
+ data-node-avatar={session.alias}
8871
+ data-node-avatar-hovered={isAvatarHovered ? 'true' : 'false'}
8872
+ style={{
8873
+ filter: isAvatarHovered ? 'brightness(1.15)' : undefined,
8874
+ transition: 'filter 200ms ease-out',
8875
+ }}
7569
8876
  />
7570
8877
  );
7571
8878
  }
@@ -7989,6 +9296,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7989
9296
  R211 fill 300ms + R305 letter-spacing 200ms
7990
9297
  transition list preserved; only the
7991
9298
  conditional gets a middle case. */}
9299
+ {/* Round 500 / Loop — milestone round, opens
9300
+ per-node alias drop-shadow polish. Extends the
9301
+ R476-R481 drop-shadow visual-polish family to a
9302
+ 7th anchor: hovered alias text gains a soft
9303
+ status-coloured text-glow. Pre-R500 hover on
9304
+ a node triggered card-lift (R26 translateY) +
9305
+ card-stroke (R242 tint) + alias letter-spacing
9306
+ (R427 0.3px tier) but the alias TEXT itself had
9307
+ no paint-axis cue beyond fill (R211). R500 adds
9308
+ a drop-shadow on the text glyph itself, so the
9309
+ identity glyph itself lights up under attention
9310
+ — matching the R476 idiom (hub-digit emerald
9311
+ glow on hover) at the per-node identity scope.
9312
+ 2px blur radius at 50% alpha — subtler than the
9313
+ R476 hub-digit (3px at 60%) because the alias
9314
+ text is smaller and more numerous (1 per node)
9315
+ so an aggressive glow would multiply into
9316
+ visual noise. Status-coloured (status.text) so
9317
+ the glow inherits the node's working/idle/
9318
+ offline palette — green/cyan/gray respectively.
9319
+ Drop-shadow visual-polish family — 7 anchors:
9320
+ R476 hub digit hover-gated emerald
9321
+ R477 legend pin-ring pin-gated row.fill
9322
+ R478 recent-row pip fresh-gated cyan
9323
+ R479 group-label text pin-gated cyan
9324
+ R480 hot-lane edge hot-gated amber
9325
+ R481 zoom-state minimap zoom-gated cyan
9326
+ R500 node alias text hover-gated status.text ← this round
9327
+ Filter is paint-only; bbox unchanged; overlap-
9328
+ test invariants hold (R51 selector gated to
9329
+ g[data-node] descendants with strokeWidth
9330
+ sentinels; text element doesn't carry stroke).
9331
+ transition list extends to include 'filter
9332
+ 200ms ease-out' alongside the existing fill
9333
+ 300ms + letter-spacing 200ms tweens.
9334
+ data-node-alias-glow attr surfaces the hover
9335
+ gate for tests. */}
7992
9336
  <text
7993
9337
  x="0" y="1" textAnchor="middle"
7994
9338
  fill={status.text}
@@ -7996,11 +9340,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
7996
9340
  data-node-alias-text={session.alias}
7997
9341
  data-node-alias-chat-target={chatAlias === session.alias ? 'true' : 'false'}
7998
9342
  data-node-alias-hovered={hoveredAlias === session.alias ? 'true' : 'false'}
9343
+ data-node-alias-glow={!reducedMotion && hoveredAlias === session.alias ? 'true' : 'false'}
7999
9344
  style={{
8000
- transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out',
9345
+ transition: 'fill 300ms ease-out, letter-spacing 200ms ease-out, filter 200ms ease-out',
8001
9346
  letterSpacing:
8002
9347
  chatAlias === session.alias ? '0.5px' :
8003
9348
  hoveredAlias === session.alias ? '0.3px' : '0px',
9349
+ filter: !reducedMotion && hoveredAlias === session.alias
9350
+ ? `drop-shadow(0 0 2px ${status.text}80)`
9351
+ : undefined,
8004
9352
  }}
8005
9353
  >
8006
9354
  {truncate(session.alias, fullMax)}
@@ -8528,7 +9876,48 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
8528
9876
  200ms ease-out' alongside R345's ls + R55's fill
8529
9877
  200ms. data-recent-panel-title-fw exposes the
8530
9878
  resolved weight for tests. */}
8531
- <text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={activeEdgeKey ? '800' : '700'} letterSpacing={hoveredPanel === 'recent' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out' }} data-recent-panel-title data-recent-panel-title-fw={activeEdgeKey ? '800' : '700'} data-recent-panel-title-active={activeEdgeKey ? 'true' : 'false'}>recent signal</text>
9879
+ {/* Round 550 / Loop drop-shadow visual-polish family
9880
+ extends to a 14th anchor: the recent-panel header
9881
+ title gains a soft pal.legendAccent glow when the
9882
+ panel has an active row (activeEdgeKey). Pre-R550
9883
+ the title's state-flip on active was 2-axis (R482
9884
+ fw 700→800 + R345 ls 0.3→0.4 when panel-hovered);
9885
+ R550 adds the paint axis so the title brightens
9886
+ paint-wise alongside the typographic tightening when
9887
+ a row inside its panel is locked.
9888
+
9889
+ Hue: pal.legendAccent + hex alpha '80' (~50%) — same
9890
+ strength as R479 group-label pin-glow at the parent
9891
+ panel-title scope. 2px blur reads soft; cyan accent
9892
+ ties the title visually to the active row's pin
9893
+ colour (cyber: cyan-300 / light: teal-600). Hex+alpha
9894
+ concat safe — pal.legendAccent is '#67e8f9' (cyber)
9895
+ or '#0d9488' (light), both 6-digit hex (banked R541:
9896
+ hex sources use hex+alpha; only hsl/color()/dynamic
9897
+ sources need color-mix).
9898
+
9899
+ Drop-shadow visual-polish family extension (14
9900
+ anchors now):
9901
+ R476 hub digit hover-gated emerald
9902
+ R477 legend pin-ring pin-gated row.fill
9903
+ R478 recent-row pip freshness cyan
9904
+ R479 group-label text pin-gated cyan
9905
+ R532-R536 hub-cluster glow QUINTET
9906
+ R537 legend swatch hover/pin row.fill
9907
+ R538 group-label hover-precedence
9908
+ R540 edge-badge text pin-gated cyan
9909
+ R543-R546 pin-active pill 4-variant arc
9910
+ R550 recent-panel title pin-gated cyan ← this round
9911
+ R550 legend-panel title pin-gated cyan ← sibling (next text below)
9912
+
9913
+ filter is paint-only; bbox unchanged; overlap-test
9914
+ invariants hold. transition list extends to include
9915
+ 'filter 200ms ease-out' alongside R345 ls + R482 fw
9916
+ + R55 fill 200ms — one motion-coherent 3-axis active-
9917
+ state lift.
9918
+ data-recent-panel-title-glow attr exposes the gate
9919
+ state for tests. */}
9920
+ <text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={activeEdgeKey ? '800' : '700'} letterSpacing={hoveredPanel === 'recent' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out', filter: activeEdgeKey ? `drop-shadow(0 0 2px ${pal.legendAccent}80)` : undefined }} data-recent-panel-title data-recent-panel-title-fw={activeEdgeKey ? '800' : '700'} data-recent-panel-title-active={activeEdgeKey ? 'true' : 'false'} data-recent-panel-title-glow={activeEdgeKey ? 'true' : 'false'}>recent signal</text>
8532
9921
  {/* R96: header count now matches what the rows show. Pre-R96
8533
9922
  this read "X msgs" off the raw messages array, but the
8534
9923
  rows below render DEDUPED flowLinks — so a fleet with 10
@@ -9272,11 +10661,46 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9272
10661
  tier without disturbing the surrounding family
9273
10662
  baseline. data-recent-row-text-font-weight attr
9274
10663
  exposes the value for tests. */
9275
- fontWeight="500"
10664
+ /* Round 530 / Loop — extends hover-fw family
10665
+ (R416/R420/R425/R520/R521/R522, 6 anchors) to
10666
+ a 7th anchor: recent-row alias text gains
10667
+ fontWeight 500 → 600 on (isRowHovered ||
10668
+ isRowPinned). Pre-R530 R363 set fw=500
10669
+ statically; hover/pin lifted other axes
10670
+ (R55 fill brighten / R434 letter-spacing
10671
+ 3-tier / R143 translateY / R104 row bg-
10672
+ tint / R474 cadence) but the fw stayed
10673
+ flat — same asymmetry R520 closed at the
10674
+ +N more footer.
10675
+ R530 mirrors R520's pattern at the row-
10676
+ text scope. Hover OR pin (isRowActive
10677
+ union) lifts fw to 600, matching the count
10678
+ tspan's cold-state tier (R320 fw=600), so
10679
+ on active state the alias label reads at
10680
+ the same data tier as the count it sits
10681
+ next to. Inner count tspan has its own
10682
+ explicit fontWeight (600 or 700 per R320/
10683
+ R445) so parent fw lift doesn't bleed
10684
+ (inheritance overridden).
10685
+ Hover-fw family extension (7 anchors):
10686
+ R416 chip-row count digit
10687
+ R420 chrome zoom-level
10688
+ R425 hub-center digit
10689
+ R520 +N more flows footer
10690
+ R521 chrome nodeSize S/M/L inactive
10691
+ R522 chrome layout Ring/Grid inactive
10692
+ R530 recent-row alias text ← this round
10693
+ transition list extends to include
10694
+ 'font-weight 200ms ease-out', matching the
10695
+ R474 cadence of the existing fill +
10696
+ letter-spacing axes on this element.
10697
+ data-recent-row-text-font-weight attr
10698
+ flips '500' → '600' on isRowActive. */
10699
+ fontWeight={(isRowHovered || isRowPinned) ? '600' : '500'}
9276
10700
  data-recent-row-text={link.key}
9277
10701
  data-recent-row-text-pinned={isRowPinned ? 'true' : 'false'}
9278
10702
  data-recent-row-text-hovered={!isRowPinned && isRowHovered ? 'true' : 'false'}
9279
- data-recent-row-text-font-weight="500"
10703
+ data-recent-row-text-font-weight={(isRowHovered || isRowPinned) ? '600' : '500'}
9280
10704
  /* Round 434 / Loop: recent-signal row text extends
9281
10705
  from R220's pin-only letter-spacing (0 → 0.5 on
9282
10706
  isRowPinned) to a 3-tier scale matching R433
@@ -9327,7 +10751,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9327
10751
  shifts. */
9328
10752
  data-recent-row-text-transition="200ms"
9329
10753
  style={{
9330
- transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
10754
+ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
9331
10755
  letterSpacing: isRowPinned ? '0.5px' :
9332
10756
  isRowHovered ? '0.25px' : '0px',
9333
10757
  }}
@@ -9410,12 +10834,30 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9410
10834
  under the same R320 fill cadence. data-
9411
10835
  recent-row-count-pinned attr exposes the
9412
10836
  pin gate for tests. */}
10837
+ {/* Round 498 / Loop — hot-count subtle pulse. Pre-
10838
+ R498 the hot row count signaled via color (R127
10839
+ amber fill) + weight (R320 fw-700) + (R445 pin
10840
+ lift) but stayed visually motionless. R498 adds
10841
+ a 3s opacity breath (0.85↔1.0) on the digit when
10842
+ isHot && !reducedMotion — gentle "alive" signal
10843
+ on the lane carrying ≥ 10 messages, drawing
10844
+ glance without becoming noisy. Sibling of R497
10845
+ hub-idle-breath in the 呼吸感 theme arc; same
10846
+ 0.85↔1.0 amplitude. Class adds an animation-
10847
+ only paint axis; no layout / bbox change. R29
10848
+ blanket also catches `animation-duration` for
10849
+ reducedMotion users, but the component-side
10850
+ gate makes the intent explicit and avoids
10851
+ a node tree thrash for those users (className
10852
+ stays absent rather than present-but-paused). */}
9413
10853
  <tspan
9414
10854
  fill={isHot ? hotStroke : undefined}
9415
10855
  fontWeight={(isHot || isRowPinned) ? '700' : '600'}
10856
+ className={isHot && !reducedMotion ? 'anet-recent-hot-pulse' : undefined}
9416
10857
  data-recent-row-count
9417
10858
  data-recent-row-count-pinned={isRowPinned ? 'true' : 'false'}
9418
10859
  data-recent-row-count-font-weight={(isHot || isRowPinned) ? '700' : '600'}
10860
+ data-recent-row-count-hot-pulse={isHot && !reducedMotion ? 'true' : 'false'}
9419
10861
  {...(isHot ? { 'data-recent-row-count-hot': 'true' } : {})}
9420
10862
  style={{
9421
10863
  transition: 'fill 300ms ease-out, font-weight 200ms ease-out',
@@ -9659,6 +11101,39 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9659
11101
  stays as is, so the rest-vs-hover delta still
9660
11102
  reads clearly. data-recent-panel-more-font-weight
9661
11103
  attr exposes the value for tests. */}
11104
+ {/* Round 520 / Loop — extends the `+N more flows` footer
11105
+ to a 5-axis hover signature by adding fontWeight
11106
+ 500 → 600 on hover. Pre-R520 the footer carried 4
11107
+ hover axes:
11108
+ R195 fill legendText → legendAccent
11109
+ R325 letter-spacing 0.2 → 0.3px (R344 tween)
11110
+ R325 opacity 0.55 → 0.85
11111
+ R133 underline none → underline
11112
+ R368 had set fontWeight 500 statically as a sibling
11113
+ to R363/R364/R366 small-text fw lift family — but
11114
+ the footer's hover state didn't carry a fontWeight
11115
+ DELTA the way other interactive surfaces do (chip-
11116
+ row counts R416, chrome zoom-level R420, hub digit
11117
+ R425). R520 adds the missing weight axis: fw 500
11118
+ → 600 on hover, so the footer reads "thickening AND
11119
+ lighting up" under cursor — same idiom as the
11120
+ chrome zoom-level R420 / chip-row digit R416 hover-
11121
+ bold pattern, applied at the panel nav-action
11122
+ surface.
11123
+ data-recent-panel-more-font-weight attr value
11124
+ flips from '500' → '600' on hover (was static
11125
+ '500' pre-R520).
11126
+ Bonus closure — R475 panel-text cadence: pre-R520
11127
+ the footer's transition list had `opacity 150ms`
11128
+ while R475 unified panel-text transitions at
11129
+ 200ms. R518 closed the same gap at legend-count.
11130
+ R520 closes the LAST panel-text 150ms holdout
11131
+ here AND adds the new font-weight 200ms axis. All
11132
+ 4 transition properties (opacity / fill / letter-
11133
+ spacing / font-weight) now uniform 200ms at the
11134
+ footer — same cadence as legend-label / legend-
11135
+ count / recent-row alias / recent-row count /
11136
+ group-label. */}
9662
11137
  <text
9663
11138
  x="115" y="82"
9664
11139
  textAnchor="middle"
@@ -9666,14 +11141,15 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9666
11141
  fontSize="9"
9667
11142
  fontFamily="monospace"
9668
11143
  fontStyle="italic"
9669
- fontWeight="500"
11144
+ fontWeight={hoveredRecentMore ? '600' : '500'}
9670
11145
  letterSpacing={hoveredRecentMore ? '0.3' : '0.2'}
9671
11146
  opacity={hoveredRecentMore ? 0.85 : 0.55}
9672
11147
  textDecoration={hoveredRecentMore ? 'underline' : 'none'}
9673
11148
  data-recent-panel-more={moreCount}
9674
11149
  data-recent-panel-more-hovered={hoveredRecentMore ? 'true' : 'false'}
9675
- data-recent-panel-more-font-weight="500"
9676
- style={{ transition: 'opacity 150ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out' }}
11150
+ data-recent-panel-more-font-weight={hoveredRecentMore ? '600' : '500'}
11151
+ data-recent-panel-more-transition="200ms"
11152
+ style={{ transition: 'opacity 200ms ease-out, fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out' }}
9677
11153
  >
9678
11154
  {`+ ${moreCount}`}
9679
11155
  <tspan opacity="0.7" data-recent-panel-more-unit>{` more flow${moreCount === 1 ? '' : 's'}`}</tspan>
@@ -9780,7 +11256,17 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
9780
11256
  data-legend-panel-title-fw + -active exposed for tests. */}
9781
11257
  {/* R345 sibling — legend panel title same hover letter-
9782
11258
  spacing tween 0.3 → 0.4 on panel hover. */}
9783
- <text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={pinnedStatus ? '800' : '700'} letterSpacing={hoveredPanel === 'legend' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out' }} data-legend-panel-title data-legend-panel-title-fw={pinnedStatus ? '800' : '700'} data-legend-panel-title-active={pinnedStatus ? 'true' : 'false'}>legend</text>
11259
+ {/* Round 550 sibling legend-panel header title mirrors
11260
+ the recent-panel title above: drop-shadow glow on
11261
+ pin-gated active state (pinnedStatus). Same hue
11262
+ (pal.legendAccent + hex alpha 80), same 2px blur,
11263
+ same 200ms ease-out cadence. Family lifts to 15
11264
+ anchors with this sibling (counted as R550-sibling
11265
+ for accounting parity with R532-R536 hub-cluster
11266
+ glow quintet pattern — two co-shipping anchors
11267
+ under a single round number).
11268
+ data-legend-panel-title-glow attr added. */}
11269
+ <text x="13" y="21" fill={pal.legendHeadline} fontSize="12" fontFamily="monospace" fontWeight={pinnedStatus ? '800' : '700'} letterSpacing={hoveredPanel === 'legend' ? '0.4' : '0.3'} style={{ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out, filter 200ms ease-out', filter: pinnedStatus ? `drop-shadow(0 0 2px ${pal.legendAccent}80)` : undefined }} data-legend-panel-title data-legend-panel-title-fw={pinnedStatus ? '800' : '700'} data-legend-panel-title-active={pinnedStatus ? 'true' : 'false'} data-legend-panel-title-glow={pinnedStatus ? 'true' : 'false'}>legend</text>
9784
11270
  {/* Round 257 / Loop: legend panel header count picks up the
9785
11271
  symmetric 13L/13R inner-padding pattern from the recent-
9786
11272
  signal panel. Pre-R257 the legend header was 13px from
@@ -10069,15 +11555,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10069
11555
  R181 pin ring (6 + 0 stroke vs 8 - 0.75 inner
10070
11556
  ≈ 7.25). data-legend-swatch is unchanged so
10071
11557
  R197 / R55 / R61 tests probe the same handle. */}
11558
+ {/* Round 537 / Loop — extends drop-shadow visual-polish
11559
+ family (12 anchors after R536) to a 13th anchor: the
11560
+ legend swatch gains drop-shadow glow on hover/pin
11561
+ using its OWN row fill color (working green / idle
11562
+ teal / offline slate). Pre-R537 the swatch lifted
11563
+ only r (R197/R295 6 → 7) on attention — geometry
11564
+ axis only, no paint glow. R537 adds the paint axis,
11565
+ composing with R181/R402 pin-ring (separate concen-
11566
+ tric circle in the same row.fill color) so on
11567
+ hover/pin the SWATCH AND its pin-ring both contri-
11568
+ bute to a unified tier-coloured glow signature.
11569
+ Hue: row.fill (status hex) concatenated with `99`
11570
+ hex alpha (~60%). Working green / idle teal /
11571
+ offline slate each glow in their OWN tier color
11572
+ — the legend acts as a color-keyed status mirror.
11573
+ 3px blur reads soft; 60% alpha legible without
11574
+ overwhelming the swatch's own paint.
11575
+ Drop-shadow visual-polish family extension (13
11576
+ anchors). filter is paint-only; bbox unchanged.
11577
+ transition list extends to include 'filter 150ms
11578
+ ease-out', matching the existing R197 r 150ms
11579
+ cadence at this swatch. data-legend-swatch-glow
11580
+ attr exposes the gate state for tests. */}
10072
11581
  <circle
10073
11582
  cx="16" cy={row.y0}
10074
11583
  r="6"
10075
11584
  fill={row.fill}
10076
11585
  data-legend-swatch={row.key}
10077
11586
  data-legend-swatch-state={isPinned ? 'pinned' : isRowHovered ? 'hover' : 'idle'}
11587
+ data-legend-swatch-glow={(isRowHovered || isPinned) ? 'true' : 'false'}
10078
11588
  style={{
10079
11589
  r: isRowHovered || isPinned ? '7px' : '6px',
10080
- transition: 'r 150ms ease-out',
11590
+ filter: (isRowHovered || isPinned)
11591
+ ? `drop-shadow(0 0 3px ${row.fill}99)`
11592
+ : undefined,
11593
+ transition: 'r 150ms ease-out, filter 150ms ease-out',
10081
11594
  } as React.CSSProperties}
10082
11595
  />
10083
11596
  {/* R61 pinned-state ring — concentric stroke at r=8 in
@@ -10209,11 +11722,42 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10209
11722
  the value for tests. R219 letter-spacing pin
10210
11723
  tween + R55 fill transition + R181 always-mount
10211
11724
  pin ring all preserved. */
10212
- fontWeight="500"
11725
+ /* Round 531 / Loop — extends hover-fw family (R416/
11726
+ R420/R425/R520/R521/R522/R530, 7 anchors) to an
11727
+ 8th anchor at the legend-row label. Pre-R531
11728
+ R364 set fw=500 statically; hover/pin lifted
11729
+ other axes (R55 fill brighten / R433 letter-
11730
+ spacing 3-tier / R181 pin ring) but the fw
11731
+ stayed flat. R531 mirrors R530's recent-row
11732
+ alias pattern at the legend-row label scope.
11733
+ Hover OR pin (hoveredStatus===row.key ||
11734
+ isPinned) lifts fw to 600, matching the
11735
+ legend-row count tier (R309 fw=600 / R446
11736
+ pin lift 600→700). Active label now reads at
11737
+ the count's data tier — sibling treatment to
11738
+ R530 recent-row.
11739
+ Hover-fw family extension (8 anchors):
11740
+ R416 chip-row count digit
11741
+ R420 chrome zoom-level
11742
+ R425 hub-center digit
11743
+ R520 +N more flows footer
11744
+ R521 chrome nodeSize S/M/L inactive
11745
+ R522 chrome layout Ring/Grid inactive
11746
+ R530 recent-row alias text
11747
+ R531 legend-row label ← this round
11748
+ Two panel-row label surfaces (R530 recent-
11749
+ row alias + R531 legend-row label) now have
11750
+ parallel hover-fw signatures. R475 cadence
11751
+ at 200ms already covers font-weight via the
11752
+ existing transition list extension at this
11753
+ element. data-legend-row-label-font-weight
11754
+ attr flips '500' → '600' on isActive (was
11755
+ static '500' pre-R531). */
11756
+ fontWeight={(hoveredStatus === row.key || isPinned) ? '600' : '500'}
10213
11757
  data-legend-row-label={row.key}
10214
11758
  data-legend-row-label-pinned={isPinned ? 'true' : 'false'}
10215
11759
  data-legend-row-label-hovered={!isPinned && hoveredStatus === row.key ? 'true' : 'false'}
10216
- data-legend-row-label-font-weight="500"
11760
+ data-legend-row-label-font-weight={(hoveredStatus === row.key || isPinned) ? '600' : '500'}
10217
11761
  /* Round 433 / Loop: legend-row text extends from
10218
11762
  R219's pin-only letter-spacing (0px → 0.5px on
10219
11763
  isPinned) to a 3-tier scale matching the R432
@@ -10256,7 +11800,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10256
11800
  the timing axis shifts. */
10257
11801
  data-legend-row-label-transition="200ms"
10258
11802
  style={{
10259
- transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out',
11803
+ transition: 'fill 200ms ease-out, letter-spacing 200ms ease-out, font-weight 200ms ease-out',
10260
11804
  letterSpacing: isPinned ? '0.5px' :
10261
11805
  hoveredStatus === row.key ? '0.25px' : '0px',
10262
11806
  }}
@@ -10390,7 +11934,43 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10390
11934
  data-legend-count-pinned={isPinned ? 'true' : 'false'}
10391
11935
  data-legend-count-font-weight={isPinned ? '700' : '600'}
10392
11936
  data-legend-count-fill={row.count > 0 && (hoveredStatus === row.key || isPinned) ? 'tier' : 'neutral'}
10393
- style={{ pointerEvents: 'none', transition: 'opacity 150ms ease-out, fill 150ms ease-out, font-weight 150ms ease-out', fontVariantNumeric: 'tabular-nums' }}
11937
+ /* Round 518 / Loop extends R433's 3-tier hover-
11938
+ letter-spacing tween from the legend-row LABEL
11939
+ (text at x=30) to the SIBLING legend-row COUNT
11940
+ digit (this text at x=215). Pre-R518 the row's
11941
+ label spread on hover/pin (R433: 0/0.25/0.5px)
11942
+ while the count digit at the row's right edge
11943
+ stayed dead-typographic — same row, two halves,
11944
+ asymmetric kerning gesture. R518 mirrors the
11945
+ 3-tier scale at the count so the WHOLE row's
11946
+ typography reads as one unit under cursor: label
11947
+ + count spread together at matching values.
11948
+ Tabular-nums (R225) makes the kerning still
11949
+ visible on 2-digit counts — each digit cell
11950
+ keeps its fixed width, but the inter-digit
11951
+ advance grows. R518 also closes R475's panel-
11952
+ row TEXT cadence at the count surface — R475
11953
+ lifted the label text transitions to 200ms but
11954
+ the count was missed; R518 lifts opacity / fill
11955
+ / font-weight from 150 → 200ms AND adds the new
11956
+ letter-spacing axis at 200ms. One transition
11957
+ list, one cadence, one motion-coherent multi-
11958
+ axis hover/pin signature across the row.
11959
+ Hover-letter-spacing family extension (10
11960
+ anchors now): R344/R345/R347/R420/R427/R431/
11961
+ R432/R433/R517/R518. R518 closes the legend-
11962
+ row pair (label R433 + count R518). data-
11963
+ legend-count-letter-spacing attr exposes the
11964
+ resolved value for tests. */
11965
+ data-legend-count-letter-spacing={isPinned ? '0.5px' : hoveredStatus === row.key ? '0.25px' : '0px'}
11966
+ data-legend-count-transition="200ms"
11967
+ style={{
11968
+ pointerEvents: 'none',
11969
+ transition: 'opacity 200ms ease-out, fill 200ms ease-out, font-weight 200ms ease-out, letter-spacing 200ms ease-out',
11970
+ fontVariantNumeric: 'tabular-nums',
11971
+ letterSpacing: isPinned ? '0.5px' :
11972
+ hoveredStatus === row.key ? '0.25px' : '0px',
11973
+ }}
10394
11974
  >{row.count}</text>
10395
11975
  </g>
10396
11976
  );
@@ -10449,6 +12029,74 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10449
12029
  spacing as typographic intent. Stays well inside the
10450
12030
  bottom-left corner; opacity 0.4 unchanged so the
10451
12031
  watermark stays a watermark. */}
12032
+ {/* Round 519 / Loop — 呼吸感 family 3rd anchor. Pre-R519 the
12033
+ breath family had 2 anchors (R497 hub idle digit + R498
12034
+ recent-row hot pulse). Both signal active state — the
12035
+ digit when canvas is idle (no work pending), the recent
12036
+ row when fresh signal arrives. R519 adds a SLOW ambient
12037
+ breath to the brand watermark — present always, not gated
12038
+ on activity state. The watermark IS the canvas-corner
12039
+ register that says "the canvas is alive even when nothing
12040
+ is happening"; a 6s opacity pulse around its 0.4 mean
12041
+ (±0.08 swing → 0.32 ↔ 0.48) reads as ambient liveness
12042
+ rather than foreground signal.
12043
+ Why 6s (not R497's 4s): the breath family now spans
12044
+ activity registers (R497 4s — idle-focal: present and
12045
+ waiting; R498 ~3s — hot signal: just arrived) and now
12046
+ ambient register (R519 6s — corner watermark: always-on
12047
+ background). Slower cadence keeps the watermark in the
12048
+ background; ~10 pct slower than R497 keeps it out of
12049
+ phase so the two anchors never beat together visibly.
12050
+ Gate: !reducedMotion. Inside the prefers-reduced-motion
12051
+ media query, SMIL animate isn't covered by globals.css
12052
+ R29 (which only kills CSS animation property), so we
12053
+ gate at JSX level — when reducedMotion is true the
12054
+ <animate> child isn't mounted and opacity stays at the
12055
+ static 0.4. data-topo-brand-watermark-breath attr
12056
+ exposes the gate state for tests.
12057
+ 呼吸感 family extension (3 anchors): R497 hub idle / R498
12058
+ recent-row hot / R519 brand watermark ambient. */}
12059
+ {/* Round 525 / Loop — focal-recede family 3rd anchor. R507
12060
+ receded the hub-center workingCount digit; R508 receded
12061
+ the hub-highlight disc; both fade to 0.85× when any non-
12062
+ hub canvas surface is hovered (alias / edge / group /
12063
+ status / vendor) — the "you're inspecting elsewhere"
12064
+ gesture. R525 extends the pattern to the brand watermark
12065
+ at canvas bottom-left, the always-on decorative brand
12066
+ element. Pre-R525 the watermark stayed at its R519
12067
+ breath baseline (0.32-0.48 SMIL pulse) regardless of
12068
+ canvas attention; post-R525 it fades to 70% wrapper
12069
+ opacity (effective 0.224-0.336 with breath) when canvas
12070
+ attention is elsewhere, matching the same focal-recede
12071
+ semantic R507/R508 establish at the hub focal cluster.
12072
+ Implementation: wrap the existing <text> in a <g>
12073
+ wrapper whose opacity multiplies with the inner text's
12074
+ SMIL-animated opacity. SVG opacity composes
12075
+ multiplicatively across the parent/child chain, so:
12076
+ normal: g.opacity=1.0 × text.opacity(SMIL 0.32-0.48) = 0.32-0.48
12077
+ recede: g.opacity=0.7 × text.opacity(SMIL 0.32-0.48) = 0.224-0.336
12078
+ SMIL on inner text continues running through both
12079
+ states; only the wrapper opacity flips. 300ms ease-out
12080
+ transition on wrapper (matches R508 hub-highlight recede
12081
+ transition).
12082
+ Gate matches R507/R508 — focal-recede is a UNIFIED
12083
+ non-hub-canvas-hover signal driving multiple anchors,
12084
+ so all three (hub digit / hub-highlight / brand
12085
+ watermark) fade together as the canvas's decorative
12086
+ register, leaving only the surface under inspection
12087
+ foregrounded.
12088
+ Focal-recede family extension (3 anchors): R507 hub
12089
+ digit / R508 hub-highlight / R525 brand watermark. */}
12090
+ <g
12091
+ opacity={(hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
12092
+ hoveredStatus || hoveredVendor) && !hoveredHub ? 0.7 : 1}
12093
+ data-topo-brand-watermark-wrapper
12094
+ data-topo-brand-watermark-recede={
12095
+ (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
12096
+ hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
12097
+ }
12098
+ style={{ pointerEvents: 'none', transition: 'opacity 300ms ease-out' }}
12099
+ >
10452
12100
  <text
10453
12101
  x="16" y="672"
10454
12102
  fontSize="11" fontFamily="monospace" fontWeight="600"
@@ -10456,8 +12104,12 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10456
12104
  fill={pal.legendText}
10457
12105
  opacity="0.4"
10458
12106
  data-topo-brand-watermark
12107
+ data-topo-brand-watermark-breath={reducedMotion ? 'false' : 'true'}
10459
12108
  style={{ pointerEvents: 'none', transition: 'fill 200ms ease-out' }}
10460
- >sleep2agi</text>
12109
+ >sleep2agi{!reducedMotion && (
12110
+ <animate attributeName="opacity" values="0.32;0.48;0.32" dur="6s" repeatCount="indefinite" />
12111
+ )}</text>
12112
+ </g>
10461
12113
  {/* v0.10.0 Hero 3 Wave 1 / RFC §3.I (Vincent 5215 + 通信龙
10462
12114
  lead-autonomy Q4 dual-anchor minimal): canvas top-left
10463
12115
  crescent moon brand mark, visible ONLY when the
@@ -10492,10 +12144,47 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10492
12144
  the R175 panel-fade-in uses for cascade rhythm. data-
10493
12145
  topo-brand-canvas-mark-visible exposes the gate for
10494
12146
  tests. */}
12147
+ {/* Round 526 / Loop — focal-recede family 4th anchor.
12148
+ Symmetric polish to R525 (watermark recede). The
12149
+ brand crescent at canvas top-left is the second
12150
+ decorative brand element on the canvas; pre-R526 it
12151
+ stayed at flat opacity 0.35 (when visible) regardless
12152
+ of canvas attention. R526 multiplies its visible
12153
+ opacity by 0.7 when ANY non-hub canvas surface is
12154
+ hovered, matching R525's deeper-recede semantic for
12155
+ decorative brand elements (vs hub focal cluster's
12156
+ 0.85× recede at R507/R508).
12157
+ Composes cleanly with existing flowLinks gate:
12158
+ normal, flowLinks=0: opacity = 0.35 * 1.0 = 0.350
12159
+ recede, flowLinks=0: opacity = 0.35 * 0.7 = 0.245
12160
+ invisible, flowLinks>0: opacity = 0.00 * any = 0.000
12161
+ Multiplicative chain means recede only matters when
12162
+ crescent is visible (quiet canvas, flowLinks=0) —
12163
+ exactly when canvas attention elsewhere should
12164
+ dim the decorative register. 300ms transition
12165
+ already covers both axes (the existing visibility
12166
+ opacity ramp + the new recede multiplier easing).
12167
+ Focal-recede family extension (4 anchors): R507 hub
12168
+ digit / R508 hub-highlight / R525 watermark / R526
12169
+ crescent (this round). Canvas brand surfaces (R525
12170
+ watermark + R526 crescent) now BOTH carry focal-
12171
+ recede at the same 0.7 multiplier, fading as a
12172
+ decorative pair when the canvas's focal attention
12173
+ shifts elsewhere.
12174
+ data-topo-brand-canvas-mark-recede attr exposes the
12175
+ gate state for tests. */}
10495
12176
  <g
10496
- opacity={flowLinks.length === 0 ? 0.35 : 0}
12177
+ opacity={(flowLinks.length === 0 ? 0.35 : 0) * (
12178
+ (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
12179
+ hoveredStatus || hoveredVendor) && !hoveredHub ? 0.7 : 1
12180
+ )}
10497
12181
  data-topo-brand-canvas-mark
10498
12182
  data-topo-brand-canvas-mark-visible={flowLinks.length === 0 ? 'true' : 'false'}
12183
+ data-topo-brand-canvas-mark-recede={
12184
+ (hoveredAlias || hoveredEdgeKey || hoveredGroupLabel ||
12185
+ hoveredStatus || hoveredVendor) && !hoveredHub ? 'true' : 'false'
12186
+ }
12187
+ data-topo-brand-canvas-mark-breath={reducedMotion ? 'false' : 'true'}
10499
12188
  style={{ pointerEvents: 'none', transition: 'opacity 300ms ease-out, fill 200ms ease-out' }}
10500
12189
  >
10501
12190
  <defs>
@@ -10505,11 +12194,44 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10505
12194
  <circle cx="17.5" cy="13" r="10" fill="black" />
10506
12195
  </mask>
10507
12196
  </defs>
12197
+ {/* Round 528 / Loop — 呼吸感 family 4th anchor. Symmetric
12198
+ polish to R519 watermark ambient breath. The brand
12199
+ crescent at canvas top-left is the second decorative
12200
+ canvas brand surface; pre-R528 it stayed at the static
12201
+ composed opacity (wrapper 0.35 × no inner anim = flat).
12202
+ Post-R528 the inner <rect>'s fill-opacity breathes
12203
+ 0.8 ↔ 1.0 on a 7s cycle, composing multiplicatively
12204
+ with the wrapper's recede gate:
12205
+ normal visible: 0.35 × (0.8-1.0) = 0.280-0.350
12206
+ recede visible: 0.245 × (0.8-1.0) = 0.196-0.245
12207
+ invisible: 0 × any = 0
12208
+ 7s cadence intentionally OUT OF PHASE with R519
12209
+ watermark's 6s — the two ambient anchors never beat
12210
+ together visibly when both visible. R497 hub idle
12211
+ breath (4s) is the loudest; R498 recent-row hot pulse
12212
+ (~3s) is the most-active; R519 watermark (6s) +
12213
+ R528 crescent (7s) are the quietest ambient pair.
12214
+ 呼吸感 family extension (4 anchors):
12215
+ R497 hub idle digit 4s active-idle register
12216
+ R498 recent-row hot pulse 3s active-fresh register
12217
+ R519 watermark ambient 6s ambient (always-on)
12218
+ R528 crescent ambient 7s ambient (quiet-only) ← this round
12219
+ SMIL <animate> on fill-opacity (not parent opacity) so
12220
+ the wrapper's React-controlled gate compositions stay
12221
+ intact. Gated on !reducedMotion at JSX level —
12222
+ reducedMotion users see the inner rect at default
12223
+ fill-opacity=1.0 (no SMIL mounted, wrapper's static
12224
+ composed opacity wins). data-topo-brand-canvas-mark-
12225
+ breath attr exposes the gate state. */}
10508
12226
  <rect
10509
12227
  x="16" y="16" width="28" height="28"
10510
12228
  fill={pal.legendText}
10511
12229
  mask="url(#s2a-canvas-corner-mask)"
10512
- />
12230
+ >
12231
+ {!reducedMotion && (
12232
+ <animate attributeName="fill-opacity" values="0.8;1;0.8" dur="7s" repeatCount="indefinite" />
12233
+ )}
12234
+ </rect>
10513
12235
  </g>
10514
12236
  </svg>
10515
12237
 
@@ -10861,12 +12583,32 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
10861
12583
  (the minimap viewport is small, ~120×82 px).
10862
12584
  Filter is paint-only — bbox unchanged. transition
10863
12585
  list extends to include 'filter 200ms ease-out'
10864
- so the glow eases when zoom crosses 1.5x. */
10865
- data-topo-minimap-viewport-glow={view.zoom > 1.5 ? 'true' : 'false'}
12586
+ so the glow eases when zoom crosses 1.5x.
12587
+ R540: extends the drop-shadow to also fire on
12588
+ hoveredMinimap with HOVER PRECEDENCE over zoom-
12589
+ state. Pre-R540 the viewport drop-shadow was
12590
+ zoom-only (single gate); R540 adds an
12591
+ interactional gate at lighter blur intensity.
12592
+ Hover wins when both true — interactional signal
12593
+ (user is inspecting) trumps informational signal
12594
+ (you're zoomed). Sibling to R534 edge-badge
12595
+ hover-precedence + R538 group-label hover-tier
12596
+ extensions.
12597
+ 2-tier alpha ladder:
12598
+ hover (interactional) legendAccent 99 (~60%)
12599
+ zoom > 1.5 (info) legendAccent 80 (~50%)
12600
+ rest none
12601
+ data-topo-minimap-viewport-glow attr upgraded
12602
+ binary ('true'/'false') → 3-value ('hover' |
12603
+ 'zoom' | 'false') so tests can distinguish
12604
+ gate cause. */
12605
+ data-topo-minimap-viewport-glow={hoveredMinimap ? 'hover' : view.zoom > 1.5 ? 'zoom' : 'false'}
10866
12606
  style={{
10867
- filter: view.zoom > 1.5
10868
- ? `drop-shadow(0 0 2px ${pal.legendAccent}80)`
10869
- : undefined,
12607
+ filter: hoveredMinimap
12608
+ ? `drop-shadow(0 0 2px ${pal.legendAccent}99)`
12609
+ : view.zoom > 1.5
12610
+ ? `drop-shadow(0 0 2px ${pal.legendAccent}80)`
12611
+ : undefined,
10870
12612
  transition: smoothView
10871
12613
  ? '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, filter 200ms ease-out'
10872
12614
  : 'stroke-width 200ms ease-out, opacity 200ms ease-out, filter 200ms ease-out',
@@ -11007,7 +12749,41 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
11007
12749
  // transition-colors only — without the transform transition,
11008
12750
  // active:scale-95 would hard-cut. transform-gpu promotes the
11009
12751
  // layer so scale doesn't trigger paint thrash.
11010
- className={`px-2 py-1 transition-colors transition-transform duration-200 ease-out transform-gpu active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset ${idx > 0 ? 'border-l' : ''} ${nodeScale === v ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25' : 'hover:bg-cyan-500/5 active:bg-cyan-500/15'}${chromePopping === popKey ? ' anet-chrome-pop' : ''}`}
12752
+ /* Round 521 / Loop extends R270's hover-preview pattern
12753
+ (inactive toggle hover previews the active state's
12754
+ visual register) to the TYPOGRAPHY axis at the chrome
12755
+ nodeSize S/M/L surface. Pre-R521 the inactive variant
12756
+ had `hover:bg-cyan-500/5` (R270 bg preview) but no
12757
+ typography preview — active variant uses `font-medium`
12758
+ (fw 500), inactive variant sat at default fw 400 even
12759
+ on hover.
12760
+ R521 adds `hover:font-medium` + `transition-[font-
12761
+ weight]` to the inactive variant so hovering an
12762
+ inactive S/M/L letter thickens the glyph 400 → 500,
12763
+ previewing the typography of the active state the
12764
+ click would commit to. Sibling to R421 chrome zoom-
12765
+ level fontWeight hover delta (rest 500 → hover 600)
12766
+ and R520 footer fontWeight hover (500 → 600) — same
12767
+ idiom: thicken-on-hover for chrome surfaces with a
12768
+ pre-commit gesture.
12769
+ `font-medium` (500) matches the ACTIVE variant's
12770
+ fw exactly — the inactive hover landing weight equals
12771
+ the active locked weight, so clicking commits to a
12772
+ typography state the eye already saw 'on the way in'.
12773
+ Hover-fw family extension (5 anchors now):
12774
+ R416 chip-row count digit rest 500 → hover 700/600
12775
+ R420 chrome zoom-level rest 500 → hover 600
12776
+ R425 hub-center digit rest 700 → hover 800
12777
+ R520 +N more flows footer rest 500 → hover 600
12778
+ R521 chrome nodeSize S/M/L inactive rest 400 → hover 500 ← this round
12779
+ Active variant `font-medium` unchanged so the rest-vs-
12780
+ active typography distinction stays intact when the
12781
+ user IS clicked-in (active stays at fw 500, inactive
12782
+ rest at fw 400, inactive hover preview at fw 500).
12783
+ data-topo-chrome-nodesize-hover-preview-fw="500" attr
12784
+ exposes the polish for tests. */
12785
+ className={`px-2 py-1 transition-colors transition-transform transition-[font-weight] duration-200 ease-out transform-gpu active:scale-95 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 focus-visible:ring-inset ${idx > 0 ? 'border-l' : ''} ${nodeScale === v ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25' : 'hover:bg-cyan-500/5 active:bg-cyan-500/15 hover:font-medium'}${chromePopping === popKey ? ' anet-chrome-pop' : ''}`}
12786
+ data-topo-chrome-nodesize-hover-preview-fw={nodeScale === v ? null : '500'}
11011
12787
  style={{ color: nodeScale === v ? undefined : pal.legendText, borderColor: pal.containerBorder }}
11012
12788
  >
11013
12789
  {lbl}
@@ -11145,10 +12921,32 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
11145
12921
  ? 'true' : 'false'
11146
12922
  }
11147
12923
  data-topo-chrome-zoom-level-hover={hoveredZoomLevel ? 'true' : 'false'}
12924
+ /* Round 517 / Loop — extends the chrome zoom-level readout
12925
+ from 2-axis (R347 letter-spacing + R420 fontWeight) to
12926
+ 3-axis hover signature by adding a color brighten to
12927
+ pal.legendHeadline. Pre-R517 the readout's color stayed
12928
+ at pal.legendText on hover; the digits got tighter
12929
+ kerning (0→0.5px) and heavier weight (500→600) but
12930
+ stayed the same legendText gray tone. R517 lifts color
12931
+ to legendHeadline on hover so the readout brightens
12932
+ into the headline tier at the same beat — matching the
12933
+ R55/R197/R239 hover-deepen-own-hue idiom that legend-
12934
+ row label + count carry at panel scope. Chrome strip's
12935
+ only data display now has full 3-axis hover signature
12936
+ (letter-spacing + fontWeight + color), parity with the
12937
+ chip-row chips' own hover-brighten pattern.
12938
+ Implementation: inline color uses the same hoveredZoom-
12939
+ Level state as R347/R420 — no new state. Transition
12940
+ already includes 'color 200ms ease-out' (R264) so the
12941
+ brighten eases under the same cadence as the kerning +
12942
+ weight tweens — one motion-coherent 3-axis lift.
12943
+ data-topo-chrome-zoom-level-color attr exposes the
12944
+ resolved color string for tests. */
12945
+ data-topo-chrome-zoom-level-color={hoveredZoomLevel ? 'headline' : 'text'}
11148
12946
  onMouseEnter={() => setHoveredZoomLevel(true)}
11149
12947
  onMouseLeave={() => setHoveredZoomLevel(false)}
11150
12948
  style={{
11151
- color: pal.legendText,
12949
+ color: hoveredZoomLevel ? pal.legendHeadline : pal.legendText,
11152
12950
  borderColor: pal.containerBorder,
11153
12951
  minWidth: 46,
11154
12952
  display: 'inline-block',
@@ -11304,8 +13102,34 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
11304
13102
  // owns transform during its 450ms run. transformOrigin
11305
13103
  // 'center' so rotation pivots around the icon's centre
11306
13104
  // (default would be top-left and the icon would arc).
13105
+ /* Round 514 / Loop — extends R352/R353 chrome icon hover-
13106
+ scale family to the reset button. Pre-R514 the reset
13107
+ icon had hover-rotate (-8°, R350) + hover-sw (2.5→2.8,
13108
+ R453) but no hover-scale, while zoom-out (R352), zoom-
13109
+ in (R352), and fullscreen (R353) icons all carried
13110
+ `group-hover:scale-110`. R514 brings the reset icon
13111
+ into the same 3-axis hover signature (rotate + sw +
13112
+ scale) as the rest of the chrome strip.
13113
+ Implementation: inline transform composes rotate +
13114
+ scale into one string. `transform: rotate(-8deg)
13115
+ scale(1.1)` on hover; `rotate(0) scale(1)` at rest.
13116
+ transformOrigin 'center' applies to both — rotation
13117
+ pivots around centre AND scale grows from centre.
13118
+ The Tailwind `group-hover:scale-110` approach can't
13119
+ work here because inline `style.transform` overrides
13120
+ className-based transforms; compose the multi-axis
13121
+ transform inline instead.
13122
+ Chrome icon hover gesture parity (post-R514):
13123
+ zoom-out scale-110 + sw-lift (R352/R454)
13124
+ zoom-in scale-110 + sw-lift (R352/R454)
13125
+ fullscreen scale-110 + sw-lift (R353/R455)
13126
+ reset scale-1.1 + sw-lift + rotate -8°
13127
+ (R514 + R453 + R350)
13128
+ reset gets the EXTRA rotate axis because R350's spin
13129
+ preview semantic is reset-specific — the rotation
13130
+ hints at the click-spin (R184) the button will fire. */
11307
13131
  style={{
11308
- transform: hoveredReset && !resetSpinning ? 'rotate(-8deg)' : 'rotate(0deg)',
13132
+ transform: hoveredReset && !resetSpinning ? 'rotate(-8deg) scale(1.1)' : 'rotate(0deg) scale(1)',
11309
13133
  transformOrigin: 'center',
11310
13134
  transition: 'transform 200ms ease-out, stroke-width 200ms ease-out',
11311
13135
  }}
@@ -11353,7 +13177,7 @@ export function TopoGraph({ sessions, sseSessions, renameSignal }: TopoGraphProp
11353
13177
  // reset above: lift-and-compress compound transform on press).
11354
13178
  className={`group p-1.5 rounded-md border hover:-translate-y-px active:scale-95 transition-colors transition-transform duration-200 ease-out transform-gpu focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-cyan-400/60 ${
11355
13179
  isFullscreen
11356
- ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 active:bg-cyan-500/25'
13180
+ ? 'bg-cyan-500/15 text-cyan-300 font-medium hover:bg-cyan-500/20 hover:text-cyan-200 active:bg-cyan-500/25'
11357
13181
  : 'hover:bg-cyan-500/5 active:bg-cyan-500/15'
11358
13182
  }${chromePopping === 'fullscreen' ? ' anet-chrome-pop' : ''}`}
11359
13183
  data-topo-chrome-fullscreen-hover-lift="true"