Uh oh!
There was an error while loading. Please reload this page.
feat(cli): add unified vera.py CLI orchestrator wired to domain services - #185
Draft
luca-belli wants to merge 4 commits into
Draft
feat(cli): add unified vera.py CLI orchestrator wired to domain services#185luca-belli wants to merge 4 commits into
luca-belli wants to merge 4 commits into
Conversation
New top-level vera.py implements the CLI surface from docs/architecture.md and docs/vera-cli-use-cases.md: generate, judge, score, pool, pipeline, and resume subcommands, sharing a single FLAG_SPECS registry so -c/-u/-j/--config etc. are defined exactly once and reused across subcommands. utils/config_schema.py centralizes the config.json shape (ModelSpec, GenerationConfig, JudgingConfig, RunConfig, RubricBundleManifest) that both CLI shorthand and --config/VERA_RUN_CONFIG resolve into, per the Phase 1 migration plan. Business-logic wiring into the existing generate/judge engines is left for a follow-up change; each subcommand validates its inputs, resolves and prints the canonical RunConfig, and stops.
…ra --target generation
Base automatically changed from
refactor/move-rubric-data-into-si-folder to
feat/VERA_2.0August 5, 2026 16:15
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 freeto 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
This stacked PR adds the Phase 1 unified
vera.pycommand surface on top of #180. It wiresgenerate,judge,score,pool, andpipelineto parser-independent application functions;resumeis reserved and fails explicitly until its state/checksum contract is implemented.Architecture decisions
feat/VERA_2.0is the source of truth for the CLI architecture.--sampleis the sole CLI flag permitted alongside--config.vera.pycalls domain functions directly. It does not import or dynamically invoke the legacygenerate.pyorjudge.pyCLIs.--targetresolves persona files from a manifest for generation and retains the manifest for judging.--target; when absent, generation uses its normal default.Implementation
Validation
--targetpath.1004 passed, 8 deselectedwith 73.48% coverage.Deferred work
The architecture requires deleting the legacy root CLIs by the end of Phase 1. This PR removes them from the new CLI dependency graph but leaves physical deletion for the remaining migration work.