triflux 10.26.0 → 10.28.0

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.
Files changed (53) hide show
  1. package/README.ko.md +30 -25
  2. package/README.md +23 -19
  3. package/bin/triflux.mjs +327 -27
  4. package/config/mcp-registry.json +10 -6
  5. package/docs/assets/architecture.svg +211 -0
  6. package/docs/assets/consensus-flow.svg +125 -0
  7. package/docs/assets/deep-vs-light.svg +193 -0
  8. package/docs/assets/demo-dark.gif +0 -0
  9. package/docs/assets/demo-light.gif +0 -0
  10. package/docs/assets/demo-multi.gif +0 -0
  11. package/docs/assets/demo-psmux.gif +0 -0
  12. package/docs/assets/logo-dark.svg +29 -0
  13. package/docs/assets/logo-light.svg +29 -0
  14. package/docs/assets/social-preview.png +0 -0
  15. package/docs/assets/social-preview.svg +80 -0
  16. package/hub/lib/tfx-route-args.mjs +10 -3
  17. package/hub/team/claude-daemon-control.mjs +214 -0
  18. package/hub/team/claude-native-bridge.mjs +51 -73
  19. package/hub/team/daemon-pty-tmux-bridge.mjs +146 -0
  20. package/hub/team/headless.mjs +23 -42
  21. package/hub/team/interactive-native-launcher.mjs +88 -75
  22. package/hub/team/retry-state-machine.mjs +2 -2
  23. package/hub/team/swarm-hypervisor.mjs +35 -8
  24. package/hub/team/uds-orchestrator.mjs +348 -0
  25. package/hud/context-monitor.mjs +7 -2
  26. package/package.json +6 -3
  27. package/scripts/__tests__/mcp-gateway-health-check.test.mjs +53 -0
  28. package/scripts/__tests__/mcp-guard-engine-policy-sync.test.mjs +8 -8
  29. package/scripts/codex-gateway-preflight.mjs +82 -22
  30. package/scripts/codex-mcp-gateway-sync.mjs +65 -31
  31. package/scripts/completions/tfx.bash +47 -14
  32. package/scripts/completions/tfx.fish +50 -33
  33. package/scripts/completions/tfx.zsh +68 -43
  34. package/scripts/demo.mjs +15 -5
  35. package/scripts/lib/mcp-gateway-health-check.mjs +65 -0
  36. package/scripts/lib/mcp-guard-engine.mjs +52 -8
  37. package/scripts/mcp-gateway-config.mjs +13 -13
  38. package/scripts/mcp-gateway-ensure.mjs +27 -12
  39. package/scripts/mcp-gateway-integration-test.mjs +21 -15
  40. package/scripts/mcp-gateway-start.mjs +6 -3
  41. package/scripts/mcp-gateway-start.ps1 +3 -3
  42. package/scripts/mcp-gateway-verify.mjs +1 -1
  43. package/scripts/release/check-packages-mirror.mjs +5 -0
  44. package/scripts/session-stale-cleanup.mjs +31 -1
  45. package/scripts/sync-hub-mcp-settings.mjs +30 -14
  46. package/skills/tfx-setup/SKILL.md +4 -4
  47. package/tui/codex-profile.mjs +409 -0
  48. package/tui/core.mjs +266 -0
  49. package/tui/doctor.mjs +375 -0
  50. package/tui/gemini-profile.mjs +299 -0
  51. package/tui/monitor-data.mjs +152 -0
  52. package/tui/monitor.mjs +317 -0
  53. package/tui/setup.mjs +633 -0
package/README.ko.md CHANGED
@@ -8,19 +8,19 @@
8
8
  </picture>
9
9
  </p>
10
10
 
11
- <h3 align="center">Claude Code, Codex, Gemini를 위한 CLI-first 멀티 모델 오케스트레이션</h3>
11
+ <h3 align="center">Claude Code, Codex, Antigravity를 위한 CLI-first 멀티 모델 오케스트레이션</h3>
12
12
 
13
13
  <p align="center">
