@mutmutco/cli 3.139.0 → 3.139.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @mutmutco/cli
2
2
 
3
- The command-line engine for MMI Future org tooling. It delivers the org-managed `.gitignore` block, reads and claims GitHub Project work, and exposes the model-agnostic commands used by the MMI plugin and non-Claude agents. (Personal agent guides `AGENTS.md` / `CLAUDE.md` are developer-owned and gitignored; the CLI does not deliver, overwrite, or fan them out — the whole-spine fanout is retired.)
3
+ The command-line engine for MMI Future org tooling. It delivers the org-managed `.gitignore` block, reads and claims GitHub Project work, and exposes the model-agnostic commands used by the MMI plugin and non-Claude agents. Personal agent guides (`AGENTS.md` / `CLAUDE.md`) are developer-owned and gitignored.
4
4
 
5
5
  This package is published from [mutmutco/MMI-Hub](https://github.com/mutmutco/MMI-Hub). The release train derives its version, publication target, and artifact identity from the shared surface registry and bill of materials alongside every active host adapter.
6
6
 
@@ -27,7 +27,7 @@ mmi-cli doctor --json
27
27
 
28
28
  ## Main Commands
29
29
 
30
- - `mmi-cli devops org rules gitignore [--write]` verifies (or heals) this repo's org-managed `.gitignore` block. The retired `rules sync` no longer exists — personal agent guides (`AGENTS.md` / `CLAUDE.md`) are developer-owned and gitignored, never org-delivered.
30
+ - `mmi-cli devops org rules gitignore [--write]` verifies or updates this repo's org-managed `.gitignore` block; personal agent guides remain developer-owned.
31
31
  - `mmi-cli devops bootstrap org-ruleset` drift-checks the codified org no-agent-files push ruleset (`mmi-no-agent-files-org`) against the live org config; read-only, never mutates.
32
32
  - `mmi-cli vault secrets where|list|set|rm|use` manages the full own-project vault for project-admins without logging values; org-infra remains master-gated and exactly grantable. `where` prints the layout, and values move only through stdin/TLS/keyless command injection—never an argument or stdout. Operational grant/catalog commands are available through all-command discovery.
33
33
  - `mmi-cli oracle org project list|get|doctor|heal|set` reads and repairs the Hub v3 registry; `org project deploy get` resolves deploy coordinates. `doctor --json` diagnoses central deploy/secrets readiness, `heal --apply` fixes only registry-owned defaults, and `set` is master-only except for the explicit project-admin self-service routes.
@@ -36,10 +36,10 @@ mmi-cli doctor --json
36
36
  - `mmi-cli oracle issue create` creates typed, prioritized GitHub issues (priority sets the board field, not a label) and queues related-issue discovery. `--parent <ref>` files the new issue as a native GitHub sub-issue of a parent (works cross-repo); `mmi-cli oracle issue link-child <parent> <child>` links two existing issues the same way.
37
37
  - `mmi-cli learning report` files a friction report on the Hub board with your GitHub identity, deduping against the open `report`-labeled issues (a confident duplicate becomes a +1 comment, not a new issue). No repo-local `.env`, no API key, no copied report script.
38
38
  - `mmi-cli learning skill-lesson --skill <name>` files a **skill-lesson** on the Hub board when a skill's own instructions misfire — the cross-skill generalization of grind's Retro. GitHub identity, its own `skill-lesson` label + dedup pool (a confident duplicate becomes a +1 comment), and a footer pinning the source checkout + plugin SHA. Advisory: the fix lands via a reviewed PR to the skill in MMI-Hub, never a live edit.
39
- - `mmi-cli devops pr create`, `pr merge`, and **`pr land`** (train probe → checks-wait → merge --auto — #1440) create/land PRs with branch/worktree cleanup; `--preserve-worktree` keeps the local worktree/stage/branch for explicit active batches (#1888). **`mmi-cli devops ci audit`** / **`ci reconcile`** scan fleet merge-readiness; `mmi-cli worktree gc` dry-runs cleanup of merged/closed PR branches + stale tracking refs.
39
+ - `mmi-cli devops pr create`, `pr merge`, and **`pr land`** (train probe → checks-wait → merge --auto — #1440) create and land PRs. **`mmi-cli devops ci audit`** / **`ci reconcile`** scan fleet merge-readiness. Local workspace lifecycle is host-owned.
40
40
  - `mmi-cli oracle board read|claim|show|move|done` reads and moves GitHub Project work.
41
41
  - `mmi-cli devops runtime tenant control <owner/repo> <stage> <status|start|stop|restart>` runs bounded dev/rc box control for project-admins through the Hub API; main remains master-only.
42
- - `mmi-cli stage`, `stage start`, `stage stop`, `stage run`, and `stage port-range <repo>` manage the local gitignored stage and its port block; `stage --live` is the personal IP-gated cloud dev stage. Remote rc/live environments move only via `/rcand` · `/release` · `/hotfix` (the old `stage-live` explainer command is retired, #2997).
42
+ - `mmi-cli stage`, `stage start`, `stage stop`, `stage run`, and `stage port-range <repo>` manage the local gitignored stage and its port block; `stage --live` is the personal IP-gated cloud dev stage. Remote rc/live environments move only via `/rcand` · `/release` · `/hotfix`.
43
43
  - `mmi-cli devops rcand`, `release`, and `hotfix` render guarded train plans; product trains trigger the Hub's central tenant deployer, while MMI-Hub releases directly from `development` to `main`.
44
44
  - `mmi-cli devops bootstrap`, `bootstrap verify`, and `bootstrap apply` plan, audit, and seed repo onboarding.
45
45
  - `mmi-cli oracle org access audit` checks collaborator roles and train-branch allowlists.
@@ -51,16 +51,10 @@ registry, secrets, train-authority, and tenant-control calls until it nears expi
51
51
  The cache is bound to the current local GitHub token fingerprint, so switching `gh auth` users forces a
52
52
  new Hub session instead of reusing the previous user's bearer credential.
53
53
 
54
- Run `mmi-cli --help` or `mmi-cli <command> --help` for the full command reference.
55
- The machine manifest (`mmi-cli commands --json`) also names the implementation module and consumer for
56
- every command. That inventory is checked when the runtime tree is assembled, so a sixth command domain
57
- cannot land as an ownerless block in the registration entrypoint.
58
-
59
- ## Removed compatibility aliases
60
-
61
- - `mmi-cli board open` is retired; use `mmi-cli oracle board show`.
62
- - `mmi-cli org schedules lift` is retired after its one-release migration window; use
63
- `mmi-cli harbour org schedules register`.
54
+ Run `mmi-cli --help` for the task map, `mmi-cli commands --json` for bounded machine routes, and
55
+ `mmi-cli explain <command> --json` for exact arguments/options/examples. The exhaustive
56
+ `mmi-cli commands --all --json` manifest names every implementation module and consumer. That inventory
57
+ is checked when the runtime tree is assembled, so a sixth command domain cannot land ownerless.
64
58
 
65
59
  ## Capability seams — mmi-cli vs jerv-cli (#3000)
66
60
 
@@ -69,16 +63,14 @@ deploy plane). `jerv-cli` is Suphi's **personal** power-tools CLI (Jerv's Memory
69
63
  lanes, personal workflow). The 2026-07 audit (#2994) pinned the boundary; these are the seams, so
70
64
  they don't get re-derived or re-litigated per session:
71
65
 
72
- - **Worktree cleanup ownership.** mmi-cli is the SSOT for the git worktree lifecycle: `worktree land`,
73
- `worktree list --stale`, and `worktree gc` own discovery and removal of branches/worktrees/stages. `jerv-cli
74
- worktree sweep` touches ONLY worktrees owned by that session's leases — it never classifies or
75
- removes org worktrees at large. Never widen either side toward the other.
66
+ - **Workspace ownership.** The agent and host own local worktree lifecycle. MMI carries issue, PR, CI,
67
+ merge, and board facts only; its retained worktree verbs are legacy compatibility and never set the
68
+ workspace policy.
76
69
  - **Session observability flows org → personal, never back.** `mmi-cli learning report session` exists to feed
77
70
  `jerv-cli save` (a machine summary of touched issues/PRs/worktrees/deploys for a memory save or
78
71
  handoff). jerv-cli never writes org state; mmi-cli never writes Jerv's Memory.
79
72
  - **Intentional duplicates — keep both.** `skill-lesson` exists in both CLIs by design: each files to
80
- its own owning board (mmi-cli/MMI plugin MMI-Hub; jerv-cli/PowerTools plugin Jerv-PowerTools),
81
- per the friction-routing rule. `doctor`, `whoami`, `commands`, and `explain` are per-CLI meta
73
+ its own owning board. `doctor`, `whoami`, `commands`, and `explain` are per-CLI meta
82
74
  infrastructure; a shared library across the two repos is not worth the version churn.
83
75
 
84
76
  ## Repo-Local Fallback