Skip to content

feat: add composable target runtime config contract#1625

Merged
christso merged 10 commits into
mainfrom
av-y7eq-integration
Jul 3, 2026
Merged

feat: add composable target runtime config contract#1625
christso merged 10 commits into
mainfrom
av-y7eq-integration

Conversation

@christso

@christso christso commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

AgentV now has one composable config graph for project config, global config, and eval-local overrides, with explicit target runtime contracts for coding agents. Evals can resolve .agentv/config.yaml, $AGENTV_HOME/config.yaml, and *.eval.yaml as the same authored surface, including split field files via file://, defaults.grader, and execution.max_concurrency.

This also makes target execution failures first-class run output. Providers now return structured target execution envelopes for subprocess, timeout, malformed output, sandbox, and coding-agent runtime failures, and run artifacts expose those envelopes to CLI summaries and the Dashboard.

Design Notes

Area Decision
Config graph .agentv/config.yaml, optional local overlays, $AGENTV_HOME/config.yaml, and eval YAML share the same config contract. Field-level file:// refs load bare YAML values, not wrapped objects.
Concurrency Promptfoo uses --max-concurrency / commandLineOptions.maxConcurrency / evaluateOptions.maxConcurrency; this PR keeps Promptfoo compatibility reads but uses AgentV-authored execution.max_concurrency for the new YAML contract.
Provider scope Bare codex, claude, and copilot provider names are rejected as ambiguous. Runtime-specific providers use explicit names such as codex-cli, codex-app-server, codex-sdk, claude-cli, claude-sdk, copilot-cli, copilot-log, and copilot-sdk.
Runtime isolation SDK-backed coding agents run through isolated child providers with optional peer dependencies. Sandbox mode is supported for generic CLI targets and returns deliberate unsupported envelopes for coding-agent adapters.
Pi boundary pi-cli, pi-rpc, and pi-sdk are explicit runtime choices. pi-rpc uses a stdio process boundary instead of being folded into CLI semantics.
Docs/examples Public docs, versioned docs, and the readme quickstart describe the current config/orchestration surfaces directly. No file names, routes, env vars, package names, or code identifiers were renamed for casing or docs cleanup.

Brand casing work is separate: #1624 updates user-facing AGENTV/AgentV copy without changing identifiers.

Validation

  • git diff --check
  • bun run lint
  • bun run validate:examples
  • bun test packages/core/test/evaluation/config.test.ts packages/core/test/evaluation/loaders/config-loader.test.ts packages/core/test/evaluation/providers/cli.test.ts packages/core/test/evaluation/providers/target-execution-artifacts.test.ts packages/core/test/evaluation/providers/sdk-child-provider.test.ts packages/core/test/evaluation/providers/sdk-provider-registry.test.ts packages/core/test/evaluation/providers/targets.test.ts packages/core/test/evaluation/providers/sandbox-runtime.test.ts packages/core/test/evaluation/providers/pi-runtime.test.ts packages/core/test/evaluation/providers/claude-provider-aliases.test.ts packages/core/test/evaluation/providers/copilot-cli.test.ts packages/core/test/evaluation/providers/normalize-tool-call.test.ts packages/core/test/evaluation/validation/targets-validator.test.ts packages/core/test/evaluation/validation/eval-validator.test.ts — 410 pass, 0 fail
  • bun --filter @agentv/core typecheck
  • bun --filter agentv typecheck
  • bun --filter @agentv/web build — exits 0; Pagefind still reports existing docs pages without outer <html> elements

Dogfood Gaps

Live provider dogfood is still the main reviewer gate before merge. Deterministic Docker sandbox dogfood passed in the sandbox worker, but live OpenAI sandbox dogfood hit unavailable/invalid local credentials, and the Codex/Claude/Copilot/Pi live runtime checks were not completed because they would start real provider sessions plus grader runs from worker branches. This PR is pushed specifically for dogfooding those provider paths.

Related

Related: av-y7eq.1, av-y7eq.2, av-y7eq.3, av-y7eq.4, av-y7eq.5, av-y7eq.6, av-y7eq.7, av-y7eq.8


Compound Engineering
GPT-5

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 10f7162
Status: ✅  Deploy successful!
Preview URL: https://afc79db1.agentv.pages.dev
Branch Preview URL: https://av-y7eq-integration.agentv.pages.dev

View logs

@christso christso merged commit 2f2f46a into main Jul 3, 2026
10 checks passed
@christso christso deleted the av-y7eq-integration branch July 3, 2026 22:19
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