14
- 작업 라우팅, 에이전트 조율, 로컬/원격 팀 실행, Codex/Gemini/Claude 실행 경로를<br>
15
- 감사 가능한 guard 뒤에 묶는 하나의 front door입니다.
14
+ 작업 라우팅, 에이전트 조율, 로컬/원격 팀 실행, Codex/Antigravity/Claude 실행 경로를<br>
15
+ 감사 가능한 경로로 묶는 단일 진입점입니다.
16
16
  </p>
17
17
 
18
18
  <p align="center">
19
19
  <a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/v/triflux?style=flat-square&color=FFAF00&label=npm" alt="npm version"></a>
20
20
  <a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/dm/triflux?style=flat-square&color=F5C242" alt="npm downloads"></a>
21
21
  <a href="https://github.com/tellang/triflux/stargazers"><img src="https://img.shields.io/github/stars/tellang/triflux?style=flat-square&color=FFAF00" alt="GitHub stars"></a>
22
- <img src="https://img.shields.io/badge/skill_files-33-F5C242?style=flat-square" alt="33 skill files">
23
- <sub>deprecated 호환 alias 11개는 전면 표면이 아닙니다</sub>
22
+ <img src="https://img.shields.io/badge/skill_files-34-F5C242?style=flat-square" alt="34 skill files">
23
+ <sub>deprecated 호환 alias 11개는 전면 API가 아닙니다</sub>
24
24
  <img src="https://img.shields.io/badge/node-%3E%3D18-374151?style=flat-square" alt="Node >= 18">
25
25
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-374151?style=flat-square" alt="License: MIT"></a>
26
26
  </p>
@@ -42,9 +42,9 @@
42
42
 
43
43
  ## triflux란?
44
44
 
45
- triflux는 **Claude Code plugin + npm CLI**입니다. Claude, Codex, Gemini
46
- 오가며 AI 코딩 작업을 라우팅하되, 임의 셸 명령이나 오래된 skill alias가 제어면이
47
- 되지 않도록 현재 표면을 정리합니다.
45
+ triflux는 **Claude Code plugin + npm CLI**입니다. Claude, Codex, Antigravity
46
+ 오가며 AI 코딩 작업을 라우팅합니다. 임의 셸 명령이나 오래된 skill alias가
47
+ 제어 표면이 되지 않도록 현재 진입점을 좁혔습니다.
48
48
 
49
49
  현재 설계는 예전 README보다 단순합니다.
50
50
 
