Skip to content

plan: consolidate provider-scoped model discovery - #1805

Merged
JAORMX merged 8 commits into
mainfrom
plan/provider-model-discovery
Sep 25, 2026
Merged

JAORMX merged 8 commits into
mainfrom
plan/provider-model-discovery

Conversation

@JAORMX

@JAORMX JAORMX commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Plan provider-scoped model discovery with one Build-owned coordinator, provider-local attempts, coherent metadata/inventory publication, context-safe Service admission, and bounded explicit Mecatui submission recovery. Six scenarios and 26 ACs include independent replica lifecycles.

Development stage

  • Plan / Interface
  • Implementation
  • Combined
  • Spike / Routine / Cleanup

Work classification: Architectural. Delivery: Split. Contract: human-reviewed/v2, proposed.

Authorization and policy

Draft implementation in #1841 is explicitly authorized before plan merge. The six recorded policy decisions are resolved; normal verification and human review remain required.

Discovery remains replica-local derived knowledge. Registry owns credentials/adapters/default selection, discovery owns attempts and publication, Service owns lease-protected admission, and Built owns lifecycle cleanup. Admission obtains required evidence without picker priming or another replica's startup. Positive last-good evidence is usable for a Build lifetime; latest failures remain truthful and do not authorize unknown targets through stale omission. This is metadata policy, not inference authorization.

Session lease retention, readiness, schedule validation/execution, and replica-specific evidence are explicit. No shared discovery cache, distributed discovery leader, lease-holder routing, new engine/protobuf/tool/config/persistence surface, or automatic payload replay is added. Child/utility/team admission, capability/effort generation coherence, reasoning presence, effective model persistence, and broader UI reconciliation remain deferred.

Validation

Acceptance-plan checker (26ACs), docs lint/ADR uniqueness, task docs, and git diff --check pass locally. Adversarial/architecture review retained the existing domain semantics and clarified deployment/lifecycle boundaries. Implementation test proofs and runtime gates belong to #1841.

Relates to #1800, #1798, and #1841.

@JAORMX
JAORMX force-pushed the plan/provider-model-discovery branch from 1aa0444 to e259957 Compare September 23, 2026 15:10
Base automatically changed from docs/provider-discovery-model to main September 24, 2026 06:00
@JAORMX
JAORMX force-pushed the plan/provider-model-discovery branch from 45cb5e1 to ae5c828 Compare September 24, 2026 12:09
@JAORMX
JAORMX added this pull request to stack #1877 September 24, 2026 13:23
@JAORMX
JAORMX force-pushed the plan/provider-model-discovery branch from 2a487e4 to 534d2c9 Compare September 25, 2026 06:27
@JAORMX

JAORMX commented Sep 25, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto main a06b86318 and pushed plan head 534d2c9c6. The discovery ADR is numbered 0362 to avoid collisions with main; decision semantics are unchanged. Implementation #1841 is stacked on this plan commit. Local plan/docs checks passed.

@JAORMX
JAORMX marked this pull request as ready for review September 25, 2026 07:52
@JAORMX
JAORMX merged commit 7cd1171 into main Sep 25, 2026
58 checks passed
@JAORMX
JAORMX deleted the plan/provider-model-discovery branch September 25, 2026 07:59
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Sep 25, 2026
2 tasks
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