Skip to content

[CI only] upstream #7937: fix(notes-send): tolerate transient agent-status gaps in send guard - #30

Closed
bbingz wants to merge 3 commits into
mainfrom
fix/notes-send-agent-guard-toctou
Closed

bbingz wants to merge 3 commits into
mainfrom
fix/notes-send-agent-guard-toctou

Conversation

@bbingz

@bbingz bbingz commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Exact-head CI verification for stablyai#7937. This PR is not intended to merge and will be closed after checks complete.

bbingz and others added 3 commits July 12, 2026 18:05
Guarded note sends re-check isRunningAgent at write time, so a brief
title or foreground miss refused live sessions with "not a recognized
agent session". Re-poll status for ~1.2s before hard-refusing, and treat
bare Cursor Agent native titles as agent identity for is-running checks.

Fixes stablyai#7935
terminal.send now uses resolveLiveLeafForHandle for stale-handle safety.
Update the no-agent guarded-send test stub so the probe path runs.
Adapt guarded-send tests to the current runtime probe contract.
@bbingz bbingz closed this Jul 13, 2026
bbingz pushed a commit that referenced this pull request Oct 25, 2026
…nce off the deprecated owner resolver (stablyai#30484)

The eight mirroring callers (#23-#30) read the owner through
runtimeEnvironmentIdWithLegacyFallbackUnlessTwin, so a twin is still not mirrored. Sort-order
persistence (#2) leaves out ids that two hosts publish, and ids whose only server proof is a repo
row (isUnprovenServerSshRoute), instead of writing them to this desktop's or a guessed server's
meta. Deprecated importers 40 -> 31.
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