Skip to content

chore(mops-cli): sync upstream cli-v2.16.1 → cli-v2.19.0 - #255

Merged
raymondk merged 1 commit into
mainfrom
chore/sync-upstream-mops-cli-v2.19.0
Jul 30, 2026
Merged

chore(mops-cli): sync upstream cli-v2.16.1 → cli-v2.19.0#255
raymondk merged 1 commit into
mainfrom
chore/sync-upstream-mops-cli-v2.19.0

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Syncs the mops-cli skill from the caffeinelabs/mops release cli-v2.16.1 → cli-v2.19.0 (commit be449cbeaf8b).

mops-cli has no icskills-owned body sections (.claude/upstream.md: only frontmatter differs), so all upstream additions were applied directly. After the sync the body is byte-for-byte identical to upstream.

Upstream changes applied

  • [optimize] section (Binaryen wasm-opt) added to the minimal mops.toml.
  • mops build: new paragraph on the wasm-opt pass (default -O3 -g), --no-optimize, and pinning Binaryen with mops toolchain use wasm-opt 131 (auto-pins latest if missing).
  • mops install: --lock update / --lock check shown; prose updated — updates mops.lock by default, and the CI --lock check auto-detection is now deprecated (pass --lock check explicitly; removed in v3).
  • mops add: clarifies it updates mops.toml + mops.lock even when CI is set.
  • mops toolchain: added use wasm-opt, info <tool>, info <tool> --versions [--all]; agent note extended (info --versions works without mops.toml).
  • New ### mops bench section (bench/*.bench.mo, --gc, --save, --compare, -- -Werror).
  • Moc args layering: global args now note bench; CLI -- <flags> lists every supporting command.
  • mops test: -- -Werror example added.

Other changes

  • Bumped compatibility to mops >= 2.19.0.
  • Removed stray </content></invoke> tags accidentally left at EOF by a prior sync (not present upstream).
  • Updated .claude/upstream.md: Tag cli-v2.19.0, Commit be449cbeaf8bd9ce6c929b3ceb41591afe8bedca, Last synced 2026-07-28.

npm run validate — all 26 skills pass (warnings only).

Evals

Seeded two new output eval cases for the new commands (wasm optimization, mops bench) plus two trigger queries. Both new cases run with baseline below.

Eval results (new cases, with baseline)
Enabling Wasm optimization: WITH 4/4 | WITHOUT 4/4
  ✅ Adds an [optimize] section to mops.toml (default level O3)
  ✅ Pins Binaryen via `mops toolchain use wasm-opt 131` (or auto-pin)
  ✅ Explains the pass runs during `mops build`, and `--no-optimize` skips it
  ✅ Does NOT invoke wasm-opt manually or configure via dfx
  (baseline also 4/4 — the base model already knows [optimize]; kept as a regression net)

Running benchmarks: WITH 4/4 | WITHOUT 1/4
  ✅ Uses `mops bench` (bench/*.bench.mo)
  ✅ Uses `mops bench --save` for a baseline
  ✅ Uses `mops bench --compare`
  ✅ Does NOT invent syntax / a manual harness
  ✗ baseline fabricated a named-baseline `--save <name>` / `--compare <name>` syntax
    that mops does not support (or produced no command at all)

Closes #254

Sync the mops-cli skill from caffeinelabs/mops release cli-v2.19.0
(commit be449cbeaf8b). Body remains 1:1 with upstream.

Upstream additions:
- [optimize] section (Binaryen wasm-opt) in the minimal mops.toml
- mops build: wasm-opt pass, --no-optimize, wasm-opt toolchain pin
- mops install --lock update/check; CI --lock check now deprecated/explicit
- mops toolchain info <tool> [--versions [--all]]
- new mops bench section
- CLI -- <flags> now lists all supporting commands; test/bench -- -Werror

Also removed stray </content></invoke> tags accidentally left at EOF by a
prior sync, and bumped compatibility to mops >= 2.19.0.

Seeded two eval cases (wasm optimization, mops bench) for the new commands.

Closes #254
@marc0olo
marc0olo requested review from a team and JoshDFN as code owners July 28, 2026 20:49
@github-actions

Copy link
Copy Markdown

Skill Validation Report

Validating skill: /home/runner/work/icskills/icskills/skills/mops-cli

Structure

  • Pass: SKILL.md found

Frontmatter

  • Pass: name: "mops-cli" (valid)
  • Pass: description: (341 chars)
  • Pass: license: "Apache-2.0"
  • Pass: compatibility: (14 chars)
  • Pass: metadata: (2 entries)

Markdown

  • Pass: no unclosed code fences found

Tokens

File Tokens
SKILL.md body 3,267
Total 3,267

Content Analysis

Metric Value
Word count 1,791
Code block ratio 0.34
Imperative ratio 0.10
Information density 0.22
Instruction specificity 0.60
Sections 24
List items 9
Code blocks 16

Contamination Analysis

Metric Value
Contamination level low
Contamination score 0.01
Primary language category shell
Scope breadth 2
  • Warning: Language mismatch: config (1 category differ from primary)

Result: passed

Project Checks


✓ Project checks passed for 1 skills (0 warnings)

@raymondk
raymondk merged commit e3220eb into main Jul 30, 2026
6 checks passed
@raymondk
raymondk deleted the chore/sync-upstream-mops-cli-v2.19.0 branch July 30, 2026 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upstream sync available — caffeinelabs/mops cli-v2.16.1 → cli-v2.19.0

2 participants