Skip to content

Add GitHub issue context and badge to sessions#44

Merged
Umaaz merged 1 commit into
mainfrom
lucid-reef
Apr 8, 2026
Merged

Add GitHub issue context and badge to sessions#44
Umaaz merged 1 commit into
mainfrom
lucid-reef

Conversation

@Umaaz
Copy link
Copy Markdown
Contributor

@Umaaz Umaaz commented Apr 8, 2026

Summary

  • Inject full GitHub issue details (title, body, labels, assignees) into the Claude session system context via --append-system-prompt when starting a session from an issue
  • Display a clickable blue issue badge (#N) in Sidebar, SessionTile, and FocusView that opens the GitHub issue page
  • Fix --prompt flag usage — prompt is a positional arg in Claude CLI, not a --prompt flag, which was causing sessions with prompts to exit immediately

Test plan

  • TypeScript compiles cleanly
  • All 140 tests pass
  • Manually verified session spawns successfully from issue page with system context and badge visible

🤖 Generated with Claude Code

When starting a session from a GitHub issue, inject the full issue details
(title, body, labels, assignees) into the Claude system context via
--append-system-prompt so it appears alongside gitStatus/currentDate. Also
display a clickable blue issue badge (#N) in the session title across
Sidebar, SessionTile, and FocusView that links to the GitHub issue page.

Fixes --prompt flag usage (positional arg, not a flag) which was causing
sessions with prompts to exit immediately.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Umaaz Umaaz merged commit 439f981 into main Apr 8, 2026
3 checks passed
@Umaaz Umaaz deleted the lucid-reef branch April 8, 2026 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant