@unbrained/pm-cli 2026.9.27 → 2026.9.28
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/.claude-plugin/marketplace.json +4 -6
- package/CHANGELOG.md +26 -0
- package/dist/cli/help-json-payload.js +1 -1
- package/dist/cli/register-operations.js +1 -1
- package/dist/cli-bundle/bundle-manifest.json +154 -154
- package/dist/cli-bundle/chunks/{chunk-OKVDVERQ.js → chunk-35DME35A.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AUS6USO4.js → chunk-A2G5OG6W.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-CPOWTIIS.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-7TAGYNFP.js → chunk-GLH2LNRH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3BTJ66CB.js → chunk-NBDB3SRC.js} +48 -48
- package/dist/cli-bundle/chunks/{chunk-JX6WCCHL.js → chunk-NEUIVBFO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6OJVQ7SW.js → chunk-OYCCWPBM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-LKGQUZ5M.js → chunk-PLNNUAFZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4SLLCDFL.js → chunk-PR4UAMI5.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-TSF2LPIH.js → chunk-UT7GRGHY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5UGBYHN.js → chunk-VMJLM7P2.js} +62 -62
- package/dist/cli-bundle/chunks/{chunk-IEP3VAT5.js → chunk-YERBAGQD.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-ZFHJP7YD.js +29 -0
- package/dist/cli-bundle/chunks/{register-list-query-6PAJ4PBU.js → register-list-query-N6RP6PSP.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-RZCXZXYS.js → register-mutation-CY7JGQE6.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-GK6VU2H2.js → register-operations-53HAD3QP.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-ASEMNMBF.js → register-setup-NVX6374E.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-OJRX6G22.js → chunk-5KJXX2TZ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MILJCOFJ.js → chunk-6IVQPNYN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-NETVXIH5.js → chunk-A5O3VYWV.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-AZA4AEOR.js +75 -0
- package/dist/cli-bundle/focused-chunks/chunk-BGWF6CMP.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-PDVL7QYU.js → chunk-BRLXKRI2.js} +15 -15
- package/dist/cli-bundle/focused-chunks/{chunk-SMADBUPL.js → chunk-DTLRXY77.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-6UNKK3UH.js → chunk-IJXZQE3D.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-NWRVNHAD.js → chunk-IWLMQLBO.js} +6 -6
- package/dist/cli-bundle/focused-chunks/chunk-K7GSZ7YZ.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-OJKJFDIG.js → chunk-ONDNR3VU.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-NZAG7OKB.js → chunk-OVVCXTIE.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-GZD4ZYIB.js → chunk-V7OPZRL6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-LBDWUHQD.js → chunk-Y5Z3XNGY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-QO4MTAEA.js → chunk-YZB7IPR6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-DQ3MB7BO.js → chunk-ZMQTIS3L.js} +2 -2
- package/dist/cli-bundle/main.js +21 -21
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +18 -18
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +51 -51
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +1 -1
- package/dist/core/diagnostics/remediation.js +1 -1
- package/dist/core/item/item-format.js +1 -1
- package/dist/core/store/settings.js +3 -3
- package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
- package/dist/sdk/completion/fish.js +3 -3
- package/dist/sdk/completion/zsh.js +3 -3
- package/dist/sdk/extension/copy-scope.d.ts +2 -2
- package/dist/sdk/extension/copy-scope.js +1 -1
- package/dist/sdk/extension/install-plan.js +1 -1
- package/dist/sdk/extension/install-runtime.js +2 -2
- package/dist/sdk/extension/static-inventory.js +1 -1
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +1 -1
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +1 -1
- package/dist/sdk/governance/health-merge-evidence.d.ts +18 -0
- package/dist/sdk/governance/health-merge-evidence.js +2 -0
- package/dist/sdk/governance/health.js +1 -1
- package/dist/sdk/merge/install.js +2 -2
- package/dist/sdk/output-projection.d.ts +1 -1
- package/dist/sdk/output-projection.js +1 -1
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/read-output-budget.d.ts +1 -1
- package/dist/sdk/read-output-budget.js +1 -1
- package/dist/sdk/read-output-contracts.js +1 -1
- package/dist/sdk/test/execution.d.ts +11 -0
- package/dist/sdk/test/execution.js +2 -2
- package/dist/sdk/test/parsers.d.ts +1 -1
- package/dist/sdk/test/parsers.js +1 -1
- package/dist/types.d.ts +3 -3
- package/dist/types.js +1 -1
- package/docs/AGENT_READ_AND_TEST_RECEIPTS.md +21 -0
- package/docs/CLAUDE_CODE_PLUGIN.md +12 -7
- package/docs/CONFIGURATION.md +2 -0
- package/docs/PACKAGE_EVIDENCE.md +18 -7
- package/docs/README.md +1 -0
- package/docs/TESTING.md +14 -3
- package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +7 -3
- package/marketplace.json +4 -6
- package/package.json +5 -5
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +4 -2
- package/plugins/pm-claude/.mcp.json +1 -2
- package/plugins/pm-claude/README.md +7 -7
- package/plugins/pm-claude/package.json +2 -2
- package/plugins/pm-claude/{commands/pm-calendar.md → skills/pm-calendar/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-close-task.md → skills/pm-close-task/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-init.md → skills/pm-init/SKILL.md} +2 -1
- package/plugins/pm-claude/{commands/pm-list.md → skills/pm-list/SKILL.md} +2 -1
- package/plugins/pm-claude/{commands/pm-new.md → skills/pm-new/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-search.md → skills/pm-search/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-start-task.md → skills/pm-start-task/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-status.md → skills/pm-status/SKILL.md} +1 -0
- package/plugins/pm-claude/{commands/pm-triage.md → skills/pm-triage/SKILL.md} +1 -0
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +2 -2
- package/plugins/pm-codex/plugin.json +1 -1
- package/dist/cli-bundle/chunks/chunk-4UPZLUT2.js +0 -29
- package/dist/cli-bundle/chunks/chunk-LC6WEA5U.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-6J2YCGSN.js +0 -75
- package/dist/cli-bundle/focused-chunks/chunk-E7LYK7V5.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-KMPKKSA6.js +0 -2
- package/plugins/pm-claude/commands/pm-audit.md +0 -38
- package/plugins/pm-claude/commands/pm-developer.md +0 -38
- package/plugins/pm-claude/commands/pm-planner.md +0 -54
- package/plugins/pm-claude/commands/pm-release.md +0 -41
- package/plugins/pm-claude/commands/pm-workflow.md +0 -49
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Run pm release-readiness — validation, coverage gate, changelog check, GitHub CI verification — with live TUI tracking. Accepts an optional version or release item ID as argument.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Run the full pm release workflow using native MCP tools. Argument: `$ARGUMENTS` (optional: version like `v1.2.3`, or pm item ID for an existing release item).
|
|
6
|
-
|
|
7
|
-
1. **Find or create the release item**:
|
|
8
|
-
- `pm_search` with query "release" to find existing release items.
|
|
9
|
-
- If `$ARGUMENTS` is a pm ID: `pm_get` it directly.
|
|
10
|
-
- If no match: `pm_create` with `type: "Chore"`, `title: "Release <version>"`, `priority: "0"`.
|
|
11
|
-
2. **Claim** with `pm_claim`.
|
|
12
|
-
3. **Sync to Claude Code task panel**:
|
|
13
|
-
```
|
|
14
|
-
TaskCreate:
|
|
15
|
-
subject: "[pm-xxxx] Release: <version>"
|
|
16
|
-
description: "Release gate tracking — pm-xxxx"
|
|
17
|
-
activeForm: "Running release gates"
|
|
18
|
-
```
|
|
19
|
-
Call `TaskUpdate(in_progress)`. Save the taskId.
|
|
20
|
-
4. **Link release artifacts**:
|
|
21
|
-
- `pm_docs` — link `CHANGELOG.md`
|
|
22
|
-
- `pm_files` — link `package.json`
|
|
23
|
-
5. **Run gates** (all must pass before tagging):
|
|
24
|
-
- `pnpm build`
|
|
25
|
-
- `node scripts/run-tests.mjs coverage`
|
|
26
|
-
- `pm_validate` with `checkResolution: true, checkHistoryDrift: true, checkFiles: true`
|
|
27
|
-
- `pm_health`
|
|
28
|
-
- `node scripts/release/run-gates.mjs` (if present)
|
|
29
|
-
6. **Record gate results** with `pm_comments`:
|
|
30
|
-
```
|
|
31
|
-
"Release evidence: build ok. N tests pass. 100% coverage. pm validate ok. pm health ok."
|
|
32
|
-
```
|
|
33
|
-
7. **Tag and push** (if all gates pass):
|
|
34
|
-
```bash
|
|
35
|
-
git tag v<version> && git push origin v<version>
|
|
36
|
-
```
|
|
37
|
-
8. **Verify CI** — `gh run list --limit 5` and confirm all checks are green.
|
|
38
|
-
9. **Post-CI evidence** — add a final `pm_comments` with CI run URL.
|
|
39
|
-
10. **Close** — `pm_close` with reason, `pm_release`, then `TaskUpdate(completed)`.
|
|
40
|
-
|
|
41
|
-
Do not tag if any gate fails. Report the failing gate and what's needed to fix it.
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Run the pm workflow loop — orient, claim, track, and close a pm item — with full hybrid TUI display. Accepts an optional item ID or description as argument.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Run the pm workflow loop using native MCP tools. Argument: `$ARGUMENTS` (item ID, keywords, or description of new work).
|
|
6
|
-
|
|
7
|
-
This is the general-purpose pm workflow command. For specialized loops use:
|
|
8
|
-
- `/pm-developer` — implementation/coding work
|
|
9
|
-
- `/pm-release` — release gates and publishing
|
|
10
|
-
- `/pm-planner` — backlog planning and decomposition
|
|
11
|
-
- `/pm-audit` — tracker health audit
|
|
12
|
-
|
|
13
|
-
**Steps:**
|
|
14
|
-
|
|
15
|
-
1. **Orient**:
|
|
16
|
-
```json
|
|
17
|
-
{ "tool": "pm_context", "args": { "options": { "limit": "10" } } }
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
2. **Find or create the item** from `$ARGUMENTS`:
|
|
21
|
-
- pm ID → `pm_get`
|
|
22
|
-
- Keywords → `pm_search` then pick the best match
|
|
23
|
-
- Description of new work → `pm_search` first, then `pm_create` if no duplicate
|
|
24
|
-
|
|
25
|
-
3. **Claim** with `pm_claim`, then `pm_update` to `in_progress`.
|
|
26
|
-
|
|
27
|
-
4. **Sync to Claude Code task panel**:
|
|
28
|
-
```
|
|
29
|
-
TaskCreate:
|
|
30
|
-
subject: "[pm-xxxx] <item title>"
|
|
31
|
-
description: "Tracking pm-xxxx"
|
|
32
|
-
activeForm: "Working on pm-xxxx"
|
|
33
|
-
```
|
|
34
|
-
Call `TaskUpdate(in_progress)`. Save taskId for this session.
|
|
35
|
-
|
|
36
|
-
5. **Do the work** — link evidence as you go:
|
|
37
|
-
- Changed files: `pm_files`
|
|
38
|
-
- Updated docs: `pm_docs`
|
|
39
|
-
- Test commands: `pm_test`
|
|
40
|
-
- Progress notes: `pm_comments`
|
|
41
|
-
|
|
42
|
-
6. **Verify** — `pm_validate` before closing.
|
|
43
|
-
|
|
44
|
-
7. **Close**:
|
|
45
|
-
- `pm_close` with reason addressing acceptance criteria
|
|
46
|
-
- `pm_release`
|
|
47
|
-
- `TaskUpdate(completed)` using saved taskId
|
|
48
|
-
|
|
49
|
-
Report the item ID, title, and final status at the end.
|