Repository navigation
docs: model provider discovery and model metadata - #1800
Merged
Merged
Conversation
1 of 4 tasks
Co-Authored-By: mecatl <[email protected]>
Co-Authored-By: mecatl <[email protected]>
JAORMX
force-pushed
the
docs/provider-discovery-model
branch
from
September 23, 2026 15:09
f6dce8b to
c37c7fc
Compare
1 of 4 tasks
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Define provider-discovery concepts and contracts directly in the domain model. This PR changes only the model YAML and generated Markdown, not runtime behavior.
ModelMetadata: immutable observations for an exact provider/model, with explicit knowledge and provenance. Unknown, unsupported, and policy fallback remain distinct.ProviderDiscovery: provider-local attempt lifecycle and authoritative publication within a host deployment instance, separating the latest outcome from last successful observations.Relates to #1798 and the cold-resume investigation: native gateways skip authenticated startup discovery, but admission treats the first missing-window request as though discovery already ran.
Development stage
Work classification: Routine documentation work — records the discussed conceptual model, corrects the model-binding description, and removes editorial qualification. No runtime, public API, storage-format, or trust-boundary changes.
Verification
task docs: generated references, SDK API checks/documentation generation, acceptance-checker fixtures, documentation lint tests, the service-example test, and strict Matlatl validation passed.modelith render docs/architecture/mecatl.modelith.yaml: regenerated Markdown.modelith render docs/architecture/mecatl.modelith.yaml --check: passed.modelith lint --completeness error docs/architecture/mecatl.modelith.yaml: zero errors; 13 pre-existing semantic warnings, unchanged from baseline.git diff --check: passed.Tooling caveat:
task docs:modelhas an unavailable Modelith revision pin (73429dd46a22b3c3491c4654edca391fc9bd63f2,unknown revision). Rendering and linting used installed Modelithv0.4.0-5-g01f4ce6, previously verified to reproduce baseline Markdown byte-for-byte. The Taskfile is unchanged.Full runtime lint/tests/demo, site build, and engine API/acceptance-trace gates were not run for these two internal documentation artifacts.
Reviewer note
Host policy owns last-good metadata usability after a failed refresh; the specific maximum-age/reuse policy remains an open question.