Skip to content

feat: recognize Cursor agent for session lock and harness detect#705

Open
dylanflogaus wants to merge 2 commits into
kunchenguid:mainfrom
dylanflogaus:cursor-detect-lock
Open

feat: recognize Cursor agent for session lock and harness detect#705
dylanflogaus wants to merge 2 commits into
kunchenguid:mainfrom
dylanflogaus:cursor-detect-lock

Conversation

@dylanflogaus

Copy link
Copy Markdown

Summary

  • Teach fm-lock.sh and fm-harness.sh to recognize Cursor CLI (agent), including the observed MainThread + .../agent argv shape, so a Cursor primary can acquire the fleet lock.
  • Document detect/lock-only status in docs/cursor-harness.md; Cursor is still not a verified launch template (spawn via raw agent / agent --yolo).
  • Add hermetic coverage in tests/fm-cursor-lock.test.sh and a one-line note in harness-adapters.

Test plan

  • bash tests/fm-cursor-lock.test.sh
  • bin/fm-lint.sh (ShellCheck 0.11.0)
  • Live: bin/fm-harness.shcursor; bin/fm-lock.sh acquires under Cursor+Herdr
  • CI green on this PR

Allow a Cursor CLI primary to acquire the fleet lock and report as cursor,
without claiming a verified launch template yet.
Crewmates were stalling on workspace trust prompts and waiting for a pasted brief. Add a provisional fm-spawn template so `cursor` launches agent with autonomy, trust, and the brief as the initial prompt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant