pm-graph 2026.7.21 → 2026.7.23
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/CHANGELOG.md +10 -0
- package/README.md +19 -0
- package/dist/index.js +2 -2
- package/manifest.json +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026.7.23 - 2026-07-23
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Recommend pm merge reconcile (2026.7.22) over raw history-repair in Multi-agent merge safety docs ([pm-graph-10e8](https://github.com/unbraind/pm-graph/blob/main/.agents/pm/issues/pm-graph-10e8.toon))
|
|
8
|
+
|
|
9
|
+
### Other
|
|
10
|
+
|
|
11
|
+
- Adopt pm field-aware merge driver for multi-agent branch-merge safety ([pm-graph-tjqb](https://github.com/unbraind/pm-graph/blob/main/.agents/pm/chores/pm-graph-tjqb.toon))
|
|
12
|
+
|
|
3
13
|
## 2026.7.18 - 2026-07-18
|
|
4
14
|
|
|
5
15
|
### Added
|
package/README.md
CHANGED
|
@@ -485,3 +485,22 @@ pm pm-graph ping
|
|
|
485
485
|
## Release Automation
|
|
486
486
|
|
|
487
487
|
This package is release-ready for GitHub, npm, and Bun-compatible installs. CI runs type checking, build, production dependency audit, package packing, Bun install verification, and pm-changelog validation. The daily release workflow publishes only when commits exist after the latest release tag and uses pm-changelog to generate CHANGELOG.md and GitHub release notes.
|
|
488
|
+
|
|
489
|
+
## Multi-agent merge safety
|
|
490
|
+
|
|
491
|
+
This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
|
|
492
|
+
that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
|
|
493
|
+
tracker edits merge cleanly instead of hard-conflicting. The driver definitions live in per-clone
|
|
494
|
+
Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script (a portable Node guard, `scripts/prepare-merge-driver.mjs`: it runs
|
|
495
|
+
`pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so
|
|
496
|
+
production / `--omit=dev` installs are not broken; being Node-based it behaves identically
|
|
497
|
+
on POSIX shells and Windows `cmd.exe`). To (re)run manually: `npm run merge:install`.
|
|
498
|
+
|
|
499
|
+
After merging a branch that touched `.agents/pm/`, reconcile any residual history-hash drift with
|
|
500
|
+
**`pm merge reconcile`** (pm-cli ≥ 2026.7.22): preview with `pm merge reconcile --dry-run`, apply with
|
|
501
|
+
`pm merge reconcile --message "post-merge reconcile"`, then confirm with `pm validate`, which scans the
|
|
502
|
+
whole tracker and flags remaining history drift across **every** affected item (`pm merge reconcile`
|
|
503
|
+
itself lists each affected stream in its output; `pm history --verify <id>` spot-checks one item). The field-aware driver already unions every author's
|
|
504
|
+
content, so `reconcile` only re-greens the hash chain (no data loss) — see the authoritative
|
|
505
|
+
[pm-cli merge-safety guide](https://github.com/unbraind/pm-cli/blob/main/docs/MERGE_SAFETY.md). The
|
|
506
|
+
older blunt `pm history-repair --all` remains available as a lower-level primitive.
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { writeFileSync } from "node:fs";
|
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
const execFileAsync = promisify(execFile);
|
|
7
|
-
const EXTENSION_VERSION = "2026.7.
|
|
7
|
+
const EXTENSION_VERSION = "2026.7.23";
|
|
8
8
|
// ---------------------------------------------------------------------------
|
|
9
9
|
// Error contract
|
|
10
10
|
// ---------------------------------------------------------------------------
|
|
@@ -2005,7 +2005,7 @@ export function activate(api) {
|
|
|
2005
2005
|
nodeCount: "Number of PmGraphNode entries in Neo4j (if connected)",
|
|
2006
2006
|
relationshipCount: "Number of relationships between PmGraphNode entries (if connected)",
|
|
2007
2007
|
lastSyncedAt: "Timestamp of the most recent sync (or null)",
|
|
2008
|
-
version: "2026.7.
|
|
2008
|
+
version: "2026.7.23",
|
|
2009
2009
|
},
|
|
2010
2010
|
};
|
|
2011
2011
|
}
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pm-graph",
|
|
3
|
-
"version": "2026.7.
|
|
3
|
+
"version": "2026.7.23",
|
|
4
4
|
"description": "Knowledge graph and dependency graph extension for pm CLI workspaces, with optional Neo4j sync.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "tsc",
|
|
8
8
|
"build:test": "tsc -p tsconfig.test.json",
|
|
9
9
|
"typecheck": "tsc --noEmit",
|
|
10
|
-
"prepare": "
|
|
10
|
+
"prepare": "node scripts/prepare-merge-driver.mjs",
|
|
11
11
|
"check": "npm run typecheck",
|
|
12
12
|
"audit:prod": "npm audit --omit=dev",
|
|
13
13
|
"pack:dry-run": "npm pack --dry-run",
|
|
@@ -18,14 +18,15 @@
|
|
|
18
18
|
"prepack": "npm run build",
|
|
19
19
|
"test": "npm run build && npm run build:test && node --test dist-test/*.js",
|
|
20
20
|
"prepublishOnly": "npm run release:check",
|
|
21
|
-
"release:notes": "pm-changelog --pm-root .agents/pm --stdout --since-previous-tag --until-release-tag --release-version-from-package --item-url-base https://github.com/unbraind/pm-graph/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary"
|
|
21
|
+
"release:notes": "pm-changelog --pm-root .agents/pm --stdout --since-previous-tag --until-release-tag --release-version-from-package --item-url-base https://github.com/unbraind/pm-graph/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary",
|
|
22
|
+
"merge:install": "pm merge install"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"neo4j-driver": "^6.2.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"@types/node": "^26.1.1",
|
|
28
|
-
"@unbrained/pm-cli": "^2026.7.
|
|
29
|
+
"@unbrained/pm-cli": "^2026.7.22",
|
|
29
30
|
"pm-changelog": "^2026.7.10",
|
|
30
31
|
"typescript": "^7.0.2"
|
|
31
32
|
},
|