@unbrained/pm-cli 2026.8.6 → 2026.8.7
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 +2 -2
- package/CHANGELOG.md +30 -0
- package/dist/cli/main.js +4 -2
- package/dist/cli/register-operations.js +11 -2
- package/dist/cli/stats-analytics-json.d.ts +9 -0
- package/dist/cli/stats-analytics-json.js +69 -0
- package/dist/cli-bundle/bundle-manifest.json +397 -397
- package/dist/cli-bundle/chunks/append-7BXBFDGD.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-TPKDJ5WL.js → chunk-2AXF3VSK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-R6RKEYYW.js → chunk-2XS43CCV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-T45OHXDW.js → chunk-3A6KWB72.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-3ISTDB42.js +8 -0
- package/dist/cli-bundle/chunks/{chunk-SXECIECW.js → chunk-4MTI7XOV.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MCS73BKB.js → chunk-6BX5UDCN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-A3XQ7VPU.js → chunk-6QPO7KLR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BP6EMEDP.js → chunk-7MXHZHSQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GU3TSEHD.js → chunk-7ZPMJW4U.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-343QETLI.js → chunk-AGYNSNCI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-B4H7FEFH.js +5 -0
- package/dist/cli-bundle/chunks/{chunk-CA3BURYF.js → chunk-B4KLBBMN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3ZJRFYY2.js → chunk-CALJHNBL.js} +12 -12
- package/dist/cli-bundle/chunks/{chunk-M357ZCOR.js → chunk-CFIGP5LY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SVV3DQES.js → chunk-CS6MRHG7.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DWOAOZHZ.js → chunk-CUGNQQKH.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-D4FPS43D.js +164 -0
- package/dist/cli-bundle/chunks/{chunk-L6LGKJX3.js → chunk-H5Y5YE6A.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5PBP2ZP3.js → chunk-H5Y6UV6E.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QJ7C3JIW.js → chunk-H7KGWPDF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-D7I3TUGV.js → chunk-HFSD77TQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AOBDLU4T.js → chunk-HX2GTA6L.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4AVFKHHC.js → chunk-J2IEKAVR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OXY3SJ3N.js → chunk-K44PYFXH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-M4VEE3FK.js → chunk-K4KGEEBT.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-KFLK5TRH.js +21 -0
- package/dist/cli-bundle/chunks/{chunk-FDBRXV25.js → chunk-KL6IEBV2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JQ4NZ5EB.js → chunk-KWQZDZSS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UVVXHGYS.js → chunk-KZ4X3DGU.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-LD77HJMQ.js +13 -0
- package/dist/cli-bundle/chunks/{chunk-AYRUGRNS.js → chunk-ME2JJ4LA.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NFLJ3FHD.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-MDTH7SAE.js → chunk-NG6OXIBR.js} +8 -8
- package/dist/cli-bundle/chunks/{chunk-R6LSRGPS.js → chunk-NYIGHWQY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3KFVGGRE.js → chunk-NZ75GNSA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q3VOP62W.js → chunk-PCJWJNC2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-C3YABSJK.js → chunk-PD3225AM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JFZIS6JF.js → chunk-PDEGKG7P.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-PIE5HBNA.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-SD3YXU2U.js → chunk-PW2H7YJR.js} +20 -20
- package/dist/cli-bundle/chunks/{chunk-PECV7L5T.js → chunk-TPKN3S7S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-F4NREH3G.js → chunk-TPXAXTCO.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-UFWUJO4V.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-WSI5KZQJ.js → chunk-UQLZQVFW.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4OVGQW22.js → chunk-VT3Z5G7D.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RUAU5OSH.js → chunk-WOD3WWUN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-DQGJ2RWT.js → chunk-WSJEIGJF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RAFUN7IX.js → chunk-WYNUU7ZW.js} +49 -46
- package/dist/cli-bundle/chunks/{chunk-5ZKQPA44.js → chunk-YGPNCCXZ.js} +2 -2
- package/dist/cli-bundle/chunks/close-CMY3BAUG.js +2 -0
- package/dist/cli-bundle/chunks/close-many-SA4XZCTK.js +2 -0
- package/dist/cli-bundle/chunks/comments-EZ556ZD3.js +2 -0
- package/dist/cli-bundle/chunks/copy-ZSGPA52X.js +2 -0
- package/dist/cli-bundle/chunks/{create-TG67IVFI.js → create-I5DVV4YG.js} +2 -2
- package/dist/cli-bundle/chunks/delete-RL3JACSW.js +2 -0
- package/dist/cli-bundle/chunks/{deps-AJUGP2OH.js → deps-S7UBCECS.js} +2 -2
- package/dist/cli-bundle/chunks/{docs-QOCLDRKJ.js → docs-ZZNVBBYO.js} +2 -2
- package/dist/cli-bundle/chunks/{files-3ST5TY64.js → files-27C337VT.js} +2 -2
- package/dist/cli-bundle/chunks/focus-5Z2SG7LU.js +2 -0
- package/dist/cli-bundle/chunks/{history-compact-7BJFML4S.js → history-compact-HJQK67CZ.js} +2 -2
- package/dist/cli-bundle/chunks/{history-redact-WJN3HYXR.js → history-redact-PWC6PDWA.js} +2 -2
- package/dist/cli-bundle/chunks/{history-repair-XDNZUB7F.js → history-repair-N3CY4WBF.js} +2 -2
- package/dist/cli-bundle/chunks/{learnings-SZMUPVNA.js → learnings-4FH23XDT.js} +2 -2
- package/dist/cli-bundle/chunks/{profile-KL53JIAC.js → profile-5Y5XXH5N.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-QH7ONPKU.js → register-list-query-FJZCJ67O.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-OCRQNZK4.js → register-mutation-YGYPW3BL.js} +3 -3
- package/dist/cli-bundle/chunks/register-operations-WMDSUMQF.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-QWBQ6HBS.js → register-setup-DL7FFABC.js} +2 -2
- package/dist/cli-bundle/chunks/restore-6KYBV5BY.js +2 -0
- package/dist/cli-bundle/chunks/{schema-QJ27OTRV.js → schema-EQGKBYXJ.js} +2 -2
- package/dist/cli-bundle/chunks/update-QVTYOD6I.js +2 -0
- package/dist/cli-bundle/chunks/update-many-DJSBU525.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-MBBMTDD3.js → chunk-2ECLECMK.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-CL3NB7VW.js → chunk-3K4XV2BF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-ME4XVOBJ.js → chunk-4EX25PXM.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-4VJQTS3P.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-73JUDYXT.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-GSW2Y7VZ.js → chunk-CIXVQPB7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-7YTZ7A4E.js → chunk-DLTS3IHM.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-YHDCGUIW.js → chunk-DQ6FKGL3.js} +10 -10
- package/dist/cli-bundle/focused-chunks/{chunk-YLPZHWX7.js → chunk-HNL6IFGS.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-JLG2C4EQ.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-6KDHXURF.js → chunk-MHMTKV5V.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-GEYU23YS.js → chunk-MOTJFQ3F.js} +22 -22
- package/dist/cli-bundle/focused-chunks/{chunk-EYO4F74Z.js → chunk-NBJKQP4S.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-XNVXIQ4B.js → chunk-QHRTT7WT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-27DK4A5O.js → chunk-R2LEMEV5.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-4JC3AOGS.js → chunk-RPNYG5MO.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-EAXXF2HW.js → chunk-RW5IYD4J.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-TQMFQYXR.js → chunk-TIKDBG4D.js} +16 -16
- package/dist/cli-bundle/focused-chunks/{chunk-N7QN3NE6.js → chunk-VZFU2R4M.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-GIERI4YU.js → chunk-YZEZAPJK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZJIMJHDB.js +2 -0
- package/dist/cli-bundle/main.js +2 -2
- 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 +29 -28
- 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 +1 -1
- 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/extensions/reserved-host-flags.js +3 -2
- package/dist/core/history/workspace-history.d.ts +22 -2
- package/dist/core/history/workspace-history.js +60 -36
- package/dist/core/output/output.d.ts +2 -0
- package/dist/core/output/output.js +3 -2
- package/dist/core/shared/command-types.d.ts +2 -0
- package/dist/core/shared/command-types.js +2 -2
- package/dist/mcp/tool-definitions.js +6 -2
- package/dist/sdk/author-attribution.js +23 -7
- package/dist/sdk/cli-bootstrap.d.ts +2 -0
- package/dist/sdk/cli-bootstrap.js +7 -2
- package/dist/sdk/cli-contracts/completeness.js +51 -4
- package/dist/sdk/cli-contracts/flag-contracts.js +3 -2
- package/dist/sdk/cli-contracts/registration-helpers.js +3 -2
- package/dist/sdk/cli-contracts/runtime-contracts.js +14 -8
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +116 -10
- package/dist/sdk/cli-contracts/tool-schema.js +18 -2
- package/dist/sdk/cli-program.js +3 -2
- package/dist/sdk/completion.js +5 -2
- package/dist/sdk/contracts.d.ts +1 -0
- package/dist/sdk/contracts.js +2 -2
- package/dist/sdk/core.d.ts +3 -1
- package/dist/sdk/core.js +4 -3
- package/dist/sdk/extension.js +9 -11
- package/dist/sdk/generated-error-code-catalog.js +112 -2
- package/dist/sdk/history-analytics.d.ts +141 -0
- package/dist/sdk/history-analytics.js +283 -0
- package/dist/sdk/improvement-ledger-validation.d.ts +3 -0
- package/dist/sdk/improvement-ledger-validation.js +63 -0
- package/dist/sdk/improvement-ledger.d.ts +139 -0
- package/dist/sdk/improvement-ledger.js +261 -0
- package/dist/sdk/index.d.ts +6 -2
- package/dist/sdk/index.js +8 -4
- package/dist/sdk/lifecycle/plan.js +6 -3
- package/dist/sdk/merge/install.js +10 -2
- package/dist/sdk/read-output-budget.js +24 -22
- package/dist/sdk/read-output-contracts.d.ts +10 -2
- package/dist/sdk/read-output-contracts.js +124 -65
- package/dist/sdk/read-output-rows.d.ts +29 -0
- package/dist/sdk/read-output-rows.js +100 -0
- package/dist/sdk/read-output-session.d.ts +69 -0
- package/dist/sdk/read-output-session.js +200 -0
- package/dist/sdk/runtime-input.d.ts +2 -0
- package/dist/sdk/runtime-input.js +14 -2
- package/dist/sdk/runtime-primitives.d.ts +1 -1
- package/dist/sdk/runtime-primitives.js +3 -3
- package/dist/sdk/runtime-stats-options.d.ts +9 -0
- package/dist/sdk/runtime-stats-options.js +38 -0
- package/dist/sdk/runtime.d.ts +1 -0
- package/dist/sdk/runtime.js +6 -27
- package/dist/sdk/stats.d.ts +40 -0
- package/dist/sdk/stats.js +112 -29
- package/docs/IMPROVEMENT_ANALYTICS.md +103 -0
- package/docs/OUTPUT_PROJECTION_CONTRACTS.md +5 -5
- package/docs/README.md +1 -0
- package/docs/READ_OUTPUT_CONTRACTS.md +60 -1
- package/marketplace.json +2 -2
- package/package.json +3 -3
- 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 +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +374 -821
- package/dist/cli-bundle/chunks/append-XAJ5Z4XS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-AJE3AHPD.js +0 -8
- package/dist/cli-bundle/chunks/chunk-E7BFPLUZ.js +0 -5
- package/dist/cli-bundle/chunks/chunk-HS7OVAUN.js +0 -164
- package/dist/cli-bundle/chunks/chunk-SV3YQ4RY.js +0 -2
- package/dist/cli-bundle/chunks/chunk-V663653R.js +0 -20
- package/dist/cli-bundle/chunks/chunk-XPOQQJTX.js +0 -13
- package/dist/cli-bundle/chunks/chunk-YCCDXBNU.js +0 -2
- package/dist/cli-bundle/chunks/chunk-ZFBWCKYF.js +0 -2
- package/dist/cli-bundle/chunks/close-DI66JMSB.js +0 -2
- package/dist/cli-bundle/chunks/close-many-VFKT6U3O.js +0 -2
- package/dist/cli-bundle/chunks/comments-E73HIEZJ.js +0 -2
- package/dist/cli-bundle/chunks/copy-WBYVLCPC.js +0 -2
- package/dist/cli-bundle/chunks/delete-6XKUVVQN.js +0 -2
- package/dist/cli-bundle/chunks/focus-R2AWS63Y.js +0 -2
- package/dist/cli-bundle/chunks/register-operations-HIBJXRGB.js +0 -2
- package/dist/cli-bundle/chunks/restore-FXA5QPM7.js +0 -2
- package/dist/cli-bundle/chunks/update-7GBO4SXG.js +0 -2
- package/dist/cli-bundle/chunks/update-many-VF6ZKQUO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-74CWP3A4.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-7AZDTGPA.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-LKQXXO62.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-QL5H3AQH.js +0 -2
package/dist/sdk/stats.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Implements the pm stats command surface and its agent-facing runtime behavior.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
7
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a4de53c1-bb22-591f-a064-142c642a2443")}catch(e){}}();
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { getActiveExtensionRegistrations, runActiveOnReadHooks, } from "../core/extensions/index.js";
|
|
@@ -21,6 +21,9 @@ import { nowIso } from "../core/shared/time.js";
|
|
|
21
21
|
import { listAllItemMetadataLight, listAllItemMetadataWithBody, } from "../core/store/item-store.js";
|
|
22
22
|
import { getSettingsPath, resolvePmRoot } from "../core/store/paths.js";
|
|
23
23
|
import { readSettings } from "../core/store/settings.js";
|
|
24
|
+
import { recordImprovementObservation, readImprovementLedger, } from "./improvement-ledger.js";
|
|
25
|
+
import { projectFleetAttributionAnalytics, projectProvenanceCoverageAnalytics, readHistoryAnalyticsWindow, } from "./history-analytics.js";
|
|
26
|
+
import { parseTestRunMeasurements } from "./test/measurements.js";
|
|
24
27
|
function zeroByType(itemTypes) {
|
|
25
28
|
return itemTypes.reduce((acc, value) => {
|
|
26
29
|
acc[value] = 0;
|
|
@@ -73,6 +76,88 @@ export const _testOnly = {
|
|
|
73
76
|
countNonEmptyLines,
|
|
74
77
|
readHistoryStreamContents,
|
|
75
78
|
};
|
|
79
|
+
async function recordStatsObservations(global, options) {
|
|
80
|
+
const recorded = [];
|
|
81
|
+
const observedAt = nowIso();
|
|
82
|
+
for (const measurement of parseTestRunMeasurements(options.observe, observedAt)) {
|
|
83
|
+
recorded.push(await recordImprovementObservation({
|
|
84
|
+
metric: measurement.name,
|
|
85
|
+
value: measurement.value,
|
|
86
|
+
direction: options.direction,
|
|
87
|
+
unit: measurement.unit,
|
|
88
|
+
threshold: measurement.threshold,
|
|
89
|
+
source: options.measurementSource,
|
|
90
|
+
itemId: options.measurementItem,
|
|
91
|
+
revision: options.measurementRevision,
|
|
92
|
+
observedAt,
|
|
93
|
+
author: options.author,
|
|
94
|
+
message: options.message,
|
|
95
|
+
}, global));
|
|
96
|
+
}
|
|
97
|
+
return recorded;
|
|
98
|
+
}
|
|
99
|
+
function requestedBreakdowns(items, options, classifier) {
|
|
100
|
+
const breakdowns = {};
|
|
101
|
+
if (options.byAssignee) {
|
|
102
|
+
breakdowns.assignee = groupItemsByDimension(items, "assignee", classifier);
|
|
103
|
+
}
|
|
104
|
+
if (options.byTag) {
|
|
105
|
+
breakdowns.tag = groupItemsByDimension(items, "tag", classifier, {
|
|
106
|
+
tagPrefix: options.tagPrefix,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
if (options.byPriority) {
|
|
110
|
+
breakdowns.priority = groupItemsByDimension(items, "priority", classifier);
|
|
111
|
+
}
|
|
112
|
+
return breakdowns;
|
|
113
|
+
}
|
|
114
|
+
async function requestedHistoryAnalytics(pmRoot, items, settings, terminalStatuses, options) {
|
|
115
|
+
const historyOptions = {
|
|
116
|
+
since: options.since,
|
|
117
|
+
eventLimit: options.eventLimit,
|
|
118
|
+
minimumSample: options.minimumSample,
|
|
119
|
+
};
|
|
120
|
+
const sharedWindow = options.provenanceCoverage || options.fleetAttribution
|
|
121
|
+
? await readHistoryAnalyticsWindow(pmRoot, historyOptions)
|
|
122
|
+
: undefined;
|
|
123
|
+
return {
|
|
124
|
+
provenanceCoverage: options.provenanceCoverage && sharedWindow
|
|
125
|
+
? projectProvenanceCoverageAnalytics(sharedWindow, settings.agent_identity?.harness_signals, historyOptions)
|
|
126
|
+
: undefined,
|
|
127
|
+
fleetAttribution: options.fleetAttribution && sharedWindow
|
|
128
|
+
? projectFleetAttributionAnalytics(sharedWindow, items, terminalStatuses, historyOptions)
|
|
129
|
+
: undefined,
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function assembleStatsResult(totals, byType, byStatus, optional) {
|
|
133
|
+
const hasBreakdowns = Object.keys(optional.breakdowns).length > 0;
|
|
134
|
+
return {
|
|
135
|
+
totals,
|
|
136
|
+
by_type: byType,
|
|
137
|
+
by_status: byStatus,
|
|
138
|
+
...(optional.metadataCoverage
|
|
139
|
+
? { metadata_coverage: optional.metadataCoverage }
|
|
140
|
+
: {}),
|
|
141
|
+
...(hasBreakdowns ? { breakdowns: optional.breakdowns } : {}),
|
|
142
|
+
...(optional.storage ? { storage: optional.storage } : {}),
|
|
143
|
+
...(optional.fieldUtilization
|
|
144
|
+
? { field_utilization: optional.fieldUtilization }
|
|
145
|
+
: {}),
|
|
146
|
+
...(optional.improvementLedger
|
|
147
|
+
? { improvement_ledger: optional.improvementLedger }
|
|
148
|
+
: {}),
|
|
149
|
+
...(optional.recordedObservations.length > 0
|
|
150
|
+
? { recorded_observations: optional.recordedObservations }
|
|
151
|
+
: {}),
|
|
152
|
+
...(optional.provenanceCoverage
|
|
153
|
+
? { provenance_coverage: optional.provenanceCoverage }
|
|
154
|
+
: {}),
|
|
155
|
+
...(optional.fleetAttribution
|
|
156
|
+
? { fleet_attribution: optional.fleetAttribution }
|
|
157
|
+
: {}),
|
|
158
|
+
generated_at: nowIso(),
|
|
159
|
+
};
|
|
160
|
+
}
|
|
76
161
|
/** Implements run stats for the public runtime surface of this module. */
|
|
77
162
|
export async function runStats(global, options = {}) {
|
|
78
163
|
const pmRoot = resolvePmRoot(process.cwd(), global.path);
|
|
@@ -80,6 +165,7 @@ export async function runStats(global, options = {}) {
|
|
|
80
165
|
throw new PmCliError(`Tracker is not initialized at ${pmRoot}. Run pm init first.`, EXIT_CODE.NOT_FOUND);
|
|
81
166
|
}
|
|
82
167
|
const settings = await readSettings(pmRoot);
|
|
168
|
+
const recordedObservations = await recordStatsObservations(global, options);
|
|
83
169
|
const typeRegistry = resolveItemTypeRegistry(settings, getActiveExtensionRegistrations());
|
|
84
170
|
const statusRegistry = resolveRuntimeStatusRegistry(settings.schema);
|
|
85
171
|
// Field utilization needs the heavy collections (notes/learnings/files/docs/
|
|
@@ -116,36 +202,33 @@ export async function runStats(global, options = {}) {
|
|
|
116
202
|
const metadataCoverage = options.metadataCoverage
|
|
117
203
|
? computeMetadataCoverage(items, classifier)
|
|
118
204
|
: undefined;
|
|
119
|
-
const breakdowns =
|
|
120
|
-
if (options.byAssignee) {
|
|
121
|
-
breakdowns.assignee = groupItemsByDimension(items, "assignee", classifier);
|
|
122
|
-
}
|
|
123
|
-
if (options.byTag) {
|
|
124
|
-
breakdowns.tag = groupItemsByDimension(items, "tag", classifier, {
|
|
125
|
-
tagPrefix: options.tagPrefix,
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
if (options.byPriority) {
|
|
129
|
-
breakdowns.priority = groupItemsByDimension(items, "priority", classifier);
|
|
130
|
-
}
|
|
131
|
-
const hasBreakdowns = Object.keys(breakdowns).length > 0;
|
|
205
|
+
const breakdowns = requestedBreakdowns(items, options, classifier);
|
|
132
206
|
const fieldUtilization = options.fieldUtilization
|
|
133
207
|
? computeContentFieldUtilization(items)
|
|
134
208
|
: undefined;
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
209
|
+
const improvementLedger = options.measurements === true || recordedObservations.length > 0
|
|
210
|
+
? await readImprovementLedger({
|
|
211
|
+
pmRoot,
|
|
212
|
+
metric: options.metric,
|
|
213
|
+
itemId: options.measurementItem,
|
|
214
|
+
limit: options.measurementLimit,
|
|
215
|
+
})
|
|
216
|
+
: undefined;
|
|
217
|
+
const { provenanceCoverage, fleetAttribution } = await requestedHistoryAnalytics(pmRoot, items, settings, statusRegistry.terminal_statuses, options);
|
|
218
|
+
return assembleStatsResult({
|
|
219
|
+
items: items.length,
|
|
220
|
+
history_streams: streams.length,
|
|
221
|
+
history_entries: historyEntries,
|
|
222
|
+
}, byType, byStatus, {
|
|
223
|
+
metadataCoverage,
|
|
224
|
+
breakdowns,
|
|
225
|
+
storage,
|
|
226
|
+
fieldUtilization,
|
|
227
|
+
improvementLedger,
|
|
228
|
+
recordedObservations,
|
|
229
|
+
provenanceCoverage,
|
|
230
|
+
fleetAttribution,
|
|
231
|
+
});
|
|
149
232
|
}
|
|
150
233
|
//# sourceMappingURL=stats.js.map
|
|
151
|
-
//# debugId=
|
|
234
|
+
//# debugId=a4de53c1-bb22-591f-a064-142c642a2443
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Improvement Ledger and History Analytics
|
|
2
|
+
|
|
3
|
+
Tracker references: [pm-chahyq](../.agents/pm/features/pm-chahyq.toon), [pm-1wiugq](../.agents/pm/issues/pm-1wiugq.toon), [pm-gw6uyq](../.agents/pm/features/pm-gw6uyq.toon)
|
|
4
|
+
|
|
5
|
+
`pm` treats project management as context management. Improvement observations and fleet analytics therefore remain attached to authoritative project context: observations are audited workspace state, while provenance and outcome analytics are bounded projections of immutable history.
|
|
6
|
+
|
|
7
|
+
## Agent Quick Context
|
|
8
|
+
|
|
9
|
+
- Record quantitative evidence with `pm stats --analytics '{...}'`; do not hand-edit `.agents/pm/improvement-ledger.json`.
|
|
10
|
+
- Request ledger and history projections through the single typed `--analytics` JSON object. This keeps the agent-facing command contract bounded while the SDK and MCP retain their fully typed fields.
|
|
11
|
+
- Ledger reads are newest-first and bounded; trends still use every matching retained observation.
|
|
12
|
+
- Use an explicit metric direction. `lower` is the default; `target` requires a threshold and measures convergence toward it.
|
|
13
|
+
- Use `provenanceCoverage` to find declared-but-inert or undeclared provenance dimensions.
|
|
14
|
+
- Use `fleetAttribution` for observational comparisons only. It must never authorize, assign, route, rank, or evaluate an individual agent.
|
|
15
|
+
- Bound history work with `since`, `eventLimit`, and `minimumSample`.
|
|
16
|
+
|
|
17
|
+
## Audited improvement observations
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pm stats \
|
|
21
|
+
--analytics "$(jq -cn --arg revision "$(git rev-parse HEAD)" '{
|
|
22
|
+
observe: ["quality.coverage.lines=100,unit=percent,threshold=100"],
|
|
23
|
+
direction: "higher",
|
|
24
|
+
measurementSource: "pnpm coverage",
|
|
25
|
+
measurementItem: "pm-example",
|
|
26
|
+
measurementRevision: $revision,
|
|
27
|
+
measurements: true
|
|
28
|
+
}')" \
|
|
29
|
+
--json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Each observation records a content identity, metric, finite value, direction, timestamp, revision provenance, author, and optional unit, threshold, source, and owning item. When no revision is supplied, `pm` uses Git HEAD when available and otherwise records an explicit `unversioned` marker.
|
|
33
|
+
|
|
34
|
+
Retries are idempotent by revision, metric, source, and owner. Reusing that key with different numeric or metric-contract data fails with a conflict instead of silently rewriting history. A metric keeps one direction, unit, and—when target-directed—target threshold throughout its series.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pm stats --analytics '{"measurements":true,"metric":"quality.coverage.lines","measurementLimit":20}'
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The `improvement_ledger` result contains:
|
|
41
|
+
|
|
42
|
+
- `observations`: a bounded newest-first page;
|
|
43
|
+
- `total` and `truncated`: the complete match count and omission state;
|
|
44
|
+
- `trends`: baseline, latest, delta, improvement state, and sample count per metric;
|
|
45
|
+
- `source: audited_workspace_singleton`: the state provenance receipt.
|
|
46
|
+
|
|
47
|
+
The singleton is written through the workspace lock and `_workspace` hash-chained audit stream. Compaction may reduce historical patches, but it does not remove current ledger state.
|
|
48
|
+
|
|
49
|
+
## Provenance coverage
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pm stats --analytics '{"provenanceCoverage":true,"since":"-30d","eventLimit":10000,"minimumSample":5}' --json
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
This projection compares configured harness signal descriptors with observed immutable history. It reports descriptor coverage, observed/unavailable/legacy-missing values, inert dimensions with sufficient explicit samples, undeclared dimensions, and stable warning codes. The live corpus is the positive control; deliberately missing descriptors and unavailable values provide negative controls in tests.
|
|
56
|
+
|
|
57
|
+
## Fleet attribution
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
pm stats --analytics '{"fleetAttribution":true,"since":"-30d","eventLimit":10000,"minimumSample":5}' --json
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Fleet attribution groups bounded events by harness, model, and author source. Each group reports state and annotation events, terminal transitions, reopens, and issues linked with `discovered_from` to closed work. Rates remain `null` until the close denominator reaches `minimum_sample`.
|
|
64
|
+
|
|
65
|
+
The result always includes `policy: observational_only_not_for_authorization_or_routing`. Missing dimensions are `unavailable`, small denominators are `insufficient`, and a `window` receipt states the lower bound, consumed event count, truncation, and continuation cursor.
|
|
66
|
+
|
|
67
|
+
## SDK
|
|
68
|
+
|
|
69
|
+
```ts
|
|
70
|
+
import {
|
|
71
|
+
readImprovementLedger,
|
|
72
|
+
recordImprovementObservation,
|
|
73
|
+
runFleetAttributionAnalytics,
|
|
74
|
+
runProvenanceCoverageAnalytics,
|
|
75
|
+
} from "@unbrained/pm-cli/sdk";
|
|
76
|
+
|
|
77
|
+
await recordImprovementObservation(
|
|
78
|
+
{
|
|
79
|
+
metric: "quality.coverage.lines",
|
|
80
|
+
value: 100,
|
|
81
|
+
direction: "higher",
|
|
82
|
+
unit: "percent",
|
|
83
|
+
revision: process.env.GIT_COMMIT,
|
|
84
|
+
},
|
|
85
|
+
{ path: ".agents/pm" },
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
const ledger = await readImprovementLedger({
|
|
89
|
+
pmRoot: ".agents/pm",
|
|
90
|
+
metric: "quality.coverage.lines",
|
|
91
|
+
limit: 20,
|
|
92
|
+
});
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
`PmClient.stats()` exposes the combined typed contract. The lower-level functions support packages that need one primitive without constructing a command transport. MCP uses the same action schema; its direction field is named `improvementDirection` to avoid collision with dependency-graph traversal direction. The CLI deliberately folds the new analytics fields into one validated `--analytics` object so its help and contract surface stay within the enforced agent-token budget.
|
|
96
|
+
|
|
97
|
+
## Safety and interpretation
|
|
98
|
+
|
|
99
|
+
- Treat observations as evidence, not a universal objective function. Record the producing gate and owning item so context survives.
|
|
100
|
+
- Compare like-for-like metric contracts; a changed unit, direction, or target should use a new metric name.
|
|
101
|
+
- Do not infer causality from attribution. The projection describes recorded history and relationship links only.
|
|
102
|
+
- A truncated window is incomplete evidence. Resume or increase the bound before publishing conclusions.
|
|
103
|
+
- Keep credentials, private payloads, host identifiers, and customer data out of metric names, sources, messages, and item links.
|
|
@@ -213,19 +213,19 @@ metadata as a continuation negative control. The checked-in report is
|
|
|
213
213
|
|
|
214
214
|
| Intent | 2-item tokens / budget | 2,243-item tokens / budget | Current-scale rows | Degradation |
|
|
215
215
|
| ------ | ---------------------- | -------------------------- | ------------------ | ----------- |
|
|
216
|
-
| `context:orient` |
|
|
216
|
+
| `context:orient` | 735 / 2,400 | 1,028 / 2,400 | 3 | bounded sections |
|
|
217
217
|
| `get:inspect` | 401 / 3,200 | 415 / 3,200 | item envelope | standard item |
|
|
218
|
-
| `list:triage` |
|
|
218
|
+
| `list:triage` | 443 / 3,200 | 3,189 / 3,200 | 69 | budget-derived rows |
|
|
219
219
|
| `next:execute` | 395 / 1,200 | 1,171 / 1,200 | 14 | budget-derived rows |
|
|
220
|
-
| `search:discover` |
|
|
220
|
+
| `search:discover` | 350 / 1,800 | 1,761 / 1,800 | 27 | budget-derived rows |
|
|
221
221
|
|
|
222
222
|
Whole-answer cursor cost is measured against the unprojected single call for
|
|
223
223
|
the identical ordered row set:
|
|
224
224
|
|
|
225
225
|
| Family | Rows | Pages | Optimized bytes/row | Optimized walk | Repeated-metadata control | Unbounded call | Walk / unbounded |
|
|
226
226
|
| ------ | ---- | ----- | ------------------- | -------------- | ------------------------- | -------------- | ---------------- |
|
|
227
|
-
| `list:triage` | 1,998 |
|
|
228
|
-
| `search:discover` | 1,998 |
|
|
227
|
+
| `list:triage` | 1,998 | 31 | 172.93 | 345,519 B | 387,489 B | 1,558,741 B | 0.2217 |
|
|
228
|
+
| `search:discover` | 1,998 | 66 | 202.50 | 404,591 B | 470,046 B | 1,681,847 B | 0.2406 |
|
|
229
229
|
|
|
230
230
|
These are corpus-generated figures, not live tracker payloads. The generated
|
|
231
231
|
corpus contains 2,243 items; the `status:all` query intentionally excludes 245
|
package/docs/README.md
CHANGED
|
@@ -53,6 +53,7 @@ pm guide release --json
|
|
|
53
53
|
- [Agent Provenance ADR Amendment](AGENT_PROVENANCE_ADR.md) - extensible model, effort, role, and host provenance with privacy and compatibility boundaries.
|
|
54
54
|
- [SDK Agent Session and Episode Context](SDK_AGENT_SESSION_CONTEXT.md) - inherited role/topic context, cross-process episode identity, and deterministic history grouping.
|
|
55
55
|
- [SDK Context Coordination](SDK_CONTEXT_COORDINATION.md) - durable mutation events, bounded duplicate governance, and scale-safe package primitives.
|
|
56
|
+
- [Improvement Ledger and History Analytics](IMPROVEMENT_ANALYTICS.md) - audited quantitative observations, live provenance coverage, and bounded observational fleet outcomes.
|
|
56
57
|
- [SDK Evidence Traceability and Integrity](SDK_EVIDENCE_TRACEABILITY.md) - reverse source-to-item lookup, atomic evidence replacement, no-op history, linked-test collision classification, and telemetry drain receipts.
|
|
57
58
|
- [SDK Context Integrity Primitives](SDK_CONTEXT_INTEGRITY_PRIMITIVES.md) - batch duplicate discovery, structured errors, Plan evidence/lifecycle, sparse settings, tombstones, linked-test output, relocation diagnostics, and scoped output services.
|
|
58
59
|
- [Reproducible Workspaces and Snapshots](REPRODUCIBLE_WORKSPACES.md) - deterministic SDK recipes and content-addressed authoritative tracker restore points.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Universal Read Output Contracts
|
|
2
2
|
|
|
3
|
-
Tracker references: [pm-hb7ug8](../.agents/pm/features/pm-hb7ug8.toon)
|
|
3
|
+
Tracker references: [pm-hb7ug8](../.agents/pm/features/pm-hb7ug8.toon), [pm-cxr0jb](../.agents/pm/features/pm-cxr0jb.toon), [pm-hid9g1](../.agents/pm/features/pm-hid9g1.toon), and [pm-sb0tns](../.agents/pm/issues/pm-sb0tns.toon).
|
|
4
4
|
|
|
5
5
|
## Agent Quick Context
|
|
6
6
|
|
|
@@ -15,6 +15,58 @@ Every built-in read surface uses four output dimensions: what to include, how mu
|
|
|
15
15
|
|
|
16
16
|
The contract covers `list`, `context`, `search`, `get`, `next`, `health`, `deps`, `graph`, `history`, `activity`, `validate`, `events`, `contracts`, `comments`, `notes`, `files`, `docs`, `stats`, and `aggregate`, including list aliases and `ctx`.
|
|
17
17
|
|
|
18
|
+
Row shaping follows each envelope's `row_contract.row_keys`, including
|
|
19
|
+
dot-delimited nested arrays and object maps such as `graph.nodes`. Include,
|
|
20
|
+
amount, repeat suppression, and cost compaction therefore operate on the same
|
|
21
|
+
machine-declared rows; they do not rely on command-specific top-level keys.
|
|
22
|
+
|
|
23
|
+
## Cross-Call Context Sessions
|
|
24
|
+
|
|
25
|
+
`--output-session <json>` / `outputSession` composes the four per-call
|
|
26
|
+
dimensions across a request group. The caller supplies versioned state and
|
|
27
|
+
passes the returned `read_session.next_state` to the next read:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"version": 1,
|
|
32
|
+
"id": "orientation",
|
|
33
|
+
"token_budget": 4000,
|
|
34
|
+
"spent_tokens": 0,
|
|
35
|
+
"seen_item_ids": []
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
The session ceiling and an explicit `--output-budget` both bind; the smaller
|
|
40
|
+
remaining allowance wins. Rows for item facts already present in the caller's
|
|
41
|
+
context become `{ "id": "pm-a1b2", "context_ref":
|
|
42
|
+
"session:orientation:pm-a1b2" }` instead of repeating prose. References retain
|
|
43
|
+
stable item identity and can be restored with `pm get <item-id> --brief` when
|
|
44
|
+
the prior context is unavailable. The receipt reports estimated and charged
|
|
45
|
+
tokens separately when the remaining group allowance is smaller than the
|
|
46
|
+
minimum control envelope, plus the accumulated spend, remaining capacity,
|
|
47
|
+
newly served items, and suppressed repeats.
|
|
48
|
+
|
|
49
|
+
Session state is deliberately caller-carried: CLI processes, SDK clients, MCP
|
|
50
|
+
hosts, and packages share the same deterministic primitive without a hidden
|
|
51
|
+
daemon or mutable cache. Validation rejects unknown fields, invalid identifiers,
|
|
52
|
+
unsupported schema versions, unsafe integers, and spend beyond the declared
|
|
53
|
+
ceiling before a read executes.
|
|
54
|
+
|
|
55
|
+
The mandatory orientation calibration runs `context`, `list`, `search`, `get`,
|
|
56
|
+
and `next` against both a two-item tracker and a 2,243-item tracker. Its
|
|
57
|
+
cross-call ceilings are strict: complete serialized bytes and cumulative spend
|
|
58
|
+
may only shrink, while repeat suppression may only hold or improve. The gate
|
|
59
|
+
also fixes the expected unique-fact shape:
|
|
60
|
+
|
|
61
|
+
| Tracker tier | Group spend / budget | Seen items | Suppressed repeats | Delivered bytes |
|
|
62
|
+
| ------------ | -------------------- | ---------- | ------------------ | --------------- |
|
|
63
|
+
| 2 items | 3,663 / 20,000 | 2 | 3 | 14,646 |
|
|
64
|
+
| 2,243 items | 9,999 / 20,000 | 106 | 7 | 39,985 |
|
|
65
|
+
|
|
66
|
+
These are deterministic synthetic-corpus measurements from
|
|
67
|
+
`scripts/release/context-intent-calibration.json`; they contain no hosted
|
|
68
|
+
tracker content.
|
|
69
|
+
|
|
18
70
|
## Precedence and Compatibility
|
|
19
71
|
|
|
20
72
|
Resolution is deterministic: canonical controls win over command-local compatibility options, which win over intent defaults, which win over command defaults. Existing options such as `--fields`, `--limit`, `--token-budget`, `--format`, `--brief`, and `--full` remain accepted. Contract output marks them as hidden compatibility aliases and supplies a migration hint; traversal, cursor, side-effect, and streaming controls instead receive an explicit behavior-preservation hint because a static output control cannot replace their semantics. Callers that omit the canonical controls receive the byte-identical established result.
|
|
@@ -41,6 +93,13 @@ const result = await pm.list({
|
|
|
41
93
|
outputInclude: "id,title,status",
|
|
42
94
|
outputLimit: 10,
|
|
43
95
|
outputBudget: 800,
|
|
96
|
+
outputSession: {
|
|
97
|
+
version: 1,
|
|
98
|
+
id: "orientation",
|
|
99
|
+
token_budget: 4000,
|
|
100
|
+
spent_tokens: 0,
|
|
101
|
+
seen_item_ids: [],
|
|
102
|
+
},
|
|
44
103
|
});
|
|
45
104
|
```
|
|
46
105
|
|
package/marketplace.json
CHANGED
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Official marketplace for pm CLI — native git-based project management for Claude Code and AI coding agents.",
|
|
9
|
-
"version": "2026.8.
|
|
9
|
+
"version": "2026.8.7"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "pm-claude",
|
|
14
14
|
"source": "./plugins/pm-claude",
|
|
15
15
|
"description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents, hybrid TUI task tracking, session context injection, and coordination subagents for git-based project management without leaving Claude Code.",
|
|
16
|
-
"version": "2026.8.
|
|
16
|
+
"version": "2026.8.7",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "unbrained",
|
|
19
19
|
"url": "https://github.com/unbraind/pm-cli"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unbrained/pm-cli",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.7",
|
|
4
4
|
"description": "Git-native project management CLI for humans and agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@11.10.0",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
},
|
|
197
197
|
"dependencies": {
|
|
198
198
|
"@sentry/node": "10.69.0",
|
|
199
|
-
"@toon-format/toon": "^4.1.
|
|
199
|
+
"@toon-format/toon": "^4.1.1",
|
|
200
200
|
"@types/node": ">=22",
|
|
201
201
|
"commander": "^15.0.0",
|
|
202
202
|
"fast-glob": "^3.3.3",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"fast-check": "^4.9.0",
|
|
219
219
|
"greptile": "^3.3.1",
|
|
220
220
|
"jscpd": "^5.0.14",
|
|
221
|
-
"tsx": "^4.23.
|
|
221
|
+
"tsx": "^4.23.8",
|
|
222
222
|
"typescript": "^6.0.3",
|
|
223
223
|
"typescript-eslint": "^8.66.0",
|
|
224
224
|
"vitest": "^4.1.10",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unbrained/pm-digital-twin",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.7",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Beyond-PM exemplar: a temporal production-facility digital twin built entirely on public pm SDK and extension primitives.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pm-claude",
|
|
3
3
|
"description": "Native pm CLI integration for Claude Code — 28 MCP tools, 5 workflow skills, 14 slash commands, 4 subagents (coordinator, delivery-chain, triage, verification), hybrid TUI task tracking (pm as persistent store + Claude Code task panel as live view), session context injection, and full git-based project management without leaving Claude Code.",
|
|
4
|
-
"version": "2026.8.
|
|
4
|
+
"version": "2026.8.7",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "unbrained",
|
|
7
7
|
"url": "https://github.com/unbraind/pm-cli"
|