@@ -105,7 +105,7 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
105
105
  ```
106
106
 
107
107
  > deep, consensus, team, swarm 경로는 관련 CLI와 터미널 multiplexer가 필요합니다.
108
- > 먼저 `tfx doctor`를 실행하면 Codex/Gemini/Claude, psmux/tmux, Hub, MCP,
108
+ > 먼저 `tfx doctor`를 실행하면 Codex/Antigravity/Claude, psmux/tmux, Hub, MCP,
109
109
  > profile, stale skill 문제를 한 번에 확인할 수 있습니다.
110
110
 
111
111
  ---
@@ -120,26 +120,31 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
120
120
  | --- | --- |
121
121
  | `tfx setup` | scripts, HUD, hooks, MCP, profile 동기화. `--dry-run` 지원. |
122
122
  | `tfx doctor` | 설치 상태 진단/복구. `--fix`, `--reset`, `--diagnose`, `--json` 지원. |
123
+ | `tfx auto` | `tfx-auto` 라우팅 결정을 미리 확인. `--cli`, `--mode`, `--parallel`, `--json` 지원. |
123
124
  | `tfx mcp` | MCP registry 대상을 `list`, `sync`, `add`, `remove`. |
124
125
  | `tfx hub` | 로컬 MCP 메시지 버스 시작/중지/보장/상태 확인. |
125
- | `tfx list` | 설치된 package/user skill 목록. |
126
+ | `tfx list` | 설치된 package skill과 user skill 목록. |
126
127
  | `tfx handoff` | 현재 컨텍스트를 로컬/원격 이어받기 프롬프트로 직렬화. |
127
128
  | `tfx schema` | CLI와 Hub delegator schema 출력. |
129
+ | `tfx hooks` | hook orchestrator를 scan/diff/apply/restore/status로 관리. |
130
+ | `tfx tray` | tray/HUD 상태 프로세스 실행. `--attach`는 foreground 디버깅용. |
128
131
  | `tfx multi` | tmux/psmux + Hub 기반 로컬 multi-agent team 실행. |
129
132
  | `tfx swarm` | PRD 기반 worktree 격리 swarm의 plan/preflight/run/list. |
130
133
  | `tfx synapse` | swarm registry와 lease 상태 확인. |
131
- | `tfx codex-team` | Codex lead team mode 편의 wrapper. |
132
- | `tfx notion-read` | MCP client를 통해 Notion 페이지를 Markdown으로 변환. |
134
+ | `tfx review` | Codex 기반 git diff review 실행. |
135
+ | `tfx codex-team` | Codex lead team mode용 편의 wrapper. |
136
+ | `tfx notion-read` | MCP client로 Notion 페이지를 Markdown으로 변환. |
133
137
  | `tfx why` | 특정 경로의 마지막 커밋 intent trailer 조회. |
134
138
  | `tfx update` | 최신 stable/dev 패키지로 업데이트. |
139
+ | `tfx monitor` | 터미널 TUI monitor 실행. |
135
140
  | `tfx version` | 버전 정보 출력. |
136
- | `tfx-profile` | Codex/Gemini profile 관리용 편의 binary. |
141
+ | `tfx-profile` | Codex profile 관리용 편의 binary. |
137
142
 
138
143
  정확한 인자 계약은 `tfx schema <command>`로 확인합니다.
139
144
 
140
145
  ### Claude Code skill
141
146
 
142
- 패키지에는 **33개 skill 파일**이 들어 있습니다. 크게 나누면 다음과 같습니다.
147
+ 패키지에는 **34개 skill 파일**이 들어 있습니다. 크게 나누면 다음과 같습니다.
143
148
 
144
149
  - **표준 진입점**: `tfx-auto`, `tfx-remote`, `tfx-doctor`, `tfx-setup`,
145
150
  `tfx-profile`, `tfx-hub`, `tfx-hooks`, `tfx-ship`, `tfx-wt`.
@@ -150,7 +155,7 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
150
155
 
151
156
  ### 표준 플래그 맵
152
157
 
153
- 대부분의 옛 skill 이름은 이제 명시적인 `tfx-auto` 플래그로 표현할 수 있습니다.
158
+ 대부분의 옛 skill 이름은 `tfx-auto` 플래그로 표현할 수 있습니다.
154
159
 
155
160
  | 의도 | 표준 형태 |
156
161
  | --- | --- |
@@ -161,11 +166,11 @@ tfx codex-team "auth 리팩터링 + 테스트 추가"
161
166
  | debate 또는 panel 보고 | `/tfx-auto "작업" --mode consensus --shape debate|panel` |
162
167
  | 로컬 병렬 작업 | `/tfx-auto "작업" --parallel N --mode deep` 또는 shell `tfx multi ...` |
163
168
  | PRD/worktree swarm | `/tfx-auto "작업" --parallel swarm --mode consensus --isolation worktree` 또는 shell `tfx swarm ...` |
164
- | CLI lane 강제 | `/tfx-auto "작업" --cli codex|gemini|claude` |
169
+ | CLI lane 강제 | `/tfx-auto "작업" --cli codex|antigravity|claude` |
165
170
 
166
171
  ### 제어 표면의 경계
167
172
 
168
- triflux를 디버그하거나 확장할 때는 아래 표면을 나눠서 봐야 합니다.
173
+ triflux를 디버그하거나 확장할 때는 아래 경계를 분리해서 봐야 합니다.
169
174
 
170
175
  | 표면 | 기준 위치 | npm/plugin 포함 여부 |
171
176
  | --- | --- | --- |
@@ -208,7 +213,7 @@ triflux를 디버그하거나 확장할 때는 아래 표면을 나눠서 봐야
208
213
  /tfx-auto "마이그레이션 전략 리뷰" --mode consensus --shape panel
209
214
  ```
