Skip to content

Define UG_ENABLE_MODEL_DISCOVERY policy - #693

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

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

Conversation

@andy-xu-db

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

Copy link
Copy Markdown
Collaborator

🥞 Stacked PR

Use this link to review incremental changes.


Summary

  • Define the shared UG_ENABLE_MODEL_DISCOVERY environment-variable contract for provider- and Unity Catalog location-scoped agent catalogs.
  • Centralize precedence as force → transient launch override → environment, with discovery enabled by default and disabled only by exact UG_ENABLE_MODEL_DISCOVERY=0.
  • Keep ordinary system.ai discovery outside this policy.

Scope boundary

Verification

  • Head: 74fa448bfdec48173e9844fcb3dbc216e42facb1.
  • Policy truth table: 8 passed.
  • Discovery stack top: 2,415 passed and 42 skipped locally, excluding the native-binary capture test whose two environment-dependent failures reproduce on main.
  • Ruff and git diff --check passed.

@andy-xu-db andy-xu-db changed the title Define scoped model discovery policy Define UG_ENABLE_MODEL_DISCOVERY policy Sep 16, 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