@mutmutco/pi-plugin 4.6.33 → 4.6.35
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 +1 -1
- package/skills/board/SKILL.md +10 -6
- package/skills/board/reference.md +6 -3
package/package.json
CHANGED
package/skills/board/SKILL.md
CHANGED
|
@@ -20,12 +20,16 @@ One call; `--flat` gives one array of rows to iterate. A routine read already ex
|
|
|
20
20
|
items, so no status post-filter is needed. The detailed form (`--json` without `--flat`) carries `viewer`,
|
|
21
21
|
`repo` and the project title; use its `primary` for this repo and `secondary` for other repos on the
|
|
22
22
|
Project. Without `--flat`, `board read --json` returns an object
|
|
23
|
-
`{project, viewer, repo, primary, secondary, warnings, partial}` whose `primary` and `secondary` are bucket
|
|
24
|
-
objects `{userOwned, claimable, taken, unownedInFlight}` of item arrays
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
`items
|
|
28
|
-
rows
|
|
23
|
+
`{project, viewer, repo, primary, secondary, items, warnings, partial}` whose `primary` and `secondary` are bucket
|
|
24
|
+
objects `{userOwned, claimable, taken, unownedInFlight}` of item arrays, and whose top-level `items` (#9974) is
|
|
25
|
+
the flat row array — the same rows `--flat` prints — so a number|status|title projection can iterate
|
|
26
|
+
`report.items` without a second read. Filter a bucket (`report.primary.claimable`) when ownership context
|
|
27
|
+
matters, or `report.items` / `--json --flat` for a projection. Never sniff
|
|
28
|
+
for the list (`j.items ?? j.rows ?? j`, `Object.values`, any generic "find the list" wrapper): `j.rows` is not a
|
|
29
|
+
key, and on an older report it threw
|
|
30
|
+
`items is not iterable` before any row was read. For a number|status|claim|title projection across non-Done
|
|
31
|
+
rows, read `report.items` or run `mmi-cli oracle board read --json --flat --out .jerv/tmp/board.json` and filter
|
|
32
|
+
that array locally.
|
|
29
33
|
`--flat` rows are `{ref,number,title,status,assignees,labels,bucket,claim,openPullRequests}` (`claim` is the
|
|
30
34
|
parsed mmi-claim evidence object, null when unclaimed; `openPullRequests` lists the OPEN PRs whose
|
|
31
35
|
closing-issue body links name the item — on the full JSON object that list lives at `report.pullRequests`,
|
|
@@ -21,9 +21,12 @@ rows to iterate. A routine read already excludes Done and closed items, so no st
|
|
|
21
21
|
One call. The detailed form (`--json` without `--flat`) carries `viewer`, `repo` and the project title — do not spend extra calls on
|
|
22
22
|
`gh api user` or `gh repo view`. Use `primary` for this repo and `secondary` for other repos on the same
|
|
23
23
|
Project. Without `--flat`, `board read --json` returns an object
|
|
24
|
-
`{project, viewer, repo, primary, secondary, warnings, partial}` whose `primary` and `secondary` are bucket
|
|
25
|
-
objects `{userOwned, claimable, taken, unownedInFlight}` of item arrays
|
|
26
|
-
|
|
24
|
+
`{project, viewer, repo, primary, secondary, items, warnings, partial}` whose `primary` and `secondary` are bucket
|
|
25
|
+
objects `{userOwned, claimable, taken, unownedInFlight}` of item arrays, and whose top-level `items` (#9974) holds
|
|
26
|
+
the flat rows — exactly what `--flat` prints — so iterate `report.items` instead of spending a second read.
|
|
27
|
+
Filter a bucket (`report.primary.claimable`) when ownership context matters. Never sniff for the list
|
|
28
|
+
(`j.items ?? j.rows ?? j` is only coincidentally safe now, `Object.values` is not): `j.rows` is not a key.
|
|
29
|
+
Partial reads
|
|
27
30
|
exit nonzero; pass `--allow-partial` only when the dev accepts an incomplete board.
|
|
28
31
|
|
|
29
32
|
Partition, as the CLI computes it:
|