Conversation
- Import saveWorktreeMetadata function in github.ts - Extend ItemInfo type with body, labels, assignees, milestone, url fields - Update fetchItemInfo to retrieve comprehensive GitHub information - Add metadata saving after worktree creation in createWorktreeFromGithub - Include error handling for metadata save failures with warning display - Preserve all GitHub context (title, body, author, labels, assignees, milestone, URL) Fixes #210: GitHub連携コマンドでメタデータが保存されない This enables 🎼 オーケストラ編成(worktree): 📍 refs/heads/main /Users/aoyamaisaoosamu/Desktop/dev/projects/250709_maestro/maestro 🎷 refs/heads/issue-210 /Users/aoyamaisaoosamu/Desktop/dev/projects/250709_maestro/issue-210 合計: 2 名の演奏者 to display rich GitHub information for worktrees created from Issues and Pull Requests.
- Add github-metadata.test.ts with tests for Issue #210 fix - Verify metadata saving for both Issues and Pull Requests - Test error handling when metadata save fails - Document the scope and impact of the GitHub metadata feature The tests confirm that GitHub worktrees now save comprehensive metadata including title, body, labels, assignees, milestone, and URL information.
- Update github.md with comprehensive metadata storage documentation - Add detailed examples of GitHub metadata structure for Issues and PRs - Explain viewing metadata with mst list --metadata - Update list.md with enhanced metadata display examples - Add GitHub metadata integration benefits and advanced usage examples - Include jq filtering examples for GitHub-specific metadata queries Documents the enhanced metadata functionality introduced in Issue #210 fix.
…ality - Add Enhanced GitHub Metadata Storage section explaining comprehensive data saving - Update list command description to mention GitHub data in --metadata option - Add examples for viewing GitHub metadata and advanced jq filtering - Document the rich context provided by GitHub integration Updates the master command reference to reflect Issue #210 metadata improvements.
- Add 'rich metadata' to GitHub integration key features - Include GitHub metadata listing in basic usage examples - Update advanced features to mention comprehensive metadata functionality - Add Japanese translations for metadata features in README.ja.md Highlights the enhanced GitHub integration with metadata saving from Issue #210.
- Update fetchItemInfo calls in github.test.ts to match new field list - Add missing fields (body, labels, assignees, milestone, url) to mock data - Fix Prettier formatting issues in github.ts and github-metadata.test.ts - Ensure all GitHub tests pass with comprehensive metadata support This resolves CI failures caused by updated fetchItemInfo function signature.
- Fix issue list field expectations in github.test.ts - List command uses 'number,title,author' fields, not extended metadata fields - Apply Prettier formatting to resolve CI lint issues This resolves the remaining test failures in CI pipeline.
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.
Summary
Issue #210を修正し、GitHub連携コマンド(
mst github issue/pr)で作成したworktreeのメタデータが正しく保存されるようになりました。これによりmst list --metadataでGitHub情報が表示されるようになります。Changes
🔧 Core Implementation
saveWorktreeMetadata関数をインポートし、createWorktreeFromGithub内でメタデータ保存処理を追加📚 Documentation Updates
--metadataオプションの強化された機能説明🧪 Testing
Fixed behavior
修正前:
$ mst list --metadata 🎷 refs/heads/issue-207 ../issue-207 # メタデータが表示されない修正後:
Affected Commands
以下のコマンドでメタデータが保存されるようになりました:
mst github issue {number}mst github pr {number}mst github checkout {number}mst create {number}(数字のみの場合)Test Plan
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com