triflux 3.3.0-dev.3 → 3.3.0-dev.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,6 +141,8 @@ Agent(subagent_type="oh-my-claudecode:{agent}", model="{model}", prompt="{prompt
141
141
 
142
142
  ### 결과 파싱
143
143
 
144
+ 여기서 `failed`는 `tfx-route.sh`/CLI 종료 결과를 뜻한다. Claude Code `TaskUpdate` 상태값이 아니다.
145
+
144
146
  | exit_code + status | 사용할 출력 |
145
147
  |--------------------|-----------|
146
148
  | 0 + success | `=== OUTPUT ===` 섹션 |
@@ -177,11 +179,14 @@ OUTPUT 추출: `echo "$result" | sed -n '/^=== OUTPUT ===/,/^=== /{/^=== OUTPUT
177
179
  |------|------|
178
180
  | `tfx-route.sh: not found` | tfx-route.sh 생성 |
179
181
  | `codex/gemini: not found` | npm install -g |
180
- | timeout / failed | stderr → Claude fallback |
182
+ | timeout / failed (`tfx-route.sh` 결과) | stderr → Claude fallback |
181
183
  | N > 10 | 10 이하로 조정 |
182
184
  | 순환 의존 | 분해 재시도 |
183
185
  | 컨텍스트 > 32KB | 비례 절삭 |
184
186
 
187
+ > Claude Code `TaskUpdate`를 사용할 때는 `status: "failed"`를 쓰지 않는다.
188
+ > 실패 보고는 `status: "completed"` + `metadata.result: "failed"`로 표현한다.
189
+
185
190
  ## Troubleshooting
186
191
 
187
192
  `/tfx-doctor` 진단 | `/tfx-doctor --fix` 자동 수정 | `/tfx-doctor --reset` 캐시 초기화