Skip to content

Fix ideation artifact pane reliability - #415

Open
adriandemian wants to merge 30 commits into
mainfrom
fix/ideation-session-reliability
Open

Fix ideation artifact pane reliability#415
adriandemian wants to merge 30 commits into
mainfrom
fix/ideation-session-reliability

Conversation

@adriandemian

@adriandemian adriandemian commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fixes ideation artifact hydration so Plan, Verification, Proposals, and Tasks tabs appear reliably for direct ideation conversations and productive spawned ideation sessions.
  • Keeps ideation artifact tabs ahead of Jira/Linear/publish surfaces when the active conversation is an ideation flow.
  • Prevents production chat replay crashes from oversized plan-artifact tool payloads by trimming full plan bodies from frontend tool-call normalization while preserving lightweight artifact metadata for widgets.
  • Keeps task graph/board artifact views scoped to the accepted plan's execution plan when that linkage is available.
  • Includes narrow runtime hardening for parent verification reads, stale Git worktree reuse, successful review transcript cleanup, and split/timeline no-output placeholders.

User Impact

Users can continue ideation work without landing on empty or masked artifact panes. Ideation conversations now prioritize the planning surface, plan-heavy sessions are less likely to hit the generic replay error boundary, and accepted-plan task views stay scoped to the relevant execution plan.

The bundled runtime fixes reduce noisy edge cases around verification status reads, missing registered worktrees, late review stderr after successful review exit, and blank legacy split/timeline rows.

Technical Context

  • Frontend artifact resolution now uses direct ideation context and transcript evidence to choose the productive ideation session for artifact panes.
  • Artifact tab selection prioritizes visible ideation tabs and avoids defaulting to publish/integration tabs when Plan, Verification, Proposals, or Tasks are available.
  • The plan-artifact chat parser strips large content / content_text bodies from create/update/edit plan tool arguments and results before they enter React state; widgets still receive id, name, version, and title-style metadata.
  • Plan branch responses expose execution_plan_id, and embedded task graph/board views use it to avoid falling back to broader project task scopes.
  • The stale workspace link repair command was removed from this branch because that ownership is already handled on main; this PR does not add a new relink command or UI-triggered link repair path.

Risks / Follow-Ups

  • This PR still touches several surfaces; review should focus on artifact-pane behavior, plan-payload normalization, and the listed narrow runtime edge cases.
  • Backend storage may still contain large legacy tool payloads until a separate storage/compaction pass is added.
  • Broader native/Tauri smoke coverage would still be useful for long-running tool-heavy ideation transcripts.

@reefagent
reefagent force-pushed the fix/ideation-session-reliability branch 4 times, most recently from cb8b988 to 0b788a9 Compare June 19, 2026 11:27
@adriandemian
adriandemian force-pushed the fix/ideation-session-reliability branch 2 times, most recently from cedbfbd to b3a23e5 Compare June 19, 2026 14:26
@reefagent
reefagent force-pushed the fix/ideation-session-reliability branch from b3a23e5 to 365b1c5 Compare June 19, 2026 14:44
@adriandemian adriandemian changed the title Fix ideation session reliability Fix ideation artifact pane reliability Jun 19, 2026
@adriandemian adriandemian added the decompose PR for decomposition label Jun 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

decompose PR for decomposition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant