Skip to content

chore: sync mops-cli skill from upstream cli-v2.14.0#221

Merged
raymondk merged 1 commit into
mainfrom
chore/sync-upstream-mops-cli-v2.14.0
Jun 16, 2026
Merged

chore: sync mops-cli skill from upstream cli-v2.14.0#221
raymondk merged 1 commit into
mainfrom
chore/sync-upstream-mops-cli-v2.14.0

Conversation

@marc0olo

Copy link
Copy Markdown
Member

Syncs the mops-cli skill from upstream caffeinelabs/mops cli-v2.13.2cli-v2.14.0 (commit d448cdf9).

The mops-cli body is 1:1 with upstream (no icskills-owned sections), so all upstream additions are applied directly.

Upstream changes applied

  • pocket-ic toolchain pinning — pin pocket-ic in [toolchain] if you have replica tests or benchmarks; otherwise mops test --mode replica, mops bench, and mops watch fall back to the deprecated dfx replica and print a warning. Applied to Key Principles, the minimal mops.toml, mops toolchain use, and the mops test section.
  • .mops/fix.lock — concurrent --fix runs serialize automatically via an advisory lock; safe to invoke from multiple agents on the same project.
  • mops update --patch — restrict to patch bumps only (mutually exclusive with --major).

Other changes

  • Bumped compatibility to mops >= 2.14.0 (new features require it).
  • Updated .claude/upstream.md — tag, full commit SHA, last-synced date.
  • Added a Replica tests pocket-ic pin eval case for the new (and easily-missed) fallback pitfall.

Eval results

New eval case — Replica tests pocket-ic pin (with skill)
WITH skill: 4/4 passed
  ✅ Explains the warning is because `pocket-ic` is not pinned in `[toolchain]`, so mops falls back to the deprecated dfx replica
  ✅ Pins `pocket-ic` in the `[toolchain]` section of mops.toml (e.g. `pocket-ic = "12.0.0"`) OR uses `mops toolchain use pocket-ic 12.0.0`
  ✅ Pins a specific pocket-ic version rather than `latest` (latest may resolve to a version the bundled pic-js client doesn't support)
  ✅ Notes the same pin also applies to `mops bench` and `mops watch`

Closes #220

Apply upstream caffeinelabs/mops cli-v2.13.2 → cli-v2.14.0 changes to the
mops-cli skill (body is 1:1 with upstream, no icskills-owned sections):

- Pin `pocket-ic` in `[toolchain]` for replica tests / benchmarks to avoid
  the deprecated dfx-replica fallback (Key Principles, minimal mops.toml,
  `mops toolchain use`, and the `mops test` section).
- `--fix` runs serialize via an advisory lock at `.mops/fix.lock`.
- `mops update --patch` (restrict to patch bumps, mutually exclusive with --major).

Bump compatibility to `mops >= 2.14.0`, update `.claude/upstream.md`
(tag/commit/last-synced), and add a `Replica tests pocket-ic pin` eval case
(passes 4/4 with the skill).

Closes #220
@marc0olo marc0olo requested review from a team and JoshDFN as code owners June 16, 2026 10:54
@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 2,092
Total 2,092

Content Analysis

Metric Value
Word count 1,173
Code block ratio 0.35
Imperative ratio 0.09
Information density 0.22
Instruction specificity 0.54
Sections 21
List items 9
Code blocks 14

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 d8dad4c into main Jun 16, 2026
6 checks passed
@raymondk raymondk deleted the chore/sync-upstream-mops-cli-v2.14.0 branch June 16, 2026 11:58
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.13.2 → cli-v2.14.0

2 participants