Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(agents): post Cursor proof of work on the GitHub PR (#16740)

Nikita Kabardinba185b6484de
diff --git a/.agents/AGENTS.md b/.agents/AGENTS.md
index be46884c0c..1fa9333cb3 100644
--- a/.agents/AGENTS.md
+++ b/.agents/AGENTS.md
@@ -53,8 +53,9 @@ evaluating, and debugging AI applications.
- For product or UI changes, give a preview URL
(`pr-<N>.preview.langfuse.com`) and exact click-path test steps, including
the seed command or sandbox URL (`http://localhost:3000`) to reproduce
- the data. Attach proof of the fix (screenshot, short video, or
- before/after). Humans can ask for more detail.
+ the data. Post proof of the fix on the GitHub PR (screenshot, short
+ video, or before/after) — not only in chat. Humans can ask for more
+ detail.
- Open PRs as reviewable, not as drafts, unless a human asks for a draft.
- When Claude, Greptile, or Codex (`chatgpt-codex-connector[bot]`) review
comments appear on a PR you own: do not reply. Keep each thread open
@@ -126,10 +127,11 @@ langfuse/
`cursor/` branch, even if a Cursor Cloud prompt suggests that prefix.
Repo guidance wins.
- After opening a PR, leave a short last comment on what a reviewer should
- doubt — the curious, questionable parts — not a changelog. Post that
- comment only when GitHub will attribute it to Cursor, not to a human
- author. Claude Code and other tools that comment as the user must skip
- it; see `cursor-agents-workflow`.
+ doubt — the curious, questionable parts — not a changelog. For user-visible
+ work, put proof of the fix in that comment and the PR body, not only in
+ chat. Post that comment only when GitHub will attribute it to Cursor, not
+ to a human author. Claude Code and other tools that comment as the user
+ must skip it; see `cursor-agents-workflow`.
## Local Data Inspection
diff --git a/.agents/skills/cursor-agents-workflow/SKILL.md b/.agents/skills/cursor-agents-workflow/SKILL.md
index cfaf5df111..e7e073d3d5 100644
--- a/.agents/skills/cursor-agents-workflow/SKILL.md
+++ b/.agents/skills/cursor-agents-workflow/SKILL.md
@@ -2,10 +2,11 @@
name: cursor-agents-workflow
description: |
Human handoff, Linear branch names, reviewable (non-draft) PRs, Claude,
- Greptile, and Codex review comments, preview test steps, and review-doubt
- notes for Cursor agents. Use when a Cursor Cloud or Cursor desktop agent
- implements a Linear issue, opens a GitHub PR, asks a human to test, or
- handles Claude, Greptile, or Codex code-review comments.
+ Greptile, and Codex review comments, preview test steps, proof of work
+ posted on the GitHub PR, and review-doubt notes for Cursor agents. Use
+ when a Cursor Cloud or Cursor desktop agent implements a Linear issue,
+ opens a GitHub PR, asks a human to test, posts screenshots or videos,
+ or handles Claude, Greptile, or Codex code-review comments.
---
# Cursor Agents Workflow
@@ -81,8 +82,32 @@ Data: demo project is enough.
Sandbox: same path on http://localhost:3000 after the cloud stack is up.
```
-For user-visible behavior, attach proof of the fix: a screenshot, short
-video, or before/after. Docs-only changes can skip this.
+For user-visible behavior, say that proof is on the GitHub PR. Do not leave
+screenshots only in this chat. Docs-only changes can skip proof.
+
+## Proof of work on the PR
+
+Cursor chat attachments are not enough. Reviewers look at GitHub, so post
+the screenshot, short video, or before/after **on the GitHub PR**.
+
+After you have walkthrough artifacts:
+
+1. Embed them in the PR body when you create or update the PR.
+2. Repeat them in the last GitHub PR comment (same comment as "what to
+ doubt"), but only when that comment will be attributed to Cursor.
+
+Use HTML tags and absolute local paths. Do not commit artifacts to the repo.
+Claude Code and other tools that comment as the user still embed proof in
+the PR body; they skip only the last comment.
+
+```html
+<img src="/opt/cursor/artifacts/cost_cell_dash.png" alt="Cost cell shows a dash" />
+<video src="/opt/cursor/artifacts/cost_cell_dash.mp4" controls></video>
+```
+
+The PR tool uploads those paths and rewrites them to public URLs. Use
+width-only HTML if you need sizing; do not set a fixed `height`. Skip this
+for docs-only or non-visual changes.
## What to doubt
@@ -91,9 +116,13 @@ Cursor, not to a human author. Claude Code and other tools that comment as
the authenticated user must skip this section.
When the PR is ready for a human, post one last GitHub PR comment (not a
-changelog) that names the risky or curious parts:
+changelog). Lead with proof when the change is user-visible, then name the
+risky or curious parts:
```text
+Proof of work
+<img src="/opt/cursor/artifacts/cost_cell_dash.png" alt="Cost cell shows a dash" />
+
What to doubt in review
- I reused the existing cache key; check it cannot collide across projects.
- I skipped Greptile's unused-import note — that import is used in the
diff --git a/.agents/skills/cursor-agents-workflow/agents/openai.yaml b/.agents/skills/cursor-agents-workflow/agents/openai.yaml
index b8991d533b..2fccbb803d 100644
--- a/.agents/skills/cursor-agents-workflow/agents/openai.yaml
+++ b/.agents/skills/cursor-agents-workflow/agents/openai.yaml
@@ -1,4 +1,4 @@
interface:
display_name: "Cursor Agents Workflow"
- short_description: "Linear branches, human test steps, and PR review notes"
- default_prompt: "Use $cursor-agents-workflow for Cursor agent branch names, reviewable (non-draft) PRs, Claude/Greptile/Codex review comments, human preview test steps, and review-doubt PR notes."
+ short_description: "Linear branches, PR proof, and review notes"
+ default_prompt: "Use $cursor-agents-workflow for Cursor agent branch names, reviewable (non-draft) PRs, Claude/Greptile/Codex review comments, human preview test steps, proof-of-work posted on the GitHub PR, and review-doubt PR notes."
diff --git a/.agents/skills/frontend-browser-review/SKILL.md b/.agents/skills/frontend-browser-review/SKILL.md
index a24eeaf403..9228eb2ec2 100644
--- a/.agents/skills/frontend-browser-review/SKILL.md
+++ b/.agents/skills/frontend-browser-review/SKILL.md
@@ -68,8 +68,9 @@ Report:
3. Any visible regressions or follow-up risks
4. If review was blocked, exactly what prevented browser verification
5. For a human handoff, the preview or sandbox URL plus exact click-path
- steps, and proof of the fix (screenshot, short video, or before/after)
- — not a long agent-only writeup
+ steps, and proof of the fix posted on the GitHub PR (screenshot, short
+ video, or before/after) — not a long agent-only writeup and not only
+ in chat
## Scope Notes
diff --git a/.agents/skills/git-workflow/SKILL.md b/.agents/skills/git-workflow/SKILL.md
index 867dbdd7ce..61909316c1 100644
--- a/.agents/skills/git-workflow/SKILL.md
+++ b/.agents/skills/git-workflow/SKILL.md
@@ -55,9 +55,10 @@ operations.
- Keep PRs narrow enough to review without unrelated refactors.
- Open PRs as reviewable, not as drafts, unless a human asks for a draft.
- Do not post GitHub PR comments as the human author. Cursor agents that
- comment as Cursor should leave one last "what to doubt" comment when the
- PR is ready; see `cursor-agents-workflow`. Claude Code and other tools
- that comment as the user must skip that comment.
+ comment as Cursor should leave one last comment with proof of user-visible
+ work (screenshot, video, or before/after on the PR, not only in chat) and
+ what to doubt in review; see `cursor-agents-workflow`. Claude Code and
+ other tools that comment as the user must skip that comment.
- Claude, Greptile, or Codex review comments (`claude[bot]`, Claude Code,
security-review action, `greptile-apps[bot]`,
`chatgpt-codex-connector[bot]`): do not reply. Keep the thread open until
diff --git a/.agents/skills/langfuse-codebase-navigator/references/repository-map.md b/.agents/skills/langfuse-codebase-navigator/references/repository-map.md
index 468a52922c..185a2737d4 100644
--- a/.agents/skills/langfuse-codebase-navigator/references/repository-map.md
+++ b/.agents/skills/langfuse-codebase-navigator/references/repository-map.md
@@ -93,7 +93,7 @@ Repo-local skills in `langfuse/.agents/skills`:
- `changelog-writing`: user-facing release notes.
- `clickhouse-best-practices`: ClickHouse schema/query/migration review.
- `code-review`: repo-specific correctness/regression review.
-- `cursor-agents-workflow`: Cursor agent Linear branch names, human test steps, Claude/Greptile/Codex review comments, and review-doubt PR notes.
+- `cursor-agents-workflow`: Cursor agent Linear branch names, human test steps, proof of work posted on the GitHub PR, Claude/Greptile/Codex review comments, and review-doubt PR notes.
- `datadog-query-recipes`: reusable Datadog query shapes for production research.
- `debug-issue-with-datadog`: production debugging tied to Langfuse code paths.
- `frontend-browser-review`: user-visible `web/**` changes and browser verification.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ef2d2d24ea..59d5b0d17a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -186,9 +186,10 @@ Use Linear's git branch name (`lfe-XXXX-short-title`), not a `cursor/` prefix.
When handing work to a human, give a one-sentence TL;DR, a preview URL with
exact test steps (including how to seed or hit the same path on
`http://localhost:3000`), and proof of the fix for user-visible changes
-(screenshot, video, or before/after). Cursor agents that comment as Cursor
-may also leave one PR comment on what a reviewer should doubt; Claude Code
-and other tools that comment as the human author must not.
+posted on the GitHub PR (screenshot, video, or before/after — not only in
+chat). Cursor agents that comment as Cursor may also leave one PR comment
+with that proof plus what a reviewer should doubt; Claude Code and other
+tools that comment as the human author must not.
Prefer one or two human actions at a time; if you need more, keep each
point simple and super readable. Preview data and any attached artifacts
must remain synthetic. Previews normally run Mon-Fri 08:00-24:00