Skip to content

Plan: StatusML terminal hyperlinks - #1830

Merged
jbeda merged 2 commits into
mainfrom
plan/mecatui-status-hyperlinks
Sep 23, 2026
Merged

jbeda merged 2 commits into
mainfrom
plan/mecatui-status-hyperlinks

Conversation

@jbeda

@jbeda jbeda commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds the proposed, human-reviewed acceptance contract for native OSC 8 rendering of existing validated StatusML links in MecatUI custom headers and footers.
  • Explicitly excludes MecatUI mouse hit testing, browser/OS URL launch, new configuration, and arbitrary URI/control-sequence support.

Development stage

  • Plan / Interface — Bounded/Architectural behavioral and exact-interface contract; no implementation

Contract linkage

  • Work classification: Bounded
  • Classification rationale: This is a focused client presentation behavior with existing StatusML validation as the destination boundary; it changes no durable server, persistence, public API, or authority contract.
  • Decision record: None — existing validated StatusML link metadata remains the sole hyperlink-target source.
  • Human waiver of spine: No
  • Acceptance plan: docs/acceptance/mecatui-status-hyperlinks.md
  • Human decisions resolved and recorded: Yes — native OSC 8 terminal hyperlinks were selected; app-owned mouse routing is out of scope.
  • Plan / Interface PR: this PR
  • Approved commit baseline: absent until this PR merges
  • Combined/exemption rationale: N/A — Split delivery is used.

Interface conformance

The contract introduces no gRPC/protobuf, exported Go API, tool-schema, event, persistence, or CLI/config surface. It defines renderer output for the existing StatusML link element: only existing validated bounded http/https destinations may become OSC 8 sequences; there is no OS opener, shell, or reuse of the MCP authorization URL opener.

Issue relationship

No tracking issue was provided.

Type of change

  • Behavioral/interface plan
  • Documentation/process

Test plan

  • Acceptance-plan checker
  • Markdown changed: docs generation/link checks (task docs)
  • Linting (task lint) — implementation gate
  • Fast offline test suite (task test) — implementation gate
  • Pre-review race suite (task test:race) — implementation gate
  • Offline demo (go run ./cmd/mecademo) — implementation gate
  • User docs/user-facing behavior changed: site build (task site:build) — implementation gate
  • Guarded engine API affected: compatibility check (task api:check) — not applicable
  • Intentional engine API change: task api:update + engine/CHANGELOG.md — not applicable
  • Landed plan: strict acceptance trace (task ac-trace-strict) — implementation gate
  • Final implementation review: /panel-review — implementation gate

Changes

File Change
docs/acceptance/mecatui-status-hyperlinks.md Proposed OSC 8 behavior, safety boundary, acceptance criteria, verification, and exclusions.
docs/acceptance/README.md Links the new plan from the acceptance-plan index.

User-facing change

None in this Plan / Interface PR. If approved and implemented, valid custom StatusML links will become native terminal hyperlinks with terminal-dependent activation and the existing styled fallback.

Special notes for reviewers

The existing status-line plan intentionally deferred terminal hyperlinks, while ADR 0247 explicitly anticipates a later renderer emitting validated OSC 8. This follow-up plan owns that deferred scope rather than broadening the existing MCP-only URL-opening capability.

@jbeda
jbeda force-pushed the plan/mecatui-status-hyperlinks branch from 220f3ba to 27a8cd1 Compare September 23, 2026 21:40
@jbeda
jbeda merged commit 9b6caf9 into main Sep 23, 2026
31 checks passed
@jbeda
jbeda deleted the plan/mecatui-status-hyperlinks branch September 23, 2026 21:48
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 25, 2026
2 tasks
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