Skip to content

Ghostlink v2.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 22:53
· 2 commits to main since this release
38f62c5

[2.7.0] - 2026-11-16

Added

  • Palette: ReviewPane listbox semantics and excerpt copy (ghostlink_gui_modern/src/components/ReviewPane.tsx): the proposed-diffs list is now role="listbox" / role="option" with aria-selected and roving tabIndex (arrow/Home/End with wrap-around), and verification-failure excerpts gained a copy-to-clipboard button with toast and checkmark feedback.
  • Palette: editor assistant dismiss and copy (ghostlink_gui_modern/src/components/EditorTab.tsx): the docked Explain/Fix/Refactor result pane can be dismissed and copied, with role="region", a dynamic aria-label, and focus-visible rings.
  • Palette: message-editing keyboard support (ghostlink_gui_modern/src/components/ChatTab.tsx): Escape cancels editing, Ctrl/Cmd+Enter saves and regenerates, the textarea autofocuses, and Save is disabled on empty input.
  • Palette: task event copy (ghostlink_gui_modern/src/components/TaskView.tsx): per-event copy button on Live Agent Events payloads with toast confirmation.
  • Palette: ProjectsTab empty states (ghostlink_gui_modern/src/components/ProjectsTab.tsx): actionable EmptyState CTAs ("Create Project" / "Create Task") that open the creation modals.
  • Palette: EditorTab and WorkersTab accessibility (EditorTab.tsx, WorkersTab.tsx): aria-busy/disabled on the file-tree refresh and Refactor actions, contextual aria-labels naming the target file, and aria-expanded/aria-controls on the Advanced Settings drawer (also fixes the setShowAddvanced typo).

Changed

  • ratatui 0.28 -> 0.30 (crates/ghostlink-core/Cargo.toml): clears RUSTSEC-2026-0253 (lru < 0.18.2) by pulling lru 0.18.5.
  • rmcp 2.x -> 3.9 and rusqlite 0.32 -> 0.41 (MCP crates): clears the Cargo Deny advisories on rmcp and libsqlite3-sys (0.30.1 -> 0.39.1).
  • quinn-udp -> 0.5.16.
  • Removed unused ghostlink-core dependencies (anyhow, thiserror, tracing-subscriber): Rust 1.100's cargo::unused_dependencies lint fails the workspace under -D warnings; none are referenced in the crate.
  • Dropped unused [workspace.package] fields and redundant homepage from the publishable manifests.
  • Clippy (Rust 1.100): removed duplicated #[allow(clippy::too_many_arguments)] attributes and simplified a bool-guard in audit_log::should_rotate.
  • Dependabot (third_party/mohawk_gui, .github/workflows): fastapi 0.162.5, pytest-asyncio 1.5.0, mypy 2.4.1, certifi 2026.10.23, pytest 9.2.0, pyqt6 6.12.0, flake8 7.5.0, markdownlint-cli2-action 25.0.0.

Performance

  • ClusterState::node_count atomic cache (crates/ghostlink-core/src/cluster.rs, dashboard.rs): a node_count_cache: Arc<AtomicUsize> updated in register replaces nodes_snapshot().len() (an ArcSwap::load_full() per call) on hot polling paths; ClusterHealthMonitor::health_report and DashboardState now use node_count/is_empty. PR-reported cluster/node_count_10 39.4 -> 1.17 ns/op.
  • Zero-copy cluster snapshot in /v1/completions (crates/ghost-link/src/main.rs): cluster.nodes() (clones the Vec<NodeResources> and its heap strings on every request) replaced with cluster.nodes_snapshot(), which returns a shared Arc<Vec<NodeResources>>.
  • Quickselect percentiles (crates/ghostlink-core/src/runtime.rs): compute_p95_p99_latencies replaces clone + full sort_unstable_by with a stack [f32; 256] buffer and two-stage select_nth_unstable_by, removing heap allocation for runs <= 256 tokens and dropping O(N log N) to O(N). PR-reported ~1.7% latency speedup in fabric_inmem_single_gpu.
  • mcp-memory zero-allocation search (crates/mcp-memory/src/store.rs): row.get_ref(idx)?.as_str() borrows from SQLite's column buffer instead of allocating Strings for MemoryKind/MemorySource, and select_nth_unstable_by(limit - 1, ...) precedes the final sort. PR-reported search 91.1 -> 85.5 ms over 500 rows x 100 queries.
  • PlacementPlan::new capacity reclaim (crates/ghostlink-core/src/planning.rs): participating_nodes.shrink_to_fit() after dedup, freeing capacity allocated for assignments.len() when many chunked assignments share few nodes.
  • MetricsTab render memoization (ghostlink_gui_modern/src/components/MetricsTab.tsx): leaf components (StatusRow, HistoryCard, Sparkline, StatCard, GaugeCard) wrapped in React.memo so the 3-second metrics poll does not reconcile unchanged subtrees.