pm-brief 2026.10.21 → 2026.10.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.
@@ -0,0 +1,22 @@
1
+ # Comparing cache proposals
2
+
3
+ Create two native records in a plain initialized scratch tracker:
4
+
5
+ ```bash
6
+ pm create --type Decision --title 'Keep the cache' --body 'Lower latency. Unresolved: eviction complexity.'
7
+ pm create --type Decision --title 'Remove the cache' --body 'Less maintenance. Unresolved: cold-start latency.'
8
+ # Substitute the exact IDs returned by those commands.
9
+ pm brief alternatives <keep-id> <remove-id> --json --token-budget 2000
10
+ ```
11
+
12
+ Each `alternatives` entry retains its ID, snapshot revision and independent
13
+ statements. A body statement for the first record has source `<keep-id>#/body`,
14
+ range `[0, 47)`, and text `Lower latency. Unresolved: eviction complexity.`.
15
+ The second record retains the opposing proposal and its cold-start tradeoff.
16
+ Neither record becomes a recommendation.
17
+
18
+ For each statement, read the native source row, follow the JSON Pointer and
19
+ compare `String(value).slice(start, end)` with `text`. If a small budget omits
20
+ optional paragraphs, `omitted` increases and `restore` supplies the native read.
21
+ If even titles, statuses and recorded outcomes cannot fit, the command refuses
22
+ with `alternatives_budget` and a remedy instead of losing an alternative.
@@ -0,0 +1,6 @@
1
+ {
2
+ "focus": ["demo-task"],
3
+ "questions": [{ "id": "fixture", "text": "Which public fixture should the receiver validate?" }],
4
+ "assumptions": [{ "id": "review", "text": "The blocking review remains unresolved." }],
5
+ "requiredEvidence": [{ "id": "report", "item": "demo-task", "kind": "docs", "ref": "docs/validation.md" }]
6
+ }
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-brief",
3
- "version": "2026.10.21",
3
+ "version": "2026.10.23",
4
4
  "description": "Token-budgeted agent briefs and next-work plans for pm workspaces",
5
5
  "author": "@unbraind",
6
6
  "entry": "dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm-brief",
3
- "version": "2026.10.21",
3
+ "version": "2026.10.23",
4
4
  "description": "Token-budgeted agent briefs and next-work plans for pm workspaces",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -10,7 +10,9 @@
10
10
  "manifest.json",
11
11
  "README.md",
12
12
  "LICENSE",
13
- "CHANGELOG.md"
13
+ "CHANGELOG.md",
14
+ "docs/examples/handoff.json",
15
+ "docs/examples/alternatives.md"
14
16
  ],
15
17
  "scripts": {
16
18
  "build": "tsc",
@@ -92,7 +94,9 @@
92
94
  "CHANGELOG.md"
93
95
  ],
94
96
  "examples": [
95
- "README.md"
97
+ "README.md",
98
+ "docs/examples/handoff.json",
99
+ "docs/examples/alternatives.md"
96
100
  ],
97
101
  "capabilities": [
98
102
  "commands",