git-ents.gitmain
⌘K
foforge
commit e3bf42f
web, agent: describe the auto/manual review policy options

Add a helper line under the new-session review-policy picker spelling out what manual and auto mean, a matching .opt-help style, and expand the git ents agent new --review-policy CLI help to describe both.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Joseph D. Carpinelli · 28 days ago

Reviews

No reviews of this commit yet — record a verdict below.

Start a review

verdict

crates/cli/ents-web/src/assets/ents.css @@ -572,6 +572,7 @@ } .picker .opt .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); } .picker .opt.active { font-weight: 600; } +.opt-help { font-size: 12px; line-height: 1.5; margin: 8px 0 0; } /* Label picker chips (`labelPicker`): pick existing or type-and-create. */ .label-chip {
crates/cli/ents-web/src/pages/agents.rs @@ -722,6 +722,12 @@ "auto" } } + p.opt-help.muted { + strong { "Manual" } + " — no review opens on its own; you start one yourself when you want it. " + strong { "Auto" } + " — a review of the result opens automatically once the run finishes." + } } div.composer-buttons { a.composer-cancel href="/agents" { "Cancel" }
crates/forge/ents-forge/src/agent/cli.rs @@ -33,7 +33,9 @@ /// The ref the run executes against as its starting point. #[facet(args::named, default = "HEAD")] base: String, - /// The session's initially resolved review policy: auto or manual. + /// The session's initially resolved review policy. `manual` (default): + /// no review opens on its own; you start one yourself. `auto`: a review + /// of the result opens automatically once the run finishes. #[facet(args::named, default = "manual")] review_policy: String, /// The genesis oid of a prior session this one retries.