From 82228ed9094fa6cfde4295fad6cc81696e65806e Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 27 Oct 2026 01:53:16 -0500 Subject: [PATCH] Use complete public run identity in note oracle controls --- .../chat-catalog-domains/internal-comment-reference.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runner-e2e/chat-catalog-domains/internal-comment-reference.test.ts b/tests/runner-e2e/chat-catalog-domains/internal-comment-reference.test.ts index ca2528e528a..008dcedd4ac 100644 --- a/tests/runner-e2e/chat-catalog-domains/internal-comment-reference.test.ts +++ b/tests/runner-e2e/chat-catalog-domains/internal-comment-reference.test.ts @@ -3,7 +3,7 @@ import { grade_tasks } from "./internal-tasks.js"; import type { InternalObservation } from "./internal-support.js"; function observation(body: string): InternalObservation { const task = { id: "task", companyId: "company", title: "Landing page", status: "backlog" }, design = { id: "design", identifier: "ACO-2", companyId: "company", title: "Approved design", status: "done" }; - return { scenarioId: "tasks.comment-with-reference", origin: "https://fixture.test", companyId: "company", leadId: "ceo", state: { task: structuredClone(task), design: structuredClone(design) }, tasks: [task, design], projects: [], goals: [], documents: [], revisions: [], activity: [], reply: "Note added.", humanQueries: [], links: ["/ACO/issues/task"], comments: [{ id: "note", authorAgentId: "ceo", createdByRunId: "run", body }], runs: [{ id: "run", status: "succeeded" }] }; + return { scenarioId: "tasks.comment-with-reference", origin: "https://fixture.test", companyId: "company", leadId: "ceo", state: { task: structuredClone(task), design: structuredClone(design) }, tasks: [task, design], projects: [], goals: [], documents: [], revisions: [], activity: [], reply: "Note added.", humanQueries: [], links: ["/ACO/issues/task"], comments: [{ id: "note", authorAgentId: "ceo", createdByRunId: "run", body }], runs: [{ id: "run", companyId: "company", agentId: "ceo", status: "succeeded" }] }; } for (const body of ["Follow [the approved design](/ACO/issues/design).", "Please use [this design](https://fixture.test/ACO/issues/ACO-2) for implementation.", "Adhere to [the approved design](/ACO/issues/design?tab=documents).", "Implement according to [the design](/ACO/issues/design).", "Build in line with [the approved design](/ACO/issues/design).", "Follow [the approved design](/ACO/issues/design) and avoid unrelated layout changes.", "Do not forget to follow [the approved design](/ACO/issues/design)."]) it(`accepts affirmative actual design instruction: ${body}`, () => expect(grade_tasks(observation(body)).passed).toBe(true));