[ac#1322 设计稿] 沙箱下的两处如实告知 —— owner 2026-09-10 已批,增量帧并入活稿并铸锚 - #1329
Merged
Conversation
owner 2026-09-09 裁决终端配置降级走「如实披露」;多工作区决定书把「集合外目录一写就拒、失败只在工具输出里」 列为待披露面。本稿按 design-loop 只出这两个组件的增量帧: - 终端面板:脚条第三项「沙箱开启 · 你的部分终端配置可能不生效」(窄于 360px 只留四字,整句进悬停), 悬停层三句解释;空态多一行同义短句。只在沙箱真装上时出现,不可关闭。 - 工作区:顶栏状态胶囊之后一枚暖色「只读」胶囊,悬停 / 点击弹层给原因、出路、脚注、动作;新对话页 chip 加同色尾标。四态表:探针未答 / 可写 / 只读 / 未知 —— 只在被围住的引擎真写失败后出现。 - 帧外点名:「重新启动 Alpha」按钮是唯一超出「只呈现」的动作,owner 可划掉;本机无 frontend-design 技能,视觉以 2026-06-25 冷石墨方案为准。 - 台账 current/session-workspace/components.md 加两行(设计中),锚 #term-sandbox / #wtop-readonly。 门:docs 相对链接 10/10 exit 0;check_docs_contract.py --strict alpha-code PASS。生产代码零改动。 Refs #1322 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HE3Jmp5ZDzEvnCNhgCDreN
owner 2026-09-10 批准增量稿 `2026-09-10-req159-sandbox-disclosure/`(保留弹层里的 「重新启动 Alpha」按钮),按 `docs/design/README.md`「Adding a component to an existing page」第 4 步并入活稿并铸稳定锚: - `#term`:常态脚条加第三项「沙箱开启 · 你的部分终端配置可能不生效」;新锚 `#term-sandbox` 收下悬停层、窄右栏(320px)、空态三帧与四条帧外注记。该节既有的 「脚条 = 运行状态 + 环境 + 尺寸」「空态 = 一句 + 按钮」两条注记同步改成新形态, 否则活稿自己前后矛盾。 - `#wtopsec`:新锚 `#wtop-readonly` 收下只读胶囊、悬停 / 点击弹层、首页 / 新对话页 chip 两态、四态表与五条注记;「状态胶囊只有两态」那句补明只读是工作区状态, 所以另起一枚胶囊而不是第三态。 - `#contract` 加两行:终端脚条第三项(常驻 / 不可关闭 / `title` 承接整句 / 悬停层 非模态)、工作区只读状态(`role=status` / `aria-describedby` 指回胶囊 / 悬停与 点击都能开 / Esc 关)。中英文案表并入 `#wtop-readonly` 末尾,只此一处。 - `design.css` 补两组样式,命名跟本页既有前缀走(`.tm-sbx` / `.tm-tip` / `.tm-empty`, `.wtop .ro` / `.wpop` / `.wschip`),零新 token,frame 的 `sd-` 类不原样搬;空态与 弹层的按钮复用既有 `.btn-ghost`。 - 台账两行「设计定稿」填 2026-09-10、状态由「设计中」改「待实现」(该词是本仓台账 已声明的三活态之一);增量稿 frontmatter `status: proposed → accepted` 并在正文 开头留批准行。`frame.html` 一个字节未改,该目录自此冻结。 本机门(真实输出见 PR):`scripts/check-doc-links.py` exit 0(3 文件 / 20 条链接, 另跑反向用例证明它会红);docs 契约 checker alpha-code PASS(另跑反向用例); `scripts/north-star-guard.sh` exit 0;`html.parser` 数开闭:section 10/10、div 512/512、table 4/4、span 488/488 全平衡,两个锚各 1 处。 Refs #1322 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HE3Jmp5ZDzEvnCNhgCDreN
并入增量时只改了 #term 的近景脚条,#full「整页 · 右栏 = 终端」那一幅仍是旧的三项 (运行状态 · zsh · 尺寸)。同一份活稿里同一个组件出现两种形态,正是 current/ 退化成 考古层的起点,故就地补齐;该帧右栏 400px,与已批 A1 近景同宽,整句放得下。 判据:tm-foot 四处全部携带 tm-sbx(4/4);相对链接 10/10 rc=0;HTML 结构 section 10/10 div 512/512 span 490/490,无未闭合、无错嵌。 Refs #1322 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HE3Jmp5ZDzEvnCNhgCDreN
jinjunnn
force-pushed
the
design/1322-sandbox-disclosure
branch
from
September 10, 2026 03:26
5c2582e to
d70abdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这是什么
#1322(REQ-159 子票 4)含 UI,按标准设计稿批准才升 Ready。本 PR 只落设计增量(帧 + design.md + 台账两行),不含实现;批准后帧并入活稿#term/#wtopsec并铸锚,再切实现。帧:
docs/design/2026-09-10-req159-sandbox-disclosure/frame.html(浏览器打开;链接活稿的design.css,浅/深色可切)。两处告知(与上一稿的关系)
继承终端面板与顶栏的全部现行形态,取代无,新增:
动笔前实读(坐标在 design.md §2)
脚条今天 = 运行状态 · shell · 尺寸(
terminal-rail-panel.tsx:200-220);顶栏今天 = 项目胶囊 › 会话名 · 状态胶囊(session-workspace-shell.tsx:102-166);新对话页不走顶栏、只有 chip(alpha-new-session.tsx:153);活稿#term/#wtopsec与代码一致。要 owner 裁的两点
如实说明
frontend-design技能(~/.claude/skills/只有 7 个),视觉以仓内2026-06-25-cool-graphite-visual-system.md为准。main/deep-links.ts那个触发点只按票面点名,本轮未逐行复读(41 行)。门
docs 相对链接
✓ 10 relative link(s) resolve across 2 file(s)exit 0;check_docs_contract.py --strictalpha-code PASS。生产代码零改动,typecheck / 单测不涉及。Refs #1322
Refs #1286
🤖 Generated with Claude Code
https://claude.ai/code/session_01HE3Jmp5ZDzEvnCNhgCDreN