portal: 金钻宇宙换成星系图(three.js 懒加载)+ 推送前审查 + 总交接文档

Browse Source
- 门户「金钻宇宙」:删掉启动仪式 / 宇宙首屏晶体 / 盘符机架 / 读盘舱及其 CSS、图标;
  换成星系图(portal/assets/universe/,three.js r170 自托管于 assets/vendor/,第一次打开板块才下载)
  + 窗下世界线卡片;#0001 深链飞到对应世界线;世界线数据只留 config.js 一份
- 像素字子集重做(旧字全保留 + 新字);其余板块与改动前逐像素一致
- 后端审查:add_call 写库失败不再打断渲染机回传;多进程同时首启只导入一次(+1 条测试,共 38);
  撤销「处理过了」清掉 handled_at
- 交接文档-2026-10.md:变更清单 / 功能增删 / 接口与数据格式变更 / 设计规范 / 业务逻辑 / 部署运维
- 交付清单哈希重算;README、旧交接说明指路

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
yws
2026-10-05 17:31:36 +00:00
co-authored by Claude Opus 5.5
parent 3ae940d828
commit 09b229deee
19 changed files with 1444 additions and 1355 deletions
+4
View File
@@ -318,6 +318,10 @@ class Store(object):
return default return default
now = time.time() now = time.time()
with self.tx() as c: with self.tx() as c:
# 服务器和 admin.py 同时第一次启动时,两边都会走到这里:BEGIN IMMEDIATE 让它们排队,
# 后进来的那个在事务里再看一眼,导过了就不再导(不然呼叫记录会导两份)
if c.execute("SELECT 1 FROM schema_info WHERE k='imported'").fetchone():
return None
for k, rec in (jl(os.path.join(R, "codes.json"), {}) or {}).items(): for k, rec in (jl(os.path.join(R, "codes.json"), {}) or {}).items():
if isinstance(rec, dict): if isinstance(rec, dict):
c.execute("INSERT OR IGNORE INTO codes (code, state, order_id, batch, platform, gift, data, updated)" c.execute("INSERT OR IGNORE INTO codes (code, state, order_id, batch, platform, gift, data, updated)"