feat(cursor): offer monitor delivery and name cursor-agent - #858
Draft
apstndb wants to merge 3 commits into
Draft
Conversation
apstndb
marked this pull request as draft
August 17, 2026 20:34
This was referenced Aug 17, 2026
3 tasks
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>
apstndb
force-pushed
the
feat/856-cursor-monitor-and-pid
branch
from
August 17, 2026 21:25
6c9e010 to
2cfe82d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 ontomainso this PR picks up the fold, thegrok-buildarm, and the comment that pid names omit the shared basenameagent(policy on #856). Keep both arms; do not addagentorcursor(app shim).Adds the
cursor-agentpid name in_agmsg_agent_binaries, and builtin cursormonitorvia Shellnotify_on_output. Design is on #856.Test plan
bats tests/test_delivery.bats --filter cursorbats tests/test_resolve_project.bats --filter agent-binariesbats tests/test_spawn.bats --filter 'cursor launches'.github/scripts/check-enforced-assertions.shat baseline 637mainafter fix(watch): fold sentinel '-' into the empty session-id path #857 and fix(resolve): map grok-build to grok in the pid walk #860