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
{{ message }}
Repository navigation
Commit b9c1897
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mothership): accurate stale-observation wording and lease scope notes
- A stale browser observation says it was not run this time, which stays
true when an earlier delivery already ran it.
- The lifetimes module says what a terminal call leaves running, and that
sign-out ends leased tools only.
- Tests check responses and recorded outcomes instead of mock calls.
'The Sim window closed while this browser action was in flight. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
110
110
constREPLAY_OUTCOME_UNKNOWN_MESSAGE=
111
111
'This browser action was recorded before the Sim page reloaded, but its terminal result could not be recovered. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
112
-
constSTALE_OBSERVATION_NOT_STARTED_MESSAGE=
113
-
'Not run: this browser observation never started, because it reached the Sim desktop app too late to run safely. Nothing happened in the browser. Do not retry it in this turn; tell the user to keep this chat open in the Sim desktop app, or to ask again later.'
112
+
constSTALE_OBSERVATION_NOT_RUN_MESSAGE=
113
+
'Not run: this browser observation reached the Sim desktop app too late to run safely, so it was not run this time and has no result. An observation changes nothing in the browser. Do not retry it in this turn; tell the user to keep this chat open in the Sim desktop app, or to ask again later.'
114
114
constSTALE_STATEFUL_OUTCOME_UNKNOWN_MESSAGE=
115
115
'This browser action was delivered too late to recover its exact result. It may already have taken effect. Do not retry it automatically; take a fresh browser snapshot before deciding what to do.'
116
116
constREPLAY_GUARD_CAPACITY_MESSAGE=
@@ -595,7 +595,7 @@ export async function executeBrowserToolOnClient(
595
595
logger.info('Skipping stale browser tool event',{ toolCallId, toolName, age })
0 commit comments