From e35a501979fb0fe20a5b702b4c61f4a590aab6be Mon Sep 17 00:00:00 2001 From: cflmy Date: Sat, 28 Nov 2026 16:39:31 +0800 Subject: [PATCH] docs: rename the application abbreviation to MQDH 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. --- README.md | 2 +- apps/harness | 2 +- docs/REPOSITORY-TASKS.md | 2 +- ...02-application-layer-and-harness-admission.md | 16 ++++++++-------- docs/evidence/2026-11-28-marqdo-harness.md | 12 ++++++------ 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 559deed..4c05ef5 100644 --- a/README.md +++ b/README.md @@ -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 发布 | diff --git a/apps/harness b/apps/harness index ee482a2..9b6acf0 160000 --- a/apps/harness +++ b/apps/harness @@ -1 +1 @@ -Subproject commit ee482a23c2e0ae3ca4c2b56281ea82e9fb58619d +Subproject commit 9b6acf056987c833189d36a126720dd1448d0419 diff --git a/docs/REPOSITORY-TASKS.md b/docs/REPOSITORY-TASKS.md index bbad986..61360af 100644 --- a/docs/REPOSITORY-TASKS.md +++ b/docs/REPOSITORY-TASKS.md @@ -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` 工作台、独立 CI 与冷安装。父仓 `apps/harness`。 | ## 标准库 diff --git a/docs/adr/0002-application-layer-and-harness-admission.md b/docs/adr/0002-application-layer-and-harness-admission.md index 5615318..c6f1381 100644 --- a/docs/adr/0002-application-layer-and-harness-admission.md +++ b/docs/adr/0002-application-layer-and-harness-admission.md @@ -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 基础发行, diff --git a/docs/evidence/2026-11-28-marqdo-harness.md b/docs/evidence/2026-11-28-marqdo-harness.md index 86921ee..193d7ba 100644 --- a/docs/evidence/2026-11-28-marqdo-harness.md +++ b/docs/evidence/2026-11-28-marqdo-harness.md @@ -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` → `9b6acf056987c833189d36a126720dd1448d0419`(MQDH 命名) | | 应用 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`) | @@ -37,19 +37,19 @@ ## 应用侧已复核证据 -证据全文见 `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→回退)。 +- 下游 29 项测试:28 PASS;网络安装测试在 `MQDH_TEST_INSTALL=1` 下 PASS(rc.5→rc.6→回退)。 - 真实 CLI 执行 factorial `n=5` → `{"type":"int","decimal":"120"}`;除零 → `failed`;摘要不符 → `incomplete`。 - 真实 `marqdo-knowledge` 编译/查询:`mode=compiled`,命中带精确源路径、摘要、span 与通道。 -- `/mdh` 页面与 API:200;cross-site / 错误 Host / 不匹配 Origin → 403。 +- `/mqdh` 页面与 API:200;cross-site / 错误 Host / 不匹配 Origin → 403。 - `scripts/package.sh`:预构建归档冷组合 PASS(748,901,507 bytes,sha256 `21a532d2949a25bae76a41b2a4e0f08d06f39a084db2f02a1cd1506ad5a24617`)。 ## 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 已启用并成功运行 app pipeline #2(https://ci.cflmy.cn/repos/21/pipeline/2/1):install、build、test 全绿(commit `ee482a23c2e0ae3ca4c2b56281ea82e9fb58619d`)。 +- 应用独立 CI:pipeline #2(`ee482a2`)install/build/test PASS;重命名提交 `9b6acf0` 的 pipeline #3 同样 install/build/test PASS(https://ci.cflmy.cn/repos/21/pipeline/3/1)。 ## UNVERIFIED -- 2.54.1