gpt-5.3-codesx review: Phase 5 Release Readiness & Contract Enforcement
Quality Gate / gate (push) Failing after 10s

This commit is contained in:
Jim Lancaster
2026-08-20 08:42:51 -05:00
parent cdd846fe29
commit 443a1e29c8
7 changed files with 62 additions and 379 deletions
@@ -6,6 +6,7 @@ from nicegui import ui
from transcription.errors import AppError
from transcription.errors import ErrorCategory
from transcription.errors import canonical_error_category
from transcription.errors import classify_unexpected_error
@@ -31,7 +32,12 @@ def show_error(exc: Exception, *, title: str, operation: str) -> None:
ui.label(error.message)
ui.label(f"Suggested action: {error.suggestion}").classes("text-weight-medium")
ui.label(f"Error reference: {error.error_id}").classes("text-caption")
ui.label(f"Category: {error.category.value}").classes("text-caption")
ui.label(f"Category: {display_error_category(error)}").classes("text-caption")
def display_error_category(error: AppError) -> str:
"""Return the canonical UI-facing category label for an AppError."""
return canonical_error_category(error)
def summarize_error(exc: Exception, *, operation: str) -> str: