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
3330a0fc66
chore: 还原 go.mod 被构建副产物改动的依赖分类
...
上一个提交误带入 plugins/web/go.mod 变更:构建 libweb 时用了 -mod=mod,
Go 把 jackc/pgx/v5 与 yuin/goldmark 从 indirect 提升为 direct。
这与本次文档提交无关,属于构建副产物,还原为提交前状态(内容与版本不变,
仅 require 块归类复原)。
2026-10-22 11:59:50 +08: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
410f36f719
feat(web): Postgres CRUD and fix stale-session CSRF login
...
Wire pgx for postgres:// DB URLs, dialect-aware RBAC/sessions, and replace dead marqdo_sid cookies so login forms always get a fresh CSRF token.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-18 14:53:16 +08:00
cflmy and Cursor
3eb8e732ea
release: v1.0.1 — fix Go libweb dynamic-route query, Markdown, CSS false positives
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-15 14:48:47 +08:00
cflmy and Cursor
12d2c7be69
feat(web): Go W-G12 rooms, Redis session, and API keys
...
Add mode=room with room_key hub APIs, optional redis:// session
backend, and web_api_key_check (sha256 pepper:key) for anlian primitives.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 20:10:43 +08:00
cflmy and Cursor
695939ac74
feat(web): Go W-G9 memory/Redis cache drivers
...
Wire web_cache_* ABIs with an in-process memory backend and go-redis
ops so drivers smoke covers cache, file storage, postgres URL, and s3 open.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 19:41:10 +08:00
cflmy and Cursor
4c06851e0e
feat(web): Go W-G8 WebSocket routes and access_log
...
Register route_ws/ws_connect ABIs with an in-process broadcast hub
so offline WS broadcast and access_log smokes pass on libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 19:31:03 +08:00
cflmy and Cursor
6e94d0a179
feat(web): Go W-G5 session, auth, password, and RBAC gates
...
Wire password hash, session CRUD, auth login/check/logout, and
app.auth/gate ABIs so security and C0/C1 offline smokes pass on libweb.so.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 17:31:07 +08:00
cflmy and Cursor
7a0309284a
feat(web): Go plugin W-G1 assemble/render + SQLite smoke path
...
Port table/compose/style/render/db/form/app bags, register ABI symbols,
prefer MARQDO_WEB_PLUGIN over ~/.marqdo, and pass web-smoke + web-zh-smoke.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-10 15:27:12 +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