BLOCKING: Pin confidence-threshold gating rules for Call 1 pre-population and review gate #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The plan of record for Call 1 confidence handling is not captured in the docs at all. Without an explicit doc change, a merge of docs/refactor-v2 would carry forward the permissive behavior ("ready: values from Call 1, manual, or mix") and the plan of record would be lost. This issue is blocking for POC.
Plan of record (authoritative)
feat-*tags. All pre-populated values are mutable and overridable by the user in the review screen.Current doc state (gap)
AGENTS.md§6 mentions the 0.7 threshold (configurable) but only says it "lives in IMPL Phase 5 / PROMPTS." It does not state the above/below behavior.PROMPTS.mdCall 1 schema returns confidence scores but says nothing about gating or pre-population rules.CONTENT-WOO.md§2.3 describes deterministic name-matching for categories/tags and says every assignment is overridable, but never states that Call 1 vision results are the primary pre-population source, nor the below-threshold empty + gate behavior.ARCHITECTURE.mdstatus machine says "ready: mandatory fields filled (manual and/or Call 1)" but does not define the gate.Required doc changes (drive the change)
AGENTS.md§6 states the above/below-0.7 rules verbatim (or references a single canonical section).PROMPTS.mdCall 1 notes state: ≥ threshold → pre-populate (mutable); < threshold → empty + mandatory-field gate.CONTENT-WOO.md§2.3 states Call 1 results are the primary source for species/categories/tags/attributes when confidence ≥ threshold, with manual override always available.ARCHITECTURE.mdstatus machine or clarifications note the review gate for below-threshold mandatory fields: species + ≥1 figure attribute required before ready/publishable.IMPL-PLAN.mdPhase 5 acceptance criteria include the gate behavior as testable.Non-goals
Docs: Pin confidence-threshold gating rules for Call 1 pre-population and review gateto BLOCKING: Pin confidence-threshold gating rules for Call 1 pre-population and review gateEscalated to blocking per plan of record. Reconciliation check: the refactor branch does not capture the 0.7 gating rules, so a merge would lose them. This issue now owns driving the explicit doc change — see updated acceptance criteria.
The docs on refactor-v2 correctly state the confidence-threshold gating rules (above 0.7 pre-populates, below 0.7 empty + mandatory gate, inference assist-only). However, the same rule is repeated in 8 places (AGENTS, ARCHITECTURE, CONTENT-WOO, DATA-MODEL, IMPL-PLAN, OPENAPI, PROMPTS, UX). This needs a cleanup pass to consolidate into a single canonical owner with references elsewhere. The issue cannot close until the duplication is resolved. See issues #5 and #8 comments for the pattern.
Resolution: consolidated confidence gating into
AGENTS.md§6 as canonical owner.Changes across 8 files:
AGENTS.md§6 — full canonical rule: ≥ 0.7 → pre-populate (mutable), < 0.7 → empty + mandatory gate, assist-only, never gates publish.AGENTS.md§7 — removed inline "Vision may prefill..." → reference §6.CONTENT-WOO.md§2.3 — replaced full above/below rule → reference §6.ARCHITECTURE.md§3.4 — changed reference from CONTENT-WOO → AGENTS.md §6.ARCHITECTURE.md§6.3 — removed inline review gate → reference §6.IMPL-PLAN.mdPhase 5 — removed inline rule + acceptance criteria duplication → reference §6.PROMPTS.mdCall 1 notes — changed reference from CONTENT-WOO → AGENTS.md §6.UX.md— replaced inline rule and failure path → reference §6.Verification: grep for
0.7across live docs returns only AGENTS.md §6 (canonical), OPENAPI schema example value (grade_confidence: 0.75), and a UX out-of-scope mention. No duplication of the rule remains.Test cases noted on issue:
This issue is resolved. Ready to close.