交付完整 Base16/Base24 主题系统#664
Open
RiriAgent wants to merge 71 commits into
Open
Conversation
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…inventory 生成带精确源码跨度的颜色静态清单
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
建立可重复执行的颜色审计场景目录
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-provenance 绑定颜色源码位置与运行时渲染目标
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…ght-evidence 生成 Playwright 主题颜色证据包
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…ions 标注颜色 occurrence 的截图目标
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…ions 修正非 CSS 变量颜色标注
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…ations 修复大面积颜色表面的整页标注
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…lysis 分类未激活颜色 occurrence
…or-audit 撤销错误方向的主题颜色审计实现
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…inventory 重建确定性的颜色 occurrence 静态清单
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…nner 修正 non-variable runtime winner 证明
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
修正 evidence writer schema 漂移
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
建立 Base16/Base24 文件主题核心
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…licy 统一市场、状态与风险颜色策略
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…echeck 修复生成器真实 E2E 类型检查
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
统一 xterm 主题并支持无损热切换
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…s-flow 完成外观设置生成与跨表面预览
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…id-stability 收口迁移后的主题色 residual 合同
|
@RiriAgent is attempting to deploy a commit to the luokerenx4's Team Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
当前唯一失败检查 |
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.
Closes #584
摘要
引入完整 Base16/Base24 主题系统:文件状态与导入、Matugen/Hellwal 图片生成、前端与首帧 token、xterm.js、图表/市场/关键状态策略,以及设置页的预览、保存、应用和删除流程。迁移审计保留 276 条历史 reviewed decision contract,并对迁移后的 56 项 residual 做逐 occurrence 分类与 48/48 浏览器运行证据。
意图
这是 fork umbrella mouriya-s-lab/OpenAlice#13 指定的唯一上游实现 PR,base 为
TraderAlice/OpenAlice:dev,head 为mouriya-s-lab:integration/base16-theme-system。fork 集成验收 #20 在本 PR 合并前保持 open。交付索引
e9318e43647f61b3f2070cc0fc59610f9144b857:276 occurrence 审计与迁移合同;修正 PR #55、#56、#58、#60、#62。变更预演(Layer 1)
不适用——纯代码、文件状态 migration、审计合同与 UI 变更;没有基础设施 apply。
落地核对(Layer 2)
npx tsc --noEmit与cd ui && npx tsc -b:exit 0。GIT_CONFIG_GLOBAL=/dev/null NODE_OPTIONS=--no-experimental-webstorage pnpm test:342 passed / 1 skipped files;3353 passed / 8 skipped tests。pnpm build:15/15 workspace builds 与 root DTS build 成功。pnpm audit:theme-colors:assert-no-audit-runtime:production assets 不含 audit hooks。这些结果证明类型、单测、构建、历史迁移合同和当前 residual 合同同时闭合;本机 Node 26 默认 experimental webstorage 与全局
core.hooksPath会污染测试沙箱,因此验证命令显式隔离二者。启动 / 运行时顺序(Layer 3)
OPENALICE_THEME_GENERATORS_LIVE=1 pnpm exec vitest run --config vitest.e2e.config.ts src/core/themes/generators/service.live.e2e.spec.ts:3/3,实际 Matugen4.1.0与 Hellwal1.0.7。CSC_IDENTITY_AUTO_DISCOVERY=false pnpm electron:smoke:workspace:unsigned packaged app 完整通过;Workspace CLI/PTY contract 全部为 true,managed Pi side effect 成功,主题 seed → apply → restart 三阶段全部通过并自动清理 package。packaged smoke 观察到 GUI PATH、真实 PTY、CLI manifests、managed Pi、文件持久化、首帧 token 和重启恢复均走 packaged Electron 路径;没有读取签名或公证 secret。
端到端业务行为(Layer 4)
GIT_CONFIG_GLOBAL=/dev/null NODE_OPTIONS=--no-experimental-webstorage pnpm test:e2e:8 passed / 2 skipped files;35 passed / 14 skipped tests。正面路径覆盖内置/导入/生成、light/dark、市场策略、图表、终端热切换与重启持久化;负面路径覆盖 stale detection、非法参数、取消、unsupported/failed generator、受引用主题删除保护与漏绑定 guard。
分析
观察结果满足 #584 的主题来源、生成器、前端、图表、终端、策略、持久化和失败路径要求,并保留从历史 276 条裁决到当前 56 条 residual 的可审查链。真实 generator 与 packaged Electron 都已运行,不以 fixture、mock-only 或开发服务器替代;若缺少这两层证据,GUI PATH、PTY、外部工具版本和重启首帧会成为未覆盖风险。