os-backlog: TemplateValidator never checks Owner sketch/Cases on capture-style ready-for-agent tickets #646
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#646
Loading…
Reference in a new issue
No description provided.
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?
Problem
Found during the same #638/#643 root-cause session: capture-style ready-for-agent tickets can skip AGENT_READY_SECTIONS validation entirely.
Observed
plugins/os-backlog/lib/backlog/ticket_body_checker.rb:17-19ticket_attempt?is true only when the body has a Slice/Acceptance criteria/Non-goals heading. Capture-style bodies (e.g. #638, #627) have none, so the tier is:captureand AGENT_READY_SECTIONS (template_validator.rb:15) never run, even with theready-for-agentlabel. Only os-sdlcTicketShape(ticket_shape.rb:6) catches the gap, and only at implementation-open, much later in the pipeline.Note: may be absorbed by #643's template/validator re-alignment; filed separately because it is a defect today, independent of that redesign.
Reproduce
n/a: design/validator-gap ticket, not a single reproducible bug
Expected
A capture-style ticket body carrying
ready-for-agentfailsTemplateValidatorat capture/label time if it lacks Owner sketch/Cases, instead of only failing later atimplementation-open.Origin
Resolution
Done: Absorbed by #643. TemplateValidator requires Problem, Approach, Acceptance criteria and Owner sketch on any ready-for-agent body, whatever its shape; ticket_attempt? no longer gates the check.
Evidence: main
f375143b(#643 merge, ADR-0209). Repro test template_validator_model_sections_test.rb: a ready-for-agent body with only Problem + Origin fails with 'Missing required section: Owner sketch'. os-backlog suite 241 runs, 0 failures.Follow-ups: none