Skip to content

Derive UG_ENABLE_MODEL_DISCOVERY from managed MPS - #694

Open
andy-xu-db wants to merge 1 commit into
mainfrom
stack/codex/model-discovery-flag
Open

andy-xu-db wants to merge 1 commit into
mainfrom
stack/codex/model-discovery-flag

Conversation

@andy-xu-db

@andy-xu-db andy-xu-db commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Stack

Summary

  • Set UG_ENABLE_MODEL_DISCOVERY=1 for the selected agent's managed MPS.
  • Set it to 0 otherwise.
  • Reject source flags when managed MPS owns routing.
  • Scope the variable to the child launch.
  • Add no managed-config field.

Reference

Test

  • 444 focused tests passed.
  • Ruff and format checks passed.

@andy-xu-db
andy-xu-db force-pushed the stack/codex/model-discovery-flag branch 2 times, most recently from 6676365 to 5373122 Compare September 16, 2026 22:54
@andy-xu-db andy-xu-db changed the title Define UG_ENABLE_MODEL_DISCOVERY policy Resolve UG_ENABLE_MODEL_DISCOVERY from managed config Sep 16, 2026
@andy-xu-db
andy-xu-db force-pushed the stack/codex/model-discovery-flag branch from 5373122 to 87312dc Compare September 17, 2026 02:23
@andy-xu-db andy-xu-db changed the title Resolve UG_ENABLE_MODEL_DISCOVERY from managed config Derive UG_ENABLE_MODEL_DISCOVERY from managed MPS Sep 17, 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