Q206: Work and Library say which object drives work: only a task runs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 11:32:43 -04:00
1 parent 10283f87e5
commit 412fdceb3c
4 files changed
+11

No files matched your search

+2
View File
@@ -699,6 +699,8 @@ export const zh: Record<string, string> = {
"Waiting for the {name} sign-in in your browser (check {check} of {checks}).": "正在等待你在浏览器中完成 {name} 登录(第 {check}/{checks} 次检查)。",
"Stop waiting": "停止等待",
"People to mention": "可提及的人",
"Only a task runs: an agent picks it up and does the work. Goals and projects group tasks; documents and knowledge are what agents read and write along the way.": "只有任务会被执行:智能体接手任务并完成工作。目标和项目用来归组任务;文档和知识是智能体在工作中读写的内容。",
"Agents read and write these while working on tasks. Nothing here starts work; a task does.": "智能体在执行任务时读写这些内容。这里的内容不会自行启动工作,只有任务会。",
"{title}: use the arrow keys to read each value": "{title}:用方向键逐项读取数值",
"{rate}% of judged work accepted": "已评判的工作中 {rate}% 被接受",
"No work judged yet": "还没有评判过的工作",
+1
View File
@@ -49,6 +49,7 @@ export function LibraryPage({ snapshot, actions, focus }: PageProps) {
<div className="content">
<div className="page">
<h1 className="page-h1">{tab === "documents" ? t("Documents") : t("Knowledge")}</h1>
<p className="page-sub">{t("Agents read and write these while working on tasks. Nothing here starts work; a task does.")}</p>
{tab === "documents"
? <DocumentsPanel focusId={focus?.kind === "document" ? focus.id : null} orgId={orgId} employeeId={employee.id} documents={documents} tasks={tasks} actions={actions} />
: <KnowledgePanel focusId={focus?.kind === "knowledge" ? focus.id : null} orgId={orgId} employeeId={employee.id} entries={entries} scopes={scopes} actions={actions} />}
+1
View File
@@ -113,6 +113,7 @@ export function WorkPage({ snapshot, actions, navigate, focus }: PageProps) {
<Button tone="primary" onClick={() => setNewTaskOpen(true)}><Icon name="plus" size={16} /> {t("New task")}</Button>
</TopbarActions>
<h1 className="page-h1">{t("Work")}</h1>
<p className="page-sub">{t("Only a task runs: an agent picks it up and does the work. Goals and projects group tasks; documents and knowledge are what agents read and write along the way.")}</p>
{scope && (
<div className="row" style={{ gap: 8, marginBottom: 8 }}>
<Pill>
+7
View File
@@ -48,6 +48,8 @@ test("the library manages documents with versions and knowledge with history", a
expect(orgId).toBeTruthy();
await page.getByRole("button", { name: "Library", exact: true }).click();
// Each page says which object drives work: only a task runs.
await expect(page.getByText("Nothing here starts work; a task does.", { exact: false })).toBeVisible();
await page.getByRole("listitem").filter({ hasText: "Pricing memo" }).click();
await page.getByRole("button", { name: "Edit", exact: true }).click();
await page.getByLabel("Content").fill("Price is 12.");
@@ -57,6 +59,11 @@ test("the library manages documents with versions and knowledge with history", a
await page.getByLabel("Version").selectOption("1");
await expect(page.getByText("Price is 10.")).toBeVisible();
await page.getByRole("button", { name: "Knowledge", exact: true }).click();
await expect(page.getByText("Nothing here starts work; a task does.", { exact: false })).toBeVisible();
await page.getByRole("button", { name: "Work", exact: true }).click();
await expect(page.getByText("Only a task runs: an agent picks it up and does the work.", { exact: false })).toBeVisible();
await page.getByRole("button", { name: "Library", exact: true }).click();
await page.getByRole("button", { name: "Knowledge", exact: true }).click();
await page.getByRole("button", { name: "New", exact: true }).click();
await page.getByLabel("Topic").fill("Refund window");