marqdo-ci efcf1a0fb4
ci/woodpecker/push/ci Pipeline is pending
ci/woodpecker/pr/ci Pipeline is pending
ci: notify the root reconcile on a completed release
Release event fast path: validate the secret is present, then ask the root
manual `reconcile` workflow to check the authoritative Gitea release. The call
is only a hint; correctness and lost-notification recovery stay in the root
reconcile cron/script.
2026-11-27 14:18:14 +08:00

marqdo-std-io

本仓负责Console、Stream、格式化和官方 print 别名。当前处于标准库源码归位迁移阶段:源码与断言已迁入本仓,等待父仓候选组合验收(父仓工单 marqdo#9,本仓工单 #1)。

唯一公开入口(Bundle 根相对路径)

发布路径 公开导入 职责
format.mq.md std:format 值显示、列表显示与转义
io.mq.md std:io 官方 print/打印 别名目标 写值
io/console.mq.md std:io/console stdin 读取行与 stdout 打印
io/stream.mq.md std:io/stream 短写检测与关闭语义

modules/ 保存将来 Bundle 根下的相对路径;Bundle 与 stdlib.json 由父仓唯一生产者生成,本仓不维护第二份官方 manifest。

目录

  • modules/:对外发布的模块源码(Bundle 根相对路径)。
  • tests/:迁入的 .mq.md 自测源与 tests/cases/ 期望(observation 终值、stdout、参数、环境)。
  • scripts/:独立验收入口。

独立验收

只接受显式传入的已验证制品,不读取兄弟仓物理路径或浮动分支:

MARQDO_BIN=/path/to/verified/marqdo \
MARQDO_STDLIB_DIR=/path/to/installed/bundle \
scripts/test.sh
  • MARQDO_BIN:真实 CLI 二进制;MARQDO_STDLIB_DIR:已安装且通过 manifest digest 校验、包含本仓模块的 Bundle。
  • 期望值来自迁移前基线的真实执行结果;修改期望值等于声明公开行为变化,必须单独评审。

边界

不实现语言内核、Host 权限或资源原语;io/console 与 io/stream 只包装现行 resource 原语,stdout/stderr 不混合;io.mq.md#写值 保持官方 print/打印 别名目标、签名与 effects 不变,不接管别名元数据。

生态迁移台账 · 开发流程

S
Description
Marqdo standard library component for io
Readme
48 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 95.4%
Shell 4.6%