Skip to content

docs(cli): compare direct tier workflows with validate --tiers - #237

Merged
rng1995 merged 5 commits into
mainfrom
docs/direct-tiers-vs-validate-tiers
Oct 29, 2026
Merged

rng1995 merged 5 commits into
mainfrom
docs/direct-tiers-vs-validate-tiers

Conversation

@chrisknvidia

Copy link
Copy Markdown
Collaborator

Summary

The CLI reference documented tier1/tier2/tier3 PATH and validate --tiers separately, but not how they differ. This adds a comparison under "Direct tier workflows" covering:

  • which tiers run: only the named tier, versus Tier 1 plus the selected tiers
  • the Tier 1 dependency audit: tier1 PATH includes it, while validate needs --checks dependency
  • Tier 1 LLM stages
  • report files
  • exit codes, including that a Tier 3 FAIL verdict alone exits 0, and only a run that doesn't complete exits 1

It also states that --tiers must include Tier 1, so Tier 2 or Tier 3 on its own runs through tier2 PATH or tier3 PATH.

The PR adds a test that validate --tiers 2, --tiers 3 and --tiers 2,3 exit 1 before any tier runs, without writing reports or evals/. CLI behavior is unchanged.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test: 14,507 passed. The 4 failures are unrelated to this change. The two tests/utils/test_helpers.py::TestResolveGitRemoteUrl pull-request-ref tests fail on main in the same environment. The two same-inode rewrite tests pass when rerun on their own.
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

fern check passes with 0 errors.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Document how tier1/tier2/tier3 PATH differ from validate --tiers in
tier scope, Tier 1 dependency and LLM stages, report files, and exit
codes, and that --tiers must include Tier 1. Add a test that --tiers
without Tier 1 is rejected before any tier runs or writes output.

Signed-off-by: Christopher Kevin <[email protected]>
@rng1995
rng1995 enabled auto-merge October 27, 2026 17:41

@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.

Automated review: 4 findings (0 P1, 0 P2, 4 P3); 4 posted inline.

Reviewed at c282443. These four comments are non-blocking doc fixes in the new comparison section. The rest of the section matches the CLI: --tiers without 1 exits 1 before anything runs, tier1 PATH includes the dependency audit, the tier1/tier2 report defaults and file names are right, tier3 rejects -r/-o with exit 2, a FAIL verdict alone exits 0, and the validate gating rules are right. The new test pins the rejection behaviour: a change that silently adds Tier 1 instead of rejecting fails all three cases. tests/cli plus tests/test_commands.py: 233 passed.

Comment thread docs/cli-reference.mdx Resolved
Comment thread docs/cli-reference.mdx Resolved
Comment thread docs/cli-reference.mdx Resolved
Comment thread docs/cli-reference.mdx Resolved
@rng1995
rng1995 merged commit 47f6058 into main Oct 29, 2026
17 checks passed
@rng1995
rng1995 deleted the docs/direct-tiers-vs-validate-tiers branch October 29, 2026 03:25
@rng1995 rng1995 mentioned this pull request Oct 30, 2026
15 of 20 tasks
chrisknvidia added a commit that referenced this pull request Oct 30, 2026
* docs(cli): compare direct tier workflows with validate --tiers
* docs(cli): scope direct-tier comparison notes

Signed-off-by: Christopher Kevin <[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