Skip to content

v2026.11.14

Choose a tag to compare

@github-actions github-actions released this 14 Nov 05:20
· 711 commits to main since this release

@unbrained/pm-cli 2026.11.14

Source range: v2026.11.13...v2026.11.14

Changelog

Changed (SDK contract)

  • GH-1671: linked tests have no setup step, so every command embeds its build and --add re-runs heavy suites just to fix metadata: Linked tests had no setup phase, failure_categories had nine keys, and the highest item format was 2 → A phase=setup entry runs before the item's regular commands in the same sandbox; a failing setup reports setup_failed and every later entry is skipped; failure_categories gains setup_failed; an item with a setup entry is stored at item format 3, which pm 2026.10.10 through 2026.11.13 refuses to read. Migrate: Exhaustive consumers of LinkedTestFailureCategory or failure_categories add setup_failed; upgrade every reader, pinned SDK, CI host and Git merge driver before adding a setup entry to a shared tracker (pm-gh1671)
  • pm test-all prints the full 21-field execution_context, with host paths, on every passing linked-test row: Every run_results row printed the full 21-field execution_context, including four absolute host paths → Each item run is judged as pm test judges it: a quiet item's rows report only the decision fields, a context shared by every item that ran is hoisted to the top-level execution_context, and a non-quiet item keeps every full context. Migrate: Pass --check-context to keep every row's full execution context (pm-tcvccz)
  • A passing pm test --run row echoes the command's full stdout, including raw ANSI colour codes, so every quiet pass grows with the runner's report: A passing linked-test row printed the command's complete stdout and stderr, ANSI escape sequences included → A quiet passing run prints an escape-free tail of at most 6 lines and 480 characters per stream, adds stdout_omitted_bytes or stderr_omitted_bytes to shortened rows and names --full-output in omission_receipt; SDK and MCP results still carry the complete streams. Migrate: Pass --full-output where a script parses a passing linked test's complete CLI stdout; SDK and MCP consumers need no change (pm-v1mp64)
  • GH-1716: pm files and pm docs --add silently replace an existing link's note, and the receipt reports it as a plain change: An add on a link already stored with a different note replaced that note and reported a plain change → Such an add is refused with linked_artifact_note_conflict (exit 4) and keeps the stored note; --note-conflict replace overwrites it, --note-conflict append joins the notes, and mutation_receipt.link_outcomes reports what each requested link became. Migrate: Pass --note-conflict replace (SDK and MCP noteConflict) where a re-add is meant to revise the note, or append to keep both; identical and note-less repeats need no change (pm-gh1716)
  • GH-1706: a stale session-state lock makes pm release clear the claim and then exit 4, --force repeats the refusal, and claim only warns: A stale session-state lock made release clear the claim and exit 4, claim returned a bare attribution warning, and a stale lock kept by policy was refused untyped as an Item lock with a --force hint → The session-state lease is reclaimed past its TTL; claim and release exit 0 after a committed write and add release_semantic_attribution_unrecorded or claim_semantic_attribution_unrecorded with a suggestion when attribution fails; a kept stale lock is refused with stale_lock_requires_override naming lock_path and pm gc --scope locks. Migrate: Match stale_lock_requires_override instead of the old message text, and read suggestions beside the attribution warnings; release exit codes need no handling for the session lock (pm-gh1706)
  • GH-1684: pm context TOON focus tables spend 7-9% of the cold-start read on encoding metadata (empty json_columns and absent arrays plus two absent coordinates per unblocked row): Every block carried json_columns and an absent list of [row, column] pairs, even when empty, and decoders detected a block by the presence of both arrays → TOON omits empty json_columns and absent and groups missing fields by column in absent_rows; decodePmTableRows accepts PmRenderedTableCellEncoding and every earlier shape; encodePmTableRows still returns both arrays. Migrate: Detect a block by its reserved <collection>_encoding key beside the <collection> array, treat a missing json_columns or absent as empty, and read absent_rows as column to row indexes, or decode with the current decodePmTableRows (pm-gh1684)
  • GH-1703: pm context spends a third of its default output on a fixed omission receipt whose restore hints are all --section <name>: Every omitted field group rendered as one name,restore_with table row → When every restore_with is one shared prefix followed by the group name and the result is smaller, TOON lists the names inline as omitted_field_groups[N] and states restore_with once as a template ending in <name>; JSON, SDK and MCP keep the per-row receipt. Migrate: TOON readers substitute each listed name for <name> in the receipt-level restore_with; use --json for the typed per-row form (pm-gh1703)
  • GH-1702: pm test --run prints the full execution_context with host paths on every passing run; default to the lean projection: A passing run without --lean printed the full execution_context: sandbox and source tracker paths, item counts, seeding flags, the working directory and the trust object with its fingerprint → A passing, mismatch-free run with no failure category prints pm_context_mode, workspace_context_mode, mismatch_detected, trusted, trust_reason and a restore_with hint in every format; failures, refusals, skips and mismatches keep the full context. Migrate: Read trusted and trust_reason instead of trust.trusted and trust.reason on passing runs, or pass --check-context to keep the full context with every path, count and the trust fingerprint; SDK runTest results are unchanged (pm-gh1702)
  • An annotation edit accepts text copied from a strings_compacted read, so a read-modify-write round trip silently truncates the stored entry: A compacted string ended with a bare ellipsis, and an edit accepted text copied from a compacted read → A compacted string ends with the marker …[+N chars] naming the omitted UTF-16 code units, and an annotation --edit whose text ends with that marker is refused with annotation_text_compacted. Migrate: Detect compaction through read_output.strings_compacted or the trailing …[+N chars] marker instead of a bare ellipsis; re-read the full entry with --output-budget unbounded before editing it (pm-n98pir)

Fixed

  • GH-1710: budget compaction clips next_cursor to 240 characters, so --after rejects the cursor the page emitted and the rest of the result set is unreachable (pm-gh1710)

Security

  • Identity refusal table omits linked-test updated_by and plan step owner, so those identity locations still accept URL userinfo (pm-7ivxas)

Other

  • Exclude the generated CHANGELOG.md from the npm tarball so publication weight stops growing with release history (pm-jndg9a)

PM Tracker Evidence

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

Selected release-related tracker items:

  • pm-jndg9a [Task/closed] Exclude the generated CHANGELOG.md from the npm tarball so publication weight stops growing with release history
  • pm-gh1706 [Issue/closed] GH-1706: a stale session-state lock makes pm release clear the claim and then exit 4, --force repeats the refusal, and claim only warns