Skip to content

fix(platform): identify the current task execution - #4650

Merged
yannickmonney merged 1 commit into
mainfrom
fix/task-execution-identity
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/task-execution-identity

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

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.

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