Skip to content

refactor(cli): consolidate eval run output flags#957

Merged
christso merged 1 commit intomainfrom
refactor/consolidate-output-flags
Apr 6, 2026
Merged

refactor(cli): consolidate eval run output flags#957
christso merged 1 commit intomainfrom
refactor/consolidate-output-flags

Conversation

@christso
Copy link
Copy Markdown
Collaborator

@christso christso commented Apr 6, 2026

Summary

  • Redefine --output as the artifact directory (was multi-file output paths)
  • Add --export repeatable flag for secondary file outputs (HTML, XML, YAML, JSON, JSONL)
  • Deprecate --out, --output-format, --benchmark-json, --artifacts with stderr warnings — all continue working for backward compatibility
  • Remove dead OutputFormat plumbing (primary writer is always JSONL)
  • Update CI workflow, docs site, and skills to use new flags

Test plan

  • bun run test — 385 tests pass
  • bun run lint — clean
  • bun run build — clean
  • bun run validate:examples — 53/53 valid
  • Smoke: --output /tmp/dir --dry-run writes artifacts to dir
  • Smoke: --export results.xml --dry-run writes JUnit XML
  • Smoke: --artifacts /tmp/old --dry-run warns and still works
  • Smoke: inspect show /tmp/dir reads artifact directory correctly

🤖 Generated with Claude Code

Make --output mean "artifact directory" (the single canonical output).
Add --export for secondary file outputs (HTML, XML, YAML, JSON).
Deprecate --out, --output-format, --benchmark-json, --artifacts with
warnings — all continue working for backward compatibility.

- --output <dir>: artifact directory (index.jsonl, benchmark.json,
  per-test grading/timing)
- --export <file>: repeatable flag for additional output formats,
  format inferred from extension
- Primary writer always JSONL; removed dead OutputFormat plumbing
- Updated CI workflow, docs, and skills to use new flags

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying agentv with  Cloudflare Pages  Cloudflare Pages

Latest commit: 56c8e5c
Status: ✅  Deploy successful!
Preview URL: https://a55fac0a.agentv.pages.dev
Branch Preview URL: https://refactor-consolidate-output.agentv.pages.dev

View logs

@christso christso merged commit a91b6c7 into main Apr 6, 2026
4 checks passed
@christso christso deleted the refactor/consolidate-output-flags branch April 6, 2026 22:41
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