Skip to content

[Grok/dsh 61] 旧版配置的显式导入 #193

Description

@Blackman99

Parent

#132

Ticket: 61

Status: ready-for-agent

User Stories: 6, 35, 65(见父规格)

What to build

旧版用户预览并选择导入提供商和偏好,迁移结果在新客户端生效,原配置保持原样。

Acceptance criteria

  • 识别当前 dsh 提供商挂载、默认模型和偏好各自来源,不沿用过时文档中的混淆位置。
  • 导入前列出转换、冲突和不支持项;不自动复制官方令牌、密钥或授予原信任/执行权限。
  • 新旧数据目录完全隔离,反复导入、失败中断和取消不破坏源文件或已有新设置。
  • 实际启动新旧两版验证路由与回退,模型必要凭据由明确授权配置,双语迁移说明随票交付。

Blocked by

Delivery contract

用户于2026-09-20批准当前测试与任务拆分。按父规格的已安装产物/真实终端和公开协议测试验收;实际实现须带适用的文档、Changeset及必要检查。ready-for-agent表示任务已定义,不表示前置任务已完成,也不授权自动开始本轮实施、购买付费资源或发布软件版本。

Activity

  1. Blackman99 commented on Sep 22, 2026

    @Blackman99
    OwnerAuthor

    按用户2026-09-20的实施授权领取 Ticket61 / #193;本次只记录领取,未启动实施工作者,也不表示已实现。已重新读取 #132 及全部80票正文/评论和实际 blocked-by(native 177 边)。#133–#141、#149、#160、#161 已在 rewrite/grok-dsh-20260920 集成并关闭(COMPLETED),隔离集成 HEAD/origin 均为 2232130e9ce287aa85bc3270bb3383ab079e4efd。当前独立就绪票为 #142、#150、#152、#153、#154、#165、#189、#193。#142/#150/#152/#153 仍有未核销领取且本波按记录失败延后,不重试、不重领、不覆盖其现有领取评论。本波并行领取剩余四张独立就绪票 #154、#165、#189、#193。未领取任何被阻塞后继(含 #194),也未领取 #212。

    实施必须从独立集成树精确基线 2232130e9ce287aa85bc3270bb3383ab079e4efd 开始。前置 #140 与 #141 已关闭,同一提交已保留在 rewrite/grok-dsh-20260920;集成证据见 #140 (comment) 与 #141 (comment) 。#160/#141/#161/#140/#139/#138/#137/#136/#135/#134/#133 仍为已集成关闭基线 #160 (comment) 、#141 (comment) 、#161 (comment) 、#140 (comment) 、#139 (comment) 、#138 (comment) 、#137 (comment) 、#136 (comment) 、#135 (comment) 、#134 (comment) 与 https://github.com/Blackman99/codsh/issues/133#issuecomment-5746720505。

    范围按原验收:旧版配置的显式导入识别当前 dsh 提供商挂载、默认模型和偏好各自来源;导入前列出转换、冲突和不支持项,不自动复制官方令牌、密钥或授予原信任/执行权限;新旧数据目录完全隔离,反复导入、失败中断和取消不破坏源文件或已有新设置;实际启动新旧两版验证路由与回退,模型必要凭据由明确授权配置,双语迁移说明随票交付。不读取个人凭据或私有会话。后续实施/审查子代理使用 My CPA - Grok 4.6(grk-4.6)。仅在实施、独立审查和集成验收通过后关闭。main、现有未跟踪文件及其他工作树不改动;不授权付费资源,#212仍须新的明确最终发布/默认切换批准。

  2. self-assigned this
    on Sep 22, 2026
  3. Blackman99 commented on Sep 22, 2026

    @Blackman99
    OwnerAuthor

    Integrated on rewrite/grok-dsh-20260920 at 1c77a8ae7d7d9e6fe1214e403ba54769ecac6613.

    Cherry-picked worker range ded38373be19ef1685bded31ae48e49647f69280..63688578af5ad5c386ea740a280ea8191a3cd14c (worker HEAD verified after git fetch --no-tags) as:

    • a3237f362539ad4f6d338696e57a3feb71d54ff1 feat(rust): add explicit legacy dsh config import
    • 417306d9d111eec16d9edcfd0e649d84220d5c85 feat(rust): add explicit legacy dsh config import
    • 1c77a8ae7d7d9e6fe1214e403ba54769ecac6613 fix(rust): import the named legacy model without flattening settings

    Combined-tree checks in the integration worktree:

    • pnpm run typecheck: exit 0
    • cargo fmt --manifest-path rust/Cargo.toml -- --check: exit 0
    • cargo clippy --manifest-path rust/Cargo.toml --locked --offline --all-targets -- -D warnings: exit 0
    • cargo test --manifest-path rust/Cargo.toml --locked --offline --workspace -- --test-threads=8: 127 + 61 + 2 + 379 passed
    • pnpm run build:rust: staged gitignored packages/cli/native/darwin-arm64 (needed so help/PTY hit this source)
    • TMPDIR=/tmp pnpm test: 80 files, 2246 passed
    • TMPDIR=/tmp python3 scripts/rust-import-pty-test.py: PASS, evidence /tmp/codsh-rust-import-7dv0h6wq

    Pushed ded3837..1c77a8a to origin/rewrite/grok-dsh-20260920 (no force). Spec #132 and descendants stay open. Linux/Windows PTY not run here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions