Skip to content

enhancement: Standard error codes and structured JSON error format #165

@erishforG

Description

@erishforG

Problem

에러 발생 시 자유 형식 텍스트만 출력됨. 자동화/에이전트가 실패 원인을 프로그래밍적으로 구분하기 어려움.

Proposed Solution

  • 에러 코드 체계 도입: E001 (no token), E002 (CI failing), E003 (conflict), E004 (not mergeable) 등
  • --json 모드에서 에러도 구조화:
{"error": true, "code": "E003", "message": "...", "details": {...}}
  • exit code도 카테고리별 구분 (1=general, 2=auth, 3=conflict, 4=ci)

Impact

에이전트 통합 품질 향상, 자동 실패 처리 가능.

Priority: P0 | Source: 외부 피드백

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions