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
{{ message }}
Repository navigation
Commit 5a29c45
Browse filesBrowse the repository at this point in the historyBrowse files
feat(evaluators): add AgentControl support for Orbit preset SLM scorer invocation (#259)
## Summary
- Adds AgentControl support for Orbit preset SLM scorer invocation and
is paired with rungalileo/orbit#1720.
- Requires `scorer_id`; `scorer_label` is optional display metadata and
`scorer_version_id` is a deprecated compatibility identifier.
- Calls `/api/v1/scorers/invoke` with a scoped internal HS256 JWT
(`scorers.invoke`).
- Dual-writes legacy `inputs` and a structured `record` during the
rollout, including selector-aligned input/output plus Step context,
tools, and ground truth.
- Sends an Orbit execution timeout below the AgentControl HTTP deadline
(8 seconds for the default 10-second deadline).
## Scope
- Orbit owns feature-flag routing between RuntimeScorer and the legacy
adapter.
- Nine flat preset SLM scorers are validated for direct runtime
execution.
- Existing Step context propagation through models, engine,
integrations, and SDKs is retained.
- Broader preset SLM runtime coverage is deferred to Jira phases 2 and
3.
- Customer-owned Luna scorers are not supported in this release.
- No backend selector, Protect payload construction, Wizard
configuration, trusted tenant identity, or Galileo record-tree
construction is added.
## Risk and Rollout
- Risk level: medium.
- Deploy Orbit #1720 and keep its legacy adapter available for the
tandem rollout.
- Roll back AgentControl to the legacy `inputs.query`/`inputs.response`
contract if needed.
- Retain dual-write until older supported Orbit versions are retired.
## Testing
- [x] Galileo evaluator tests (116 passed)
- [x] Models tests (71 passed)
- [x] Engine tests (117 passed)
- [x] Affected Python SDK tests (103 passed)
- [x] Built-in evaluator tests (310 passed)
- [x] TypeScript SDK tests, lint, and typecheck
- [x] Repository lint, mypy, and `git diff --check`
- [ ] Full Python SDK target requires local PostgreSQL on
`localhost:5432`
## Follow-up
Orbit #1720 must update all six AgentControl git references to commit
`8a2b5d52717090ed7c65b627035f73d89c46f5ff` and regenerate requirements
before the tandem merge.
0 commit comments