You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #2450 (Discord model-picker gut) + #2451 (Mattermost model-picker gut, both merged 2026-04-21), the `buildModelsProviderData` entry in `scripts/data/obsolescence-known-patterns.json` has a stale description.
Current entry
```json
{
"category": "broken_contract",
...
"identifier": "buildModelsProviderData",
"description": "Stub returns {} but Discord/Mattermost model-picker UI still calls it — users see empty model lists",
"issue": "#2337"
}
```
Evidence of staleness
`git grep buildModelsProviderData` returns only two files:
`docs/.generated/plugin-sdk-api-baseline.json` (generated artifact — not a caller)
`scripts/data/obsolescence-known-patterns.json` (the pattern entry itself)
No source-code callers remain. The "Discord/Mattermost model-picker UI still calls it" claim is false after #2450 + #2451.
Remove entry entirely — pattern is no longer an active broken contract; the stub function has no callers.
Remove the stub itself — if `buildModelsProviderData` is exported from `src/agents/` or similar and has zero real callers after the picker guts, delete the stub. This requires confirming that `docs/.generated/plugin-sdk-api-baseline.json` regenerates without it (if it's a plugin SDK export, removing may cause SDK API drift — evaluate).
Context
Surfaced during polish phase of #2449 / PR #2451 (Mattermost model-picker gut). Not blocking; tracked separately to keep #2449's scope tight.
Status
After #2450 (Discord model-picker gut) + #2451 (Mattermost model-picker gut, both merged 2026-04-21), the `buildModelsProviderData` entry in `scripts/data/obsolescence-known-patterns.json` has a stale description.
Current entry
```json
{
"category": "broken_contract",
...
"identifier": "buildModelsProviderData",
"description": "Stub returns {} but Discord/Mattermost model-picker UI still calls it — users see empty model lists",
"issue": "#2337"
}
```
Evidence of staleness
`git grep buildModelsProviderData` returns only two files:
No source-code callers remain. The "Discord/Mattermost model-picker UI still calls it" claim is false after #2450 + #2451.
Options
Context
Surfaced during polish phase of #2449 / PR #2451 (Mattermost model-picker gut). Not blocking; tracked separately to keep #2449's scope tight.
Relation