Skip to content

v2026.11.15

Choose a tag to compare

@github-actions github-actions released this 15 Nov 08:22
· 663 commits to main since this release

@unbrained/pm-cli 2026.11.15

Source range: v2026.11.14...v2026.11.15

Changelog

Changed (SDK contract)

  • GH-1728: complete-list recovery drops an explicit includeBody request, so a repaired whole-list read returns every item without bodies: The recovery of a refused complete list never asked for bodies, even when the refused request did → The recovery adds --include-body and listAllComplete({ includeBody: true }) when the caller declares includeBody or the refused envelope records filters.include_body; --no-truncate stays because certification requires the filters.no_truncate it echoes. Migrate: Custom transports that certify a body read pass the request options as the second argument (pm-gh1728)
  • GH-1729: the extension test harness passes a compact output_format receipt that the native CLI refuses with extension_read_output_invalid since 2026.11.13: The harness returned handled: true for a result missing its declared row collections, which the native CLI refuses with extension_read_output_invalid before formatting, and for output that cannot fit a requested outputBudget, which the native CLI omits with exit 2 → The harness runs a handled read-output result through native formatOutput (receipt projection, command-result overrides, suppressed host output, output_format services, renderers and encoding resolution apply as natively) and throws extension_read_output_invalid for missing declared rows and output_budget_exceeded (exit 2) when the delivered output cannot fit the requested budget; process.exitCode is left untouched. Migrate: A command that renders a compact receipt keeps returning its declared rows (an empty collection is valid) and lets its output_format service render the receipt; package tests that pass an outputBudget their output cannot fit now expect output_budget_exceeded (pm-gh1729)
  • GH-1727: direct-caller extension options — a missing required flag has no error code, and an undeclared option reaches the handler instead of unknown_option: A missing required flag threw exit 2 with code undefined; a key that was neither declared nor host-owned reached the handler; a disabled flag threw without a code (the CLI derived missing_required_option from the message and printed pm create examples) → missing_required_option (flag, field = handler key, recovery.missing, a command example), unknown_option (flag) and extension_option_disabled are thrown before the handler runs on every caller path; host-owned keys (reserved host flags in camel, snake or dashed form, force, subcommand, inputResponses, requestState) pass through; on a native command path an extension extends, undeclared keys still pass through; pm-calendar declares --inherit-focus. Migrate: Match on error codes instead of messages; declare every option a handler reads with registerFlags or inline flags (keys the handler only read from direct callers are now refused); pass { undeclaredKeys: "pass" } to normalizeDirectExtensionCommandOptions only for a native command path (pm-gh1727)
  • GH-1726: a strict boolean extension flag accepts an empty array from direct callers (PmClient.run, the test harness), while {} and 1 are refused: An array passed to a flag that is not list/repeatable reached the handler ([] and [true] for a strict boolean, [1,2] for a number); PmClient.run joined a tags array to CSV and promoted a scalar dep, comment, file or test to an array for extension actions; a bare repeatable boolean switch reached the handler as [] on the CLI → An array for a single-value flag is refused with extension_flag_value_invalid (flag field) before the handler runs; extension actions keep the caller values and their declared contract normalizes them; each bare occurrence of a repeatable switch is true; a raw repeatable declaration counts as list. Migrate: Pass one value for a flag that is not list/repeatable, or declare it with list: true or repeatable: true; handlers that read a scalar declared flag from PmClient.run no longer receive an array (pm-gh1726)
  • GH-1713: strict create offers no auditable deferred value, so importers cannot create an item whose deadline, assignee or acceptance criteria are not known yet: Strict create refused every unknown deadline, assignee, acceptance criteria or estimate; the highest item format was 3; the list --fields refusal listed every field twice (bare and item.-prefixed) → A reasoned deferral satisfies strict create and is stored as deferred_fields at item format 4, which pm 2026.10.10 through 2026.11.14 refuses to read; strict close refuses outstanding deferrals; the merge driver union-merges deferred_fields; the list --fields refusal names each field once and states the item. alias. Migrate: Upgrade every reader, pinned SDK, CI host and Git merge driver before creating deferred items in a shared tracker; exhaustive consumers of item keys or close-validation codes add deferred_fields and close_validation_deferred_fields; parsers of the list --fields refusal domain accept bare names and the stated item. alias (pm-gh1713)
  • GH-1719: beforeMutation guards cannot see the acting author, so packages cannot write actor-aware policy or verify that a preview and its write share one identity: Guard contexts carried no actor or dry_run; runActiveBeforeMutationHooks took a prebuilt context; previews ran no guards and disclosed extension_mutation_guards_and_hooks; package imports and pm copy wrote without guards, and commitImportedItem turned every CONFLICT into a conflictWarning → Guard contexts carry a frozen actor {author, author_source, principal, agent?} and dry_run; runActiveBeforeMutationHooks takes author (and optional dry_run) and resolves the actor; previews evaluate guards as dry runs and disclose extension_write_hooks; imports (operation import) and copies are guarded, and only a held lock is a skippable import conflict. Migrate: Hosts that call runActiveBeforeMutationHooks pass author instead of building a context; consumers matching unresolved_commit_constraints read extension_write_hooks; guards with side effects check dry_run; importers treat a guard denial from commitImportedItem as a refusal, not a lock conflict (pm-gh1719)

Fixed

  • commitItemMutations cannot compensate a create that clears a collection: the explicit_unset suffix hides the apply marker, so a refused batch reports transaction_partial_mutation and keeps the create (pm-chdp87)
  • The documented pm get --json to pm update --stdin-json round trip refuses system-maintained metadata: a claimed item's claim_principal and any format-bumped item's pm_format_version are rejected as core fields (pm-o74zyh)

PM Tracker Evidence

Closed pm items in release window: 8
By type: Issue=7, Feature=1
By status: closed=8

Selected release-related tracker items:

  • No release-tagged pm items found in the selected window.