Repository navigation
feat(models)!: add provider-neutral decision IR foundations - #297
Open
jack-scitix-ai wants to merge 1 commit into
Open
jack-scitix-ai wants to merge 1 commit into
jack-scitix-ai wants to merge 1 commit into
Conversation
Add typed evidence, decision questions and answers, capability reconciliation, output validation, and canonical response metadata. Integrate finish diagnostics, profiling and persistence to prepare for a separate OpenRouter Decisions dialect. BREAKING CHANGE: custom dialects must add an explicit decisions capability entry and decisions output rule. Existing built-in dialects declare decisions unsupported. Refs scitix#292
1 task done
Collaborator
|
Thanks, this is careful work. Two parts stand out: the frozen Per the discussion on #292, we won't merge this into core. Could you convert it to draft and keep the branch? Two notes for the plugin version:
The |
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.
Type
Summary
ContextInput, structuredJsonPart, and typed predicate, choice and score questions, answers and per-question refusals.textsand one call-level finish reason; the initial contract requiressampling.n == 1and rejects streaming.RESULT_SCHEMA_VERSIONremains 1 and strict resume checks remain in force.decisionscapability entry and output rule. Unsupported implementations should useUnsupported(...)andOutputRule(Guarantee.NEVER); all eight built-in dialects are updated accordingly.Related Issues
Refs #292.
Test Plan
Automated
ruff check && ruff format --check)ty checkormypy --strict)pdm run pytest)Regression coverage includes:
Decision execution tests use a controlled dialect seam. Native provider wire behavior and real API validation belong to the follow-up dialect PR.
Checklist
Required (all PRs)
type(scope): description)AI-Generated Code - <model> (<provider>)in module docstringcore/If: Breaking Change