docs(sdk): clarify custom assertion terminology - #1633
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
402f46f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://158028cd.agentv.pages.dev |
| Branch Preview URL: | https://promptfoo-custom-terms.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 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.
Summary
defineAssertion()and.agentv/assertions/define reusable custom assertion types, not custom graders.defineScriptGrader()withtype: script.javascript,python,ruby, andwebhook; AgentV extends this with arbitrary discovered assertion type names.skills-datareferences with cross-links so users can choose the right mechanism.Promptfoo source checked locally at
/home/entity/projects/promptfoo/promptfoocommit6bfc5a0c7f16f9c4717ac731d276b578e63d0769.Validation
bun installbun --filter @agentv/sdk typecheckbun --filter @agentv/sdk test(92 tests passed)bun run buildinapps/webbun run check:routesinapps/webbun run lintgit diff --checkDocs build emitted existing Pagefind/Starlight warnings about
/docs/next/*pages without outer<html>elements; build completed successfully and route checks passed.Manual Review
Dedicated
ce-code-reviewsubagent dispatch was not available as a direct command in this Codex session, so I performed a manual diff scan focused on broken docs links, stale package-facing terms, and assertion/grader terminology contradictions. No known residual findings.Post-Deploy Monitoring & Validation
No additional operational monitoring required. This is a documentation, examples, SDK metadata, and JSDoc terminology-only change with no runtime behavior changes.
Bead
av-kfik.20