You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Runtime Host already provides the remote execution, authentication, reconnect, multi-Host Desktop, Host-scoped Settings, and remote Project foundations tracked by #2522. Desktop can now prepare a supported Linux computer through interactive SSH, install an exact Maka CLI release, pair the Client, verify the connection, and continue to remote Project selection.
The remaining work is the managed lifecycle after onboarding. Service inspection and maintenance are being added to Desktop, while credential maintenance, safe version switching, update policy, and the macOS service backend still require dedicated contracts and product surfaces.
Desired outcome
Desktop should provide one coherent per-computer lifecycle: guided onboarding, service health and repair, credential maintenance, safe updates, and explicit removal or uninstall actions with clear ownership boundaries.
The same management contract must remain usable from CLI and TUI, and must leave a clean path for a future macOS service backend.
Stable boundaries
SSH is the management plane for installation, service control, updates, credentials, and diagnostics. Runtime Host remains the only Session and execution data plane.
The OS service manager owns the persistent process. Runtime Host never overwrites or updates its own executable.
Deployed versions are always exact. Channel names only resolve a desired exact version.
Update policy defaults to manual. Automatic updates must wait for a safe maintenance point and respect storage compatibility.
Credential secrets are delivered once and stored only by the Client credential store. Management UI exposes metadata, rotation, and revocation rather than secrets.
Removing a Desktop profile, uninstalling the remote service, and deleting the State Root are three separate operations.
The default SSH path uses the system OpenSSH client and a loopback Runtime Host listener. Maka does not modify the user's SSH config or implement a second SSH stack.
Delivery plan
Platform-neutral service lifecycle contract and Linux systemd user backend: install, status, start, stop, restart, readiness verification, and clean uninstall while retaining the State Root (feat(cli): manage Linux Runtime Host services #3205)
Add safe side-by-side version switching, health checks, failure recovery, and manual updates
Add manual | fixed | latest | next update policy and bounded automatic reconciliation
Add a macOS LaunchAgent backend that reuses the same lifecycle and management contract
Each slice should remain independently useful. Update automation must not block initial onboarding, and Desktop UI must not duplicate service or credential authority.
Definition of done
A user can prepare a supported Linux remote computer from Desktop without manually copying a port, Root ID, or credential
Password, host-key, passphrase, and MFA prompts can be completed through the existing bounded interactive SSH surface
Setup is retryable and does not leave duplicate services, profiles, or credentials
Desktop saves a Profile only after the service and authenticated Runtime Host connection have been verified
Users can distinguish removing the computer from Desktop, uninstalling Maka-managed service files, and explicitly deleting all Host data
Manual and automatic updates never silently cross an unsupported storage compatibility boundary
CLI and TUI can use the same machine-readable management contract without adopting Desktop's multi-Host UI
Linux and macOS backends share lifecycle semantics rather than separate product state machines
Non-goals
A federated Runtime Host or cross-Host Session migration
A custom SSH implementation, silent sudo, or automatic installation of Node.js
Opening the Runtime Host listener to the public network by default
Treating uninstall as permission to delete the State Root
A Windows persistent-service backend without a concrete product requirement
A cloud pairing or rendezvous service before local SSH onboarding proves insufficient
简体中文
问题
#2522 已经完成 Runtime Host 的远程执行、认证、重连、Desktop Multi-Host、Host-scoped Settings 与远程 Project 等基础能力。Desktop 现在也可以通过交互式 SSH 准备受支持的 Linux 电脑,安装精确的 Maka CLI release、配对 Client、验证连接,并继续选择远程 Project。
剩余工作是 onboarding 之后的托管生命周期。Desktop 正在增加服务检查与维护能力;credential 维护、安全版本切换、更新策略和 macOS service backend 仍需要独立的契约与产品界面。
English
Problem
Runtime Host already provides the remote execution, authentication, reconnect, multi-Host Desktop, Host-scoped Settings, and remote Project foundations tracked by #2522. Desktop can now prepare a supported Linux computer through interactive SSH, install an exact Maka CLI release, pair the Client, verify the connection, and continue to remote Project selection.
The remaining work is the managed lifecycle after onboarding. Service inspection and maintenance are being added to Desktop, while credential maintenance, safe version switching, update policy, and the macOS service backend still require dedicated contracts and product surfaces.
Desired outcome
Desktop should provide one coherent per-computer lifecycle: guided onboarding, service health and repair, credential maintenance, safe updates, and explicit removal or uninstall actions with clear ownership boundaries.
The same management contract must remain usable from CLI and TUI, and must leave a clean path for a future macOS service backend.
Stable boundaries
Delivery plan
manual | fixed | latest | nextupdate policy and bounded automatic reconciliationEach slice should remain independently useful. Update automation must not block initial onboarding, and Desktop UI must not duplicate service or credential authority.
Definition of done
Non-goals
sudo, or automatic installation of Node.js简体中文
问题
#2522 已经完成 Runtime Host 的远程执行、认证、重连、Desktop Multi-Host、Host-scoped Settings 与远程 Project 等基础能力。Desktop 现在也可以通过交互式 SSH 准备受支持的 Linux 电脑,安装精确的 Maka CLI release、配对 Client、验证连接,并继续选择远程 Project。
剩余工作是 onboarding 之后的托管生命周期。Desktop 正在增加服务检查与维护能力;credential 维护、安全版本切换、更新策略和 macOS service backend 仍需要独立的契约与产品界面。
期望结果
Desktop 应提供一套连贯的 per-computer 生命周期:引导式 onboarding、服务健康与修复、credential 维护、安全更新,以及所有权边界清晰的移除或卸载操作。
同一套管理契约仍须可供 CLI 与 TUI 使用,并为未来的 macOS service backend 保留干净边界。
稳定边界
交付计划
manual | fixed | latest | next更新策略及有界的自动 reconcile每个 slice 都应能够独立提供价值。自动更新不能阻塞首次 onboarding,Desktop UI 也不能复制 service 或 credential authority。
完成标准
非目标
sudo,或自动安装 Node.js