Preview exact GitHub label migration impacts
Preview selected GitHub label renames and explicit consolidations across stored tags and declared import/export policies. The typed SDK and pm github labels plan return complete counts, bounded exact identities, explicit choices and a revision-bound approval digest in JSON or TOON.
The current review fix closes declared SDK compatibility for the entire extension. SDK 2026.10.5 cannot load the imported table decoder. Published tarballs show decodePmTableRows first appears in 2026.10.9, while the existing BulkItemUpdateMutation.match revision guard first appears in 2026.10.17 (2026.10.16 was not published). The enforced top-level manifest floor and peer/development ranges now agree on 2026.10.17. The exact development lock remains on main's integrity-checked 2026.10.23 resolution. The pm-generated unreleased changelog discloses the breaking minimum; no guard is removed to accommodate an older SDK.
A new permanent packed-consumer test installs the exact declared minimum from npm, independently of the development lock. It links the whole installed extension, checks all 80 named SDK imports in 11 production/operational modules, checks every shipped declaration as an ambient TypeScript source, and compiles a public typed consumer. It exercises preview, approval, SDK-encoded tables, compact empty reports and literal native comma tags in a plain tracker with no git executable. It passes under Node and native Bun 1.3.14 and is included in both unchanged release gates. Public npm child processes exclude credentials and use the null user configuration.
The previous head's CI subsequently passed all 1,536 tests in each release job but failed the unchanged branch threshold at 99.97%, pointing to duplicated plain-import tag formatting. Both CLI update paths now consume one import-owned formatter for replace/add/empty options. Four existing real-SDK regressions cover that helper at 100/100/100/100. No source or test exclusion or threshold change is made.
Earlier review fixes remain intact: provider label names use the importer's shared CSV conversion, while persisted native tag arrays use the SDK's array normalizer without CSV splitting. Stored ["one,two"] stays one native tag and differs from desired ["one","two"]. Policy matching follows GitHub's case-insensitive names. Link-only/citation and Projects writers preserve native atoms while adding only new provider-derived tags. Opaque IDs, expected catalog spellings and local mapping keys retain their own semantics. Display intent never selects a merge target.
| Acceptance | Evidence |
|---|---|
| Same display intent never infers a merge | Source and target node IDs remain separate; consolidation requires an explicit distinct target. |
| Complete 1,000-item counts with bounded rows | 1,000 scanned/affected items and tags plus one filter and mapping: 1,002 occurrences. First/final pages have seven/six rows; source bytes remain unchanged. |
| Stale label IDs invalidate plans | Deleted/recreated IDs, expected-name/catalog drift and current SDK item revisions reject old approvals, including same-content revisions. |
| Preview and refresh match actual import state | 500 provider-label sets plus 500 native-array sequences compare predictions and refresh decisions with actual importer writes and SDK state read-back. |
| Relationships, roles, replays and transport survive | Earlier 500 field/state sequences cover relationships, custom statuses, ambient focus, old inputs and CRLF; 500 SDK-wire permutations cover JSON/TOON, compact rows and malformed/truncated refusals. |
| Concurrent retained state survives | Projects retain 500 native atoms and competing edits at all six provider-response boundaries in one non-git tracker. Plain/atomic owner cases also preserve literal native comma tags. |
| Declared SDK minimum supports every import | Exact-minimum packed consumers: Node 1/1, Bun 1/1. All authored SDK imports and shipped declarations compile at 2026.10.17. |
Public read-only validation uses a non-git copy of unbraind/pm-github at d717d7b85e6009c5a4bb803952140e61856dd041: 155 items, 12 provider labels, one affected stored item/tag, plus two explicitly synthetic policy entries. Output is three rows / 1,146 JSON bytes with unchanged source bytes. The extra offline CSV catalog and native-comma tracker are synthetic witnesses; no provider labels or source data are changed.
The captured artifact is 290,159 bytes, SHA-256 e79bc740ffa2daa5e58c3df509161843b21b96d55e65737bcd5731aafffe08c5. All five actual packed install modes pass on CLI 2026.10.26 and isolated Bun 1.3.14: project-local, npx, bunx, npm-global and Bun-global. Each compares JSON/TOON reports, revalidates approval, refuses unresolved CSV choices, verifies literal native comma identity and preserves source bytes. Standalone installed-artifact SDK checks also pass under Node and Bun. One captured pack is used throughout.
Local checks: npm run test:minimum-sdk through linked pm test --run --progress 1/1; native Bun minimum consumer 1/1; compatibility/package contracts 8/8; typecheck, test compilation, lint, docstrings and duplication pass (23 files / 237 documented declarations; 24 authored modules / 12,620 lines; zero duplicated lines). Earlier current-pin focused tests remain 13/13 with 100/100/100/100 targeted planner/helper coverage, model tests 3/3, owner cases 2/2, and Projects interleaving 1/1. Full-package counts and all-source coverage are claimed only from completed CI below.
Revert proof: changing only the declared floor/ranges to 2026.10.5 in a disposable copy makes the new consumer fail on the missing decoder export. Changing them to 2026.10.15 loads the module but fails source compilation on the unsupported match guard. Restoring 2026.10.17 passes the same test. Changing only the shared CLI formatter from additive to replacement makes the retained-owner SDK regression fail on persisted provenance; restoring it passes. Earlier twelve native-domain/wire site reversions remain recorded on the pm item. No existing regression or release threshold was removed or weakened.
Final head: 02143a77af82594e1142dfee3332e21876b8d089. At the bounded-wait handoff on 2026-10-27 at 19:23 UTC, the exact-head CI release matrix has 0/4 jobs completed; all four remain in progress: npm and Bun release:check on Node 22 and 26. Current full-gate test counts and all-source coverage are still unmeasured. No full release-gate pass is claimed. Exact-head CodeQL passed. The queue rule caps post-push waiting at 30 minutes; the orchestrator must verify this exact-head matrix before merging. Final CI remains running. Superseded source-only CI runs were canceled to avoid duplicate full suites and provide no passing evidence. Test processes stay capped at two workers and native Bun files run serially.
Production/test files are identical to validated source 5fc3175; the final receipt changes only the released pm item and append-only history. Final-head privacy passes over 7,561 Git objects, with approved identities and no secret or host-path findings. Changelog generation/check, history-prefix checks and clean-worktree verification pass. The pm item records source-run links and local receipts, and points here for final-head run links/counts. Its claim is released; it remains in progress and unclosed for orchestrator verification.
Docs: README section and request example, docs/label-migrations.md, measured receipts in docs/label-migration-validation.md, and published tarball evidence in docs/sdk-minimum.md. Offline catalogs require caller-supplied freshness. Approval is point-in-time evidence; later writers must revalidate their own SDK revisions. This preview adds no migration writer, journal, identity resolver, claim, lease or outbox.
PM: pm-github-2e38, unclosed for orchestrator verification. Automated reviewers remain unavailable or quota limited and supply no approval evidence. No merge or package release was performed.