pm-graph 2026.7.22 → 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 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
@@ -491,6 +491,16 @@ This package is release-ready for GitHub, npm, and Bun-compatible installs. CI r
491
491
  This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
492
492
  that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
493
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
495
- (`pm merge install`). To (re)run manually: `npm run merge:install`. After merging a branch that
496
- touched `.agents/pm/`, run `pm history-repair --all` to reconcile history verification.
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.22";
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.22",
2008
+ version: "2026.7.23",
2009
2009
  },
2010
2010
  };
2011
2011
  }
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-graph",
3
- "version": "2026.7.22",
3
+ "version": "2026.7.23",
4
4
  "description": "Knowledge graph and dependency graph extension for pm CLI workspaces, with optional Neo4j sync.",
5
5
  "entry": "./dist/index.js",
6
6
  "capabilities": [
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "pm-graph",
3
- "version": "2026.7.22",
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": "if command -v pm >/dev/null 2>&1; then pm merge install; fi",
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",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@types/node": "^26.1.1",
29
- "@unbrained/pm-cli": "^2026.7.21",
29
+ "@unbrained/pm-cli": "^2026.7.22",
30
30
  "pm-changelog": "^2026.7.10",
31
31
  "typescript": "^7.0.2"
32
32
  },