210
215
 
211
- 참여 lane은 설정된 Claude/Codex/Gemini입니다. 어떤 lane이 없으면 결과에 partial/degraded 상태가 드러나야 합니다.
216
+ 참여 lane은 설정된 Claude/Codex/Antigravity입니다. 어떤 lane이 없으면 결과에 partial/degraded 상태가 드러나야 합니다.
212
217
 
213
218
  ### 로컬 팀 또는 PRD swarm
214
219
 
@@ -256,8 +261,8 @@ tfx handoff --target remote --decision "README는 canonical 중심, alias는 doc
256
261
  graph TD
257
262
  User([User / Claude Code / shell]) --> Skills[Claude skills]
258
263
  User --> CLI[tfx CLI]
259
- Skills --> Auto[/tfx-auto]
260
- Skills --> Remote[/tfx-remote]
264
+ Skills --> Auto["/tfx-auto"]
265
+ Skills --> Remote["/tfx-remote"]
261
266
  CLI --> Hub[triflux Hub]
262
267
  CLI --> Team[tfx multi / swarm]
263
268
  Auto --> Route[tfx-route.sh + guards]
@@ -276,7 +281,7 @@ graph TD
276
281
  1. Claude Code prompt 또는 명시적 skill 호출.
277
282
  2. keyword/routing hook이 context를 추가하거나 skill을 고릅니다.
278
283
  3. `tfx-auto`가 intent를 mode, retry, parallelism, risk tier, 대상 CLI lane으로 정규화합니다.
279
- 4. `tfx-route.sh`, Hub worker, 또는 `tfx` CLI가 실제 Codex/Gemini/Claude 기반 작업을 실행합니다.
284
+ 4. `tfx-route.sh`, Hub worker, 또는 `tfx` CLI가 실제 Codex/Antigravity/Claude 기반 작업을 실행합니다.
280
285
  5. Hub가 team message, lease, retry, handoff, status surface를 기록합니다.
281
286
 
282
287
  ### Hub
@@ -303,7 +308,7 @@ triflux는 위험한 실행을 관리된 경로 뒤에 둡니다.
303
308
 
304
309
  ### Profile과 모델 라우팅
305
310
 
306
- Codex/Gemini profile은 `tfx-profile` 또는 `tfx setup`으로 관리합니다. 이미 profile이
311
+ Codex profile은 `tfx-profile`로 관리하고, Antigravity 및 legacy Gemini 호환 상태는 `tfx setup`/`tfx doctor`로 점검합니다. 이미 profile이
307
312
  소유한 model/effort 값을 launcher script에 중복 하드코딩하지 마세요.
308
313
 
309
314
  ---
@@ -332,7 +337,7 @@ tfx mcp remove context7
332
337
  ```
333
338
 
334
339
  registry가 관리 대상 MCP 설정의 source of truth입니다. Drift 디버깅이 아니라면
335
- Codex/Gemini/Claude MCP 파일을 직접 수정하지 마세요.
340
+ Codex/Antigravity/Claude MCP 파일을 직접 수정하지 마세요.
336
341
 
337
342
  ### State snapshot
338
343
 
@@ -350,7 +355,7 @@ npm run snapshot:all
350
355
  패키지 내용에 영향이 있는 저장소 변경은 ship 전에 release gate를 통과시킵니다.
351
356
 
352
357
  ```bash
353
- npm run gen:skill-docs
358
+ npm run lint:skills
354
359
  npm run gen:skill-manifest
355
360
  npm run release:check-sync
356
361
  npm run release:check-mirror
