The merged field does not exist in gh pr view output. The actual fields are: - state: OPEN, CLOSED, or MERGED - mergedAt: timestamp string (empty if not merged) Also simplified the switch statement since state already distinguishes merged vs closed-without-merge PRs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>