Skip to content

Desktop app that records your on-screen work session and uses the GitHub Copilot SDK to reconstruct it as an intent + ordered steps, then builds a reusable Skill or Automation for Microsoft Autopilots like Scout, Microsoft Copilot Cowork, or Copilot Studio.

Add three complex multi-app business-process eval scenarios

adilei101a332a48f0
diff --git a/evals/README.md b/evals/README.md
index d07ac84..570a9be 100644
--- a/evals/README.md
+++ b/evals/README.md
@@ -81,6 +81,14 @@ Business, repeatable knowledge-work patterns (`evals/scenarios/`):
| `invoice-extract` | Extract invoice rows from a web table into a spreadsheet |
| `research-compile` | Research two articles and compile quotes into a note |
| `directory-lookup` | Collect contact details from a directory into a spreadsheet |
+| `expense-report` | Reconcile card charges against receipts and file an expense report (Chrome + Preview + Expensify) |
+| `release-notes` | Compile release notes from merged PRs, then version + deploy (Terminal + GitHub + editor) |
+| `lead-to-crm` | Qualify inbound leads and enter them into the CRM (Mail + LinkedIn + Salesforce) |
+
+The last three are longer, multi-app **business processes** — they loop over several
+records, mix a native app with the browser and/or terminal, and end in a submit /
+deploy / commit step — stress-testing segmentation and app attribution beyond the
+simple copy→paste flows.
Each also exercises the describer's judgment: **pastes are inferred** (a paste
emits no event), **recorder start/stop bracketing is dropped**, and **tracking
diff --git a/evals/scenarios/expense-report.ts b/evals/scenarios/expense-report.ts
new file mode 100644
index 0000000..0b7fd0e
--- /dev/null
+++ b/evals/scenarios/expense-report.ts
@@ -0,0 +1,65 @@
+// Scenario: reconcile card charges against receipts and file an expense report.
+// A realistic finance/AP task that spans three apps and loops over several
+// records: read a charge on the Amex statement (Chrome), eyeball the matching
+// receipt (Preview), then enter the expense in Expensify (Chrome) — three times,
+// then submit. The data entry is typed (invisible), so the describer must infer
+// each "enter expense" from the copy + app switch. Also seeds a tracking param
+// on the statement URL and the recorder bracketing as noise to discard.
+
+import { appActivate, clipboard, marker, recorder, visit, type Scenario } from "../scenario";
+
+const CHROME = "Google Chrome";
+const PREVIEW = "Preview";
+const AMEX = "https://www.americanexpress.com/activity";
+const AMEX_TRACKED = "https://www.americanexpress.com/activity?linknav=us-em-promo&icid=hp1";
+const EXPENSIFY_NEW = "https://www.expensify.com/expenses/new";
+const AMEX_TITLE = "Recent Activity — American Express";
+const EXPENSIFY_TITLE = "New Expense — Expensify";
+
+export const expenseReport: Scenario = {
+ id: "expense-report",
+ title: "Reconcile receipts against a card statement and file an expense report",
+ truth:
+ "The user opened their American Express activity page in Chrome and, for three business " +
+ "trip charges (United Airlines $412.30, Marriott $286.00, Uber $24.60), copied the charge, " +
+ "checked the matching PDF receipt in Preview, and entered each as an expense in Expensify — " +
+ "then submitted the expense report. The goal was to file a reimbursable expense report that " +
+ "reconciles each card charge with its receipt.",
+ build: () => [
+ recorder(0),
+ ...visit(1500, CHROME, AMEX_TRACKED, AMEX_TITLE),
+ ...visit(3000, CHROME, AMEX, AMEX_TITLE), // tracking params dropped on nav
+ clipboard(4200, "United Airlines\t$412.30\tJul 12"),
+ appActivate(6000, PREVIEW, "united-flight-receipt.pdf"), // verify receipt
+ ...visit(8000, CHROME, EXPENSIFY_NEW, EXPENSIFY_TITLE), // enter expense #1 (Travel) — typed
+ appActivate(9600, CHROME, AMEX_TITLE, { url: AMEX, host: "www.americanexpress.com" }),
+ clipboard(11000, "Marriott Hotels\t$286.00\tJul 13"),
+ appActivate(12600, PREVIEW, "marriott-hotel-receipt.pdf"),
+ appActivate(14200, CHROME, EXPENSIFY_TITLE, { url: EXPENSIFY_NEW, host: "www.expensify.com" }), // #2 (Lodging)
+ appActivate(15800, CHROME, AMEX_TITLE, { url: AMEX, host: "www.americanexpress.com" }),
+ clipboard(17000, "Uber\t$24.60\tJul 13"),
+ appActivate(18600, CHROME, EXPENSIFY_TITLE, { url: EXPENSIFY_NEW, host: "www.expensify.com" }), // #3 (Transport)
+ ...visit(20200, CHROME, "https://www.expensify.com/reports/submit", "Submit Report — Expensify"),
+ marker(21200, "submitted July travel expense report"),
+ recorder(23000),
+ ],
+ rubric: {
+ intentKeywordsAny: [
+ ["expense", "expenses", "receipt", "receipts", "reimburse", "reconcile"],
+ ["report", "expensify", "submit", "file", "enter", "log"],
+ ],
+ minSteps: 3,
+ maxSteps: 9,
+ expectedApps: ["chrome", "preview"],
+ orderedActions: [
+ ["american express", "amex", "statement", "activity", "charge", "transaction"],
+ ["copy", "copied"],
+ ["receipt", "preview", "pdf"],
+ ["expensify", "expense", "report"],
+ ],
+ mustMentionAny: [
+ ["united", "marriott", "uber", "$412", "412", "$286", "286", "$24", "receipt", "expense"],
+ ],
+ forbidden: ["skill recorder", "usernotificationcenter", "linknav", "icid"],
+ },
+};
diff --git a/evals/scenarios/index.ts b/evals/scenarios/index.ts
index 3bb1694..03c0f06 100644
--- a/evals/scenarios/index.ts
+++ b/evals/scenarios/index.ts
@@ -1,6 +1,9 @@
import type { Scenario } from "../scenario";
import { directoryLookup } from "./directory-lookup";
+import { expenseReport } from "./expense-report";
import { invoiceExtract } from "./invoice-extract";
+import { leadToCrm } from "./lead-to-crm";
+import { releaseNotes } from "./release-notes";
import { researchCompile } from "./research-compile";
import { webToSpreadsheet } from "./web-to-spreadsheet";
@@ -10,4 +13,8 @@ export const scenarios: Scenario[] = [
invoiceExtract,
researchCompile,
directoryLookup,
+ // Complex, multi-app business processes:
+ expenseReport,
+ releaseNotes,
+ leadToCrm,
];
diff --git a/evals/scenarios/lead-to-crm.ts b/evals/scenarios/lead-to-crm.ts
new file mode 100644
index 0000000..a338213
--- /dev/null
+++ b/evals/scenarios/lead-to-crm.ts
@@ -0,0 +1,59 @@
+// Scenario: qualify inbound sales leads and enter them into the CRM.
+// A sales-ops workflow with a per-lead loop and a cross-reference/enrichment
+// step: read a lead in Mail, look the person up on LinkedIn to enrich, then
+// create the contact in Salesforce — twice — and open an opportunity. Mixes a
+// native app (Mail) with the browser, seeds a LinkedIn tracking param as noise,
+// and the CRM data entry is typed (inferred from copy + navigation to the form).
+
+import { appActivate, clipboard, marker, recorder, visit, type Scenario } from "../scenario";
+
+const CHROME = "Google Chrome";
+const MAIL = "Mail";
+const MAIL_TITLE = "Inbox (2) — Sales Leads — Mail";
+const SF_CONTACT = "https://acme.lightning.force.com/lightning/o/Contact/new";
+const SF_CONTACT_TITLE = "New Contact — Salesforce";
+
+export const leadToCrm: Scenario = {
+ id: "lead-to-crm",
+ title: "Qualify inbound leads and enter them into the CRM",
+ truth:
+ "The user went through two inbound sales leads in Mail (Acme Corp — Jane Doe, VP Ops, " +
+ "[email protected]; and Globex LLC — Tom Ray, Head of IT, [email protected]). For each, they " +
+ "copied the lead line, looked the person up on LinkedIn to enrich and verify, then created a " +
+ "new contact in Salesforce. They finished by opening a new opportunity — qualifying the " +
+ "inbound leads and entering them into the CRM.",
+ build: () => [
+ recorder(0),
+ appActivate(1500, MAIL, MAIL_TITLE),
+ clipboard(3200, "Acme Corp — Jane Doe — VP Ops — [email protected]"),
+ ...visit(5200, CHROME, "https://www.linkedin.com/in/janedoe?trk=inbox-email", "Jane Doe | LinkedIn"),
+ ...visit(7000, CHROME, "https://www.linkedin.com/in/janedoe", "Jane Doe | LinkedIn"), // trk param dropped
+ ...visit(9000, CHROME, SF_CONTACT, SF_CONTACT_TITLE), // create contact #1 (typed)
+ appActivate(11000, MAIL, MAIL_TITLE),
+ clipboard(12500, "Globex LLC — Tom Ray — Head of IT — [email protected]"),
+ ...visit(14500, CHROME, "https://www.linkedin.com/in/tomray", "Tom Ray | LinkedIn"),
+ appActivate(16500, CHROME, SF_CONTACT_TITLE, { url: SF_CONTACT, host: "acme.lightning.force.com" }), // #2
+ ...visit(18500, CHROME, "https://acme.lightning.force.com/lightning/o/Opportunity/new", "New Opportunity — Salesforce"),
+ marker(19500, "two leads added to Salesforce"),
+ recorder(21500),
+ ],
+ rubric: {
+ intentKeywordsAny: [
+ ["lead", "leads", "prospect", "contact", "contacts"],
+ ["crm", "salesforce", "enter", "add", "create", "qualify", "log"],
+ ],
+ minSteps: 3,
+ maxSteps: 9,
+ expectedApps: ["mail", "chrome"],
+ orderedActions: [
+ ["mail", "inbox", "email", "lead"],
+ ["copy", "copied"],
+ ["linkedin", "look up", "research", "profile", "enrich", "verify"],
+ ["salesforce", "crm", "contact", "opportunity"],
+ ],
+ mustMentionAny: [
+ ["jane", "tom", "acme", "globex", "@acme", "@globex", "vp ops", "contact", "lead"],
+ ],
+ forbidden: ["skill recorder", "usernotificationcenter", "trk="],
+ },
+};
diff --git a/evals/scenarios/release-notes.ts b/evals/scenarios/release-notes.ts
new file mode 100644
index 0000000..db4236c
--- /dev/null
+++ b/evals/scenarios/release-notes.ts
@@ -0,0 +1,71 @@
+// Scenario: cut a release — compile release notes from merged PRs, then deploy.
+// A developer/devops workflow that mixes the terminal, the browser, and an
+// editor: pull main, gather three merged PR titles from GitHub into a CHANGELOG,
+// bump the version, deploy to production, and health-check the result. Exercises
+// the describer on a terminal-heavy flow with a verification step at the end, and
+// on inferring the (typed) CHANGELOG edits from copy + switch-to-editor.
+
+import { appActivate, clipboard, marker, recorder, terminal, visit, type Scenario } from "../scenario";
+
+const CHROME = "Google Chrome";
+const EDITOR = "Visual Studio Code";
+const TERMINAL = "Terminal";
+const TERM_TITLE = "acme-api — zsh";
+const REPO = "~/projects/acme-api";
+const PULLS =
+ "https://github.com/acme/api/pulls?q=is%3Apr+is%3Amerged+milestone%3Av2.4.0";
+const PULLS_TITLE = "Merged PRs · acme/api";
+const CHANGELOG_TITLE = "CHANGELOG.md — acme-api";
+
+export const releaseNotes: Scenario = {
+ id: "release-notes",
+ title: "Compile release notes from merged PRs and deploy",
+ truth:
+ "The user pulled the latest main branch in the terminal, opened the merged pull requests " +
+ "for the v2.4.0 milestone on GitHub in Chrome, and copied three PR titles (#482 add rate " +
+ "limiting to the auth API, #485 fix pagination off-by-one in invoices, #489 upgrade runtime " +
+ "to Node 22) into CHANGELOG.md in VS Code. They then bumped the version with npm, committed, " +
+ "ran the production deploy script, and curled the health endpoint to verify — cutting and " +
+ "shipping the v2.4.0 release.",
+ build: () => [
+ recorder(0),
+ appActivate(900, TERMINAL, TERM_TITLE), // focus the terminal to run git
+ terminal(1200, "git checkout main && git pull", REPO),
+ ...visit(3000, CHROME, PULLS, PULLS_TITLE),
+ clipboard(5200, "#482 Add rate limiting to the auth API"),
+ appActivate(7000, EDITOR, CHANGELOG_TITLE), // paste into CHANGELOG (inferred)
+ appActivate(9000, CHROME, PULLS_TITLE, { url: PULLS, host: "github.com" }),
+ clipboard(10500, "#485 Fix pagination off-by-one in invoices"),
+ appActivate(12200, EDITOR, CHANGELOG_TITLE),
+ appActivate(14000, CHROME, PULLS_TITLE, { url: PULLS, host: "github.com" }),
+ clipboard(15500, "#489 Upgrade runtime to Node 22"),
+ appActivate(17000, EDITOR, CHANGELOG_TITLE),
+ appActivate(18600, TERMINAL, TERM_TITLE), // switch back to the terminal to ship
+ terminal(19000, "npm version minor", REPO),
+ terminal(21000, 'git commit -am "Release notes for v2.4.0"', REPO),
+ terminal(23000, "./deploy.sh production", REPO, { durationMs: 41000 }),
+ terminal(26000, "curl -s https://api.acme.example/health", REPO),
+ marker(27000, "v2.4.0 deployed and health-checked"),
+ recorder(29000),
+ ],
+ rubric: {
+ intentKeywordsAny: [
+ ["release", "changelog", "release notes"],
+ ["deploy", "ship", "publish", "version", "cut"],
+ ],
+ minSteps: 5,
+ maxSteps: 12,
+ expectedApps: ["terminal", "chrome"],
+ orderedActions: [
+ ["git pull", "checkout", "pull", "main branch", "latest"],
+ ["merged", "pull request", "pull requests", "prs", "github"],
+ ["copy", "copied"],
+ ["changelog", "release notes", "notes", "editor"],
+ ["deploy", "deployment", "deploy.sh", "production", "ship"],
+ ],
+ mustMentionAny: [
+ ["#482", "482", "#485", "485", "#489", "489", "v2.4", "2.4.0", "rate limiting", "pagination"],
+ ],
+ forbidden: ["skill recorder", "usernotificationcenter"],
+ },
+};