This page is generated from the public contract. Descriptions are shown in the original Korean.
stly feedback submit#
VoC 피드백 비대화형 제출
- HTTP request:
POST /api/feedback - Authentication modes: Agent token, User session
- Changes records: Yes
Options
| Name | Type | Required | Description |
|---|---|---|---|
--message | string | Yes | VoC 내용, 10000자 이하 |
--source | string | Yes | 작성 주체. 사람은 user, AI Agent는 ai-agent Values: user, ai-agent |
--title | string | Yes | VoC 제목, 200자 이하 |
--type | string | Yes | VoC 유형 Values: bug, usability, feature-request, workflow-improvement, documentation, performance, other |
--approved | boolean | No | AI Agent 제출에 대한 사용자 승인. ai-agent 제출에만 사용 |
--command | string | No | 문제가 발생한 stly 명령 |
--error-code | string | No | 응답 오류 code 또는 reason |
--expected-behavior | string | No | 기대한 동작 |
--expected-effect | string | No | 기대 효과 |
--fields | string | No | 응답 최상위 필드, 쉼표로 구분 Values: has_duplicate_candidates, id |
--reproduction-steps | string | No | 재현 절차 |
--suggestion | string | No | 개선 제안 |
--trigger | string | No | 문제가 발생한 계기 |
--workaround | string | No | 찾은 우회 방법 |
Common options: --server, --env-file, --timeout, --auth-mode, --dry-run
Behavior
- stly 사용 중 막히거나 반복 수동 단계·과도한 호출 등 개선할 점을 실제로 관찰했을 때만 사용자에게 초안을 제안합니다. 매 명령·작업마다 만들지 않으며, 먼저 help·schema로 지원 기능을 몰라서 생긴 문제가 아닌지 확인하고 같은 작업에서 이미 제안한 내용은 다시 권하지 않습니다
- 유형·제목·내용·작성 주체를 옵션으로 지정합니다: --type, --title, --message, --source user|ai-agent. 선택 맥락은 --command·--error-code·--trigger·--reproduction-steps 등
- 전송 전에 비밀정보(토큰·비밀번호·Authorization·Cookie·URL 비밀번호·비밀 키)를 [REDACTED]로 가립니다. 모든 형태를 보장하지 않으므로 --dry-run으로 마스킹된 전송 데이터를 확인합니다
- AI Agent 제출(--source ai-agent)은 사용자 승인(--approved) 또는 사전 opt-in(STLY_FEEDBACK_AGENT_OPT_IN=true)이 있을 때만 전송합니다. 없으면 전송 없이 CLI_APPROVAL_REQUIRED(outcome not_sent)를 반환합니다
- 성공 응답 data.id가 접수 ID입니다. status 201은 새 접수, 200은 같은 키·내용의 재전송입니다
- 결과가 불명확하면(outcome unknown) 같은 명령을 그대로 다시 실행합니다. 같은 내용은 같은 재전송 키를 사용하므로 중복 접수 없이 기존 접수를 확인합니다
Example
stly feedback submit --type bug --title "요약 제목" --message "현상과 기대 동작" --source user