stacklok / stacklok/mecatl

Consider explicit provider listing-status policy

Open
#1,058 0 comments 0 reactions 1 assignee View on GitHub

@jbeda is already working on this.

Since Sep 3, 2026.

enhancement
Dominant language
Go
Stars
152
Forks
16
Avg merge
14h 48m
Merged PRs (30d)
536

Description

Context

Issue #850 broadens the existing model-picker provider-status projection to operator-defined providers with a configured default-model floor. The current eligibility is otherwise encoded through special cases (intentDriven and OpenAI Codex), while some related behaviour remains intentionally intent-driven-only.

Problem

A future provider category may need to decide independently:

  • whether it supports live model listing;
  • whether listing health is safe and useful to expose publicly;
  • whether it receives intent-gateway UX such as available_not_default / organization disclosure; and
  • whether it participates in on-demand stale-list refresh.

Encoding each new combination as another boolean predicate risks conflating these policies or exposing built-in provider availability unintentionally.

Potential direction

If a third independently-behaving provider category arrives, consider a small explicit policy on providerEntry (for example a listing-status audience/policy) that declares those independently varying behaviours. Keep it data-driven and avoid an abstraction until that third case exists.

Non-goals

  • Do not refactor merely because #850 exists.
  • Do not expose raw upstream errors, endpoints, credentials, request arguments, or response bodies.
  • Do not change current intent-driven refresh or gateway-disclosure semantics without a separately reviewed decision.

Value

Makes future provider integrations easier to reason about, prevents accidental availability disclosure, and keeps model-picker health, inventory-floor, and gateway-specific semantics distinct.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.