Skip to content

feat(dashboard): show mq-image-analyze as an on-demand CLI, not a service - #311

Merged
MCamner merged 1 commit into
mainfrom
feat/dashboard-image-on-demand
Nov 15, 2026
Merged

MCamner merged 1 commit into
mainfrom
feat/dashboard-image-on-demand

Conversation

@MCamner

@MCamner MCamner commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Why

mq-image-analyze is no longer a service: mq-agent (MCamner/mq-agent#459), mq-mcp and mq-hal start its mq-image CLI per call, and the operator decided not to reactivate the old se.mq.image LaunchAgent. Port 8766 is atlas-one's (AtlasServer.java).

The dashboard still listed it as a launchd service on :8766, showed it DOWN, raised a FAIL issue and offered launchctl kickstart -k gui/<uid>/se.mq.image, i.e. a one-key path to bringing the retired server back.

What

  • SERVICES lists only se.mq.mcp.
  • New source on_demand (collect_on_demand): resolves mq-image as MQ_IMAGE_BIN → PATH → ~/mq-image-analyze/.venv/bin/mq-image (the order mq-agent and mq-mcp use) and reports ON DEMAND or MISSING with the binary path.
  • MCP SERVICES panel: a row mq-image-analyze cli ON DEMAND.
  • Issues: a missing CLI is a WARN suggesting cd ~/mq-image-analyze && uv sync (risk low, reversible); no restart is ever offered for it.
  • ON DEMAND added to the status vocabulary (pass).
  • Skills mq-stack-recovery (read-only command set) and openai-vector-store-refresh no longer point at se.mq.image / :8766 as mq-image-analyze.

Verification

  • tests/test_mq_dashboard.py: 6 new or changed tests (5 red before): only mq-mcp in SERVICES; resolver order incl. missing; on_demand registered; on-demand CLI never gets a restart; missing CLI → WARN with uv sync; panel shows ON DEMAND and no 8766. The down-service restart test now uses a down mq-mcp.
  • CI steps locally: dashboard + b2_tui + contracts tests 173 passed; shell syntax 279 files OK; check-gate-parity.py PASS; check-skills.sh OK.
  • Real collectors on this machine: services mq-mcp RUNNING; on_demand mq-image-analyze ON DEMAND → ~/mq-image-analyze/.venv/bin/mq-image; no issues for either.

🤖 Generated with Claude Code

…vice

mq-agent, mq-mcp and mq-hal start the mq-image CLI per call, so the
dashboard drops se.mq.image from SERVICES, reports the CLI as ON DEMAND
or MISSING, suggests uv sync when missing, and no longer offers to
kickstart the retired LaunchAgent (port 8766 is atlas-one's). Skills
updated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MCamner
MCamner merged commit 050e530 into main Nov 15, 2026
3 checks passed
@MCamner
MCamner deleted the feat/dashboard-image-on-demand branch November 16, 2026 00:18
@MCamner MCamner mentioned this pull request Nov 16, 2026
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