Skip to content

fix(api): sanitize status error bodies#49

Merged
vincentkoc merged 2 commits into
mainfrom
fix/api-error-sanitization
Jun 18, 2026
Merged

fix(api): sanitize status error bodies#49
vincentkoc merged 2 commits into
mainfrom
fix/api-error-sanitization

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

  • sanitize HTTP and terminal handshake status error bodies before they reach CLI/Kong output
  • tighten SSH gateway error rendering so attach failures strip full terminal escape sequences
  • add regressions for API status errors, terminal handshake errors, and attach-path terminal errors

Validation

  • clawpatch@latest review --limit 3 --model nova-alpha --reasoning-effort high: 0 findings
  • autoreview --mode branch --base origin/main: clean, patch correct 0.84
  • go test ./... && go vet ./...
  • pnpm check
  • pnpm test
  • git diff --check

@vincentkoc vincentkoc merged commit e69a6fc into main Jun 18, 2026
1 check passed
@vincentkoc vincentkoc deleted the fix/api-error-sanitization branch June 18, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant