Files
cflmy 2d4eef4fe0 fork: establish the Marqdo Harness downstream baseline
- keep the full DSH history, MIT license and third-party notices;
- remove upstream publish/upload/desktop packaging workflows so downstream
  CI cannot trigger official credentials or channels;
- exclude the downstream `packages/marqdo/*` packages from the upstream
  bundling graph (they run as TypeScript through Node's type stripping);
- declare app-boot's production peer for the deployed launcher;
- document the product architecture, gates, upstream policy, modification
  log and the M0/M1-M6 evidence.

Upstream: deepseek-harness 4b399c39a6.
Part of marqdo#25 (MDH-00/MDH-02).
2026-11-28 10:41:04 +08:00

1.9 KiB
Raw Permalink Blame History

上游修改清单(upstream-delta)

任何对上游 DSH 包的修改都记录在这里。新增的下游包不伪装成上游实现;产品特化优先通过 bundle patch 与公开 seam 完成。

路径 修改 原因 能否使用公开 seam 测试 上游 Issue/PR 移除条件
.github/workflows/*(发布/上传/桌面打包/Cloudflare/Pages 共 18 个) 删除 防止下游误用官方发布凭证与上传路径;Gitea/Woodpecker 是下游 CI 权威 不需要 仓库内无这些 workflow;grep 审计 无(下游发布策略) 上游发布机制被下游显式复用时重新评估
tsdown.config.ts 从 workspace bundle 列表排除 packages/marqdo/* 下游包以 TypeScript 源码由 Node 24 原生类型剥离执行,没有 lib/types 产物 上游 workspace 配置即公开构建入口 pnpm run build 10/10 gates PASS 无 下游包改为产出 lib/types 时
apps/cli/package.json 增加 @deepseek-ai/cordis-plugin-group 运行时依赖 app-boot 将其列为 peer;生产部署闭包需要它 上游依赖声明 pnpm install --frozen-lockfile;部署 smoke 可作为通用打包修复回馈 上游把该 peer 改为直接依赖
packages/marqdo/harness、packages/marqdo/bundle、scripts/mdh.mjs、docs/mdh 新增下游产品代码与文档 Marqdo Harness 产品能力 新包,不改上游 scripts/ci.sh 无 不适用

未修改但依赖的上游 seam

  • ctx.tools.register:六个模型操作。
  • ctx.approval.request:文稿执行与生态变更的一次性授权。
  • ctx.systemPrompt.section:产品提示词段落。
  • ctx.webServer.register:/mdh 工作台与 JSON API。
  • ctx.provide('mdhRuntime'):host 与 web 半部共享运行时。
  • profile/bundle 的 dsh.bundle.patch:唯一产品组合入口。