Skip to content

[REQ-125][CODE] 修终端面板三处稿差:浅色主题深底、脚条环境/尺寸段、文件树过滤 .git #576

Closed

Description

@jinjunnn

Parent requirement: #538
V1 批1采集发现(2026-07-24,证据 docs/verification/2026-07-24-req125-session-visual/):

  • 负责 AC:AC2(终端/文件面板与稿一致)
  • 边界:①终端输出区浅色主题仍白底,违反 SW 稿「始终深底」合同(session-rail/terminal CSS);②终端脚条缺环境名+尺寸 mono 段(设计=运行状态+环境+尺寸);③文件树包含 .git 目录(稿不含,加隐藏目录过滤)
  • out-of-scope:PTY 提示符主机名化妆(采集侧处理)
  • 退出条件:三处与已批稿一致,双主题验证,测试绿

🤖 Generated with Claude Code

Activity

  1. self-assigned this
    on Jul 24, 2026
  2. jinjunnn commented on Jul 24, 2026

    @jinjunnn
    OwnerAuthor

    对抗审计(Codex,2026-07-24)Major-2 处置:环境段降范围除名。

    勘破:脚条「环境名」段真值 = 服务端 Pty.Info.command/cwd,但客户端 LocalPTY(packages/app/src/context/terminal.tsx)只同步 title、丢弃 command/cwd —— 生产路径今日无法显示环境段,补齐需客户端窄改(经 patch 通道),超出本票边界。

    本票(#576)交付范围收敛为:

    1. 终端输出区始终深底 —— 经上游 Terminal 的 theme palette 覆盖 prop(patch 通道)钉住 Ghostty 画布自绘背景,浅色主题下也深底;非 CSS 改父容器(后者只作容器兜底,首版 CSS-only 属假绿,已由真 EngineOutput 挂载断言取代)。
    2. 脚条尺寸段(cols×rows 持久值)。
    3. 文件树过滤隐藏(dot)目录(.git 等;含嵌套路径段 fail-closed)。

    环境段从本票 AC 除名,已拆独立窄票:#579([REQ-125][CODE] LocalPTY 同步 command/cwd 供终端脚条环境段,Parent #538)。

    🤖 Generated with Claude Code

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

Metadata

Metadata

Assignees

Labels

type:bugSomething is incorrect or regressed

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions