mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-06 21:05:21 +02:00
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work. > - Agents ask for decisions and optional details through cards in chat. > - A clear approval in a message can leave the matching card pending. > - An unanswered question can also block an unrelated later reply. > - Decisions need a saved source message, while optional questions need to remain answerable in history. > - This pull request records conversational decisions and lets users move on from questions and answer them later. ## Linked Issues or Issue Description **What happened?** Native Claude and Codex could act on approval in chat while the original approval card stayed pending. Pending question forms stayed above the composer, were absent from history, and could suppress later chat replies. A late native question answer could wait for a finished run to reconnect. **Expected behavior** The active agent records a clear approval or refusal against the exact card and user message. Ambiguous replies do not grant consent. Users can send another message without answering a question. The question remains pending in history and can be reopened and answered later. The saved answer reaches the agent. **Steps to reproduce** 1. Ask an agent to propose work with a confirmation card, then approve it in chat. 2. Check that the original card records that approval before work starts. 3. Ask an interactive question, send an unrelated message, and reload. 4. Open the unanswered question from history and submit an answer. Related work: #14408 added completion delivery. #14607 tests completion reporting turns. Neither records conversational answers on approval cards. ## What Changed - Add a confirmation endpoint backed by a user comment, with schema validation, OpenAPI discovery, and native Plan-mode access. Ask mode remains read-only. - Check company, active run, actor, current session, message provenance, revision, and resolver policy. Save the decision and audit in one transaction. Retries do not repeat effects. Emit resolution telemetry after commit. - Give fresh and resumed chat turns the actual pending confirmation identities. Teach agents to save clear conversational decisions before acting and to clarify ambiguity. - Keep unanswered Agent Chat questions as compact history entries. A newer user message closes the old form. Question cards never contribute to composer pending counts or navigation, including after dismissing a fresh form. The history card is the sole reminder; clicking it restores that exact form and draft. - Preserve Agent Chat questions when later messages or questions arrive. Historical ordinary inputs no longer gate later chat replies. Current-run requests, task execution, and governed approvals keep their gates. Remove the special acknowledgement-publication proof helpers that this rule replaces. - Route answers to finished native runs through durable fresh-wake delivery, with existing idempotency and source-question context. Settle late replies against contiguous completed conversation turns and freeze their history replay; failed, unhandled, and newly arriving messages remain actionable. - Add real-component Storybook scenarios, database and UI regressions, and a three-turn native Claude/Codex E2E case. Capture distinct, UI-ready screenshots and report the individual assertions. ## Verification - Focused decision/publication/UI regressions after merging master: 288 passed; subsequent UI draft, failed-send, and conversation checks: 199 passed. - Native question and durable delivery regressions: 106 passed, including all four terminal run states and exactly-once late delivery. Seven targeted regressions fail against the original implementation and pass with the fix. - Latest conversation/decision/native-delivery regressions after the master merge: 121 passed. Covers completed progress, missing or failed intervening turns, new messages during a late reply, stale sessions, and frozen retry/replay boundaries. Four new assertions fail before the ordering fix. - E2E support suite after the master merge: 792 passed. Negative controls reject expired cards, wrong questions/answers, stale or missing replies, unrelated clarification forms, and unexpected tasks. - The embedded-browser walkthrough caught one additional defect: dismissing a fresh question still showed a composer badge. Both Cancel and close-button regressions failed before the fix. The fix at `65f2ade12` passes 170 chat-thread tests and 792 E2E support tests. After merging master, 232 chat-thread/confirmation tests, server/UI typechecks, and token gates pass. The preview and two-provider live E2E pass at `e5512a206`; Greptile is 5/5 with zero unresolved threads at that commit. All 55 checks are now successful at `e5512a206` (four conditional checks skipped), including the aggregate verification gate and clean-install canary test. The first attempt was interrupted by simultaneous CI worker shutdowns; one failed-job rerun passed without code changes. - [Published Storybook](https://d1p6rlowie26tp.cloudfront.net/storybook/branches/codex~2Fchat-approval-resolution/?path=/story/chat-comments-agent-chat-unanswered-questions--moved-on): nine real-component scenarios. Manually exercised move on, reopen, preserve draft, answer later, answer one of multiple questions, and a custom mobile answer in the embedded browser. Retested fresh Cancel and close-button dismissal in the updated build, then reopened and submitted the preserved Green selection and inspected its answered receipt. Static preview has no live model/backend; its callbacks are fixture responses. - [First live campaign](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36714504406-1/) reproduced the late-answer completion-state defect on both providers despite correct saved answers and acknowledgements. It also exposed a valid imperative clarification rejected by the old oracle. Both issues are fixed with regression controls; this failing run is retained as evidence. - [Four-cell qualification](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36717804064-1/) passed 4/4 at `2bf8a1009`: unanswered-question return and ambiguous confirmation, each on native Claude and Codex. Inspected saved state, source-message decisions, visible cards, and agent replies. Both late-answer chats settled to waiting; no unrequested tasks were created. [Final branch rerun](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36719666238-1/) passed 2/2 at `142630720`: the same unanswered-question journey after merging master, plus an additional screenshot and browser assertion for the actual late-answer acknowledgement. - [Composer-reminder E2E](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36727006818-1/) passed 2/2 at `5b62c52d9`: native Claude and Codex, three turns each, with explicit no-badge assertions before and after reload. Inspected saved pending/answered state, both screenshots with a clear composer, and actual Blue acknowledgements; all five behavioral matchers passed per provider and neither created tasks. Cost coverage is partial; this is bounded workflow qualification. - [Fresh-dismissal E2E](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36742773318-1/) passed 2/2 at `e5512a206`: native Claude and Codex, including fresh Cancel, clear composer, reopen, unrelated message, reload, late Blue answer, and actual agent acknowledgement. All five behavioral matchers pass per provider. Inspected the fresh-dismissal screenshots and saved pending/answered identity; neither created tasks. Cost coverage is partial (4/6 runs). - Prior evidence remains available in [the earlier campaign](https://d1p6rlowie26tp.cloudfront.net/runner-e2e/campaigns/gha-36642252725-1/). Its early loading screenshot and overwritten final capture prompted the UI-ready, distinct screenshot fixes. ## Risks - The model interprets intent. The server verifies permission and provenance; it does not infer consent from text. Ambiguous and unrelated replies are not approvals. - Historical questions can accumulate. They remain visible, pending, and answerable; no automatic answer or expiry is invented. - The change to completion gates is scoped to Agent Chat and ordinary historical inputs. Current-turn and governed approvals retain their existing controls. - Live qualification is limited to the selected stories. Broader native onboarding finalization remains separate work. - No database migration. Telemetry adds no fields or values; the contract and README document the commit boundary. Privacy review was requested on the PR. ## Model Used OpenAI Codex, GPT-6 family, with reasoning, repository tools, code execution, and browser-test orchestration. The exact model ID and context-window size are not exposed to this session. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [x] All Paperclip CI gates are green - [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge --------- Co-authored-by: Paperclip <noreply@paperclip.ing>
181 lines
15 KiB
TypeScript
181 lines
15 KiB
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { runsCompletionUpdateProbe, COMPLETION_QUALITY_CONFIG, completionQualityControls, completionQualityStatus, completionQualityRequest, judgeCompletionQuality, reserveCompletionQuality, validateCompletionQuality } from "./completion-quality.js";
|
|
import { runnerMatrix } from "./catalog.js";
|
|
const observation = { sourceId: "chat", marker: "REF", worker: { id: "task", title: "Welcome", status: "done", completedAt: "2026-09-01T00:00:00Z" }, documents: [{ id: "doc", issueId: "task", key: "welcome", body: "Welcome to the garden. Meet at 10:30." }], comments: [{ id: "reply", issueId: "chat", authorAgentId: "agent", createdAt: "2026-09-01T00:01:00Z", body: "The note is ready at /issues/task", createdByRunId: "run" }], runs: [] };
|
|
const criteria = Object.keys(COMPLETION_QUALITY_CONFIG.rubric).map(id => ({ id, passed: true, rationale: "Supported by the saved note and reply", evidenceIds: ["reply", "doc"] }));
|
|
const reports = [{ replyId: "reply", rationale: "Reports the completed task", completedTaskIdsReferenced: ["task"], resultAccessTaskIds: ["task"], correctsReplyIds: [] as string[] }];
|
|
describe("completion semantic qualification", () => {
|
|
it.each(["runner-codex", "runner-acpx-claude"])("requires a completion judge only for accepted work on %s", profile => {
|
|
const cells = runnerMatrix.filter(e => e.suite.id === "confirmation-replies" && e.profile.id === profile);
|
|
expect(cells).toHaveLength(6);
|
|
expect(cells.filter(runsCompletionUpdateProbe).map(e => e.task.id).sort()).toEqual([
|
|
"interview-plan-accept", "task-card-accept", "task-reply-accept",
|
|
]);
|
|
});
|
|
it("retains the completion suite's gate and excludes ordinary chat journeys", () => {
|
|
const completion = runnerMatrix.filter(e => e.suite.id === "completion-updates");
|
|
expect(completion).toHaveLength(10);
|
|
expect(completion.every(runsCompletionUpdateProbe)).toBe(true);
|
|
expect(runnerMatrix.filter(e => !["confirmation-replies", "completion-updates"].includes(e.suite.id)).some(runsCompletionUpdateProbe)).toBe(false);
|
|
});
|
|
it("uses a pinned no-tool judge and separates untrusted evidence from instructions", () => {
|
|
const request = completionQualityRequest(observation);
|
|
expect(request.model).toBe(COMPLETION_QUALITY_CONFIG.model); expect(request).not.toHaveProperty("tools");
|
|
expect(request.instructions).toContain("untrusted evidence"); expect(request.input).toContain("10:30");
|
|
expect(request.text.format.schema.properties.criteria.items.properties.evidenceIds.items.enum)
|
|
.toEqual(["task", "doc", "reply"]);
|
|
});
|
|
it("includes only observed, same-reply links to known task results", () => {
|
|
const o = { ...observation, worker: { ...observation.worker, identifier: "GARDEN-2" }, renderedLinks: [
|
|
{ commentId: "reply", href: "/GARDEN/issues/GARDEN-2?private-query=ignored" },
|
|
{ commentId: "reply", href: "/GARDEN/issues/GARDEN-2" },
|
|
{ commentId: "other-reply", href: "/issues/task" },
|
|
{ commentId: "reply", href: "/issues/foreign" },
|
|
{ commentId: "reply", href: "https://external.invalid/issues/task" },
|
|
{ commentId: "reply", href: "//external.invalid/issues/task" },
|
|
{ commentId: "reply", href: "/%invalid/issues/task" },
|
|
] };
|
|
const evidence = JSON.parse(completionQualityRequest(o).input);
|
|
expect(evidence.replies[0].renderedResultLinks).toEqual([{ taskId: "task", href: "/GARDEN/issues/GARDEN-2" }]);
|
|
expect(JSON.parse(completionQualityRequest(observation).input).replies[0].renderedResultLinks).toEqual([]);
|
|
});
|
|
it("preserves a failure even when the other criteria pass", () => {
|
|
expect(validateCompletionQuality({ criteria, reports }, observation).passed).toBe(true);
|
|
expect(validateCompletionQuality({ reports, criteria: criteria.map((c, i) => ({ ...c, passed: i !== 0 })) }, observation).passed).toBe(false);
|
|
});
|
|
it("separates product failures from a missing or miscalibrated judge", () => {
|
|
const product = { ...reserveCompletionQuality(observation, 1), status: "completed" as const,
|
|
name: "completion-update.json", purpose: "product" as const, expectedPass: true, passed: true };
|
|
const negativeControl = { ...product, name: "stale", purpose: "calibration" as const, expectedPass: false, passed: false };
|
|
expect(completionQualityStatus([product, negativeControl])).toBe("passed");
|
|
expect(completionQualityStatus([{ ...product, passed: false }, negativeControl])).toBe("failed");
|
|
expect(completionQualityStatus([product, { ...negativeControl, passed: true }])).toBe("unqualified");
|
|
expect(completionQualityStatus([{ ...product, status: "failed" }])).toBe("unqualified");
|
|
expect(completionQualityStatus([])).toBe("unqualified");
|
|
});
|
|
const twoReplies = { ...observation, worker: { ...observation.worker, companyId: "fixture" },
|
|
relatedTasks: [{ task: { id: "second", companyId: "fixture", status: "done", completedAt: observation.worker.completedAt },
|
|
documents: [{ id: "second-doc", issueId: "second", key: "result", body: "Second result" }] }],
|
|
comments: [...observation.comments, { ...observation.comments[0], id: "reply-again", createdAt: "2026-09-01T00:02:00Z" }],
|
|
};
|
|
it.each([
|
|
[["task"], ["task"], [], false],
|
|
[["task"], ["task", "second"], [], true],
|
|
[["task", "second"], ["task"], [], false],
|
|
[[], ["task"], [], true],
|
|
[["task"], ["task"], ["reply"], true],
|
|
[["task"], ["second"], [], true],
|
|
[["task"], [], [], true],
|
|
])("evaluates newly reported results and corrections (%j → %j)", (first, second, corrections, passed) => {
|
|
const inventory = [
|
|
{ ...reports[0], completedTaskIdsReferenced: first as string[], resultAccessTaskIds: first as string[] },
|
|
{ ...reports[0], replyId: "reply-again", completedTaskIdsReferenced: second as string[], resultAccessTaskIds: second as string[], correctsReplyIds: corrections as string[] },
|
|
];
|
|
const verdict = validateCompletionQuality({ criteria, reports: inventory }, twoReplies);
|
|
expect(verdict.passed).toBe(passed);
|
|
expect(verdict.reports).toEqual(inventory);
|
|
if (!passed) expect(verdict.criteria.at(-1)?.evidenceIds).toEqual(["reply", "reply-again"]);
|
|
});
|
|
it("accepts first result access after a status-only announcement, but rejects a third redundant reply", () => {
|
|
const inventory = [{ ...reports[0], resultAccessTaskIds: [] }, { ...reports[0], replyId: "reply-again" }];
|
|
expect(validateCompletionQuality({ criteria, reports: inventory }, twoReplies).passed).toBe(true);
|
|
const repeated = { ...twoReplies, comments: [...twoReplies.comments,
|
|
{ ...observation.comments[0], id: "third", createdAt: "2026-09-01T00:03:00Z" }] };
|
|
expect(validateCompletionQuality({ criteria, reports: [...inventory, { ...reports[0], replyId: "third" }] }, repeated).passed).toBe(false);
|
|
});
|
|
it("requires result access to reference unique, inventoried tasks", () => {
|
|
for (const access of [undefined, ["foreign"], ["second"], ["task", "task"]]) {
|
|
expect(() => validateCompletionQuality({ criteria, reports: [{ ...reports[0], resultAccessTaskIds: access }] }, observation)).toThrow(/inventory/);
|
|
}
|
|
});
|
|
it("uses recorded chronology instead of model report order", () => {
|
|
const inventory = [{ ...reports[0], replyId: "reply-again", completedTaskIdsReferenced: ["task", "second"] }, reports[0]];
|
|
expect(validateCompletionQuality({ criteria, reports: inventory }, { ...twoReplies, comments: [...twoReplies.comments].reverse() }).passed).toBe(true);
|
|
});
|
|
it("rejects omitted, duplicate, foreign, and forward-looking report references", () => {
|
|
for (const inventory of [
|
|
reports, [reports[0], reports[0]],
|
|
[reports[0], { ...reports[0], replyId: "foreign" }],
|
|
[reports[0], { ...reports[0], replyId: "reply-again", completedTaskIdsReferenced: ["foreign-task"] }],
|
|
[reports[0], { ...reports[0], replyId: "reply-again", completedTaskIdsReferenced: ["task", "task"] }],
|
|
[{ ...reports[0], correctsReplyIds: ["reply-again"] }, { ...reports[0], replyId: "reply-again" }],
|
|
[reports[0], { ...reports[0], replyId: "reply-again", correctsReplyIds: ["reply-again"] }],
|
|
[reports[0], { ...reports[0], replyId: "reply-again", correctsReplyIds: ["foreign"] }],
|
|
]) expect(() => validateCompletionQuality({ criteria, reports: inventory }, twoReplies)).toThrow(/inventory/);
|
|
});
|
|
it("grounds a joint reply in the other delegated task's result without including foreign or plan documents", () => {
|
|
const input = { ...observation, worker: { ...observation.worker, companyId: "fixture" }, relatedTasks: [
|
|
{ task: { id: "second", companyId: "fixture", status: "done", completedAt: observation.worker.completedAt, title: "PRIVATE TITLE" },
|
|
documents: [{ id: "second-doc", issueId: "second", key: "welcome", body: "Another saved welcome note. Contact alice@example.com." },
|
|
{ id: "plan", issueId: "second", key: "plan", body: "PRIVATE PLAN" },
|
|
{ id: "foreign-doc", issueId: "elsewhere", key: "welcome", body: "PRIVATE OTHER TASK" }] },
|
|
{ task: { id: "foreign", companyId: "other", status: "done", completedAt: observation.worker.completedAt },
|
|
documents: [{ id: "foreign-doc", issueId: "foreign", key: "welcome", body: "PRIVATE COMPANY" }] },
|
|
] };
|
|
const evidence = JSON.parse(completionQualityRequest(input).input);
|
|
expect(evidence.relatedTasks).toHaveLength(1);
|
|
expect(evidence.relatedTasks[0].documents).toEqual([{ id: "second-doc", body: "Another saved welcome note. Contact [REDACTED_EMAIL]." }]);
|
|
expect(JSON.stringify(evidence)).not.toContain("PRIVATE");
|
|
expect(validateCompletionQuality({ reports, criteria: criteria.map(c => ({ ...c, evidenceIds: ["reply", "second-doc"] })) }, input).passed).toBe(true);
|
|
});
|
|
it("rejects invented references, missing evidence, duplicate criteria and missing replies", () => {
|
|
expect(() => validateCompletionQuality({ reports, criteria: criteria.map(c => ({ ...c, evidenceIds: ["invented"] })) }, observation)).toThrow();
|
|
expect(() => validateCompletionQuality({ reports, criteria: criteria.map(c => ({ ...c, evidenceIds: ["doc"] })) }, observation)).toThrow();
|
|
expect(() => validateCompletionQuality({ reports, criteria: criteria.map((c, i) => i === 1 ? criteria[0] : c) }, observation)).toThrow();
|
|
expect(() => completionQualityRequest({ ...observation, comments: [] })).toThrow();
|
|
expect(() => reserveCompletionQuality(observation, 0.000001)).toThrow();
|
|
});
|
|
it("calibrates repeated announcements without rejecting corrections or distinct-task updates", () => {
|
|
const controls = completionQualityControls(observation);
|
|
expect(controls.map(c => [c.name, c.expectedPass])).toEqual([["accurate", true], ["stale", false], ["unsupported", false], ["corrected", true],
|
|
["duplicate", false], ["redundant-acknowledgement", false], ["distinct-tasks", true],
|
|
["pending-then-joint", true], ["joint-then-repeated", false], ["supported-content-check", true], ["unsupported-content-check", false], ["rendered-task-link", true], ["unlinked-status-only", false], ["completion-then-result", true], ["completion-then-result-then-repeat", false], ["recap-with-new-result", true]]);
|
|
expect(controls[3].observation.comments).toHaveLength(2);
|
|
expect(controls[4].observation.comments[0].body).not.toBe(controls[4].observation.comments[1].body);
|
|
const distinct = JSON.parse(completionQualityRequest(controls[6].observation).input);
|
|
expect(distinct.relatedTasks).toHaveLength(1);
|
|
expect(distinct.replies[1].body).toContain(distinct.relatedTasks[0].task.id);
|
|
expect(observation.comments).toHaveLength(1);
|
|
for (const c of controls) expect(completionQualityRequest(c.observation).input).toContain("10:30");
|
|
});
|
|
it("requires approval and sends only minimized, redacted fixture evidence", async () => {
|
|
const privateObservation = { ...observation, fixtureRequest: "Save a garden note. Contact alice@example.com. Key private-fixture-value.", worker: { ...observation.worker, title: "PRIVATE TITLE" },
|
|
documents: [...observation.documents.map(d => ({ ...d, body: d.body + " Key private-fixture-value contact alice@example.com or 212-555-0199" })),
|
|
{ id: "unrelated", issueId: "other", key: "note", body: "PRIVATE OTHER TASK" }, { id: "plan", issueId: "task", key: "plan", body: "PRIVATE PLAN" }],
|
|
comments: [...observation.comments, { ...observation.comments[0], id: "other", issueId: "other", body: "PRIVATE OTHER CHAT" }] };
|
|
const secrets = ["private-fixture-value"];
|
|
const pending = reserveCompletionQuality(privateObservation, 0.5, secrets);
|
|
let calls = 0;
|
|
const fetcher: typeof fetch = async (_url, init) => {
|
|
calls++;
|
|
const request = String(init?.body);
|
|
expect(request).not.toMatch(/private-fixture-value|alice@example.com|212-555-0199|PRIVATE/);
|
|
expect(request).toContain("REDACTED");
|
|
expect(JSON.parse(JSON.parse(request).input).fixtureRequest).toContain("Save a garden note.");
|
|
return new Response(JSON.stringify({ status: "completed", model: COMPLETION_QUALITY_CONFIG.model, usage: { input_tokens: 100, output_tokens: 50 }, output: [{ content: [{ type: "output_text", text: JSON.stringify({ criteria, reports }) }] }] }));
|
|
};
|
|
expect((await judgeCompletionQuality(privateObservation, pending, "fixture-key", fetcher)).status).toBe("failed");
|
|
expect(calls).toBe(0);
|
|
expect((await judgeCompletionQuality(privateObservation, pending, "fixture-key", fetcher, { approvedFixture: true, secrets })).status).toBe("completed");
|
|
expect(calls).toBe(1);
|
|
});
|
|
it("fails closed on missing usage and does not retry", async () => {
|
|
let calls = 0;
|
|
const result = await judgeCompletionQuality(observation, reserveCompletionQuality(observation, 1), "fixture-key", async () => {
|
|
calls++; return new Response(JSON.stringify({ status: "completed", model: COMPLETION_QUALITY_CONFIG.model }));
|
|
}, { approvedFixture: true, secrets: [] });
|
|
expect(result.status).toBe("failed"); expect(result.passed).toBe(false); expect(calls).toBe(1);
|
|
});
|
|
it("retains a redacted invalid verdict for diagnosis without accepting its references", async () => {
|
|
const result = await judgeCompletionQuality(observation, reserveCompletionQuality(observation, 1), "fixture-key", async () =>
|
|
new Response(JSON.stringify({ status: "completed", model: COMPLETION_QUALITY_CONFIG.model,
|
|
usage: { input_tokens: 100, output_tokens: 50 }, output: [{ content: [{ type: "output_text", text: JSON.stringify({
|
|
reports, criteria: criteria.map(c => ({ ...c, evidenceIds: ["invented"], rationale: "private-fixture-value alice@example.com" })),
|
|
}) }] }] })), { approvedFixture: true, secrets: ["private-fixture-value"] });
|
|
expect(result.status).toBe("failed"); expect(result.passed).toBe(false);
|
|
expect(result).toHaveProperty("rejectedVerdict", expect.stringContaining("invented"));
|
|
expect(JSON.stringify(result)).not.toMatch(/private-fixture-value|alice@example.com/);
|
|
expect(result.estimatedCostUsd).toBeGreaterThan(0);
|
|
});
|
|
});
|