You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three changes from automated review:
1. Telemetry: register `feedback` in command-run schema with `mode` +
`has_screenshot` attrs, instrument the CLI handler with
client.withCommandRun (CANCELLED on declined consent), and the TUI
submit path with withCommandRunTelemetry.
2. Screenshot S3 key: parse the actual object key from the presigned
URL path instead of fabricating one client-side. The fabricated key
could drift from Aperture's bucket layout (UTC/local date, prefix
changes) and silently produce form references to non-existent
objects.
3. TUI input validation: validate message in setMessage and screenshot
in setScreenshot, surface the error inline on the input phase via
state.inputError. Previously bad input was only caught after the
user walked through consent, forcing them to re-do consent on retry.
Exposes validateFeedbackMessage and validateScreenshotPath from the
operations module so the hook can reuse the same validators as the
submission orchestrator.
0 commit comments