Skip to content

fix(server): preserve delegated assignments and report child run outcomes - #174

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
codex/delegated-assignment-outcomes
Nov 21, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
codex/delegated-assignment-outcomes

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

T3 told delegated children to treat their parent's assignment as a collaborator report. OpenCode 2 could also leave a new or resumed session under a read-only machine default while T3 recorded its role as build. Both paths could finish a turn without doing the assigned work.

  • Identify local parent assignments by thread lineage and linked parents by the originating link, environment, and thread. Give scheduled tasks their own live instructions. Keep peer reports and historical messages attributed to their source.
  • Store the original body in handoff history. Recognize older sender prefixes when they match the recorded source and apply attribution once during delivery.
  • Select the intended OpenCode role at creation and confirm an unknown or different role before sending a resumed prompt.
  • Report a completed child run with an unverified assignment outcome. Include the child's report and blockers in the parent's wake or status read.

Verification

On a synthetic read-only review, the same Codex model declined all three attempts with the original prompt. With the corrected prompt it ran cat review-target.txt and returned the fixture path in all three. OpenCode 2.3.0 selected build and plan on creation and selected build for an unset resumed session under an isolated read-only default. All six parent-status model samples passed.

vp run check:changed passed, including typechecks for 38 packages and 1,377 tests.

Implemented with GPT-6 in Codex.

@changeset-bot

changeset-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d5a8e64

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 39c7a87 into main Nov 21, 2026
20 checks passed
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