Skip to content

fix(core): allow templated use_target validation - #1305

Merged
christso merged 1 commit into
mainfrom
feature/av-njl-targets-template-validation
Jun 6, 2026
Merged

fix(core): allow templated use_target validation#1305
christso merged 1 commit into
mainfrom
feature/av-njl-targets-template-validation

Conversation

@christso

@christso christso commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Bead: av-njl

Summary:

  • Accept env-templated use_target values during targets.yaml validation even when the referenced env vars are unset.
  • Preserve provider validation for targets that do not supply a concrete or templated use_target.
  • Add regression coverage for unresolved AGENT_TARGET and GRADER_TARGET.

Verification from worker handoff:

  • bun test packages/core/test/evaluation/validation/targets-validator.test.ts
  • bun --filter @agentv/core typecheck
  • bun --filter @agentv/core test
  • bun run test
  • bun run validate:examples

Integration review: diff checked against current origin/main; no PR existed before this one.

@christso
christso merged commit 58fda3e into main Jun 6, 2026
14 of 15 checks passed
@christso
christso deleted the feature/av-njl-targets-template-validation branch June 6, 2026 22:05
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