Compare commits

..
Author SHA1 Message Date
cflmy af7e3c6926 feat: pin MQDH View reader gitlink
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline is running
ci/woodpecker/pr/eco Pipeline was successful
2026-11-29 13:06:33 +08:00
cflmy 49dc39d09d feat: pin MQDH dynamic market gitlink
ci/woodpecker/cron/reconcile Pipeline failed
ci/woodpecker/pr/eco Pipeline was successful
ci/woodpecker/push/eco Pipeline was successful
2026-11-29 11:12:23 +08:00
cflmy feef7204f8 Merge pull request 'feat: install trusted ecosystem candidates explicitly' (#52) from feat/mqdh-ecosystem-discovery into main
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline was canceled
2026-11-29 09:10:21 +08:00
cflmy 205b19eb78 feat: pin app gitlink for ecosystem candidate installation
ci/woodpecker/pr/eco Pipeline was successful
Pins apps/harness to 8b7b56e9. Trusted Runtime/Tool candidates can be installed\nafter explicit confirmation; Std/Ext/Knowledge boundaries are documented in\nECOSYSTEM.md. Browser/theme acceptance remains UNVERIFIED.
2026-11-29 08:51:02 +08:00
cflmy f472e57fbe Merge pull request 'feat: advance Marqdo Harness egress, bootstrap, diagnostics and distribution' (#51) from feat/mqdh-m7 into main
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline failed
2026-11-29 00:18:10 +08:00
cflmy f806d073dc test: pin app gitlink for contract-aware bootstrap CI
ci/woodpecker/pr/eco Pipeline was successful
Pins apps/harness to 0b47cf05. The real bootstrap test now skips on an\nunsupported glibc instead of failing the contract; supported-host coverage and\nthe CI skip reason are recorded.
2026-11-28 23:55:06 +08:00
cflmy f2bf7ea010 feat: pin app gitlink for catalog and diagnostics capture
ci/woodpecker/pr/eco Pipeline was canceled
Pins apps/harness to 682032c7 (read-only ecosystem catalog, routed diagnostics capture, real Gitea issue acceptance).
2026-11-28 23:41:17 +08:00
cflmy d67ec592ef feat: update app gitlink for the ecosystem catalog
ci/woodpecker/pr/eco Pipeline was canceled
Pins apps/harness to 3033d37b, adding the read-only ecosystem catalog and\nreal Gitea diagnostics acceptance evidence. Browser/theme and View reader\nacceptance remain UNVERIFIED.
2026-11-28 23:39:50 +08:00
cflmy e891a67599 feat: advance Marqdo Harness egress, bootstrap, diagnostics and distribution
ci/woodpecker/pr/eco Pipeline is pending
Update the app gitlink to 307a44d6, which adds the unified network egress\nclient, first-run bootstrap with real runtime/Tool smoke, local redacted\ndiagnostics with explicit Gitea submission, Linux user install/update/rollback,\nrelease manifest/signature tooling and the corresponding tests and evidence.\n\nRoot layout unit tests and repo-conventions pass. The pre-existing tools/view\ncheckout is on an unrelated branch; its gitlink is not part of this commit.
2026-11-28 23:15:37 +08:00
cflmy 9384d65db3 docs: rename the application abbreviation to MQDH
ci/woodpecker/push/eco Pipeline failed
ci/woodpecker/cron/reconcile Pipeline failed
2026-11-28 16:54:36 +08:00
cflmy e35a501979 docs: rename the application abbreviation to MQDH
ci/woodpecker/pr/eco Pipeline was successful
Pin app-harness to the MQDH rename commit and update the root ADR,
tasks, README and acceptance evidence: MQDH_* env vars, @marqdo/mqdh-*
packages, the mqdh profile/launcher and /mqdh routes. Product name stays
Marqdo Harness. No parent code change.

Part of marqdo#25.
2026-11-28 16:44:01 +08:00
cflmy 4232eae45e Merge pull request 'docs: record the final Marqdo Harness pipeline evidence' (#49) from docs/mdh-final-evidence into main
ci/woodpecker/push/eco Pipeline was successful
ci/woodpecker/cron/reconcile Pipeline failed
2026-11-28 11:36:03 +08:00
cflmy 59d5930d8b docs: record the final Harness pipeline evidence
ci/woodpecker/pr/eco Pipeline was successful
The parent candidate (#183) and its Node app lane succeeded after the
candidate-manifest fix, and the independent app pipeline #2 passed
install/build/test. Update the root acceptance evidence; no code change.

Part of marqdo#25.
2026-11-28 11:20:14 +08:00
cflmy dd133351e2 apps: integrate the Marqdo Harness application (marqdo#25)
ci/woodpecker/push/eco Pipeline was successful
2026-11-28 11:19:43 +08:00
5 changed files with 36 additions and 19 deletions

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ marqdo run hello.mq.md
| 仓库 | 职责 |
| --- | --- |
| [marqdo-app-harness](https://git.cflmy.cn/cflmy/marqdo-app-harness) | 官方单用户应用:生态安装、文稿程序化执行、私人知识库与 `/mdh` 工作台(DSH 下游) |
| [marqdo-app-harness](https://git.cflmy.cn/cflmy/marqdo-app-harness) | 官方单用户应用:生态安装、文稿程序化执行、私人知识库与 `/mqdh` 工作台(DSH 下游) |
| [marqdo-site](https://git.cflmy.cn/cflmy/marqdo-site) | 官网、入门文档、静态站点构建与托管 |
| [marqdo-vscode](https://git.cflmy.cn/cflmy/marqdo-vscode) | VS Code 文件关联、编辑体验、CLI 集成与 VSIX 发布 |
+1 -1
View File
@@ -32,7 +32,7 @@
| `marqdo-lint` | 扩展静态规则和诊断定位,为可修复规则提供显式修复。 |
| `marqdo-site` | **大改**。用现行 CLI 和 View 重建官网与入门内容,验证新站和旧链接后切换托管。 |
| `marqdo-vscode` | **大改**。按现行 CLI 重做诊断和运行适配,先完成高亮、静态诊断、显式运行和可安装的 VSIX。 |
| `marqdo-app-harness` | **大改**。官方单用户应用(DSH 下游):产品 profile、生态安装/回退、文稿 PTC、私人知识、`/mdh` 工作台、独立 CI 与冷安装。父仓 `apps/harness`。 |
| `marqdo-app-harness` | **大改**。官方单用户应用(DSH 下游):产品 profile、生态安装/回退、文稿 PTC、私人知识、`/mqdh` 工作台;首次启动自动安装运行时/Bundle/默认 Tool、唯一网络出口(代理/镜像/离线/审计)、本地脱敏诊断与显式 Issue 提交、Linux 用户级安装与更新/回退;独立 CI 与冷安装。父仓 `apps/harness`。 |
## 标准库
@@ -7,7 +7,7 @@
## 背景
生态此前只有 `core/stdlib/extension/tool/test/domain` 六种组件角色。Marqdo Harness
(MDH)是一个**产品消费者**:它组合已发布的 CLI、单一 Bundle、Tool 与 Ext,向最终
(MQDH)是一个**产品消费者**:它组合已发布的 CLI、单一 Bundle、Tool 与 Ext,向最终
用户提供安装入口、文稿执行入口、私人知识库和成果复用。它既不发布语言/运行时合同,
也不被任何基础组件依赖。直接复用 `tool` 或 `extension` 会把产品应用错误地放进
`requires` 图,导致 CLI 基础发行被应用反向阻塞。
@@ -34,30 +34,30 @@
- 保留 DSH 的 Git 历史、MIT `LICENSE` 与第三方声明;`origin` 为 Gitea 权威远端,
`upstream` 为 `https://git.cflmy.cn/cflmy/deepseek-harness.git`(DSH 权威镜像)。
GitHub 官方仓库只作为审计与回馈来源,不进入父仓 `.gitmodules`。
- 发布名、包名(`@marqdo/*`)、命令(`mdh`)、应用标识和发行地址与 DeepSeek 官方
- 发布名、包名(`@marqdo/*`)、命令(`mqdh`)、应用标识和发行地址与 DeepSeek 官方
DSH 完全分离;不得复用官方上传工作流或凭证。
- 首版支持平台以真实证据为准:Linux x86_64 / glibc ≥ 2.39;Node 24.22.3、
pnpm 11.28.5(由选定 DSH 提交与锁文件决定)。Web 默认 loopback。
### 3. 产品装配
- 唯一正式产品入口为 `mdh` 启动器,唯一产品 profile 为 `mdh`,组合为
`dsh-base` + `dsh-web-app` + 下游 `@marqdo/mdh-bundle`。
- 唯一正式产品入口为 `mqdh` 启动器,唯一产品 profile 为 `mqdh`,组合为
`dsh-base` + `dsh-web-app` + 下游 `@marqdo/mqdh-bundle`。
- 下游产品包集中在 fork 的 `packages/marqdo/*`,不散改上游包;必须修改的上游文件
逐项记录在 `docs/mdh/upstream-delta.md`。
逐项记录在 `docs/mqdh/upstream-delta.md`。
- DSH 的 Node PTC 模型入口在产品 profile 中关闭;面向模型的文稿执行只经由
`marqdo_program` 一条组合入口。上游 PTC 源码保留用于同步与基线,不作为第二个
用户可选执行模式。
- 应用运行数据使用独立 `MDH_HOME`;DSH 会话放在 `MDH_HOME/harness`,不覆盖用户
- 应用运行数据使用独立 `MQDH_HOME`;DSH 会话放在 `MQDH_HOME/harness`,不覆盖用户
已有的 DSH 数据。
### 4. 晋升门槛
1. M0:登记 planned 条目并固定真实初始提交;`app-harness` 仍不计完成率,不登记
`entry`。
2. MDH-01..09 完成应用自身实现、独立 CI、冷安装与真实候选证据后,应用仓库登记
2. MQDH-01..09 完成应用自身实现、独立 CI、冷安装与真实候选证据后,应用仓库登记
`entry = "scripts/ci.sh"` 并推送。
3. MDH-10:根 PR 只更新 gitlink、catalog、集成调度与证据;应用加入 `requires` 的
3. MQDH-10:根 PR 只更新 gitlink、catalog、集成调度与证据;应用加入 `requires` 的
组件必须已 active。根 Node lane 使用与 CLI/Bundle/Tool 相同的候选身份运行真实
应用验收。
4. 应用激活前不得成为 CLI 独立发行的前置;应用失败不得阻断合法的 CLI 基础发行,
+25 -8
View File
@@ -1,14 +1,14 @@
# Marqdo Harness 根消费者验收证据(2026-11-28)
本文件记录主仓库对 `marqdo-app-harness` 的接入证据。应用自身状态与未验证范围以
`apps/harness/docs/mdh/STATUS.md` 为准;本文件不重复、也不改写那些结论。
`apps/harness/docs/mqdh/STATUS.md` 为准;本文件不重复、也不改写那些结论。
## 身份
| 对象 | 身份 |
| --- | --- |
| 主仓库候选 | 本提交(`git rev-parse HEAD`) |
| 应用 gitlink | `apps/harness` → `ee482a23c2e0ae3ca4c2b56281ea82e9fb58619d` |
| 应用 gitlink | `apps/harness` → `8b7b56e9830a227b492d4052be3fd12b4240be05`(M7 egress/bootstrap/diagnostics/distribution) |
| 应用 origin | `https://git.cflmy.cn/cflmy/marqdo-app-harness.git` |
| DSH 上游 | `4b399c39a6d1479cd84ca591b4d7c88e24d38a96`(`dsh-v0.2.3-alpha.2`) |
| CLI gitlink | `63776735e924ade279cdf59d5c733dc24bfdabbb`(`v3.0.0-rc.6`) |
@@ -19,7 +19,7 @@
| 命令 | 结果 |
| --- | --- |
| `python3 scripts/check-layout.py` | 通过;`app-harness apps/harness d28c5e4051... active` |
| `python3 scripts/check-layout.py` | 通过;`app-harness apps/harness 8b7b56e9... active` |
| `python3 -m unittest tests.integration.test_layout` | 60 tests PASS;含 app 路径/远端/前缀/release/嵌套/依赖方向负例 |
| `python3 scripts/check-repo-conventions.py` | PASS(38 components);应用 README/AGENTS/entry 真实存在 |
@@ -37,18 +37,35 @@
## 应用侧已复核证据
证据全文见 `apps/harness/docs/mdh/evidence/`。
证据全文见 `apps/harness/docs/mqdh/evidence/`。
- 上游基线 `pnpm install --frozen-lockfile` 与 `pnpm run build`:10/10 gates PASS。
- 下游 28 项测试:27 PASS;网络安装测试在 `MDH_TEST_INSTALL=1` 下 PASS(rc.5→rc.6→回退)。
- 下游 61 项测试:59 PASS、2 项真实网络测试在 `MQDH_TEST_INSTALL=1` 下单独运行;rc.5→rc.6→回退在 CI 通过,真实 Bootstrap 在 glibc 2.43 本机 PASS,CI bookworm glibc 2.36 按 CLI 合同跳过。
- 首次启动:真实 rc.6 + knowledge beta.3 + view 0.3.0;check/call 值 120;知识 compile/query hits=3;二次启动只复用(约 0.2 s)。
- 网络出口:单一 `EgressClient`;代理/镜像/离线/重定向/私网/metadata/摘要负例由 `tests/network.test.ts` 覆盖;产品源码无散落 `fetch`(CI gate)。
- 诊断:本地脱敏报告 + 显式确认;本地 Gitea 替身覆盖 Issue/评论/附件/去重/限额;另外用真实 `mqdh report submit` 在应用仓创建验收 Issue #10 并关闭,证明真实 Gitea 路径与默认脱敏。
- 生态目录:固定顺序 Runtime/Tool/Std/Ext/Knowledge;打开只读,受信任 Runtime/Tool 候选可显式安装,项目锁检查显式调用 CLI;Std 只随 Bundle,Ext 只走项目工作流,无第三方市场/任意 URL。真实浏览器/主题验收仍未运行。
- 真实 CLI 执行 factorial `n=5` → `{"type":"int","decimal":"120"}`;除零 → `failed`;摘要不符 → `incomplete`。
- 真实 `marqdo-knowledge` 编译/查询:`mode=compiled`,命中带精确源路径、摘要、span 与通道。
- `/mdh` 页面与 API:200;cross-site / 错误 Host / 不匹配 Origin → 403。
- `scripts/package.sh`:预构建归档冷组合 PASS(748,901,507 bytes,sha256 `21a532d2949a25bae76a41b2a4e0f08d06f39a084db2f02a1cd1506ad5a24617`)。
- `/mqdh` 页面与 API:200;cross-site / 错误 Host / 不匹配 Origin → 403。
- `scripts/package.sh`:预构建归档 + 内置 Node + `install.sh` 冷安装 PASS(782,584,384 bytes,sha256 `9422b6d9fea83b0dec2f1b4cc8c8b2cf8681d498a61d22261d8f1c514d07a08e`;`mqdh --version`、`doctor --json`、`--dump-config` 通过);未发布、未签名。
## CI 实跑
- 父仓 PR#48 的 Woodpecker pipeline 已真实运行:首次 candidate 失败于 app-candidate manifest 把摘要字符串误转为 `Path`,修复后 pipeline #183 的 candidate 与 app lane 均成功(https://ci.cflmy.cn/repos/6/pipeline/183/1)。
- 应用独立 CI:pipeline #2(`ee482a2`)install/build/test PASS;重命名提交 `9b6acf0` 的 pipeline #3 同样 install/build/test PASS(https://ci.cflmy.cn/repos/21/pipeline/3/1)。
## 上游 reconcile(app-harness#6)
`cflmy/marqdo-app-harness#6` 的消费基线为 `9b6acf05`,候选为 CLI `v3.0.0-rc.6`。本应用的 Bootstrap 已真实发现、校验并安装该候选(资产 sha256 `8dc0b006...`、source `63776735...`、Bundle `db905508...`),因此该工单不需要新的应用侧代码;它保持 `waiting-for-dependencies`,由 reconcile 流程在依赖满足后更新基线。
## 后续事项(app-harness#1)
真实模型 A/B、浏览器自动化、会话级环境固定(E07)、通知/对账(E09)、View 结果绑定导出(P09)、Ext 锁负例(E04)、第二台干净主机/签名(S08/S09)仍未完成;首次启动、网络出口、诊断与应用发行/更新已在本轮交付,未验证部分继续按 STATUS 的 PARTIAL/UNVERIFIED 跟踪。
## UNVERIFIED
- 父仓 PR#48 的 Woodpecker pipeline 已真实运行;首次 candidate 失败于 app-candidate manifest 把摘要字符串误转为 `Path`,已修复并等待 rerun 通过。Node lane 尚未在该次 pipeline 中执行完成。
- M7 应用提交 `8b7b56e9` 未推送到应用远端,也未运行新的父仓 candidate pipeline;应用 `scripts/ci.sh` 已在本地真实通过,归档由实现提交 `5f56c234` 构建,后续提交只改 CI/文档。
- 真实模型两轮任务(任务 A/B)未运行:本机没有模型凭据,没有用 fixture 冒充。
- 浏览器自动化未运行;页面与 API 通过真实 HTTP 请求验证。
- 上游同步演练未运行:镜像 HEAD 等于基线,没有更新的提交。