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:
@@ -153,13 +153,13 @@ try {
|
||||
console.log("✓ --json flag is accepted with worktree ls\n");
|
||||
}
|
||||
|
||||
// Test 11: paseo --help shows worktree subcommand
|
||||
// Test 11: paseo --help keeps the compatibility command hidden
|
||||
{
|
||||
console.log("Test 11: paseo --help shows worktree subcommand");
|
||||
console.log("Test 11: paseo --help hides worktree compatibility command");
|
||||
const result = await $`npx paseo --help`.nothrow();
|
||||
assert.strictEqual(result.exitCode, 0, "paseo --help should exit 0");
|
||||
assert(result.stdout.includes("worktree"), "help should mention worktree subcommand");
|
||||
console.log("✓ paseo --help shows worktree subcommand\n");
|
||||
assert(!result.stdout.includes("worktree"), "help should not advertise worktree subcommand");
|
||||
console.log("✓ paseo --help hides worktree compatibility command\n");
|
||||
}
|
||||
} finally {
|
||||
// Clean up temp directory
|
||||
|
||||
Reference in New Issue
Block a user