Task · TSO-0195

Harden fleet-summary listing prerequisite regression guard

Description

Fresh review found the current fleet-summary query is correct and real failed-listing fixtures pass, but a permanent test only looks for == 1 anywhere in the expression. The fleet-online predicate already contains that text, so removal of the listing-specific supported-state filter could evade the portable assertion and manufacture a reassuring zero for failed listing. Retained behavioral fixtures catch it locally; durability in the regular test boundary is the follow-up, not a current display defect.

Acceptance Criteria

Definition of Done

Implementation Plan

loop31: implement only the frozen owner-approved seam in isolated ownership; retain exact candidate and behavior evidence, named gate where applicable; independent guarded review then root integration/CI/delivery. Read-only diagnosis has no remediation or code gate.

Implementation Notes

loop31: 1 implementation attempt; strengthened listing-specific success guard and executed nine-scenario real-query fixtures, intended deletion fails. Candidate gate green after one parallel-linter infrastructure retry, full-hunk guarded review PASS. Sharded CodeRabbit staged-Python No files to review defect is explicitly unreviewed under approved review disposition, not clean. Landed0659d26129a583974443ff989c9c02184ba216fb; fresh exact composed gate green; exact CI38377130103 ci-success, sync38377130106 and downstream automation succeed. Both far-side dashboard blobs equal artifacts at published SHA. Helm absent by push paths. Minor future fixture-input drift risk left: changed fixture inputs require fresh executed receipts; current inputs/positive/negative proof verified. No dashboard query semantics changed.

Final Summary

Bound the fleet zero fallback guard to the listing-specific successful supported-state operand, preserving online and other existing assertions. Durable negative mutation and actual failed/empty/populated/scope fixtures verified; integrated/published with exact composed and CI evidence. Attempts1; complete.

View the source file on GitHub