Skip to content

Commit 8ce0ac8

Browse files
committed
Record 0.2.0 publication and preserve MoonX command argv [skip ci]
1 parent 4420150 commit 8ce0ac8

79 files changed

Lines changed: 4661 additions & 71 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/check.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,14 @@ jobs:
135135
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
136136
run: >-
137137
./_build/native/release/build/mooxCLI/cmd-tests/release_runner/release_runner.exe
138-
--manifest tests/release_runner/manifest.json --suite smoke
138+
--manifest tests/release_runner/published-0.2.0.json --suite smoke
139139
--report-dir test-reports/published-smoke
140140
141141
- name: Published-version differential
142142
if: runner.os == 'Linux' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')
143143
run: >-
144144
./_build/native/release/build/mooxCLI/cmd-tests/release_runner/release_runner.exe
145-
--manifest tests/release_runner/manifest.json --suite differential
145+
--manifest tests/release_runner/published-0.2.0.json --suite differential
146146
--oracle-image mooncmd-oracle:phase0
147147
--report-dir test-reports/published-differential
148148

‎README.mbt.md‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ system for preserving GNU/POSIX and command-upstream behavior. Authorization
66
belongs to the caller or host; commands preserve the caller's environment and
77
stream semantics.
88

9-
The working tree prepares **0.2.0**, which is not yet published. See the
10-
[candidate evidence](docs/reports/2026-09-20-fidelity-implementation.md),
9+
**0.2.0 is published** as `cli/core` and 47 command modules. Linux, macOS and
10+
Windows passed the release source checks, including Linux Native/Wasm pinned
11+
oracle comparisons. Exact-version MoonX acceptance is recorded separately in
12+
the [release evidence](docs/reports/2026-09-21-release-0.2.0/README.md). See the
1113
[support record](docs/compatibility.md), and
12-
[upstream API gaps](docs/async-upstream-gaps.md). The candidate includes a
14+
[upstream API gaps](docs/async-upstream-gaps.md). This release includes a
1315
persistent line-oriented `sh -i`, real `make -j` scheduling, JSON input framing,
1416
Basic HTTP authentication and cookies. Strict filesystem limits are explicit:
1517
default `cp` and existing-file `touch` cannot be implemented faithfully with
@@ -19,9 +21,9 @@ Releasable commands are available as independent modules under
1921
`cli/<command>`:
2022

2123
```text
22-
moonx cli/base64
23-
moonx cli/grep pattern input.txt
24-
moonx cli/jq -r '.name'
24+
MOON_HOME="$HOME/.moon-accounts/cli" moonx cli/base64@0.2.0
25+
MOON_HOME="$HOME/.moon-accounts/cli" moonx cli/grep@0.2.0 -- pattern input.txt
26+
MOON_HOME="$HOME/.moon-accounts/cli" moonx cli/jq@0.2.0 -- -r '.name'
2527
```
2628

2729
## Commands
@@ -61,10 +63,10 @@ The command set is designed for native and Wasm execution. Under Wasm, commands
6163
can run with explicit policies that limit filesystem access, mutations,
6264
processes, network access, and permission changes.
6365

64-
Commands that only read input use the default admission tier. Commands that
65-
spawn processes, access the network, or change permissions require explicit
66-
authorization. Denied operations fail with a nonzero status and are tested to
67-
leave no unintended side effects.
66+
The caller configures host authorization. Command capability declarations
67+
describe their requirements and do not add a command-level policy. Host-denied
68+
operations fail with a nonzero status; the policy suite checks the resulting
69+
effects independently of command compatibility.
6870

6971
The repository intentionally does not provide `chown` or `kill`, because the
7072
required owner-mutation and arbitrary-process-signalling capabilities are not
@@ -110,7 +112,8 @@ The project combines package tests and two runners sharing a Native testkit:
110112
- `oracle` compares Native and Wasm commands with the pinned upstream image,
111113
including declared metadata observations. GNU and stress are independent suites.
112114
- `release_runner` validates candidate manifests and checks exact published
113-
MoonX versions. The current 0.2.0 candidate is unpublished.
115+
MoonX versions selected by `published-0.2.0.json`; frozen 0.1.x manifests remain
116+
available for historical replay.
114117
- `scenarios` covers persistent shell input, HTTP auth/cookies, filesystem
115118
boundaries and process/make lifecycle on both backends in CI. Former standalone
116119
probes are archived with their assertion migration maps.

‎docs/adr/0001-evidence.md‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Status: Accepted
44
Date: 2026-09-05
55
Updated: 2026-09-21
6-
Revision: Share test mechanisms and active cases; separate invocation health, semantic compatibility and explicit capability boundaries.
6+
Revision: Share test mechanisms and active cases; separate invocation health, semantic compatibility and explicit capability boundaries; record the three-platform 0.2.0 source gate and subsequent publication.
77

88
## Target and decision
99

@@ -82,7 +82,23 @@ atime relations use the same fixture in a boundary or stateful scenario.
8282
Baseline: moon/moonrun 0.1.20260915; moonc/core 0.10.13+cbb11c36f;
8383
async 0.22.1; x 0.5.5; moonjq 0.1.2. The dependency refresh found no older external
8484
versions in the resolved tree. Upgrade-only tests passed Native 104/104 and
85-
Wasm 91/91 before behavior changes. The current candidate remains unpublished.
85+
Wasm 91/91 before behavior changes.
86+
87+
The [0.2.0 source gate](https://github.com/moonbit-community/cmd/actions/runs/35576541301)
88+
passed Linux, macOS and Windows at source commit
89+
`442015078b8dc01f64f499e5df0847d7c7458c3d`, including Linux Native/Wasm pinned
90+
oracle checks. After that gate, `cli/core@0.2.0` was published first, followed
91+
sequentially by 47 command modules. `timeout` remains local-only. Publication
92+
receipts and the separate exact-version MoonX gate are recorded in
93+
[release evidence](../reports/2026-09-21-release-0.2.0/README.md). The published
94+
manifest selects 382 active cases; the frozen schema 1 manifests and candidate
95+
preparation manifest retain their original roles.
96+
97+
The consumer driver inserts a MoonX argument separator after the exact package
98+
coordinate. This preserves a command's own leading `--` without changing the
99+
command contract. Do not alter expected command output to compensate for argv
100+
lost in a launcher. Revisit this adapter if MoonX changes its parsing contract;
101+
keep direct exact-version probes for commands that consume a leading separator.
86102

87103
The 2026-09-21 final migration check found a newer official toolchain manifest
88104
(moonc 0.10.14+7d59c7ec9 and moon/moonrun 0.1.20260920). This release gate pins

0 commit comments

Comments
 (0)