migrate: own clock/datetime/env/process/random sources and baseline assertions

Move the official stdlib system modules to their unique source authority without
changing public std: paths or host authorization. Carry the pre-migration product
assertions into component cases captured from the baseline Bundle; the process
case resolves the granted program and expected stdout from the verified CLI.

Refs cflmy/marqdo#9, cflmy/marqdo-std-system#1
This commit was merged in pull request #2.
This commit is contained in:
cflmy committed 2026-11-26 23:30:25 +08:00
1 parent e1c4da4cc5
commit 053ddb0e59
19 files changed
+949 -6

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# @exec process
## 运行
`params(程序, 参数列表)`
在项目模式下运行一个显式授权的可执行文件。程序路径必须与
--allow-process PROGRAM 精确匹配;不经过 shell,清空环境变量,
工作目录是项目根,stdin 为空。5 秒超时、1 MiB stdout/stderr 上限,
结果形状为 {status, stdout, stderr}。
`return resource.request("process.run", [程序, 参数列表])`