@@ -382,7 +387,7 @@ agent/launcher가 따라야 하는 더 엄격한 Windows/psmux 규칙은 `AGENTS
382
387
  | Hub token auth | 설정된 경우 Hub API에 로컬 bearer token 적용. |
383
388
  | Localhost binding | Hub 기본 bind는 `127.0.0.1`. |
384
389
  | MCP registry guard | 지원하지 않거나 stale한 MCP record를 관리형 HTTP entry로 교체. |
385
- | Headless guard | 비관리 Codex/Gemini headless 실행 경로 차단. |
390
+ | Headless guard | 비관리 Codex/Antigravity headless 실행 경로와 deprecated Gemini route 차단. |
386
391
  | Safety guard | psmux/SSH/WT 셸 민감 흐름 sanitizing. |
387
392
  | Consensus reporting | deep/consensus workflow는 degraded/disputed 결과를 명시해야 함. |
388
393
 
package/README.md CHANGED
@@ -8,18 +8,18 @@
8
8
  </picture>
9
9
  </p>
10
10
 
11
- <h3 align="center">CLI-first multi-model orchestration for Claude Code, Codex, and Gemini</h3>
11
+ <h3 align="center">CLI-first multi-model orchestration for Claude Code, Codex, and Antigravity</h3>
12
12
 
13
13
  <p align="center">
14
14
  One front door for routing work, coordinating agents, running local/remote teams,<br>
15
- and keeping Codex/Gemini/Claude execution behind auditable guards.
15
+ and keeping Codex/Antigravity/Claude execution behind auditable guards.
16
16
  </p>
17
17
 
18
18
  <p align="center">
19
19
  <a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/v/triflux?style=flat-square&color=FFAF00&label=npm" alt="npm version"></a>
20
20
  <a href="https://www.npmjs.com/package/triflux"><img src="https://img.shields.io/npm/dm/triflux?style=flat-square&color=F5C242" alt="npm downloads"></a>
21
21
  <a href="https://github.com/tellang/triflux/stargazers"><img src="https://img.shields.io/github/stars/tellang/triflux?style=flat-square&color=FFAF00" alt="GitHub stars"></a>
22
- <img src="https://img.shields.io/badge/skill_files-33-F5C242?style=flat-square" alt="33 skill files">
22
+ <img src="https://img.shields.io/badge/skill_files-34-F5C242?style=flat-square" alt="34 skill files">
23
23
  <sub>11 compatibility aliases are deprecated</sub>
24
24
  <img src="https://img.shields.io/badge/node-%3E%3D18-374151?style=flat-square" alt="Node >= 18">
25
25
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-374151?style=flat-square" alt="License: MIT"></a>
@@ -43,7 +43,7 @@
43
43
  ## What is triflux?
44
44
 
45
45
  triflux is a **Claude Code plugin + npm CLI** for routing AI coding work across
46
- Claude, Codex, and Gemini without letting ad-hoc shell commands or stale skill
46
+ Claude, Codex, and Antigravity without letting ad-hoc shell commands or stale skill
47
47
  aliases become the control plane.
48
48
 
49
49
  The current design is intentionally simpler than the old README implied:
@@ -111,7 +111,7 @@ tfx codex-team "refactor auth + add tests"
111
111
  ```
112
112
 
113
113
  > Deep, consensus, team, and swarm paths need the relevant CLIs and a terminal
114
- > multiplexer. Run `tfx doctor` first; it reports missing Codex/Gemini/Claude,
114
+ > multiplexer. Run `tfx doctor` first; it reports missing Codex/Antigravity/Claude,
115
115
  > psmux/tmux, Hub, MCP, profile, and stale-skill issues.
116
116
 
117
117
  ---
@@ -126,26 +126,31 @@ The `tfx` CLI currently exposes these primary commands:
126
126
  | --- | --- |
127
127
  | `tfx setup` | Sync scripts, HUD, hooks, MCP, and profiles. Supports `--dry-run`. |
128
128
  | `tfx doctor` | Diagnose and repair installation state. Supports `--fix`, `--reset`, `--diagnose`, `--json`. |
