Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(scheduled): clarify session result labels

LAN-SHH5e865806f102
diff --git a/docs/spec/04-ux/01-ui-ia.md b/docs/spec/04-ux/01-ui-ia.md
index 082423213..cec07bfdd 100644
--- a/docs/spec/04-ux/01-ui-ia.md
+++ b/docs/spec/04-ux/01-ui-ia.md
@@ -325,7 +325,7 @@ open: the task column and the task page step aside rather than compete with the
draft. The form also states an interval as a count with a minute or hour unit
(5 minutes to 24 hours) and keeps that value while another cadence is selected,
so switching a task between a calendar and an interval loses neither. The column
-reports each task's cadence and clock, the outcome of that task's own newest run
+reports each task's cadence and clock, the execution-session status of its own newest run
— read per task from the host, so a task that has been idle while others ran is
never reported as never run — with its duration, and whether it is paused or
running. The task page shows that task's last run, next
@@ -342,6 +342,13 @@ this route. Run now dispatches in the background, selects the run it admitted,
and leaves the reader on this page. Automatic runs never steal foreground
focus. See [desktop automations](../../adr/scheduled-desktop-automations.md).
+Run status describes the execution session, not verified task success. In the
+English and Simplified Chinese catalogs, `completed` reads as **Session ended**
+rather than an unqualified completion claim. History copy directs the reader to
+the transcript and task evidence for actual outcome verification. No business
+outcome is inferred from a normal session ending; storage and dispatch semantics
+are unchanged.
+
The application must remain running. The host polls every 30 seconds and skips
occurrences more than 90 seconds late or overlapping a running task. Startup
rearms future occurrences only. Hourly schedules wait a full hour after saving,
diff --git a/docs/spec/06-delivery/04-e2e-test-plan.md b/docs/spec/06-delivery/04-e2e-test-plan.md
index 0d88ec682..cfb1086fb 100644
--- a/docs/spec/06-delivery/04-e2e-test-plan.md
+++ b/docs/spec/06-delivery/04-e2e-test-plan.md
@@ -944,6 +944,18 @@
request candidate per AGENTS.md, with tested head and base recorded.
+#### Scheduled execution-status wording (English / Simplified Chinese)
+
+- Open Scheduled with a normally ended session whose transcript reports that
+ the requested work could not be completed. Verify that the rail, history and
+ selected-run header say **Session ended** / **会话已结束**, not unqualified
+ task completion. The history hint states that session completion does not
+ confirm task success and asks the reader to verify task evidence.
+- Running, interrupted and error labels also identify the session. No task
+ outcome is inferred, persisted or backfilled by this copy-only correction.
+- Copy validation checks both catalog entries and the existing shared label
+ mapping. Existing Scheduled component/user-path coverage is unchanged.
+
### E2E-PLUGIN-appearance-extension-lifecycle
diff --git a/packages/i18n/src/locales/en/index.ts b/packages/i18n/src/locales/en/index.ts
index b0cd39a02..789ab662a 100644
--- a/packages/i18n/src/locales/en/index.ts
+++ b/packages/i18n/src/locales/en/index.ts
@@ -2031,7 +2031,7 @@ sklm: {
pause: "Pause",
resume: "Resume",
deleteConfirm: "Delete \"{{title}}\" and its run history?",
- historyHint: "This task's runs, newest first. Select one to read its transcript here, or open the conversation to continue it.",
+ historyHint: "Session runs, newest first. Session ended does not mean the task succeeded. Review the transcript and task evidence to verify the result.",
runContent: "Run content",
runContentLoading: "Loading transcript…",
runContentError: "This run's transcript could not be read.",
@@ -2050,12 +2050,12 @@ sklm: {
neverRun: "Not run yet",
selectTask: "Select a task to see its runs.",
emptyRuns: "No runs yet",
- statusRunning: "Running / awaiting input",
- statusCompleted: "Completed",
- statusAborted: "Interrupted",
- statusError: "Failed",
+ statusRunning: "Session running / awaiting input",
+ statusCompleted: "Session ended",
+ statusAborted: "Session interrupted",
+ statusError: "Session error",
openResult: "Open conversation",
- runError: "The run could not finish. Open the conversation for details.",
+ runError: "The execution session could not finish. Open the conversation for details.",
title: "Scheduled",
emptyTitle: "No scheduled tasks",
create: "Create task",
diff --git a/packages/i18n/src/locales/zh-CN/index.ts b/packages/i18n/src/locales/zh-CN/index.ts
index d6ab6352d..7575052e8 100644
--- a/packages/i18n/src/locales/zh-CN/index.ts
+++ b/packages/i18n/src/locales/zh-CN/index.ts
@@ -2006,7 +2006,7 @@ sklm: {
pause: "暂停",
resume: "启用",
deleteConfirm: "删除“{{title}}”及其运行记录?",
- historyHint: "该任务的运行记录,最新的在前面。选中一条可在本页阅读转写,或打开会话继续追问。",
+ historyHint: "执行会话记录,最新的在前面。会话结束不代表任务成功,请结合转写和任务证据验收实际结果。",
runContent: "运行内容",
runContentLoading: "正在读取转写…",
runContentError: "无法读取这次运行的转写。",
@@ -2025,12 +2025,12 @@ sklm: {
neverRun: "尚未运行",
selectTask: "选择一个任务以查看它的运行记录。",
emptyRuns: "暂无运行记录",
- statusRunning: "运行中/等待输入",
- statusCompleted: "已完成",
- statusAborted: "已中断",
- statusError: "失败",
+ statusRunning: "会话运行中/等待输入",
+ statusCompleted: "会话已结束",
+ statusAborted: "会话已中断",
+ statusError: "会话执行异常",
openResult: "打开会话",
- runError: "任务未能完成,请打开会话查看详情。",
+ runError: "执行会话未能正常结束,请打开会话查看详情。",
title: "定时任务",
emptyTitle: "暂无已安排任务",
create: "创建任务",