Files
marqdo/skills/marqdo-release/_bridge.mq.md
T
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

2.3 KiB
Executable File

markup, title, import
markup title import
occlusion Native release boundary
engineering result
ext/engineering/index.mq.md lib/result.mq.md

The release handbook composes native Marqdo libraries and this narrow extension boundary. Ordinary file reads/writes, version decisions, asset lists and state checks stay in Marqdo. Authenticated service requests, bounded OS commands and ZIP-format inspection use the engineering native plugin. No Python loader, generated command program or duplicate release orchestrator is involved.

A native plugin has the calling OS user's authority. Root is a working/artifact location and cannot be described as an OS sandbox. These calls need plugin effects; their public task contracts additionally declare any native filesystem, network or environment operations they perform. Reading the handbook authorizes none of its external publication steps.

request

参数 类型 默认 说明
operation text required Native boundary operation selected by the task
payload map required Structured arguments; never credentials
root text "." Existing checkout/artifact root
返回 类型 说明
result map Actual boundary Result; failed child exit stays failed

Use operation, payload and root="." for a documented external boundary. The extension reports transport success separately from a child's exit code. Release commands require code zero and no timeout, so convert a completed but failed child into a release failure before another phase can continue. Stdout and stderr retain bounded diagnostic evidence with known credentials redacted. Other operations preserve their own Result without manufacturing success.

We answer = [Invoke the maintained native engineering boundary](engineering.request(operation=operation, payload=payload, root=root)).

  1. not access(answer, "ok") Return answer with its original error.
  2. operation == "command" We execution = Read the bounded child result).
  3. access(execution, "code") != 0 or access(execution, "timed_out") Return [Keep the unsuccessful child visible](result.error(code="release.command_failed", message=str(execution), operation="command")). Return answer when this requested boundary completed successfully.