Skip to content

feat(cli): simplify tier workflows and improve evaluation feedback - #152

Merged
rng1995 merged 9 commits into
mainfrom
feat/christopherk/direct-tier-workflows
Sep 24, 2026
Merged

rng1995 merged 9 commits into
mainfrom
feat/christopherk/direct-tier-workflows

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Running a tier previously required discovering several expert commands, and plain validate omitted live evaluation. Add tier1 PATH, tier2 PATH, and tier3 PATH workflows and make validate PATH select all three tiers for skills. Tier 3 reuses authored evaluation sources or creates one starter case when none exists.

  • Preserve expert subcommands and explicit scope controls. Tier 3 remains advisory in combined validation unless --block-on-agent-eval is set. Standalone Tier 1 enables its LLM checks when configured; combined validate --llm remains opt-in.

  • Add OpenAI-compatible chat, embedding, judge, and harness defaults so gateways serving those catalog IDs need only provider, URL, and key. Model overrides remain exact. Claude Code can inherit the shared gateway route; explicit Anthropic credentials/endpoints take precedence, including the native model default for an independent native key.

  • Improve provider setup errors, dataset-generation progress, incomplete-run diagnostics, and the overall skill-lift headline. Update NVIDIA model defaults and distinguish service failures from duplicate-content findings.

  • Preserve gateway model IDs for Codex across Docker, local, and native cloud environments, use Chat Completions for Docker OpenCode, and retain the evaluator environment for local verifiers. Reports identify the resolved agent model and its configuration source.

  • Add an interactive root-help banner with green shadowed lettering, an installed version, and a compact fallback for narrow terminals. Subcommands and redirected output retain their output contracts.

No private gateway endpoint or credential is built into the configuration. Other gateways can override catalog IDs and must implement each selected harness's required API.

Verification

  • Followed the contributing guidelines and signed off commits
  • Updated focused tests, documentation, and changelog
  • Original workflow/provider focused regression suite: 414 passed
  • Cloud model-ID fix: 367 focused tests passed, including actual Harbor factory/launcher regressions for E2B, Daytona, Docker, and local mode
  • Lint, build, source/archive boundary scans, public benchmark scan, and diff checks passed
  • fern check: zero errors; authenticated redirect check unavailable locally
  • Banner checks: 60 focused tests, 18 real CLI terminal/redirect/JSON scenarios, lint, build, and code review passed
  • Full local regression suite: 6,907 passed, 17 skipped, 4 deselected
  • All 17 hosted checks passed on 1a87cab

The cloud model-ID regression exercises the installed Harbor factory and Codex launcher with a recording execution transport. It covers gateway defaults, configuration and CLI overrides, unqualified IDs, native OpenAI behavior, model-source labels, and prompt preservation. Independent review found no blockers. E2B and Daytona were not run against live services because their credentials are unavailable. A fresh Docker/gateway run is awaiting approval to transmit the demo payload; the earlier live evidence below predates this fix.

Review covered model/credential precedence, endpoint path prefixes, native-provider regressions, exact catalog ID preservation, and report attribution. It caught and corrected the native Anthropic key/model interaction.

Real verification used a benign arithmetic/file-tool smoke task on macOS Docker. With only provider, URL, and key, live embeddings returned two 2,048-dimensional vectors and default Codex completed both evaluation arms in 129.83 seconds, exit 0, 2/2 scored attempts, complete report. Earlier real Docker runs also completed both arms with Claude Code and OpenCode using explicit IDs now selected by their defaults; their default-only CLI combinations have not been rerun.

Tier 1's live rubric request succeeded and graded the minimal fixture poorly. Its SkillSpector LLM scan was incomplete; a direct retry identified LengthFinishReasonError after a 32,000-token response in the semantic quality analyzer. This is not a successful complete Tier 1 LLM run. The default-model configuration fix is verified; the scanner failure remains a separate integration limitation.

The full local suite and hosted checks pass on the current fix. Live native-provider and local/cloud harness combinations were not exercised. These smoke runs are not benchmark-quality or runtime guarantees; private run artifacts remain outside the repository.

Release Impact

  • Updated CHANGELOG.md

This changes the default work and model usage of validate for skills. Use --tiers 1 for a static CI gate, --tiers 1,2 to omit live evaluation, or --no-autopilot to require an authored dataset. Generated starter cases are smoke tests, not comprehensive benchmarks.

@chrisknvidia
chrisknvidia marked this pull request as ready for review September 22, 2026 03:34

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisknvidia The CLI/workflow and provider changes look sound in the reviewed paths, but the new gateway model default is not preserved in supported cloud environments. Please address the inline finding before approval.

Local validation: 473 focused tests passed across CLI workflows, dataset generation, provider routing, gateway adapters, embeddings, and reports; Ruff passed for the reviewed CLI/workflow modules. A separate reproduction using Harbor's actual Codex launcher with the execution boundary mocked exposed the cloud model-ID mismatch. No live provider calls were made. GitHub reports all 17 checks passing.

Preserve the direct tier quickstart and main's livestream link. Shorten the NVIDIA Build setup text to retain the 1100-word README limit.

Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 merged commit 4dcbe37 into main Sep 24, 2026
17 checks passed
@rng1995
rng1995 deleted the feat/christopherk/direct-tier-workflows branch September 24, 2026 07:44
rng1995 added a commit that referenced this pull request Oct 5, 2026
…ue-79-harbor-upgrade

Bring the Harbor upgrade up to date with main (v0.4.0 and later).

Conflict resolutions:
- Case identity: the runner's trusted selector map stays authoritative.
  Main's staged-task resolver (#161) applies only to callers without a map,
  where task_id.path now outranks task_name. Grader-authored rewards can no
  longer set collector-owned identity flags.
- Agent import paths: only the OpenAI-compatible gateway Codex wrapper
  (#152) may run on Harbor-native cloud backends. It is passed through
  Harbor's unified --agent selector, not the deprecated --agent-import-path.
- Verifier env: under standard grading, native tasks still may not author
  judge retry or evidence-budget values (#145, #160). Operators stage them as
  ${NAME} placeholders, which are forwarded with the other provider controls.
- Native task TOML edits stay structural and Harbor-validated; main's
  line-based helpers are removed.
- Redaction keeps main's linear-time private-key handling and terminal-control
  stripping plus the PR's URI userinfo masking. Whole environment values
  shorter than four characters are no longer exact secrets, so flags such as
  "1" cannot erase counts in result summaries; short URI userinfo fragments
  are still redacted.
- The tier3 workflow (#152) forwards --environment-kwarg to preflight and
  defers remote ack and openshift checks. Parallel catalog children forward
  --environment-kwarg.
- CHANGELOG: the PR's entries move back under Unreleased.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

2 participants