triflux 3.2.0-dev.2 → 3.2.0-dev.5
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.
- package/README.ko.md +19 -13
- package/README.md +19 -13
- package/bin/triflux.mjs +6 -5
- package/hooks/hooks.json +2 -2
- package/hooks/keyword-rules.json +338 -0
- package/hub/team/cli.mjs +406 -359
- package/hub/team/dashboard.mjs +164 -55
- package/hub/team/native.mjs +38 -0
- package/hub/team/nativeProxy.mjs +43 -38
- package/hub/team/pane.mjs +12 -7
- package/hud/hud-qos-status.mjs +56 -1
- package/package.json +3 -2
- package/scripts/__tests__/keyword-detector.test.mjs +234 -0
- package/scripts/keyword-detector.mjs +257 -0
- package/scripts/keyword-rules-expander.mjs +521 -0
- package/scripts/lib/keyword-rules.mjs +165 -0
- package/scripts/run.cjs +62 -0
- package/scripts/setup.mjs +5 -4
- package/scripts/test-tfx-route-no-claude-native.mjs +49 -0
- package/scripts/tfx-route.sh +608 -448
- package/skills/tfx-auto-codex/SKILL.md +79 -0
- package/skills/tfx-team/SKILL.md +286 -290
- package/scripts/team-keyword.mjs +0 -35
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tfx-auto-codex
|
|
3
|
+
description: Codex 리드형 tfx-auto. Claude 네이티브 역할을 Codex로 치환하고 Gemini 사용은 유지합니다.
|
|
4
|
+
triggers:
|
|
5
|
+
- tfx-auto-codex
|
|
6
|
+
argument-hint: "\"작업 설명\" | N:agent_type \"작업 설명\""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# tfx-auto-codex — Codex 리드형 tfx-auto
|
|
10
|
+
|
|
11
|
+
> 목적: 기존 `tfx-auto`의 오케스트레이션 패턴을 유지하면서
|
|
12
|
+
> Claude 네이티브 역할(`explore`, `verifier`, `test-engineer`, `qa-tester`)을
|
|
13
|
+
> Codex로 치환해 Codex/Gemini만으로 실행한다.
|
|
14
|
+
|
|
15
|
+
## 핵심 원칙
|
|
16
|
+
|
|
17
|
+
1. **Codex 라우팅 유지**
|
|
18
|
+
- 구현/분석/리뷰/디버깅/검증은 Codex 우선.
|
|
19
|
+
2. **Gemini 유지**
|
|
20
|
+
- `designer`, `writer`는 Gemini 경로를 그대로 사용.
|
|
21
|
+
3. **Claude 네이티브 제거**
|
|
22
|
+
- 실행 시 `TFX_NO_CLAUDE_NATIVE=1`로 강제.
|
|
23
|
+
4. **고난도 설계는 xhigh**
|
|
24
|
+
- 설계/분해/비판 검토 성격의 작업은 `codex --profile xhigh` 기준으로 운용.
|
|
25
|
+
|
|
26
|
+
## 사용법
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
/tfx-auto-codex "인증 리팩터링 + UI 개선 + 테스트 보강"
|
|
30
|
+
/tfx-auto-codex 3:codex "src/api, src/auth, src/payment 병렬 리뷰"
|
|
31
|
+
/tfx-auto-codex 2:gemini "온보딩 UI 카피 + 접근성 개선"
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## 실행 규칙
|
|
35
|
+
|
|
36
|
+
`tfx-auto` 워크플로우(입력 파싱 → 트리아지 → 분해 → DAG 실행 → 수집/보고)를 그대로 사용한다.
|
|
37
|
+
|
|
38
|
+
단, **실행 명령은 아래 환경변수를 반드시 포함**한다:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
TFX_NO_CLAUDE_NATIVE=1 bash ~/.claude/scripts/tfx-route.sh {agent} '{prompt}' {mcp_profile}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### 역할 치환 (자동)
|
|
45
|
+
|
|
46
|
+
`TFX_NO_CLAUDE_NATIVE=1`일 때:
|
|
47
|
+
|
|
48
|
+
- `explore` -> Codex `fast`
|
|
49
|
+
- `verifier` -> Codex `thorough review`
|
|
50
|
+
- `test-engineer` -> Codex `high`
|
|
51
|
+
- `qa-tester` -> Codex `thorough review`
|
|
52
|
+
|
|
53
|
+
## 트리아지 기준
|
|
54
|
+
|
|
55
|
+
- `codex`: 코드 구현/수정/분석/리뷰/디버깅/테스트/검증/리서치
|
|
56
|
+
- `gemini`: 문서/UI/디자인/멀티모달
|
|
57
|
+
|
|
58
|
+
Claude 타입 반환은 기본적으로 허용하지 않는다.
|
|
59
|
+
분류 결과에 `claude`가 포함되면 `codex`로 치환 후 분해를 진행한다.
|
|
60
|
+
단, Codex CLI 미설치 환경에서는 실행 안전성을 위해 `claude-native` fallback이 유지될 수 있다.
|
|
61
|
+
|
|
62
|
+
## 권장 프로필
|
|
63
|
+
|
|
64
|
+
- 설계/계획/비판적 검토: `xhigh`
|
|
65
|
+
- 일반 구현/수정: `high`
|
|
66
|
+
- 리뷰: `thorough`
|
|
67
|
+
- 빠른 탐색: `fast`
|
|
68
|
+
|
|
69
|
+
## 의존성
|
|
70
|
+
|
|
71
|
+
- `~/.claude/scripts/tfx-route.sh` 최신 동기화 상태
|
|
72
|
+
- Codex CLI 설치
|
|
73
|
+
- Gemini CLI 설치 (UI/문서 경로 사용 시)
|
|
74
|
+
|
|
75
|
+
## Troubleshooting
|
|
76
|
+
|
|
77
|
+
1. `/tfx-doctor` — 진단
|
|
78
|
+
2. `/tfx-doctor --fix` — 자동 수정
|
|
79
|
+
3. `/tfx-doctor --reset` — 캐시 초기화
|