Make workspace, agent, and schedule automation consistent (#2186)

* feat(workspaces): align agent and schedule automation

Make workspace identity the shared placement boundary for MCP and CLI, while caller identity determines parentage. Keep heartbeats minimal and cron-based without changing legacy rolling interval semantics.

* test(cli): expect canonical schedule cadence

* fix(automation): preserve workspace and schedule compatibility

* fix(automation): preserve compatibility edges

* fix(workspaces): align MCP lifecycle resolution

* fix(workspaces): preserve creation intent

* fix(workspaces): preserve branch and schedule identity
This commit is contained in:
Mohamed Boudra
2026-07-18 14:04:48 +02:00
committed by GitHub
parent 98f6611362
commit ffe76a7e57
66 changed files with 2791 additions and 924 deletions
+8
View File
@@ -13,6 +13,7 @@ import { addAttachOptions, runAttachCommand } from "./attach.js";
import { addReloadOptions, runReloadCommand } from "./reload.js";
import { addImportOptions, runImportCommand } from "./import.js";
import { runUpdateCommand } from "./update.js";
import { runDetachCommand } from "./detach.js";
import { withOutput } from "../../output/index.js";
import {
addDaemonHostOption,
@@ -76,6 +77,13 @@ export function createAgentCommand(): Command {
withOutput(runReloadCommand),
);
addJsonAndDaemonHostOptions(
agent
.command("detach")
.description("Make a subagent independent without stopping or moving it")
.argument("<id>", "Agent ID, prefix, or name"),
).action(withOutput(runDetachCommand));
addJsonAndDaemonHostOptions(
agent
.command("update")