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
44d2928c06
prove: P1 — Lean 判定接入 CLI(driver + 证书缓存 + CI)
...
- driver.rs:工具链发现(--lean → MARQDO_PROOF_LEAN → PATH;显式坏路径
error[proof.lean_missing] 不回退);MarqdoProof 库内嵌进二进制,按内容
哈希缓存、lean -o 直接构建(运行时零 lake/elan 依赖);lean 调用带超时
(--timeout/--heartbeats);unsolved→unproved、error→error、
sorry→unverified;-- mq: 注释 + 定理头注释 → 证据映射指回源行
- cache.rs:复合键证书(源码⊕plan⊕库sha256⊕lean版本⊕版本),
命中跳判定(lean.cache: hit),--no-cache/MARQDO_PROOF_NO_CACHE 绕过
- mod.rs:per-claim 判定面(status/decided_by/evidence/source_line)、
lean JSON 对象、proof.claim_failed 诊断;文件状态只聚合有定理与被拒函数
- main.rs:--lean/--timeout/--no-cache/--heartbeats 旗标;prove emit
子命令只生成不判定;策略 none → sorry(绝不冒充 proved)
- tests/prove_lean.rs:A1/E1/E4/F2/F3/F4/G1/G2/G2b 矩阵,无工具链 SKIP、
MARQDO_PROOF_REQUIRE_LEAN=1 硬性要求;实测抓出并修复错误行/列解析、
逐定理记录缺失、含点函数名归因三处判定缺陷
- CI proof.yml:装 Lean 4.35.0 → 底座校验 → 判定矩阵(CI 不许静默降级)
- 设计文档 §12 记录 P1 落地与偏差(直接 lean -o,不经 lake)
实测:业务样例 3 定理 proved;假定理 unproved 退 1 指回定理表行;
缓存命中后跳判定(假 lean 计数器验证);全量 Rust 测试 508 通过
(仅剩 2 个已记录环境基线失败)。
2026-11-18 10:28:18 +08:00
cflmy
3201369470
docs: build cinematic 3-view Markdown execution promotion from original screenshots
2026-11-13 12:04:18 +08:00
cflmy
22364f2f1b
feat(docs): add reproducible Marqdo v2.7.1 promotional video editor
2026-11-13 11:34:12 +08:00
cflmy
9acbe10986
build(docs): reproducibly capture real procurement CLI and View assets
2026-11-13 11:18:41 +08:00
cflmy
0de703f86a
debian: include cached orig until its publication is confirmed
2026-11-11 01:04:18 +08:00
cflmy
7d9af11398
Release 2.7.0: invoke source packaging through its declared Bash runtime
2026-11-10 17:12:51 +08:00
cflmy
d9aef957f7
Release 2.7.0: executable handbooks and native user-site workflows
2026-11-10 17:03:06 +08:00
cflmy
aa0c4d0f55
release: v2.6.0 — executable library handbooks and readable actions
2026-11-08 23:30:17 +08:00
cflmy and Cursor
2c4fa4bb05
fix(ppa): install only rustc/cargo/std and use disk TMPDIR
...
Repeated --without flags were ignored by install.sh (last wins), so
rust-docs still filled /tmp and hit quota; prefer --components= and
a home-cache work dir instead of tmpfs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-26 19:13:48 +08:00
cflmy
74b298e80d
build: add portable development toolchain setup
2026-10-23 09:00:56 +00:00
cflmy
42a1a46383
docs: 链接式调用 [函数名](参数) 评估 + 开发环境脚本 dev-env.sh
...
两件事:
1. doc/design/link-style-call-evaluation.md(Proposed · 待决策)
评估用户提议的 Markdown 链接式调用 [函数名](参数…)。
结论:语法优雅,但与既有特性「链接索引 [key](map)」形状完全相同,无法可靠消歧。
实测证据:
- [a](m) → 链接索引,取成员,返回 1(既有特性,v0.3 明确推广)
- [greet](alice) → 被当链接索引处理,报 undefined variable alice
两者区别只在「greet 是函数还是键名」,需要符号表信息,而语法判定发生在
解析期(跨模块时未知)。若靠「已知函数表」消歧,会把清晰的
missing map key 变成误导性的 unknown function。
给出四个受限方案并对比,推荐 L3:用「] 与 ( 之间是否有空格」消歧
- [key](coll) 紧贴 → 链接索引,语义一字不动(零回归)
- [callee] (args) 有空格 → 调用,参数显式成组,顺带解决 D8 空格函数名
并附 8 条验证计划。未改任何代码。
2. scripts/dev-env.sh(新增,可 source 复用)
本机测试环境缺失导致基线本来就有失败,本次装好并固化:
- 约束1:$HOME 不可写 → zig/rust 缓存显式重定向
- 约束2:/tmp 是 noexec tmpfs → TMPDIR 必须指向可写且可执行目录
(这是 Go 链接报 "signal: aborted"、zig 报 AccessDenied 的真正原因)
- 提供 rust 1.81 / go 1.25 / python 3.12 / gcc shim(zig, glibc 2.36)
环境修复前后:
- 无 python3:231 passed / 2 failed
- 加 python3:233 / 0(lib)
- 加 go + libweb:gold 284 / 0
- 全量:554 passed / 0 failed
libweb.so 构建要点:Go cgo 需要 gcc,用 zig cc 充当
(/workspace/qdagent/.tools/zigcc/bin/gcc,过滤 Go 传入的
-Qunused-arguments,该参数会让 zig 驱动 abort)。
变更文档同步追加 §8 记录环境安装过程与前后对比。
2026-10-22 11:59:14 +08:00
cflmy and Cursor
0f72173d08
feat(ext/ai): land Agent/LLM optimize waves O1–O5
...
Wire opt-in sandbox trial into agent, require sandbox proof before OKF
promote, add step_route/EFI/cost surfaces, style lint + quarantine, and
offline policy optimize script—keeping GFM tables over json glue.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-16 11:47:28 +08:00
cflmy and Cursor
a32c0cd78f
fix(ppa): skip cp when local orig already sits in build-area
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-10-15 13:42:37 +08:00
cflmy and Cursor
0ed57b6d54
feat(agent): ext APIs, goldens, and docs for MCP/resume/small-llm routing
...
Wire mcp_connect/list/call, resume_*, and demote Jev in author docs.
Offline goldens cover MCP client, resume, and small-llm/jev-alias route.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-24 20:26:55 +08:00
cflmy and Cursor
4a2d89406b
fix(agent): preserve llm_free resources under plan force
...
Stop plan from clobbering an existing resources workbook with an explore
skeleton. Add llm.prompt helpers and agent-plan-preserve gold.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-24 19:34:05 +08:00
cflmy and Cursor
d8d435fead
feat(ai-stack): metrics, named handles, prompt docs, backends, zero-LLM
...
Finish ai-stack steps 1–5: model_turn usage, fast/reasoning, type:prompt
load, openai/ollama split, and agent-zero-llm gold. Fix compiled-skill
Marqdo syntax so llm_free await no longer falls through to plan+HTTP.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-24 19:30:25 +08:00
cflmy and Cursor
a9ee858f53
feat(agent): Skill Compilation + Adaptive Routing (v2/P4)
...
Episode → maybe_learn → llm_free skills, plus abstract router backends
(marqdo/small-llm/jev?/llm/auto) via plugins/agent; no core host changes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-24 13:28:50 +08:00
cflmy and Cursor
cb46ad7abe
fix(ppa): trim bundled Rust to build essentials; clean extract on failure
...
Launchpad builds only need rustc + cargo + rust-std (debian/rules PATH),
but install.sh was still shipping rust-docs-json-preview / rustfmt /
rls (~1G). Also drop the 1.5G extract dir via EXIT trap when install
fails — the leftover is what filled /tmp last run.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-22 16:40:39 +08:00
cflmy
428ee141e1
fix(ppa): keep vendor checksums and reuse published orig on debian bumps
...
dh_clean was stripping Cargo.toml.orig and breaking Launchpad offline
builds; debian-only uploads now reuse the PPA orig with debuild -sd.
2026-09-18 09:02:53 +08:00
cflmy and Cursor
e31585842d
fix(ppa): bundle Rust toolchain for noble Cargo.lock v4 builds
...
Document install channels (PPA/GitHub/CDN); release skill supports
full/cli/ext modes with R2+GitHub ext uploads and manual PPA commands.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 10:18:50 +08:00
cflmy and Cursor
f068b4ab75
fix(packaging): skip cp when orig tarball already in build-area
...
Same-inode copy aborted ppa-build under set -e before dput.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 10:05:23 +08:00
cflmy and Cursor
4923129d10
feat(packaging): add ppa-ship.sh one-shot build and dput
...
Installs apt deps with sudo, then builds/signs/uploads as the real user.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 10:01:22 +08:00
cflmy and Cursor
9bc7ef3b5a
feat(packaging): scaffold Ubuntu PPA debian/ for marqdo CLI
...
Add control/rules/changelog and ppa-build-source.sh (cargo vendor + debuild -S).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:57:11 +08:00
cflmy and Cursor
2984d7d4f8
feat(ext): prefer Cloudflare R2 CDN and allow separate ext pack versions
...
Download order is CDN (ext.marqdo.com) → GitHub → proxy; pack SemVer from
ext/VERSION / CDN latest; add upload-ext-r2.py and release-skill notes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:28:28 +08:00
cflmy and Cursor
c4a726397d
feat(web): W-G13 default to Go libweb in CLI, gold, and release
...
Switch ext add / gold / release builds to scripts/build-web-plugin.sh,
drop the Rust archive from the Cargo workspace, and resolve libweb from
plugins/web/build (and target copies) without MARQDO_WEB_PLUGIN.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 20:18:41 +08:00
cflmy and Cursor
ca40c698a2
refactor(web): start Go ABI rewrite of plugins/web (W-G0)
...
Archive the Rust web plugin and add a Go c-shared skeleton with ABI v2
bridge, build script, design doc/ADR, and smoke test so multi-language
plugins and full web parity can proceed wave by wave.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 14:47:43 +08:00
cflmy and Cursor
d539e6b96b
fix(pages): build linalg plugin for public site CI
...
public/features/07-linalg needs marqdo_plugin_linalg; pages only built quantum.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 19:35:52 +08:00
cflmy and Cursor
e3e2cfa9d1
fix(agent): writeback param shadow + Wave B1 dump/harness
...
step/plan writeback=True shadowed lib/writeback; persist via host_writeback_record. Align ZH context builder, add dump_step_context, lock offline harness.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-04 11:24:50 +08:00
cflmy and Cursor
d1b4e62d4d
feat(agent): Wave B0 constitution demos + harness
...
Lock code-as-doc / call_site / OKF as first-class: reorder step
context, ship agent-pong and okf-flywheel examples, offline harness,
and skill/docs refresh. Dev LLM template via .env.example only.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-04 11:17:25 +08:00
cflmy and Cursor
eafa203205
fix(ci): build quantum plugin for public pages demos
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-28 13:29:05 +08:00
cflmy and Cursor
7317a653c7
fix(ci): run public pages via bash script with per-file logging
...
Move the Build & export loop into scripts/run-public-pages.sh (explicit
bash, skip files without # main) so CI failures show which demo broke.
Also quote remaining time/json italic string args.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-28 12:27:57 +08:00
cflmy
99132ac8fc
update
2026-08-07 10:06:33 +08:00
cflmy and Cursor
2e65c055b8
Release v0.1.2: embedded stdlib, docs, and extension branch policy.
...
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md).
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-07 09:41:53 +08:00
cflmy and Cursor
63e5be80ab
Add v0.2 surface syntax, writeback/subtask stdlib, and view input deferral.
...
Use + for parameters, ordered-list branches, backtick identifiers, and quoted strings with escapes. Add writeback and subtask host libs, optional parameter defaults, narrative-bold comment fix, and defer view execution until preset stdin is submitted.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 17:52:33 +08:00
cflmy and Cursor
72777a8c74
Release v0.1.1: debug page Logo branding and packaging notes.
...
Bump crate version, use official Logo for marqdo debug favicon/brand, and document VS Code extension assets in the Windows release script.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 17:17:00 +08:00
cflmy and Cursor
1271aafcdd
Package release zips with stdlib and document bare-exe limits.
...
Ship recommended marqdo.exe+lib bundle, a separate stdlib zip, and clear release notes that the standalone exe does not include lib/.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 15:50:10 +08:00
cflmy and Cursor
54a507d906
Ship v0.1.0: dedicated debug host, view outline, code-as-docs README.
...
Add marqdo debug (breakpoints/step/locals), restore view as docs with function search, and emphasize OKF-aligned knowledge-base direction.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 15:40:29 +08:00
cflmy and Cursor
ea17ae1074
Add Windows release packaging so tagged releases ship binaries.
...
Upload exe/zip via CI on v* tags and provide a local release-windows script.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 13:04:06 +08:00
cflmy and Cursor
7848180454
Release v0.0.3: function end, paragraph comments, logo, and welcome polish.
...
End nested functions with ---/***/empty return; blank-line comment paragraphs in lex and view; brand favicon/logo; bump crate to 0.0.3.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-04 16:03:10 +08:00
cflmy and Cursor
69fecaeaab
Add script to publish GitHub releases with Windows binaries.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-04 15:11:12 +08:00
cflmy and Cursor
96a7c6ce76
Consolidate layout: tests fixtures, public user docs, and view site.
...
Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-04 14:49:44 +08:00