Skip to content

source-control:babysit-prs: babysit-readiness-gate.sh classification-token matching is case-sensitive, silently under-counts natural-language dispositions #619

Description

@kyle-sexton

Lane: babysit, observed on #592.

babysit-readiness-gate.sh matches classification tokens with grep -wE 'VALID|INCORRECT|UNCERTAIN' (case-sensitive, exact-case only). A worker's classification-table reply that writes a natural-language disposition like "Valid (defer)" instead of the mandated all-caps VALID scores as unclassified — the gate then reports BLOCKED reason=under-decomposed even though the finding genuinely was classified, just not in the exact casing the regex expects.

This compounds with the already-tracked #465 (over-counting) in the opposite direction: #465 makes BLOCKED verdicts too pessimistic by inflating the finding count; this makes them too pessimistic by deflating the classified count when a reply's wording drifts even slightly from the mandated token casing.

Category: bug. Expected: either case-insensitive matching (grep -wiE ...), or the gate's own error output should name the exact token casing it expects when a classification-shaped reply doesn't match, so an operator/worker can immediately see why a reply "didn't count."

Work-class: C3 (bug-fix-shaped) — attended triage 2026-07-23, operator-ratified. 🤖

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions