Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Cascade routing core: two-model user selection + escalate-on-gate-failure flow

未关闭
#1,138 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
cli, tooling

调研方向

从父 issue #1134 和 verification-gate 子任务开始,然后追踪配置 schema、CLI flags、交互式 picker、session-start validation 以及 TUI/status-line 入口点。为配置验证、gate 失败后的升级、通过后不升级以及无人值守尝试次数添加测试;完成的标准是验证用户选择的 provider,并展示每个 routing 决策。

由索引模型根据 Issue 内容生成。

描述

Parent: #1134

Implement the routing core:

  • Config schema: route.mode: "cascade", route.primary: "<provider/model>", route.escalation: "<provider/model>", route.primary_attempts (default 1 interactive, 3 unattended).
  • Both models are USER-SELECTED (config file, CLI flags, and interactive picker); validate both are configured providers at session start; clear error if not.
  • Flow: run task on primary → on verification-gate failure (see gate subtask) escalate: restart the task on the escalation model, carrying the task prompt and a compact failure summary (what the gate rejected), NOT the full failed transcript.
  • Session UX: routing decisions surfaced in the TUI/status line ("primary: X", "escalated to Y: build failed"), never silent.
  • Tests: config validation, escalate-on-failure, no-escalate-on-pass, unattended attempt count.
主要语言
TypeScript
星标
815
派生
135
平均合并
1 天 12 小时
30 天内合并 PR
53

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AltimateAI/altimate-code 的其他 Issue

查看 AltimateAI/altimate-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。