This repository was archived by the owner on Oct 16, 2026. It is now read-only.
Repository navigation
chore(sdk): remove deprecated aliases and scaffold drift - #1407
Merged
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
b9eebd0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://23dcac33.agentv.pages.dev |
| Branch Preview URL: | https://chore-sdk-dx-remove-deprecat.agentv.pages.dev |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
_text/reference_answeralias plumbing from CLI and core grader prompt validationagentv create assertionscaffolds, SDK docs, package README, and eval-writer skill/reference docs with the canonicalassertions[]contractVerification
bun run buildbun test apps/cli/test/commands/eval/assert.test.ts apps/cli/test/commands/create/assertion.test.tsbun test packages/core/test/evaluation/validation/prompt-validator.test.ts packages/core/test/evaluation/graders/prompt-resolution.test.tsRed/Green Evidence
origin/main:apps/cli/src/commands/create/commands.tsscaffoldeddefineAssertionexamples withreasoningand treatedoutputas a message array viagetMessageText(output ?? []).bun --no-env-file apps/cli/src/cli.ts create assertion sample --template scorenow generates a scaffold that readsconst text = output ?? ''and returnsassertions: [{ text: 'Output has content', passed: score === 1.0 }].origin/main: deprecated prompt variables such as{{ output_text }}were still recognized by validation / prompt-resolution tests.prompt-validator.test.tsandprompt-resolution.test.tsassert those legacy variables are rejected / not detected.Remaining Intentional Aliases
assertions[]remains the canonical result/grader output contract and is unchanged.answerremains available in SDK handler context and docs where it is an ergonomic in-process alias foroutput; this bead only removes true deprecated surface aliases (input_text,output_text,expected_output_text,reference_answer) and stale reasoning-based scaffolds.assertionsis intentionally unchanged;assertconvergence is tracked separately in av-bv4.10.