129
+ | `tfx auto` | Preview the `tfx-auto` routing decision. Supports `--cli`, `--mode`, `--parallel`, `--json`. |
129
130
  | `tfx mcp` | Manage MCP registry targets with `list`, `sync`, `add`, and `remove`. |
130
131
  | `tfx hub` | Start, stop, ensure, or inspect the local MCP message bus. |
131
132
  | `tfx list` | Show installed package and user skills. |
132
133
  | `tfx handoff` | Serialize the current context for local or remote continuation. |
133
134
  | `tfx schema` | Print CLI and Hub delegator schemas. |
135
+ | `tfx hooks` | Scan, diff, apply, restore, or inspect hook orchestrator state. |
136
+ | `tfx tray` | Start the tray/HUD status process; use `--attach` for foreground debugging. |
134
137
  | `tfx multi` | Launch local multi-agent team mode through tmux/psmux + Hub. |
135
138
  | `tfx swarm` | Plan, preflight, run, or list PRD-based worktree-isolated swarm work. |
136
139
  | `tfx synapse` | Inspect swarm registry and leases. |
140
+ | `tfx review` | Run Codex-backed git diff review. |
137
141
  | `tfx codex-team` | Codex-led team mode convenience wrapper. |
138
142
  | `tfx notion-read` | Convert Notion pages to Markdown through configured MCP clients. |
139
143
  | `tfx why` | Read intent trailers from the last commit touching a path. |
140
144
  | `tfx update` | Update to the latest stable or dev package. |
145
+ | `tfx monitor` | Open the terminal TUI monitor. |
141
146
  | `tfx version` | Print version information. |
142
- | `tfx-profile` | Convenience binary for interactive Codex/Gemini profile management. |
147
+ | `tfx-profile` | Convenience binary for interactive Codex profile management. |
143
148
 
144
149
  Run `tfx schema <command>` for the exact argument contract.
145
150
 
146
151
  ### Claude Code skills
147
152
 
148
- The package ships **33 skill files**. The important split is:
153
+ The package ships **34 skill files**. The important split is:
149
154
 
150
155
  - **Canonical entrypoints**: `tfx-auto`, `tfx-remote`, `tfx-doctor`,
151
156
  `tfx-setup`, `tfx-profile`, `tfx-hub`, `tfx-hooks`, `tfx-ship`, `tfx-wt`.
@@ -169,7 +174,7 @@ Most old skill names now map to explicit `tfx-auto` flags:
169
174
  | debate or panel report | `/tfx-auto "task" --mode consensus --shape debate|panel` |
170
175
  | local parallel work | `/tfx-auto "task" --parallel N --mode deep` or shell `tfx multi ...` |
171
176
  | PRD/worktree swarm | `/tfx-auto "task" --parallel swarm --mode consensus --isolation worktree` or shell `tfx swarm ...` |
172
- | force a CLI lane | `/tfx-auto "task" --cli codex|gemini|claude` |
177
+ | force a CLI lane | `/tfx-auto "task" --cli codex|antigravity|claude` |
173
178
 
174
179
  ### Control-plane boundaries
175
180
 
@@ -217,7 +222,7 @@ explicit. Use `--mode quick|deep|consensus` when you already know the mode.
217
222
  /tfx-auto "review the migration strategy" --mode consensus --shape panel
