Repository navigation
fix(platform): identify the current task execution - #4650
Merged
Merged
Conversation
This was referenced Oct 9, 2026
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.
A task agent can mistake its own live run for a competing worker and stop without doing the assigned work. Resumed conversations also retain older run IDs, while a separate review report can be confused with the subject whose approval it must check.
Supply the current task, agent, run and process IDs directly from the server in every task harness's instructions. Fresh, resumed, retry and dead-resume fallback launches receive the current identity; a steer restart receives its rotated process ID, and stdin steering retains its existing identity. Task text and comments cannot supply these fields. The guidance distinguishes the current run from its exact process and keeps each subject's captured review gate authoritative. No permission or approval semantics change.
Validation: seven new causal regression cases failed before the fix and pass after it; all 58 tests across the three affected configured server suites pass. Scoped semantic validation of the changed roots and their 1,586-file import closure, configured lint, pinned SAST, and the platform's 1,243-box manual reference guard pass. Normal commit hooks pass. Live agent interpretation remains a deployment check; no full workspace or production verification is claimed.