总工 and multica-agent
fa82b8621e
feat(HEL-566): 去掉主站行情管理入口并修好模型列表收起
...
主站行情管理并入数据中枢
- 数据中枢数据源配置页新增「主站行情任务」卡:交易时段后台刷新开关、
手动后台刷新、历史区间回补(任务提交 + 轮询主站 job 记录亮灯),
数据与调度仍归主站,控制台只经桥接代操作
- 新增桥接端点 /api/hub-admin/market/{refresh,backfill};回补改为
market.backfill 后台任务(jobs.config.json 注册,锁独立,超时 30 分钟),
桥接调用秒回,不再阻塞
- 主站桌面端删除顶栏「行情管理」按钮与整个行情管理对话框,清理随之
失效的 CSS;移动端删除 system/admin 页与入口,管理员专区只留数据中枢
- Tushare Token / iFinD 凭证编辑沿用数据源页既有凭证区,无功能缺失
模型池收起修复
- 拉出模型清单后按钮切换为「收起列表」,收起只留一行摘要;再次点击
重新拉取并展开;勾选添加完成后清单自动收起(原逻辑保留)
- 交互全部沿用 HEL-558 已确认样式的既有按钮与提示组件,未新增视觉
自测
- verify_baseline 通过;pytest 492 项通过;数据中枢 240 项通过
- verify_datahub_console 新增 [11b] 行情任务桥接端到端段;UI 自测新增
行情任务卡开关往返、模型清单展开/收起/再展开/添加自动收起,日夜主题
与 1030 窄屏复验通过
- Playwright e2e 102/103:唯一失败项在基线提交上同样失败(本机字体度量
导致的头部溢出,与本卡无关)
Co-authored-by: multica-agent <github@multica.ai >
2026-09-16 17:24:05 +08:00
施工员 and multica-agent
a4dbe2bcf8
fix(HEL-564): 数据中枢入口固定内网 IP,不再按主机名推导
...
- 主站桌面端/移动端「数据中枢」入口固定 http://192.168.200.11:8766/admin/
(XIAOBAI_DATAHUB_URL 仍可覆盖):域名只反代 8765,推导出的 <域名>:8766 打不开,
同时避免数据中枢被外网摸到
- 中枢 _review_url 不再从 Host 头推导,统一取 REVIEW_PUBLIC_URL,
默认 http://192.168.200.11:8765;compose 与 .env.example 示例值同步
- 补回归测试:Host 为域名且未配 REVIEW_PUBLIC_URL 时登录链接仍为固定内网地址
- 文档写明 Cookie 按门牌区分的边界与部署说明
Co-authored-by: multica-agent <github@multica.ai >
2026-09-16 15:23:45 +08:00
施工员 and multica-agent
b402b3b2a8
fix(HEL-560): 问天冻结区不再被陈旧样式清理波及
...
上一提交为过 CSS 门禁删掉了 heaven/foundation.css 里一条已无人引用的 .model.on,
但问天是冻结区,不该为了门禁变绿去动它。改为把冻结样式表从"每条选择器都要有
运行时消费者"这一项里排除,文件本身恢复原样;其余门禁照常覆盖问天。
Co-authored-by: multica-agent <github@multica.ai >
2026-09-16 11:47:13 +08:00
施工员 and multica-agent
3eaa36a8d5
feat(HEL-560): 数据中枢接管数据源/模型池/会员,注册改一次性邀请码
...
主站
- 新增 m0006 invite_codes 迁移;注册强制邀请码(首个管理员除外),消码与建号
同一事务,并发提交只有一个能成功
- 新增 /api/hub-admin/* 服务端点(共享 HUB_ADMIN_TOKEN,先于鉴权校验),供数据
中枢桥接读写会话/密码/模型池/会员/邀请码,并提供供应商模型列表拉取
- 前端:注册表单加邀请码(桌面 login、index.html、移动端);「系统管理」改为
「数据中枢」入口指向 8766,原模型池与会员管理分区移除,仅留「行情管理」;
随之清理陈旧 CSS
数据中枢
- 取消独立账号:删除 hub_admin/hub_sessions 与登录、改密、锁定逻辑,改为校验
主站 xiaobai_session,仅管理员可进,CSRF 由会话派生,危险操作二次确认走主站
- 控制台新增数据源凭证可编辑区(原有内容一项不删)、供应商制模型池(自动拉取
/models,失败退回卡内手动录入)、会员管理与邀请码页
- 日夜双主题:颜色收敛为同名 token 换值,SVG 改用 inline style 以吃到变量
自测
- 主站 verify_baseline 通过(498 项);数据中枢 235 项通过
- tools/verify_datahub_console.py 端到端跑通两服务真实对话;
tools/verify_datahub_console_ui.py 浏览器跑通门禁/凭证/模型池/会员/主题/1030 窄屏
Co-authored-by: multica-agent <github@multica.ai >
2026-09-16 11:44:09 +08:00
4a90c32fcc
feat(HEL-524): 板块轮动落地 B 五彩版,侧栏/品牌去独立底色
...
- 新增 5 档强度色 token(日/夜两套,含渐变填充与光晕 alpha),tokens.css
- 板块轮动卡片改为 heat-tier-1..5,固定阈值 <65/65-74/75-84/85-94/95+
映射青/蓝/紫/橙/红,9 个日期列共用同一套映射,与涨跌无关
- 悬停/选中/追踪三态用 --tier-* 局部变量统一驱动,选中态(当次点击格)
用渐变实色+2px 亮边+光晕,追踪态(其余同名格)保留档位底色+2px 描边
+圆点标记,不新增业务状态;修复 hover 规则与 selected 同优先级导致
悬停会覆盖选中/追踪样式的层叠顺序问题(:hover 增加 :not(.selected))
- 图例改为 5 档 + “颜色=强度档位,与涨跌无关” 说明,禁止对普通卡使用绿色
- 侧栏/品牌区去掉独立色块:.module-nav 融入页面 --canvas,
品牌区与顶栏同层(--header-bg),收起侧栏整行透明;仅作用于
非移动端且非「问天」路由,问天页面零改动
- 清理死代码:未生效的 .selected 旧规则与引用未定义变量的
--rotation-heat 声明
- 更新 e2e 断言以匹配新 tier 类名;重新生成 architecture-inventory.json
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-10 21:10:14 +08:00
955785b9fd
fix(HEL-509): 四处已通过界面限域修补
...
- 情绪周期: 移除暗色模式下标题栏多余的背景色块,与其他页面一致
- 智能选股: 阶段选股/策略选股/自定义选股改为3个独立圆角按钮(复用control-surface/radius-md等token);修复策略选股面板模块零间距穿模问题
- 问师: 顶部补齐与其他页面一致的留白,联系人列表/搜索/聊天区/输入区结构不变
- 系统配置: 复核后确认已在早期B-147阶段完成token化统一,未发现需改动项
同步重建 config/architecture-inventory.json 清单。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-10 10:19:49 +08:00
总管 and multica-agent
88411efa1c
fix(HEL-356): complete Shenwan industry signal
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 17:59:58 +08:00
总管 and multica-agent
c3881af708
fix(HEL-356): preserve derived limit streaks
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 17:24:49 +08:00
总管 and multica-agent
5f343a6bae
fix(HEL-356): restore intraday turnover context
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 11:41:44 +08:00
总管 and multica-agent
cb45d742da
fix(HEL-356): use completed history for intraday metrics
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 11:29:52 +08:00
总管 and multica-agent
b640e77264
fix(HEL-356): harden realtime quote completeness
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 11:15:56 +08:00
总管 and multica-agent
c9e2d30780
fix(HEL-494): enforce datahub as sole website market boundary
...
Co-authored-by: multica-agent <github@multica.ai >
2026-09-09 00:22:27 +08:00
8a7d1f3698
fix(HEL-494): 网站市场客户端改为纯中枢 Facade,并迁移 iFinD 凭据到中枢
...
生产 gateway 不再读取 Tushare token 或实例化 TushareProvider/TushareClient;问财凭据经带鉴权的中枢接口加密入库,避免发版后 iFinD 未配置。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 23:37:53 +08:00
100752f43c
fix(HEL-494): 切断网站生产装配外源直连,iFinD 与实时观察改走中枢
...
生产 gateway 不再实例化 iFinD、东财图和免费实时聚合器;问财与竞价快照作为中枢内部数据源。全站阻断外源测试覆盖日K、报价、图表、问财和竞价快照。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 22:41:51 +08:00
0b8419abca
fix(HEL-494): 数据中枢独占调度,主网站不再回退旧接口
...
主网站只向中枢要业务数据;来源选择、切源、补数全部在中枢内部完成,失败不再走东财/腾讯/Tushare 保底。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 21:43:31 +08:00
ef13d6feb5
fix(HEL-494): 盘中双免费源故障切换并禁止问天假0覆盖
...
主源东财失败后自动改走腾讯行情,成功结果写入缓存;两源都失败时返回最近真实快照并标明延迟,不再显示假0。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 17:38:38 +08:00
b5d65ecb41
fix(HEL-494): 日K默认45根并修复问天行业0/205覆盖
...
悬浮窗和详情页只画最近45个交易日,中枢仍保留250日历史。盘后缺sw_daily时保留成分日线内核,外显走免费申万;成分行情改为全市场快照+分页,不再截成前60只。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 17:00:01 +08:00
3e828b346c
fix(HEL-494): 修复个股缺失指标、问天遮罩、四爻外显并回补250日K
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 16:26:13 +08:00
1c2f2ac057
feat(HEL-490): 剩余行情改由数据中枢主线路提供
...
正式页面以 8766 为主线路,旧接口只作故障备用;compose 钉死全部 DATAHUB_READ_*,避免现网残留 0 造成假完成。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 12:03:30 +08:00
5d3465987d
fix(HEL-488): 盘中日K补上今天实时变化的一根
...
悬浮窗和详情页在 Tushare rt_k / iFinD 不可用时,改用免费实时行情或当日分时生成今日K,收盘后正式日K就绪再无缝替换。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 11:18:21 +08:00
dd89a09643
fix(HEL-487): 盘中当天看板在 rt_k 无权限时降级到免费实时源
...
rt_k 失败、无权限、超时或空结果时改用东财全市场快照,再失败则用腾讯批量行情;两者都失败仍不退回昨天。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 10:52:10 +08:00
a043bc9eb1
fix(HEL-485): 盘中选择当天不再整页退回昨天
...
交易时段缺少盘后正式数据时继续展示当天盘中行情,只有开盘前、周末和历史日期才沿用最近收盘结果。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-08 10:16:52 +08:00
605f97e5df
feat(HEL-463): 接入剩余行情数据到 datahub
...
扩展盘后正式集(涨跌停/人气/龙虎榜/板块日线)与盘中观察 API(报价/指数/分时),网站 bridge 按开关接入并回退旧链路;问天改为按数据依赖跟随开关,不再整栈强制旧路径。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-05 17:30:58 +08:00
5085cacf0d
fix(HEL-412): 刷新降级不再整次失败,并补齐准备中提示
...
手动刷新与自动补跑共用可用数据判定:日线推算或上一交易日快照记为部分/准备中成功,避免前端误报刷新失败。HTTP JSON 解析错误不再把请求正文写入日志。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-02 18:08:40 +08:00
0d13066386
feat(HEL-402): 接通网站首批只读 datahub 并建立双路对比
...
默认全部读取/影子开关关闭,网站继续走旧 Tushare 链路;开启单项时只替换该类原料并在失败时回旧,问天保持旧路径。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-09-02 17:09:28 +08:00
d2a165ada8
fix(HEL-243): 当前账号可点击返回,避免切换死路
...
当前账号行原先只显示对号、不可点击,单账号时只能关网页。现改为整行继续使用且不重新签发会话,并带回切换前的业务页。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-29 20:44:18 +08:00
aef8a059f2
fix(HEL-240): 去掉登录页底部状态栏缺口
...
登录页覆盖全局 body 底边距,让左栏品牌面板铺满视口高度。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-29 20:04:22 +08:00
f905b44675
feat(HEL-240): 按确认样图还原桌面登录页左右骨架
...
把登录门户改回确认稿的品牌行、中下部主标题、底部行情标签和 K 线背景,并让超宽屏按比例展开左栏。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-29 19:21:13 +08:00
总工 and multica-agent
34cb32d78f
恢复集成(HEL-237): 以完整基线 89b8d33 为底合入登录线 cefc869
...
事故根因:HEL-214/221/226/233 均直接基于 main(8a5e78f ) 构建部署,
绕过了 .11 正式线(HEL-183/188/190/191/192/193/199/207/208 + HEL-164
共 14 个已验收提交),导致问天工具行右对齐、侧栏等高、管理员刷新
结果、快照补档、收盘日线修复等整体丢失。
本合并以 deploy 前最后完整基线 89b8d33(镜像 official-limit-guard-d9ee725)
为底,合入 cefc869(HEL-221 情绪周期等高、HEL-226 登录门户与免密切换、
HEL-233 移动端系统管理五页),三处 CSS 缓存版本统一刷新为 20260829-hel237,
architecture-inventory 按合并后源码重新生成。
Co-authored-by: multica-agent <github@multica.ai >
2026-08-29 15:51:48 +08:00
f0a1adf52f
施工(HEL-226): 实现登录门户与本机免密切换账号
...
用设备 Cookie 和授权表记住本机已验证账号,登录页按确认样图做成门户,不再把密码写进浏览器。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-29 11:24:39 +08:00
总管 and multica-agent
d9ee725744
fix(HEL-164): 拒绝缓存不完整涨停快照
...
Co-authored-by: multica-agent <github@multica.ai >
2026-08-28 09:44:51 +00:00
总管 and multica-agent
1cb2745867
feat(HEL-164): 显示管理员刷新实际结果
...
Co-authored-by: multica-agent <github@multica.ai >
2026-08-28 09:29:06 +00:00
总管 and multica-agent
f27471238a
fix(HEL-164): 撤回盘后刷新改动并恢复原逻辑
...
Co-authored-by: multica-agent <github@multica.ai >
2026-08-28 09:05:42 +00:00
总工 and multica-agent
6d7a839202
chore(HEL-208): 刷新 architecture-inventory 以对齐 HEL-207 行情改动
...
Co-authored-by: multica-agent <github@multica.ai >
2026-08-28 08:09:49 +00:00
总工 and multica-agent
09a935aac4
merge(HEL-193): 以 .11 线上基线 013ed29 整合行情历史补档 8e94c7b(HEL-190/HEL-199)
...
- 合入 agent/agent/ebb4e3e0638a:真实交易日历补最近60日快照 + sys.path 引导返工
- architecture-inventory 于合并后重新生成
Co-authored-by: multica-agent <github@multica.ai >
2026-08-27 16:13:34 +00:00
总工
013ed29ffb
merge(HEL-192): 集成问天解势修复到 .11 正式线(含 HEL-183 顶栏修复)
2026-08-27 14:58:11 +00:00
7ad445bc9f
fix(HEL-190): 按真实交易日历补齐最近60日快照,修复断档后只显示当天
...
保留连续性过滤,新增可审计补档工具与备份步骤;周末/节假日与真缺档分开处理,支持重复执行与部分失败续跑。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-27 14:50:32 +00:00
ef86b31f6b
fix(HEL-191): 补回问天解势知识文件兜底并消除 Failed to fetch
...
宿主机 data 挂载会遮盖镜像内 heaven_knowledge.json;增加不受挂载影响的 seed,
并将缺文件/坏 JSON 转为结构化中文错误,前端展示可读提示而非 Failed to fetch。
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-27 14:47:27 +00:00
94e6f618c8
施工(HEL-188): 刷新 architecture-inventory 以对齐 HEL-183 运行时资源指纹
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-27 14:05:18 +00:00
施工员 and multica-agent
1da8b567bd
fix(HEL-99): 手机端 fetch 出口收敛到 shared/api.js + 架构清单刷新
...
Co-authored-by: multica-agent <github@multica.ai >
2026-08-24 21:45:47 +08:00
施工员 and multica-agent
23557302a6
fix: align auction/themes/popularity header right-side icons with other pages
...
Remove the stale body[data-active-view] .overview-strip { flex: 0 0 auto }
override from the three market-insight page stylesheets. Since the merged
header (B-147) moved the market tape into .app-header, this rule no longer
targets the old in-main overview strip and instead overrides the shared
shell rule (.app-header .overview-strip { flex: 1 0 auto }), which pushed the
header-actions icons off the right edge on auction, theme library and
popularity pages. Deleting the override lets the shared shell owner drive the
tape growth so the right-side icons sit flush like every other page.
Regenerate architecture-inventory.json line metrics for the CSS change.
Co-authored-by: multica-agent <github@multica.ai >
2026-08-21 23:31:37 +08:00
4228d5cd62
B-221: keep header tape readable and commands inside the viewport
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 15:24:38 +08:00
f3a1f1adc2
B-217: show full header username without 108px truncation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 13:39:22 +08:00
6ae0f5f862
B-214: keep desktop header commands visible instead of behind ellipsis
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 12:39:22 +08:00
f311580d02
fix: restore B-147 dialog tokens and unclip screener headers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 08:18:05 +08:00
12e793bdbd
feat: apply B-147 visual tokens to screener, review and account surfaces
...
Unify intelligent screener, review workspace, and account/admin chrome with shared tokens, table density, and left-aligned first columns.
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 06:39:25 +08:00
9a3d5ee0a8
feat: apply B-147 visual tokens to remaining market data pages
...
Unify ladder, themes, rotation, auction, dragon-tiger and popularity with shared tokens, left-aligned first columns, and table density.
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 04:34:36 +08:00
ec56ca28d7
fix: keep tape date visible and finish dual-review shell polish
...
Give the overview date its own class so mobile cannot hide it, keep mentor
subtitles fully readable, and align sentiment table header tokens.
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 02:31:52 +08:00
4c6cccd9a4
fix: merge B-157 and B-158 shell review blockers
...
Keep 1024-1439 broken/seal metrics in the detail panel, fold desktop admin actions into the ellipsis menu, and fit the 13-column limit pool at 1600 without hiding the data date.
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 02:19:04 +08:00
d1852657fd
feat: apply B-147 visual tokens to shell and three representative pages
...
Closes B-156
Co-authored-by: Cursor <cursoragent@cursor.com >
Co-authored-by: multica-agent <github@multica.ai >
2026-08-20 00:43:09 +08:00