Skip to content

feat(execution): preserve Worker model pairs from creation - #67

Merged
mingtaojin merged 1 commit into
mainfrom
feat/worker-execution-identity-v11
Nov 20, 2026
Merged

mingtaojin merged 1 commit into
mainfrom
feat/worker-execution-identity-v11

Conversation

@mingtaojin

@mingtaojin mingtaojin commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Why

Workers need one deliberate model and reasoning-effort pair that stays with the task. The coordinator selects a complete allowed profile at creation, and later turns and restarts use the saved identity.

What changed

  • Normalize Worker configuration to a nonempty allowlist and require an explicit complete profile in dispatch.
  • Persist immutable Worker identity and source. Restore complete legacy task metadata; block unknown identities while preserving task, group, Thread, approvals, pause, and held input.
  • Document the contract in spec v1.2 and ADR 0023. Verify configuration reload and actual Codex adapter requests across multiple turns and restart.

Scope

  • Targets current main directly. The cancelled single-config feature is not included or required; existing environment credential loading stays intact.
  • Coordinator execution follows current configuration. Worker group messages, report/final publication, and native/capability turn checks retain main behavior.

Blast Radius

Dispatch callers must provide a complete execution profile, even for one allowed entry. Historical Workers without a reliable saved pair stop before execution and raise one coordinator blocker.

Verification

  • Type check, build, and diff check passed. All 16 new identity and adapter tests passed.
  • Full suite on the new main base: 736/738 passed. Two unchanged daemon discovery fixtures hit their existing one-second timeout. Both failures reproduced on the exact main base and passed in a focused rerun on this head; the timeout was not changed.
  • Local source review corrections are covered by Runtime regression cases. PR-level independent acceptance remains pending.

@mingtaojin
mingtaojin force-pushed the feat/worker-execution-identity-v11 branch from 162a307 to e4fde52 Compare November 20, 2026 09:00
@mingtaojin
mingtaojin changed the base branch from feat/single-json-config to main November 20, 2026 09:00
@mingtaojin
mingtaojin merged commit 07e61da into main Nov 20, 2026
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