218
223
  ```
219
224
 
220
- Consensus participants are the configured Claude/Codex/Gemini lanes. If a lane is
225
+ Consensus participants are the configured Claude/Codex/Antigravity lanes. If a lane is
221
226
  unavailable, the result should report partial/degraded status instead of hiding it.
222
227
 
223
228
  ### Local team or PRD swarm
@@ -267,8 +272,8 @@ state without replaying the entire conversation.
267
272
  graph TD
268
273
  User([User / Claude Code / shell]) --> Skills[Claude skills]
269
274
  User --> CLI[tfx CLI]
270
- Skills --> Auto[/tfx-auto]
271
- Skills --> Remote[/tfx-remote]
275
+ Skills --> Auto["/tfx-auto"]
276
+ Skills --> Remote["/tfx-remote"]
272
277
  CLI --> Hub[triflux Hub]
273
278
  CLI --> Team[tfx multi / swarm]
274
279
  Auto --> Route[tfx-route.sh + guards]
@@ -288,7 +293,7 @@ The common routing path is:
288
293
  2. Keyword/routing hooks may add context or choose a skill.
289
294
  3. `tfx-auto` normalizes intent into mode, retry, parallelism, risk tier, and
290
295
  target CLI lane.
291
- 4. `tfx-route.sh`, Hub workers, or the `tfx` CLI execute the actual Codex/Gemini/
296
+ 4. `tfx-route.sh`, Hub workers, or the `tfx` CLI execute the actual Codex/Antigravity/
292
297
  Claude-backed work.
293
298
  5. Hub records team messages, leases, retries, handoffs, and status surfaces.
294
299
 
@@ -313,13 +318,13 @@ team, or MCP workflows allow localhost access if your environment requires it.
313
318
  triflux keeps risky execution behind managed routes:
314
319
 
315
320
  - CLI calls should flow through `tfx-route.sh`, Hub workers, or the `tfx` CLI.
316
- - Direct `codex exec` / `gemini -y` paths are guarded in the installed workflow.
321
+ - Direct `codex exec`, unmanaged `agy`, and deprecated `gemini` routes are guarded in the installed workflow.
317
322
  - psmux/Windows Terminal flows must use the managed API and documented rules, not
318
323
  ad-hoc `wt.exe` or `psmux send-keys` snippets.
319
324
 
320
325
  ### Profiles and model routing
321
326
 
322
- Use `tfx-profile` or `tfx setup` to manage Codex/Gemini profiles. Do not hardcode
327
+ Use `tfx-profile` for Codex profiles and `tfx setup`/`tfx doctor` for Antigravity plus legacy Gemini compatibility state. Do not hardcode
323
328
  model and effort flags in launcher scripts when a profile already owns them.
324
329
 
325
330
  ---
@@ -348,12 +353,11 @@ tfx mcp remove context7
348
353
  ```
349
354
 
350
355
  The registry is the source of truth for managed MCP targets. Avoid hand-editing
351
- Codex/Gemini/Claude MCP files unless you are intentionally debugging drift.
356
+ Codex/Antigravity/Claude MCP files unless you are intentionally debugging drift.
352
357
 
353
358
  ### State snapshots
354
359
 
355
- Hub startup can take best-effort daily snapshots of selected `~/.codex/` and
356
- `~/.gemini/` state into ignored `references/*-snapshots/` folders. Manual helpers:
360
+ Hub startup can take best-effort daily snapshots of selected `~/.codex/` and Antigravity/Gemini `~/.gemini/` state into ignored `references/*-snapshots/` folders. Manual helpers:
357
361
 
358
362
  ```bash
359
363
  npm run snapshot:codex
@@ -367,7 +371,7 @@ For repository changes that affect package contents, run the release gates befor
367
371
  shipping:
368
372
 
369
373
  ```bash
370
- npm run gen:skill-docs
374
+ npm run lint:skills
371
375
  npm run gen:skill-manifest
372
376
  npm run release:check-sync
373
377
  npm run release:check-mirror
@@ -399,7 +403,7 @@ rules used by agents and launch scripts.
399
403
  | Hub token auth | Local bearer token for Hub APIs where configured. |
400
404
  | Localhost binding | Hub defaults to `127.0.0.1`. |
401
405
  | MCP registry guard | Replaces unsupported or stale MCP records with managed HTTP entries. |
402
- | Headless guard | Blocks unmanaged Codex/Gemini headless execution paths. |
406
+ | Headless guard | Blocks unmanaged Codex/Antigravity headless execution paths and deprecated Gemini routes. |
403
407
  | Safety guard | Sanitizes shell-sensitive psmux/SSH/WT flows. |
404
408
  | Consensus reporting | Deep/consensus workflows should report degraded or disputed findings explicitly. |
405
409