Skip to content

feat: Harness onboarding wizard + omp/dsh session sources - #55

Open
kesslerio wants to merge 1 commit into
MiaAI-Lab:mainfrom
kesslerio:feat/harness-session-wizard
Open

feat: Harness onboarding wizard + omp/dsh session sources#55
kesslerio wants to merge 1 commit into
MiaAI-Lab:mainfrom
kesslerio:feat/harness-session-wizard

Conversation

@kesslerio

@kesslerio kesslerio commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

TL;DR

This PR adds the full harness/session stack to sparkDash: five coding-agent harness sources (OpenClaw, Hermes, OpenCode, oh-my-pi, DeepSeek Harness), a 3-step onboarding wizard, live session occupancy on LLM cards, and occupancy helper docs. Reviewers can connect their harnesses in under a minute and see which sessions are active on each Spark.

What Problem This Solves

sparkDash showed GPU and model metrics but had no visibility into which coding-agent sessions were running on each LLM port. Operators had to SSH into boxes or check each harness separately to know what was active. There was also no guided setup — connecting a harness required editing config files by hand.

Why This Change Was Made

I run multiple coding-agent harnesses across my fleet and wanted dashboard-level visibility into active sessions without leaving sparkDash. The wizard makes onboarding self-service for anyone I share the dashboard with. The occupancy helpers are part of the same feature surface, so their docs are folded in here rather than split into a separate PR.

User Impact

  • New "Manage harnesses" button in the header opens a wizard (pick → configure → review)
  • Each LLM card shows a conversation list with pulsating dots for generating/recent sessions
  • Five harness types supported: OpenClaw (native API), Hermes (native API), OpenCode (helper), oh-my-pi (helper), DeepSeek Harness (helper, remote-only)
  • Local and remote connection modes per harness, with agent-pasteable helper snippets
  • UI renamed from "occupancy source" to "harness" throughout

Risk and Rollout

Low risk — this is additive (new session source collectors and a wizard modal). No existing behavior changes except the UI label rename. No migration needed; session sources default to empty. The occupancyHosts fix corrects a projector bug that was replacing existing hosts instead of merging. Rollout is opt-in: users connect harnesses via the wizard when ready.

Screenshots

Step 1 — Pick harnesses

Pick step — select harnesses to connect

Step 2 — Configure (local mode)

Configure local — state directory input

Step 2 — Configure (remote mode)

Configure remote — URL, token, and helper snippet

Step 3 — Review and save

Review step — confirm harness connections

Cleanshot

sparkDash dashboard

Demo

Feature demo video — wizard walkthrough

Evidence

  • npm run typecheck — passes clean
  • npm run build — passes (61 modules, 441 KB JS bundle)
  • npm test — 370 server tests + 14 frontend tests pass (384 total, 0 fail)
  • No bench/probe code leaked: git diff upstream/main..feat/harness-session-wizard -- server/collectors/LlmProbe.js is empty
  • git diff upstream/main..feat/harness-session-wizard -- src/components/SparkPage/BenchmarkDialog.tsx is empty
  • Gitleaks scan clean on commit
  • Wizard verified via agent-browser: opens from header button, all 5 harnesses visible, local/remote modes render correctly, review step shows selected harnesses

kesslerio added a commit to kesslerio/sparkDash that referenced this pull request Aug 19, 2026
@kesslerio
kesslerio force-pushed the feat/harness-session-wizard branch 6 times, most recently from 30e12e6 to 6bf95fb Compare August 19, 2026 23:50
Adds the harness/session/occupancy stack to sparkDash:

- oh-my-pi (omp) session source with URL mode, helper script, and
  session age filter
- DeepSeek Harness (dsh) session source with provider-to-origin
  mapping for spark-card projection
- OpenCode and OpenClaw session sources
- Harness onboarding wizard (HarnessWizard.tsx) with pick →
  configure-local/configure-remote → review flow
- UI rename from "occupancy source" to "harness"
- Pulsating session dots for generating and recent sessions
- occupancyHosts persistence and merge fixes
- Vitest frontend test infrastructure with jsdom and testing-library
- Docs: OCCUPANCY.md, occupancy helper READMEs (folds PR MiaAI-Lab#50)

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@kesslerio
kesslerio force-pushed the feat/harness-session-wizard branch from 6bf95fb to 9be732b Compare August 20, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant