@mutmutco/pi-plugin 4.5.210 → 4.5.211

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/pi-plugin",
3
- "version": "4.5.210",
3
+ "version": "4.5.211",
4
4
  "description": "MMI workflow skills and org gates delivery.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -21,6 +21,8 @@ accepts an incomplete board. The CLI partitions rows into **Yours**, **Free to c
21
21
  stamps (4 hours without work) hold nothing. Partition rules, stamp details and `--out` rationale:
22
22
  [reference.md](reference.md).
23
23
 
24
+ Read single issues/PRs with `MMI_ACTOR=app mmi-cli devops read issue view <n> --repo <owner/repo> --json <fields>` (or `issue list`, `pr view`, `run view`) and filter the JSON locally: under the App pool, gh `--jq`/`-q`/`--template`/`--web` are refused.
25
+
24
26
  ## Step 2 — render it
25
27
 
26
28
  Plain markdown, never a fenced block. Flat `-` lists under bold heads, never `##` headings, never tables.
@@ -62,6 +64,8 @@ Follow printed owner rulings; record new ones with `mmi-cli oracle issue decisio
62
64
 
63
65
  With several task lanes in one session, pass `worktree: <the mmi-worktrees/<Repo>/<issue>-<slug> path jerv_worktree_create reported>` to `jerv_worktree_exec` / `jerv_worktree_land` every time; they refuse to guess (#5629).
64
66
 
67
+ A fresh mmi worktree has no `.jerv/`: run `mkdir -p .jerv/tmp` before writing scratch files there (PR bodies, batches) or listing it.
68
+
65
69
  ## Step 5 — land one PR per batch
66
70
 
67
71
  No `--issues` or `--closes` flag; put `Closes #6395, #6396, #6397` in the **body**. After merge, board
@@ -29,7 +29,7 @@ Inspect existing children first:
29
29
  mmi-cli oracle issue children <owner/repo#N>
30
30
  ```
31
31
 
32
- Write a JSON array, one object per child, to `.jerv/tmp/epic-<parentNumber>-children.json` (unique per epic; a leftover batch from another epic collides with the new rows):
32
+ Write a JSON array, one object per child, to `.jerv/tmp/epic-<parentNumber>-children.json` (unique per epic; a leftover batch from another epic collides with the new rows). A fresh mmi worktree has no `.jerv/`; run `mkdir -p .jerv/tmp` first:
33
33
 
34
34
  ```json
35
35
  [
@@ -29,6 +29,8 @@ mmi-cli devops train doctor --lane hotfix --heal --json
29
29
 
30
30
  Parse stdout only; never `2>&1`. `ready` false → stop and quote every blocker's `code` and `remedy`; an unread origin is never green. Findings carry `code`, `severity`, `source`, `remedy`, `anchor`.
31
31
 
32
+ Piping `mmi-cli devops api get` into a JSON parser: a refusal exits 1 with empty stdout, so guard both: `out=$(MMI_ACTOR=app mmi-cli devops api get <path>) && [ -n "$out" ] && printf '%s' "$out" | node -e '…'`. One job's metadata: read the allowlisted `repos/{owner}/{repo}/actions/runs/{id}/jobs` and filter `jobs[]` by `id`; `actions/jobs/{id}` is refused (only its `/logs`, with `--out`).
33
+
32
34
  ## Apply
33
35
 
34
36
  From the primary checkout.
@@ -19,6 +19,10 @@ Under the App pool,
19
19
  `--jq`/`-q`/`--template`/`--web` are refused: use
20
20
  `MMI_ACTOR=app mmi-cli devops read issue view <id> --repo <owner/repo> --json comments`
21
21
  (or `pr`/`run view` with their fields); filter returned JSON locally.
22
+ For run logs, never native `gh run view --log`/`--log-failed`: use
23
+ `MMI_ACTOR=app mmi-cli devops read run log <runId> --repo <owner/repo> [--failed | --job <name>] [--tail N]`.
24
+ A refused command writes no output, so a `> file` redirect leaves it empty or missing: read the
25
+ refusal, then rerun the typed form.
22
26
 
23
27
  Read the issue, implementation, callers, and repository policy before editing.
24
28
  Run `mmi-cli tests policy --base <comparison-base>` to determine required checks against your target