Skip to content

Commit 3529447

Browse files
committed
docs: distill channel routing source boundary
1 parent 5eff06b commit 3529447

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

  • .agents/skills

.agents/skills/gettokens-claude-code-account-list/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ description: GetTokens Claude Code 账号列表:Claude Channel Routing、Anthr
1313
- 它是 GetTokens relay 可供 Claude Code 使用的 Anthropic 格式 Channel Routing 工作台。
1414
- 总账号池只管理 Account Inventory;Claude Code 账号列表拥有 Claude 渠道顺序、渠道 route mode、渠道组状态、项目绑定、dry-run/explain 和 probe。
1515
- Claude 渠道配置不得通过全局 `UpdateAccountPriority` 表达;渠道顺序必须保存到 Claude channel config。
16+
- Claude runtime routing 的唯一主路径是 `channel-routing/config.json`;旧 `routing.strategy` 只保留作 relay / compatibility 边界,不再参与 Claude 候选排序、fallback 或 balanced 计数。balanced 模式应从 live-session tracker 读取活跃会话数,而不是从展示用 snapshot 反推。
1617
- 新 GetTokens route mode 只允许 `sequential / balanced / project`
1718
- `dedicated / prefer / ordered / weighted / canary` 只作为上游兼容输入,不进入 Claude 新 UI / Wails DTO / engine policy。
1819
- `exclude` 不是 route mode,只能作为请求级 deny 或 pool filter。

.agents/skills/gettokens-codex-account-list/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ description: GetTokens Codex 账号列表:Codex Channel Routing、账号请求
1111
- Codex 账号列表是 Codex Channel Routing 工作台,不是账号创建页,也不是总账号池。
1212
- 总账号池只管理 Account Inventory;Codex 账号列表拥有 Codex 渠道顺序、渠道 route mode、渠道组状态、项目绑定、dry-run/explain 和 probe。
1313
- Codex 渠道配置不得通过全局 `UpdateAccountPriority` 表达;渠道顺序必须保存到 Codex channel config。
14+
- Codex runtime routing 的唯一主路径是 `channel-routing/config.json`;旧 `routing.strategy` 只保留作 relay / compatibility 边界,不再参与 Codex 候选排序、fallback 或 balanced 计数。balanced 模式应从 live-session tracker 读取活跃会话数,而不是从展示用 snapshot 反推。
1415
- 新 GetTokens route mode 只允许 `sequential / balanced / project`
1516
- `dedicated / prefer / ordered / weighted / canary` 只作为上游兼容输入,不进入 Codex 新 UI / Wails DTO / engine policy。
1617
- `exclude` 不是 route mode,只能作为请求级 deny 或 pool filter。

.agents/skills/gettokens-domain-engineering/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ This skill unifies the technical rules for building, styling, and debugging GetT
119119
## 3.2 Codex Workspace & Local Config Surfaces
120120
- **Codex Binary**: For Codex CLI binary version/source management, use the dedicated `gettokens-codex-binary-management` skill. Keep it as an independent binary-management business; do not merge it into account pool, local apply, usage, session, or routing flows.
121121
- **Codex Account List / Channel Routing**: For Codex account request order, route probing, OAuth/auth-file model aliasing, openai-compatible model mappings, channel route mode, project bindings, and `#frame=codex&workspace=account-list`, use the dedicated `gettokens-codex-account-list` skill. In the Account Routing Engine rollout, Codex account list is the Codex Channel Routing workspace: channel order, route mode, channel group state, project bindings, dry-run/explain, and probe are Codex-owned channel config, not global account inventory priority.
122+
- **Channel Routing Source of Truth**: For Codex / Claude runtime routing, `~/.config/gettokens-data/channel-routing/config.json` is the main decision source. Treat sidecar `routing.strategy` in `~/.config/gettokens/config.yaml` as legacy relay/config compatibility only; it must not drive Codex / Claude candidate ordering once channel routing is configured. The CLIProxyAPI fork should install GetTokens channel routing as a pool-scope route policy before legacy selectors, and balanced mode should read active-session counts from the live-session tracker instead of a display snapshot.
122123
- **Codex Extensions**: For Codex Skills / MCP Servers, `[[skills.config]]`, `tk://github.com` / `tk://gitlab.com` skill sources, and `#frame=codex&workspace=skills|mcp-servers`, use the dedicated `gettokens-codex-extensions-management` skill. Keep source-accurate parsing, modal/list UI semantics, and cleanup split rules in that skill instead of expanding this general domain skill.
123124
- **Claude Code Workspace Parity**: When Claude Code adds a capability that corresponds to existing Codex workspace entries, keep the workspace granularity aligned with Codex unless Claude semantics clearly require a different information architecture.
124125
- If Codex exposes separate workspaces such as `#frame=codex&workspace=skills` and `#frame=codex&workspace=mcp-servers`, Claude should expose separate workspaces such as `#frame=claude&workspace=skills` and `#frame=claude&workspace=mcp-servers`, not a single merged page with internal tabs.

0 commit comments

Comments
 (0)