Repository navigation
fix(commands): restore copied item metadata - #58
Merged
Merged
Conversation
Reuse the existing pull request and issue metadata formatters dropped during the command migration. Cover both real command handlers with isolated dispatch probes and a capturing clipboard service.
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Copying PR or issue metadata produces only the item summary and URL. The command migration in
2fb320cdropped the existing metadata formatters, silently removing fields users previously received.What Changes
Reconnect both commands to the existing formatters.
The PR regression captures
branch: fix/metadata -> main,review: approved,checks 2/4, andfailing checks: test, build. The issue regression captures3 commentsandlabels: bug, clipboard.Scope
Only command wiring, two real-command regression tests, and a patch changeset. Formatting rules, command gating, and success/error handling remain unchanged. Clipboard verification uses an isolated capturing service, not the system clipboard.
Verification
Both command regressions failed with the truncated output before the fix and pass afterward. The full suite passes 544 tests; the keymap suite passes 131 tests. Formatting, typechecking, lint, and diff checks pass. Changeset status reports a patch bump only. Package smoke and release commands were not run for this command-only change.