You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A discussion dedicated to the Agent Relay Cursor module. Share your thoughts, questions, and feedback here.
Module Scorecard
Presentation & Onboarding
Agent Integration
Credential Hygiene
Restricted-Environment Readiness
Engineering Quality
Overall
6 / 17
7.5 / 25
20 / 20
13.5 / 20
10 / 10
62 / 100
Drilldown
Presentation & Onboarding — 6 / 17
Criterion
Max
Score
Notes
Configuration-mode examples
12
6 (half)
Main usage, additional_args, and management_addr each get full code blocks with sensible defaults, but major modes like computer_use/share_desktop and repo-scoped pools are only described in prose in "Requirements," with no accompanying code example.
Visual preview
5
0
No image, GIF, or video anywhere in the README.
Credential Hygiene — 20 / 20
Criterion
Max
Score
Notes
Secrets marked sensitive
16
16 (full)
No module input is a secret — the worker token is explicitly never a Terraform variable or parameter; README's "Worker credential" section documents that the token arrives only as an ephemeral workspace secret (AGENT_RELAY_CURSOR_TOKEN) injected by the agent, never in build parameters/state, and no example anywhere inlines a key.
Non-hardcoded auth path
4
4 (full)
README thoroughly documents the ServiceAccount-style flow: the pool's service-account API key never leaves Agent Relay, and session tokens are minted per-claim and delivered as ephemeral secrets (--auth-token-file), never pasted into templates.
Restricted-Environment Readiness — 13.5 / 20
Criterion
Max
Score
Notes
Mirrorable artifact source
5
0
install.sh.tftpl hardcodes curl https://cursor.com/install -fsSL | bash; no module variable overrides this download URL.
Bring-your-own binary
10
10 (full)
install_cli (default true) is documented clearly: set to false to skip download entirely when the CLI is baked into the image, with cli_binary to point at a custom path.
Egress transparency
3
1.5 (half)
No dedicated network/air-gapped section; endpoints (cursor.com/install, cursor.com/agents, cursor://... deeplink, Cursor's session-token API) are mentioned only scattered across "Requirements," "Worker credential," and "Session attachment" sections.
Runs without sudo
2
2 (full)
install.sh.tftpl, start.sh.tftpl, and cleanup.sh.tftpl contain no sudo invocations anywhere; all operations run as the workspace user.
Engineering Quality — 10 / 10
Criterion
Max
Score
Notes
Input quality
6
6 (full)
Every variable has a detailed description and sensible default; several carry validation blocks (cli_binary regex, management_addr host:port + port-range checks, share_desktop requires computer_use, serving_log_pattern non-empty, additional_args rejects reserved flags/newlines).
Test coverage
4
4 (full)
Extensive main.tftest.hcl covering parameter contract and rendered-script business logic, plus main.test.ts running real container-based end-to-end lifecycle tests (supervisor/worker identity, SIGTERM/SIGKILL escalation, stale-pid handling, idle/working/done states).
Agent Integration — 7.5 / 25
Criterion
Max
Score
Notes
AI governance
10
0
No mention of Coder AI Gateway or Agent Firewall anywhere in the README.
Dashboard entry point
5
5 (full)
coder_app resources cursor_web and cursor_desktop are documented explicitly ("Open in Cursor Web" / "Open in Cursor Desktop" buttons tied to agent_relay_session_id).
Session continuity
5
2.5 (half)
The architecture keeps the worker alive via idle-release-timeout and reuses agent_relay_session_id to reopen the same cloud agent session, but this is documented as dispatch/reaping infrastructure rather than an explicit "resume your session" feature, and the actual conversation state lives on Cursor's cloud side, not locally.
Managed configuration
5
0
No documentation of managed MCP servers, settings, policies, or workdir configuration for the agent.
Overall — 62 / 100
Raw 57 / 92 → round(57 / 92 × 100) = 62
Scored against SCORECARD.md on 2026-11-10 with solstice-1.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A discussion dedicated to the Agent Relay Cursor module. Share your thoughts, questions, and feedback here.
Module Scorecard
Drilldown
Presentation & Onboarding — 6 / 17
additional_args, andmanagement_addreach get full code blocks with sensible defaults, but major modes likecomputer_use/share_desktopand repo-scoped pools are only described in prose in "Requirements," with no accompanying code example.Credential Hygiene — 20 / 20
AGENT_RELAY_CURSOR_TOKEN) injected by the agent, never in build parameters/state, and no example anywhere inlines a key.--auth-token-file), never pasted into templates.Restricted-Environment Readiness — 13.5 / 20
install.sh.tftplhardcodescurl https://cursor.com/install -fsSL | bash; no module variable overrides this download URL.install_cli(defaulttrue) is documented clearly: set tofalseto skip download entirely when the CLI is baked into the image, withcli_binaryto point at a custom path.cursor.com/install,cursor.com/agents,cursor://...deeplink, Cursor's session-token API) are mentioned only scattered across "Requirements," "Worker credential," and "Session attachment" sections.install.sh.tftpl,start.sh.tftpl, andcleanup.sh.tftplcontain nosudoinvocations anywhere; all operations run as the workspace user.Engineering Quality — 10 / 10
validationblocks (cli_binaryregex,management_addrhost:port + port-range checks,share_desktoprequirescomputer_use,serving_log_patternnon-empty,additional_argsrejects reserved flags/newlines).main.tftest.hclcovering parameter contract and rendered-script business logic, plusmain.test.tsrunning real container-based end-to-end lifecycle tests (supervisor/worker identity, SIGTERM/SIGKILL escalation, stale-pid handling, idle/working/done states).Agent Integration — 7.5 / 25
coder_appresourcescursor_webandcursor_desktopare documented explicitly ("Open in Cursor Web" / "Open in Cursor Desktop" buttons tied toagent_relay_session_id).idle-release-timeoutand reusesagent_relay_session_idto reopen the same cloud agent session, but this is documented as dispatch/reaping infrastructure rather than an explicit "resume your session" feature, and the actual conversation state lives on Cursor's cloud side, not locally.Overall — 62 / 100
Raw 57 / 92 → round(57 / 92 × 100) = 62
Scored against SCORECARD.md on 2026-11-10 with
solstice-1.All reactions