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
## What
- adds side-effect-free `TaskSupportReport` preflight for built-in and
third-party runtimes
- keeps `AgentRuntime` migration-compatible through the optional
`TaskSupportProvider` protocol
- reports granular task capability gaps, configured model allow-list
mismatches, and static Antigravity constraints
- makes built-in dispatch consume the same support report used by public
preflight
- adds a machine-readable compatibility manifest tied to
`pyproject.toml` and exact `uv.lock` versions
## Why
Capability booleans and per-adapter rejection branches had drifted
apart. Callers could not discover all incompatible fields before
starting a run, provider-specific rules were delayed until dispatch, and
compatibility ranges/tested runtime binaries existed only as duplicated
prose and package metadata.
## Root cause
Task support was encoded in several imperative adapter paths rather than
one additive preflight contract. An initial implementation also made
`validate_task` mandatory on `AgentRuntime`, which would have broken
existing structural third-party runtimes; this PR uses an optional
extension plus a declared-capability fallback instead.
## Checks
- `ruff check src tests`
- `mypy`
- `pytest -q --cov=agent_runtime_kit --cov-report=term-missing
--cov-fail-under=85` (340 passed, 3 skipped; 90.86%)
- installed SDK contracts: 19 passed
- `uv lock --check`
- `uv build`
## Stack
- Base: #45
- Next: #47
0 commit comments