pr/3f83edca0 unify chat work item tool#307
Merged
plusplusoneplusplus merged 42 commits intoJun 9, 2026
Merged
Conversation
plusplusoneplusplus
commented
Jun 9, 2026
Owner
- Unify chat work item tool
- Reject blank work item plan updates
- Remove legacy update work item tool
- Remove work item detail secondary actions
- Add notes root range selection
- Add notes root bulk removal
- Add notes root preservation tests
- Add ask-user deferred response contract
- Add ask-user needs-context response control
- Persist ask-user batch drafts
- Fix ask-user disposition type reference
- Unify typed work item tool behavior
- Remove standalone create_bug tool
- Clean up create bug skill references
- Clean CoC dist before package builds
- Switch classification executor to ask mode
- Add Team PR auto-classify config flag
- Add Team PR eligibility helpers
- Auto-classify Team pull requests
- Add Team PR classification status UI
- Scope PR auto-classification background warmers
- Fix CoC root validation tests
- Preserve interrupted follow-up turns
- Render preserved timeout turns in chat UI
- Add SSE interrupted timeout replay coverage
- Preserve interrupted queued chat turns
- test(coc): cover timeout retry prompt preservation
- test(coc): cover interrupted chat refresh replay
- test(coc): guard interrupted resume context
- Add Work Items workflow feature flag
- Add work item content version restore APIs
- Add explicit AI draft apply for work items
- Add work item workflow AI draft UI
- Add work item version compare controls
- Add goal grilling workflow action
- Persist grilled goal specs as versions
- Add Work Item execution mode selection
- Enhance Work Item review timeline
- Add Work Item PR submission action
- Add Work Item AI review action
- Polish Work Item command center mobile layout
Replace the chat-facing create-only work item tool with create_update_work_item, including create mode, full-plan update mode, registry/tool wiring, and regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ensure work item plan update routes reject whitespace-only content before creating plan versions or applying mixed PATCH updates. Add route-level regression coverage and document the non-empty plan content contract. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Remove the stale standalone update_work_item tool implementation and tests now that chat-facing work-item changes are handled through create_update_work_item. Strengthen chat tool wiring tests so neither create_work_item nor update_work_item is exposed alongside the unified tool. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hide the child, pin, and archive controls from the Work Item detail header while keeping the primary detail actions intact. Add SPA coverage that asserts those controls stay hidden from the detail header. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Enable the Notes root dropdown to remove selected additional collections in one action, refresh the root list, and fall back to the default root when the active additional root is removed. Add component coverage for selected-root removal, default-root protection, refresh behavior, error toasts, and ensuring note delete APIs are not invoked. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Support a structured needs-context response for ask_user batches so answered and deferred questions can resolve together while preserving the blocking batch lifecycle. Render deferred historical responses distinctly and document the API/tool contract. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add localStorage-backed draft persistence for active ask_user batches scoped by process and batch, restore typed answers/deferred notes across navigation and refresh, and clear accepted, replaced, or cancelled drafts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add typed create support and field-only update semantics to create_update_work_item, including bug creation through the unified tool and regression coverage for plan-version side effects. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rewrite bundled create-bug guidance to use the unified create_update_work_item tool and update coc-client fixtures to advertise the unified work-item tool instead of the removed create_bug tool. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ensure package builds remove stale emitted files before TypeScript writes new artifacts, preventing deleted tool factories from appearing in npm dry-run output. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Run diff classification jobs with interactive ask-mode semantics while preserving saveClassification persistence. Add regression coverage for mode selection, ask repo instructions, and tool injection. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Extract the Pull Requests Team roster author matching into a shared helper and add a server-side persisted roster eligibility helper for future automatic PR classification. Cover provider ID matching, display-name fallback, empty rosters, transient inactive chips, and workspace/repo isolation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add bounded server-side Team PR classification enqueue behavior for PR list loads and active-workspace warming. Reuse the generic classify-diff queue path with low priority, existing cache/pending checks, and stale-pending self-healing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ensure Pull Requests background warming carries the explicit workspace id through Team roster lookup and classification enqueue state instead of falling back to repo id. Add regression coverage for workspace/repo ids that differ. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update stale Work Items source-shape assertions to match the current detail/header ownership and make the resume-chat mock test seed its required process record when the mocked enqueue path does not persist one. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist partial assistant output and tool timelines when a follow-up fails mid-stream, mark those turns as interrupted, and exclude interrupted assistant output from cold prompt-history replay. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Persist partial queued chat output as interrupted assistant turns before executor cleanup so timed-out Ralph grilling and other new chat turns keep their partial transcript and tool timeline for audit. Reuse orphaned-turn finalization for lifecycle fallback status updates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add follow-up executor coverage for retrying after a timed-out turn. The regression asserts the interrupted assistant transcript and tool timeline remain in stored conversation history while the cold follow-up prompt history omits that partial output and tool result. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Ensure cold chat resume prompts omit preserved interrupted tool history alongside partial timed-out assistant text. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add explicit current content version metadata for plan-backed Work Item and Goal content, workflow-gated compare/restore endpoints, typed client helpers, and execution run version recording. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose workflow-gated plan version compare and restore actions for local Work Items and Goals, including guarded restore behavior while details have unsaved edits. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add explicit one-shot versus Ralph execution mode support for local workflow Work Items and Goals, including Ralph session initialization, version-bound run metadata, typed client contracts, UI selection, and regression coverage. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Present workflow Review state in the Work Item command center and show version-bound execution metadata in the run timeline. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.