refactor(tasks): clarify detached run surfaces (#57485)

* refactor(tasks): add executor facade

* refactor(tasks): extract delivery policy

* refactor(tasks): route acp through executor

* refactor(tasks): route subagents through executor

* refactor(cron): split main and detached dispatch

* refactor(tasks): guard executor-only producer writes

* refactor(tasks): clarify detached run surfaces
This commit is contained in:
Vincent Koc
2026-03-29 22:02:13 -07:00
committed by GitHub
parent 8fb247c528
commit 3a37421251
4 changed files with 24 additions and 20 deletions

View File

@@ -521,7 +521,7 @@ export async function statusCommand(
{ Item: "Plugin compatibility", Value: pluginCompatibilityValue },
{ Item: "Probes", Value: probesValue },
{ Item: "Events", Value: eventsValue },
{ Item: "Tasks", Value: tasksValue },
{ Item: "Detached runs", Value: tasksValue },
{ Item: "Heartbeat", Value: heartbeatValue },
...(lastHeartbeatValue ? [{ Item: "Last heartbeat", Value: lastHeartbeatValue }] : []),
{
@@ -546,7 +546,9 @@ export async function statusCommand(
if (summary.taskAudit.errors > 0) {
runtime.log("");
runtime.log(
theme.muted(`Task maintenance: ${formatCliCommand("openclaw tasks maintenance --apply")}`),
theme.muted(
`Detached run maintenance: ${formatCliCommand("openclaw tasks maintenance --apply")}`,
),
);
}