Skip to content

fix: complete open AgentBoard ticket batch#135

Merged
jbcrane13 merged 1 commit into
mainfrom
codex/fix-open-agentboard-tickets
May 25, 2026
Merged

fix: complete open AgentBoard ticket batch#135
jbcrane13 merged 1 commit into
mainfrom
codex/fix-open-agentboard-tickets

Conversation

@jbcrane13

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 25, 2026 06:13
@jbcrane13 jbcrane13 merged commit 25d6694 into main May 25, 2026
2 of 3 checks passed
@jbcrane13 jbcrane13 deleted the codex/fix-open-agentboard-tickets branch May 25, 2026 06:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes a batch of open AgentBoard tickets by improving Work board state persistence, create-issue UX behavior, and session/terminal integrations (including tmux-backed completion detection and embedded terminal access where available).

Changes:

  • Persist Work board repository selection per scene and seed the Create Issue sheet with an initial repository when possible.
  • Make Create Issue sheet dismissal depend on the returned created item (instead of errorMessage == nil) by returning WorkItem? from WorkStore.createIssue.
  • Improve session UX by auto-opening newly launched session terminals, adding an embedded terminal tab for tmux-backed sessions, and detecting completion/failure via tmux EXITED: output.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
AGENTS.md Adds activity log entry for the completed ticket batch.
AgentBoardUI/Screens/WorkScreen.swift Uses @SceneStorage for repo selection; seeds Create Issue with a repository; resets selection when repos change.
AgentBoardUI/Screens/SessionDetailSheet.swift Adds a conditional “Terminal” tab and renders an embedded terminal when tmux session is available (macOS + SwiftTerm).
AgentBoardUI/Screens/CreateIssueSheet.swift Accepts an initial repository, normalizes selection as repos change, and dismisses only on successful creation return.
AgentBoardCore/Stores/WorkStore.swift Changes createIssue to return WorkItem? and marks it @discardableResult.
AgentBoardCore/Services/SessionLauncher.swift Parses tmux pane output for EXITED: to classify sessions as completed/failed.
AgentBoard/DesktopRootView.swift Tracks observed session IDs and auto-opens the newest launched session terminal.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +85 to +91
.onChange(of: appModel.settingsStore.repositories) { _, repositories in
guard selectedRepo != "all",
!repositories.contains(where: { $0.fullName == selectedRepo }) else {
return
}
selectedRepo = "all"
}
Comment thread AGENTS.md
- (no commits)

## Activity — 2026-05-25
- Fixed open ticket batch #130-#133: Work board repository selection now persists per scene and seeds create-issue sheets; create issue dismisses based on a successful created item; launched sessions auto-open the terminal; tmux `EXITED:` output now drives completed/failed state; companion-backed session details expose an interactive terminal tab when a tmux session is available.
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.

2 participants