chore(deps-dev): bump the pm-toolchain group with 3 updates
Bumps the pm-toolchain group with 3 updates: @unbrained/pm-cli, pm-changelog and pm-ops.
Updates @unbrained/pm-cli from 2026.11.20 to 2026.11.21
Release notes
Sourced from @unbrained/pm-cli's releases.
v2026.11.21
@unbrained/pm-cli2026.11.21Source range: v2026.11.20...v2026.11.21
Changelog
Changed (SDK contract)
- GH-1664: pm context --for orient --limit 3 and pm activity --limit 3 reparse every history stream, so a three-row recent-activity read pays archive-scale I/O: ActivityResult and ContextResult had no read-cost disclosure, the context activity section was built by a full runActivity page over every history stream, and writeFileAtomic always created files with the default mode → ActivityResult gains an optional history_read receipt and ContextResult an optional activity_history_read receipt ({ reason, streams_read, streams_total }), present only when a read on a tracker with 500 or more history streams could not be bounded by its window; readRecentActivity({ limit }, global), ActivityHistoryReadReceipt and RecentActivityResult are new exports of
@unbrained/pm-cli/sdk/query; writeFileAtomic accepts an optional mode; rows, totals, cursors and errors are unchanged. Migrate: No change for existing reads or writes. Consumers that reject unknown result keys should allow the optional history_read and activity_history_read receipts; a consumer that needs only the newest rows can call readRecentActivity instead of runActivity with raw: true (pm-gh1664)- GH-1757: credential refusal next_steps tell agents to restore the redacted URL credentials before replay, which reproduces the same refusal: A refusal of an identity carrying URL userinfo (--author, PM_AUTHOR, --assignee and other identity options) led its next_steps with restoring the redacted credentials, and its requirement text held a credential-shaped sample that redaction rewrote → Such refusals set url_credentials_rejected: { source }; their first next step names that source, says its credentials caused the refusal and must not be restored, and asks to restore any other redacted credentials; a PM_AUTHOR refusal whose command line carries no credential has only the plain-name step. Migrate: Agents and clients matching the old restore-them step text for identity refusals should follow the source-specific step; producers whose refusal rejects URL credentials themselves set url_credentials_rejected: { source } on the PmCliError context (pm-gh1757)
- GH-1756: pm context counts in_progress_unowned and in_progress_idle over a different population than in_progress: summary.in_progress counted only items in the progress status that also carried the active role, compared by the raw workflow id, while in_progress_unowned and in_progress_idle counted every item in that status, so the advisories could exceed the total → summary.in_progress counts every item in workflow.in_progress_status, alias-resolved and whatever role it carries, the same population as both advisories; open stays the active items outside it, and markdown renders a non-active progress count apart from active_items. Migrate: No change for the default workflow, where the progress status carries the active role. With a non-active progress status, read in_progress as the count of items in that status rather than active_items - open (pm-gh1756)
- GH-1759: strict health accepts a merge fence from an enclosing repository for a separate linked worktree: The fence audit walked up to eight logical parents of the tracker root and accepted the first .gitattributes with a managed block, even one above the Git worktree top level or reached through a symlink, which Git never applies → Inside a Git worktree the audit walks the tracker's canonical path up to the worktree's canonical top level (resolved from the tracker root, or passed as options.gitWorkspaceRoot) and reads only regular attribute files, so pm health, pm validate and the workspace position read report a linked worktree without its own fence as merge_fence_missing. Migrate: No change for a fence at the worktree root or inside the same repository. To keep the old eight-level walk, pass { gitWorkspaceRoot: null }; a strict health check that newly fails needs pm merge install in that worktree, or a regular file in place of a symlinked .gitattributes (pm-gh1759)
Fixed
- pm gc --scope runtime removes derived caches through a redirected runtime directory (pm-cqddvl)
- A history entry whose agent_harness is not a string crashes pm activity --raw, provenance reads and pm context with unknown_error (pm-sew1dj)
- GH-1730: the MCP flat-parameter parity spec compares the output-size token estimate of two concurrent reads that both write the context-usage ledger, so a Windows shard fails when one read waits on the ledger (pm-gh1730)
Other
- Move contributor-only testing docs, benchmark reports and two repository-only pages out of the npm tarball to restore publication headroom for bounded activity reads (pm-55jxhy)
PM Tracker Evidence
Closed pm items in release window: 8 By type: Issue=7, Chore=1 By status: closed=8
Selected release-related tracker items:
- No release-tagged pm items found in the selected window.
Changelog
Sourced from @unbrained/pm-cli's changelog.
2026.11.21 - 2026-11-21
Changed (SDK contract)
- GH-1664: pm context --for orient --limit 3 and pm activity --limit 3 reparse every history stream, so a three-row recent-activity read pays archive-scale I/O: ActivityResult and ContextResult had no read-cost disclosure, the context activity section was built by a full runActivity page over every history stream, and writeFileAtomic always created files with the default mode → ActivityResult gains an optional history_read receipt and ContextResult an optional activity_history_read receipt ({ reason, streams_read, streams_total }), present only when a read on a tracker with 500 or more history streams could not be bounded by its window; readRecentActivity({ limit }, global), ActivityHistoryReadReceipt and RecentActivityResult are new exports of
@unbrained/pm-cli/sdk/query; writeFileAtomic accepts an optional mode; rows, totals, cursors and errors are unchanged. Migrate: No change for existing reads or writes. Consumers that reject unknown result keys should allow the optional history_read and activity_history_read receipts; a consumer that needs only the newest rows can call readRecentActivity instead of runActivity with raw: true (pm-gh1664)- GH-1757: credential refusal next_steps tell agents to restore the redacted URL credentials before replay, which reproduces the same refusal: A refusal of an identity carrying URL userinfo (--author, PM_AUTHOR, --assignee and other identity options) led its next_steps with restoring the redacted credentials, and its requirement text held a credential-shaped sample that redaction rewrote → Such refusals set url_credentials_rejected: { source }; their first next step names that source, says its credentials caused the refusal and must not be restored, and asks to restore any other redacted credentials; a PM_AUTHOR refusal whose command line carries no credential has only the plain-name step. Migrate: Agents and clients matching the old restore-them step text for identity refusals should follow the source-specific step; producers whose refusal rejects URL credentials themselves set url_credentials_rejected: { source } on the PmCliError context (pm-gh1757)
- GH-1756: pm context counts in_progress_unowned and in_progress_idle over a different population than in_progress: summary.in_progress counted only items in the progress status that also carried the active role, compared by the raw workflow id, while in_progress_unowned and in_progress_idle counted every item in that status, so the advisories could exceed the total → summary.in_progress counts every item in workflow.in_progress_status, alias-resolved and whatever role it carries, the same population as both advisories; open stays the active items outside it, and markdown renders a non-active progress count apart from active_items. Migrate: No change for the default workflow, where the progress status carries the active role. With a non-active progress status, read in_progress as the count of items in that status rather than active_items - open (pm-gh1756)
- GH-1759: strict health accepts a merge fence from an enclosing repository for a separate linked worktree: The fence audit walked up to eight logical parents of the tracker root and accepted the first .gitattributes with a managed block, even one above the Git worktree top level or reached through a symlink, which Git never applies → Inside a Git worktree the audit walks the tracker's canonical path up to the worktree's canonical top level (resolved from the tracker root, or passed as options.gitWorkspaceRoot) and reads only regular attribute files, so pm health, pm validate and the workspace position read report a linked worktree without its own fence as merge_fence_missing. Migrate: No change for a fence at the worktree root or inside the same repository. To keep the old eight-level walk, pass { gitWorkspaceRoot: null }; a strict health check that newly fails needs pm merge install in that worktree, or a regular file in place of a symlinked .gitattributes (pm-gh1759)
Fixed
- pm gc --scope runtime removes derived caches through a redirected runtime directory (pm-cqddvl)
- A history entry whose agent_harness is not a string crashes pm activity --raw, provenance reads and pm context with unknown_error (pm-sew1dj)
- GH-1730: the MCP flat-parameter parity spec compares the output-size token estimate of two concurrent reads that both write the context-usage ledger, so a Windows shard fails when one read waits on the ledger (pm-gh1730)
Other
- Move contributor-only testing docs, benchmark reports and two repository-only pages out of the npm tarball to restore publication headroom for bounded activity reads (pm-55jxhy)
Commits
9dc0659chore(release): cut 2026.11.21c5edf5fMerge pull request #1761 from unbraind/fix/bounded-activity-reads7e33713fix: size the summary read buffer to the file instead of the cap4d61f60fix: disclose unbounded context reads on stderr in NDJSON mode18f5d1ffix: never follow links when gc inspects cache targetsbebbdbefix: require a benchmark fraction below 1 and document mid-read hook side eff...6ec08b3fix: make the final read-hook check follow the summary write081a83bfix: disable the stream summary when read hooks appear while it loads2a72fb0fix: keep hook receipts behind the summary threshold and close the stale-reco...b5ff34dfix: recheck read hooks after revalidation, verify streams in sorted order, v...- Additional commits viewable in compare view
Updates pm-changelog from 2026.11.18 to 2026.11.20
Release notes
Sourced from pm-changelog's releases.
pm-changelog v2026.11.20
Changelog
2026.11.20 - 2026-11-20
No changes.
Commits
8463cd6Release pm-changelog v2026.11.20 (#370)45888dfUse the unbrained commit identity (#367)- See full diff in compare view
Updates pm-ops from 2026.11.19 to 2026.11.20
Release notes
Sourced from pm-ops's releases.
pm-ops v2026.11.20
Changelog
2026.11.20 - 2026-11-20
No tracked changes.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Summary by cubic
Updates the pm-toolchain dev dependency group: @unbrained/pm-cli 2026.11.20 → 2026.11.21, pm-changelog 2026.11.18 → 2026.11.20, and pm-ops 2026.11.19 → 2026.11.20. pm-changelog and pm-ops have no tracked changes; @unbrained/pm-cli includes SDK contract changes (new receipts for activity/history reads, updated in_progress counting, credential refusal steps, git worktree merge-fence handling) and several bug fixes.