Skip to content

feat(cursor): offer monitor delivery and name cursor-agent - #858

Draft
apstndb wants to merge 3 commits into
fujibee:mainfrom
apstndb:feat/856-cursor-monitor-and-pid
Draft

feat(cursor): offer monitor delivery and name cursor-agent#858
apstndb wants to merge 3 commits into
fujibee:mainfrom
apstndb:feat/856-cursor-monitor-and-pid

Conversation

@apstndb

@apstndb apstndb commented Aug 17, 2026

Copy link
Copy Markdown

Fixes #856.

Draft on purpose — please merge last. Do not mark ready until #857 and #860 are on main.

This branch is no longer stacked on #857. It still needs #857 at runtime because the monitor launch uses "${CURSOR_CONVERSATION_ID:--}". After #857 and #860 land, rebase onto main so this PR picks up the fold, the grok-build arm, and the comment that pid names omit the shared basename agent (policy on #856). Keep both arms; do not add agent or cursor (app shim).

Adds the cursor-agent pid name in _agmsg_agent_binaries, and builtin cursor monitor via Shell notify_on_output. Design is on #856.

Test plan

@apstndb
apstndb marked this pull request as draft August 17, 2026 20:34
@apstndb apstndb changed the title feat(cursor): offer monitor delivery and name cursor-agent / grok pids feat(cursor): offer monitor delivery and name cursor-agent Aug 17, 2026
apstndb and others added 3 commits August 18, 2026 06:21
fujibee#856)

Builtin cursor monitor is not liveness-gated unless the pid walk sees
cursor-agent; grok-build has the same hole. Generated commands keep the
existing '$project' wrap; apostrophe-safe quoting stays with fujibee#550.

Co-authored-by: Cursor <cursoragent@cursor.com>
New non-last [[ ]] raised the enforced-assertions count. grep -q fails on
bash 3.2. Removing the old cursor-rejects-monitor [[ burns the baseline
638 -> 637.

Co-authored-by: Cursor <cursoragent@cursor.com>
)

The grok-build mapping is orthogonal and moves to its own change (fujibee#859).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

feature: cursor-agent monitor, and pid name for cursor-agent

1 participant