feat(eval): add lifecycle extensions and agent rules#1605
Conversation
Deploying agentv with
|
| Latest commit: |
b7af94a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6a236599.agentv.pages.dev |
| Branch Preview URL: | https://feat-av-kfik-14-extensions.agentv.pages.dev |
|
Manual CI was dispatched because this stacked PR targets feat/av-kfik-4-templating and pull_request CI only runs for base main. Green run: https://github.com/EntityProcess/agentv/actions/runs/28590245378 |
|
Review findings for PR #1605:
|
|
Fixed the lifecycle extension review findings in What changed:
Validation:
Private evidence: |
|
Manual CI for pushed commit b7af94a is green: https://github.com/EntityProcess/agentv/actions/runs/28592955569 |
|
Recovery update: GitHub would not reopen this PR because the deleted base branch |
Summary
beforeAll,beforeEach,afterEach, andafterAll.file://...:<hook>extension execution and the built-inagentv:agent-rulesstaging extension.workspace.reposfirst-class: repos are materialized before extension hooks, and repo acquisition is not moved into extension semantics.agent_rules_pathsthrough provider context, result metadata, prepare manifests, generated schema, docs, and examples.Validation
bun test packages/core/test/evaluation/extensions.test.ts packages/core/test/evaluation/validation/eval-file-schema.test.ts packages/core/test/evaluation/validation/eval-validator.test.tsbun test packages/core/test/evaluation/extensions.test.ts apps/cli/test/commands/prepare/prepare.test.tsbun run --cwd packages/core typecheckbun run --cwd packages/core lintbun run --cwd packages/core buildbun run lintbun run typecheckbun run --cwd apps/cli buildhttp://127.0.0.1:10531/v1: PASS, 1/1, mean score 100%.Private evidence:
agentv-privatebranch:evidence/av-kfik-14-extensions36424efScope Notes
workspace.hookscommand execution remains available for existing suites and reset policy; new docs and migrated examples route executable setup through top-levelextensions.Post-Deploy Monitoring & Validation
index.jsonlmetadata foragent_rules_pathsand provider request metadata in failed evals involving extensions.workspace.reposplusagentv:agent-rulesshow staged paths under.agentv/agent-rules/**after workspace materialization.agentv:agent-rules requires a materialized workspace, stale preparedagent_rules_paths, or missingfile://export functions.