pm-csv 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-csv-9c2s](https://github.com/unbraind/pm-csv/blob/main/.agents/pm/issues/pm-csv-9c2s.toon))
8
+
9
+ ### Other
10
+
11
+ - Adopt pm field-aware merge driver for multi-agent branch-merge safety ([pm-csv-3lxi](https://github.com/unbraind/pm-csv/blob/main/.agents/pm/chores/pm-csv-3lxi.toon))
12
+
3
13
  ## 2026.7.19-1 - 2026-07-19
4
14
 
5
15
  ### Added
package/README.md CHANGED
@@ -377,6 +377,16 @@ This package is release-ready for GitHub, npm, and Bun-compatible installs. CI r
377
377
  This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
378
378
  that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
379
379
  tracker edits merge cleanly instead of hard-conflicting. The driver **definitions** live in
380
- per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script
381
- (guarded — it runs `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so production / `--omit=dev` installs are not broken). To (re)run manually: `npm run merge:install`. After merging a branch that
382
- touched `.agents/pm/`, run `pm history-repair --all` to reconcile history verification.
380
+ per-clone Git config; `npm install` / `npm ci` wires them automatically via the `prepare` script (a portable Node guard, `scripts/prepare-merge-driver.mjs`: it runs
381
+ `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so
382
+ production / `--omit=dev` installs are not broken; being Node-based it behaves identically
383
+ on POSIX shells and Windows `cmd.exe`). To (re)run manually: `npm run merge:install`.
384
+
385
+ After merging a branch that touched `.agents/pm/`, reconcile any residual history-hash drift with
386
+ **`pm merge reconcile`** (pm-cli ≥ 2026.7.22): preview with `pm merge reconcile --dry-run`, apply with
387
+ `pm merge reconcile --message "post-merge reconcile"`, then confirm with `pm validate`, which scans the
388
+ whole tracker and flags remaining history drift across **every** affected item (`pm merge reconcile`
389
+ 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
390
+ content, so `reconcile` only re-greens the hash chain (no data loss) — see the authoritative
391
+ [pm-cli merge-safety guide](https://github.com/unbraind/pm-cli/blob/main/docs/MERGE_SAFETY.md). The
392
+ older blunt `pm history-repair --all` remains available as a lower-level primitive.
package/dist/index.js CHANGED
@@ -1690,7 +1690,7 @@ function buildCsvExport(pmRoot, opts) {
1690
1690
  }
1691
1691
  export default defineExtension({
1692
1692
  name: "pm-csv",
1693
- version: "2026.7.22",
1693
+ version: "2026.7.23",
1694
1694
  activate(api) {
1695
1695
  // -----------------------------------------------------------------------
1696
1696
  // Schema: register an optional `csv_source` provenance field so imported
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-csv",
3
- "version": "2026.7.22",
3
+ "version": "2026.7.23",
4
4
  "description": "CSV importer and exporter for pm-cli",
5
5
  "author": "@unbraind",
6
6
  "entry": "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-csv",
3
- "version": "2026.7.22",
3
+ "version": "2026.7.23",
4
4
  "description": "CSV importer and exporter for pm-cli",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,7 +34,7 @@
34
34
  "release:check": "npm run typecheck && npm run build && npm test && npm run audit:prod && npm run pack:dry-run && npm run changelog:check",
35
35
  "prepublishOnly": "npm run release:check",
36
36
  "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-csv/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary",
37
- "prepare": "if command -v pm >/dev/null 2>&1; then pm merge install; fi",
37
+ "prepare": "node scripts/prepare-merge-driver.mjs",
38
38
  "merge:install": "pm merge install"
39
39
  },
40
40
  "peerDependencies": {
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^26.1.1",
45
- "@unbrained/pm-cli": "^2026.7.21",
45
+ "@unbrained/pm-cli": "^2026.7.22",
46
46
  "pm-changelog": "^2026.7.10",
47
47
  "typescript": "^7.0.2"
48
48
  },