pm-slack 2026.7.20 → 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-slack-nyfb](https://github.com/unbraind/pm-slack/blob/main/.agents/pm/issues/pm-slack-nyfb.toon))
8
+
9
+ ### Other
10
+
11
+ - Adopt pm field-aware merge driver for multi-agent branch-merge safety ([pm-slack-zi5t](https://github.com/unbraind/pm-slack/blob/main/.agents/pm/chores/pm-slack-zi5t.toon))
12
+
3
13
  ## 2026.7.19 - 2026-07-19
4
14
 
5
15
  ### Added
package/README.md CHANGED
@@ -365,3 +365,22 @@ MIT
365
365
  ## Release Automation
366
366
 
367
367
  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.
368
+
369
+ ## Multi-agent merge safety
370
+
371
+ This repo tracks its project management in `.agents/pm/` and ships a committed `.gitattributes`
372
+ that maps those tracker artifacts to pm-cli's field-aware Git merge drivers, so concurrent-branch
373
+ tracker edits merge cleanly instead of hard-conflicting. The driver **definitions** live in
374
+ 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
375
+ `pm merge install` only when the `pm` CLI is on `PATH`, and no-ops cleanly otherwise so
376
+ production / `--omit=dev` installs are not broken; being Node-based it behaves identically
377
+ on POSIX shells and Windows `cmd.exe`). To (re)run manually: `npm run merge:install`.
378
+
379
+ After merging a branch that touched `.agents/pm/`, reconcile any residual history-hash drift with
380
+ **`pm merge reconcile`** (pm-cli ≥ 2026.7.22): preview with `pm merge reconcile --dry-run`, apply with
381
+ `pm merge reconcile --message "post-merge reconcile"`, then confirm with `pm validate`, which scans the
382
+ whole tracker and flags remaining history drift across **every** affected item (`pm merge reconcile`
383
+ 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
384
+ content, so `reconcile` only re-greens the hash chain (no data loss) — see the authoritative
385
+ [pm-cli merge-safety guide](https://github.com/unbraind/pm-cli/blob/main/docs/MERGE_SAFETY.md). The
386
+ older blunt `pm history-repair --all` remains available as a lower-level primitive.
package/dist/index.js CHANGED
@@ -1247,7 +1247,7 @@ function extractItem(ctx) {
1247
1247
  // ---------------------------------------------------------------------------
1248
1248
  export default defineExtension({
1249
1249
  name: "pm-slack",
1250
- version: "2026.7.20",
1250
+ version: "2026.7.23",
1251
1251
  activate(api) {
1252
1252
  // -----------------------------------------------------------------------
1253
1253
  // afterCommand hook — fires after every pm-cli command completes.
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-slack",
3
- "version": "2026.7.20",
3
+ "version": "2026.7.23",
4
4
  "description": "Slack notifications for pm item lifecycle events",
5
5
  "author": "@unbraind",
6
6
  "entry": "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-slack",
3
- "version": "2026.7.20",
3
+ "version": "2026.7.23",
4
4
  "description": "Slack notifications for pm item lifecycle events",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,14 +34,16 @@
34
34
  "changelog:check": "pm-changelog --pm-root .agents/pm --mode replace --output CHANGELOG.md --all-release-tags --release-version-from-package --item-url-base https://github.com/unbraind/pm-slack/blob/main/.agents/pm --check",
35
35
  "release:check": "npm run typecheck && npm run build && npm test && npm run audit:prod && npm run pack:dry-run && npm run changelog:check",
36
36
  "prepublishOnly": "npm run release:check",
37
- "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-slack/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary"
37
+ "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-slack/blob/main/.agents/pm --pm-bin ./node_modules/.bin/pm --github-step-summary",
38
+ "prepare": "node scripts/prepare-merge-driver.mjs",
39
+ "merge:install": "pm merge install"
38
40
  },
39
41
  "peerDependencies": {
40
42
  "@unbrained/pm-cli": ">=2026.7.5"
41
43
  },
42
44
  "devDependencies": {
43
45
  "@types/node": "^26.1.1",
44
- "@unbrained/pm-cli": "^2026.7.5",
46
+ "@unbrained/pm-cli": "^2026.7.22",
45
47
  "pm-changelog": "^2026.6.30",
46
48
  "typescript": "^7.0.2"
47
49
  },