Skip to content

交付完整 Base16/Base24 主题系统#664

Open
RiriAgent wants to merge 71 commits into
TraderAlice:devfrom
mouriya-s-lab:integration/base16-theme-system
Open

交付完整 Base16/Base24 主题系统#664
RiriAgent wants to merge 71 commits into
TraderAlice:devfrom
mouriya-s-lab:integration/base16-theme-system

Conversation

@RiriAgent

Copy link
Copy Markdown

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。

交付索引

  • #14 / PR #63:Base16/Base24 核心、导入与文件状态。
  • #22 / PR #64:内置与导入主题管理、基础渲染。
  • #21 / integration commit e9318e43647f61b3f2070cc0fc59610f9144b857:276 occurrence 审计与迁移合同;修正 PR #55#56#58#60#62
  • #16 / PR #65:前端语义 token 与首帧。
  • #18 / PR #66:图表、市场方向与关键状态策略。
  • #15 / PR #67:Matugen/Hellwal 检测与生成;#68 / PR #69 修复 live lane 类型闭合。
  • #17 / PR #70:xterm 与 Workspace Terminal 主题。
  • #19 / PR #71:设置、隔离预览与完整用户流。
  • #72 / PR #73:迁移后 residual contract 与当前浏览器证据。

变更预演(Layer 1)

不适用——纯代码、文件状态 migration、审计合同与 UI 变更;没有基础设施 apply。

落地核对(Layer 2)

这些结果证明类型、单测、构建、历史迁移合同和当前 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,实际 Matugen 4.1.0 与 Hellwal 1.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。
  • 当前浏览器审计:298 runtime bindings 覆盖 48/48 inventory IDs;48 份独立 screenshot evidence 的 JPEG hash、label、bounds、pixels 全部通过;missing-target guard 会拒绝任何漏绑定 ID。
  • 设置页真实流程已执行生成 → preview → Save → Apply → reload → terminal referenced delete protection。

正面路径覆盖内置/导入/生成、light/dark、市场策略、图表、终端热切换与重启持久化;负面路径覆盖 stale detection、非法参数、取消、unsupported/failed generator、受引用主题删除保护与漏绑定 guard。

分析

观察结果满足 #584 的主题来源、生成器、前端、图表、终端、策略、持久化和失败路径要求,并保留从历史 276 条裁决到当前 56 条 residual 的可审查链。真实 generator 与 packaged Electron 都已运行,不以 fixture、mock-only 或开发服务器替代;若缺少这两层证据,GUI PATH、PTY、外部工具版本和重启首帧会成为未覆盖风险。

RiriAgent and others added 30 commits July 16, 2026 21:40
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>
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>
…olor-analysis"

This reverts commit a9133ad, reversing
changes made to fa68d06.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…le-annotations"

This reverts commit fa68d06, reversing
changes made to ff3b946.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-annotations"

This reverts commit ff3b946, reversing
changes made to d1143a8.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-annotations"

This reverts commit d1143a8, reversing
changes made to 14a6f4a.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-decisions"

This reverts commit 14a6f4a, reversing
changes made to a82bf82.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-playwright-evidence"

This reverts commit a82bf82, reversing
changes made to 5b256ad.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-runtime-provenance"

This reverts commit 5b256ad, reversing
changes made to 85f5707.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-scenarios"

This reverts commit 85f5707, reversing
changes made to bc8cc83.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…-static-inventory"

This reverts commit bc8cc83, reversing
changes made to a56700f.

Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…or-audit

撤销错误方向的主题颜色审计实现
Co-Authored-By: Mouriya-Emma <85676458+Mouriya-Emma@users.noreply.github.com>
…inventory

重建确定性的颜色 occurrence 静态清单
RiriAgent and others added 27 commits July 17, 2026 23:05
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>
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>
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 合同
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

@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.

@RiriAgent

Copy link
Copy Markdown
Author

当前唯一失败检查 Vercel 的返回是 Authorization required to deploy,目标为上游维护者所属的 luokerenx4’s Team;它没有执行项目 build/test。已从授权链接验证该路径要求 Vercel 团队成员登录授权,fork contributor 无法在代码侧修复。请上游维护者授权该 deployment,或按仓库策略忽略此非代码检查;完整本地 unit/build/E2E、真实 Matugen/Hellwal 与 unsigned packaged Electron 证据已列在 PR body。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant