fix(review): Create title no silent fail; gate enables content LLM

Create title used to look enabled while review echoed a pre-typed title when
species/primary were missing from taxonomy (no error). Persist wood cats before
the deterministic build, return title_built / title_build_missing from review,
and surface a Create-title nudge like Create desc.

WooSetupGate now turns on content_llm_enabled when inference URL+key are set
(Call 2 / Create desc). Call 1 stays out. Create-desc gate also requires
inference URL+key so empty Settings show a clear missing list.
This commit is contained in:
grokbot_ty
2026-09-26 22:50:15 -07:00
parent f54cc37dcc
commit fca32396c0
10 changed files with 187 additions and 19 deletions
+3
View File
@@ -306,6 +306,9 @@ export interface ReviewResult {
price: number | null;
price_suggestion: number | null;
primary_wood_category_id: number | null;
/** True when deterministic title/short_desc were built from taxonomy. */
title_built?: boolean;
title_build_missing?: string[];
}
export interface ReviewInput {