Worked release review¶
Run uv run python examples/release_review.py --output-dir /tmp/storecheck-review
from the checkout to follow the support-ticket engineer’s review workflow.
Support operations adds SSO login access denied as an authentication example.
It fixes a login case but also captures a permissions case that was previously
routed correctly. Schema and label checks pass. Overall discovery accuracy stays
at 2/3, while illustrative error cost rises from 1 to 50. The release gate rejects
the proposal and shows the changed retrieved evidence.
The scripted reviewer clarifies the example to
SSO identity provider rejects credentials before session starts. Discovery
improves to 3/3 with no newly broken cases. The script then freezes that revision
and evaluates eight separate validation cases once: accuracy improves from 7/8
to 8/8, with no regressions. A failed discovery review leaves validation unopened.
The output directory contains the source snapshots, label definitions, discovery and validation cases, and three JSON comparison artifacts. The final artifact identifies the exact candidate tested. The script exits zero when the final gate passes; the rejected first proposal is intentional. It does not deploy anything.
These are synthetic cases and illustrative business costs. The example uses local hashing vectors and nearest-label classification so it runs without keys. It demonstrates the review workflow, not production quality, hybrid-search behavior, statistical confidence, or worst-case protection. In a real application, run the same review against your production pipeline and keep the validation cases out of edit selection.