fix(macapp): bind ToolWalk to submitted run identity - #1129
Conversation
d2cd29c to
2968674
Compare
63cf9fc to
d223738
Compare
2968674 to
b2ae9ba
Compare
d223738 to
eb64af3
Compare
* fix(toolwalk): observe displaced submission outcomes * fix(toolwalk): retain immutable timeout authority (#1139) * fix(toolwalk): retain immutable timeout authority * test(toolwalk): prove displaced timeout orchestration * docs(plan): record timeout authority regression evidence * docs: correct focused orchestration evidence count
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
a52c50a
into
codex/issue-1125-action-owner
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0a0bedffa7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if let activeSubmission, activeSubmission.runID != runID { | ||
| activeSubmission.markDisplaced() |
There was a problem hiding this comment.
Defer displacement until the submitted ID resolves
When submitting another turn in an existing conversation, harnessd can publish A's conversation-stream lifecycle event before the startRun HTTP response assigns activeSubmission.runID. Because nil != runID, this marks A as permanently displaced even though the event belongs to A itself; the later acknowledgement does not reverse that state, so A remains classified as external, the UI can show “Scheduled run active,” and the returned submission handle incorrectly disables its normal ownership behavior. Defer this decision while the submission is unresolved, then compare the response ID with the selected run.
Useful? React with 👍 / 👎.
* fix(macapp): fence stale stop and steer actions * fix(macapp): bind ToolWalk to submitted run identity (#1129) * fix(macapp): bind ToolWalk to submitted run identity * fix(macapp): retain submitted run outcomes (#1131) * fix(toolwalk): observe displaced submission outcomes (#1138) * fix(toolwalk): observe displaced submission outcomes * fix(toolwalk): retain immutable timeout authority (#1139) * fix(toolwalk): retain immutable timeout authority * test(toolwalk): prove displaced timeout orchestration * docs(plan): record timeout authority regression evidence * docs: correct focused orchestration evidence count * fix(toolwalk): gate timeout cancellation by deadline ticket (#1146)
* fix(macapp): fence stale interactive affordances * style(macapp): format interactive control views * fix(macapp): fence stale stop and steer actions (#1127) * fix(macapp): fence stale stop and steer actions * fix(macapp): bind ToolWalk to submitted run identity (#1129) * fix(macapp): bind ToolWalk to submitted run identity * fix(macapp): retain submitted run outcomes (#1131) * fix(toolwalk): observe displaced submission outcomes (#1138) * fix(toolwalk): observe displaced submission outcomes * fix(toolwalk): retain immutable timeout authority (#1139) * fix(toolwalk): retain immutable timeout authority * test(toolwalk): prove displaced timeout orchestration * docs(plan): record timeout authority regression evidence * docs: correct focused orchestration evidence count * fix(toolwalk): gate timeout cancellation by deadline ticket (#1146)
* fix(macapp): bind external runs to controls * fix(macapp): fence stale interactive affordances (#1123) * fix(macapp): fence stale interactive affordances * style(macapp): format interactive control views * fix(macapp): fence stale stop and steer actions (#1127) * fix(macapp): fence stale stop and steer actions * fix(macapp): bind ToolWalk to submitted run identity (#1129) * fix(macapp): bind ToolWalk to submitted run identity * fix(macapp): retain submitted run outcomes (#1131) * fix(toolwalk): observe displaced submission outcomes (#1138) * fix(toolwalk): observe displaced submission outcomes * fix(toolwalk): retain immutable timeout authority (#1139) * fix(toolwalk): retain immutable timeout authority * test(toolwalk): prove displaced timeout orchestration * docs(plan): record timeout authority regression evidence * docs: correct focused orchestration evidence count * fix(toolwalk): gate timeout cancellation by deadline ticket (#1146)
Summary
RunSubmissionfrom native submit paths and bind ToolWalk wait, auto-controls, timeout, and verdict to itCloses #1128
Stack
d2cd29cf(codex/issue-1125-action-owner)Deterministic TDD evidence
.displaced, including after an A terminal, with zero B cancel/approve/deny/input/steer requestsVerification
swift format lint --strict --recursive Sources Testsswift test --filter 'RunSubmissionTests|RunSessionExternalControlTests|ToolWalkTests'(37 tests / 5 suites)swift test(230 tests / 44 suites)./scripts/test-regression.sh: normal/race passed; coverage 85.5%, zero uncovered functions