cflmy
9331af78e2
release(2.8.0): 合入 CHANGELOG/README/发版说明/skills prove 任务;CI 链接指向 doc/releases
...
- CHANGELOG.md:v2.8.0 条目(中英双语);
- README.md:版本行 2.7.1→2.8.0 + 愿景第 6 条(知识可证明);
- doc/releases/v2.8.0.md:双语发版说明(亮点/用法/已知限制);
- skills/marqdo-dev/index.mq.md:新增 prove 任务(路径/目录模式/
require_lean/json;参数用 + 行声明升参,check 与 narrative-ratio 通过);
- 设计文档 §12.5 标记已合入;发版链接统一指向 doc/releases/v2.8.0.md。
2026-11-18 10:29:26 +08:00
cflmy
fb135ae2f8
refactor(plugins): 抽出 marqdo-plugin-sdk — ABI 前言从 5 份变 1 份
...
新增工作区成员 crates/marqdo-plugin-sdk:ABI 类型、HOST_* 静态回调、
host_strdup/set_out/set_err/parse_args/reply/host_query_json(_with)/
take_host_string/init_plugin,以及生成四个 #[no_mangle] 导出的
marqdo_plugin! 宏。ABI 常量、符号名、结构体布局一律未变。
5 个插件改为依赖 SDK + 一行宏调用:
agent 1237 → 929 (-308)
quantum 1045 → 835 (-210)
linalg 688 → 524 (-164)
llm 405 → 278 (-127)
demo 170 → 73 (-97)
SDK 新增 232 行 → 净减约 674 行
迁移中发现并修正三次"编译通过但语义已变":
1. 注册项抽取漏 11 项 —— 正则 [a-z_0-9]+ 匹配不到 mcp_server::agent_mcp_serve、
sandbox::* 这类路径限定函数名;改为允许 :: 后重抽。
已用脚本逐项比对 (名称, 参数串, 函数) 三元组:agent 63/63、quantum 41/41、
linalg 31/31、llm 2/2、demo 2/2,全部 0 差异。
2. mcp_client 被误判死模块(删 327 行后才发现 agent_mcp_client 正注册它)→ 恢复。
3. 量子插件两个"未使用"函数删除时连带吃掉 density_from_amps/flat_to_nested
→ 恢复原文件并改为 #[allow(dead_code)]。
验证:cargo build --release(含 5 个插件)零警告;
cargo test --release 609 passed / 0 failed;
量子金样实跑 p00-ok / p11-ok / ping-ok。
文档:doc/design/change-plugin-sdk.md
2026-10-22 15:49:13 +08:00
cflmy and Cursor
3ade036d34
feat(linalg): F3 formula-doc public pages and T_ascii
...
Ship runnable public how-to pages, T_ascii/转置文本 one-step display,
explicit auto-simplify, and mark formula-doc F1–F3 complete.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:13:22 +08:00
cflmy and Cursor
f3c49e86ae
feat(linalg): F2 declare from GFM table and lecture example
...
Add la.declare for batch MatrixSymbol from @-record tables, ship
examples/linalg-transpose, and mark formula-doc F2 done.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:52:46 +08:00
cflmy and Cursor
b2401b8458
docs(linalg): formula-doc design and F1 display auto-simplify
...
Lock the run-implies-correct authoring model, default-simplify ascii/latex/show
(with raw= escape), and add linalg-doc-smoke for (AB)^T identity.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:50:33 +08:00
cflmy and Cursor
51bb8767e3
feat(linalg): matrix infix ops and # matrix methods
...
Dispatch +/−/* to the linalg plugin for matrix values, retag for EN/ZH
method chains, and expand # matrix with T/simplify/ascii-style methods.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:13:47 +08:00
cflmy and Cursor
c0fbe9b182
feat(linalg): L6 lstsq, norms, complex dtype, draw themes
...
Add QR/SVD least squares, norm/cond/rank, complex dense Frobenius
baseline, and light/dark/bw draw themes aligned with quantum Q8.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:47:30 +08:00
cflmy and Cursor
01287d9e7e
feat(linalg): L5 examples, public feature pages, and skill docs
...
Ship SVD / least-squares examples, heatmap-hinton draw paths, coerce
dense factors into MatExpr ops, and document ext/linalg in skill/README.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:36:17 +08:00
cflmy and Cursor
70fb2fbfb2
feat(linalg): L4 factorize and structure SVG draw
...
Add LU/QR/SVD/eig/chol dense factorizations, teaching structure SVGs,
LU reuse via solve(factor=), and linalg-factor-smoke gold.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:31:44 +08:00
cflmy and Cursor
b6f116108c
feat(linalg): L3 block collapse and lazy Kronecker
...
Add Block/Kron MatExpr, collapse for Block*Block, R7 flatten,
explicit assembly/kronecker, and linalg-block-kron smoke.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:22:08 +08:00
cflmy and Cursor
03aca7cdac
feat(linalg): L2 dense explicit, det, trace, and solve
...
Add dense kernels with element limits, from_formula for $$ matrices,
and linalg-basic-smoke covering 2×2 det/trace/solve/explicit.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:16:16 +08:00
cflmy and Cursor
96da88e168
feat(linalg): L0–L1 formula-first MatExpr plugin
...
Add plugins/linalg with symbol/mul/transpose/inv simplify (R1–R5),
EN/ZH L1, CATALOG/ext add wiring, release native assets, and smokes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 14:10:54 +08:00