Skip to content

feat(frontend): open task files in split editor (ADR-044) - #196

Merged
wmeddie merged 24 commits into
agent/mcp-skills-discoveryfrom
agent/task-file-split-editor
Aug 30, 2026
Merged

wmeddie merged 24 commits into
agent/mcp-skills-discoveryfrom
agent/task-file-split-editor

Conversation

@Noel-0

@Noel-0 Noel-0 commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

Stack

This PR is part of a single-release stack:

  1. #173 targets main — merge last
  2. #196 targets feat(frontend): add native extension and MCP discovery (ADR-043) #173 — merge second
  3. #198 targets feat(frontend): open task files in split editor (ADR-044) #196 — merge first

Merge top-down: #198 → #196 → #173. Only #173 lands on main, so the stack produces one main-branch release.

What changed

  • add accepted ADR-044 for task-linked split file editing
  • open Task changed files in a right-side workspace pane when usable width is available
  • keep the Task, composer, and details sidebar visible
  • start Monaco with the file tree collapsed and allow reopening it
  • preserve native modified-click behavior
  • fall back to normal same-pane Files navigation on constrained layouts and at the pane limit
  • reconstruct selected file/tree state from the workspace tab route, including cancellation, rapid navigation, and pathless routes

Why

Task changed-file links previously replaced the Task. A manual split also hid the Task details sidebar and the Files tree always consumed editor width. This composes the pane manager and ADR-034 workspace APIs so users can inspect or edit a file while continuing to work with the Agent.

Architecture

  • ADR-044: Task-Linked Split File Editor
  • builds on ADR-034 without changing its workspace APIs, revision conflicts, terminal behavior, or security limits
  • frontend-only; no new editor, pane manager, backend API, or persistence model

Non-goals

  • new backend workspace APIs
  • a separate editor or split-view system
  • file creation, deletion, rename, or search
  • attributing workspace changes to a Task
  • redesigning the general pane manager
  • combining this work with ADR-039

Acceptance criteria

  • wide layouts open the correct changed file beside the Task
  • Task transcript, composer, and details sidebar stay visible
  • the file tree starts collapsed and can be reopened
  • other workspace files remain browsable
  • direct Files navigation, code/diff, deleted files, saves, and revision protection remain covered
  • Command/Ctrl, Shift, and Alt clicks keep native link behavior
  • constrained-width and pane-limit cases use same-pane navigation without overflow
  • route restoration preserves selected path and requested tree state

QA

  • release metadata check
  • installer shell syntax and standalone installer tests
  • frontend Svelte/type check: 0 errors and 0 warnings
  • production frontend build
  • focused workspace/editor tests
  • local full Playwright suite: 94 passed with 4 workers
  • GitHub Frontend CI: 109 passed
  • final feature regression set: 5 passed with 1 worker
  • GitHub Lint, Frontend, Build & Test, and Integration Tests: all passed
  • git diff check
  • curated screenshot review

Screenshots

Task with collapsed editor tree

Task with collapsed editor tree

File tree reopened

File tree reopened

Constrained-width fallback

Constrained-width fallback

@Noel-0
Noel-0 force-pushed the agent/task-file-split-editor branch from f712970 to 77ed78d Compare August 27, 2026 18:33
@Noel-0 Noel-0 changed the title feat(frontend): open task files in split editor (ADR-040) feat(frontend): open task files in split editor (ADR-041) Aug 27, 2026
@Noel-0
Noel-0 marked this pull request as ready for review August 27, 2026 18:43
@Noel-0

Noel-0 commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator Author

Did the renames

@wmeddie wmeddie changed the title feat(frontend): open task files in split editor (ADR-041) feat(frontend): open task files in split editor (ADR-044) Aug 30, 2026
@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-30T07:53:59.804442Z 17572f8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 95fa5e2d30

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2bca966c3e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

Addressed both follow-up findings in 2b36b54: canceled dirty-editor navigation now restores a consistent route and remains retryable, and narrow manual Task splits preserve the compact layout below the shared 480px threshold. npm run check, npm run build, and all five focused changed-file/split browser cases pass.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b36b54b96

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

Addressed the stale-read race in e292785 with latest-request-wins sequencing and a deterministic delayed-read browser regression. npm run check is clean and all five focused split/editor cases pass.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e292785523

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

Addressed pathless-route state reconstruction in ae8e95c. Reused Files tabs now clear editor state when the route removes path, while preserving discard-cancel restoration. npm run check and the expanded pane-limit regression pass.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: ae8e95c857

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie
wmeddie changed the base branch from main to agent/mcp-skills-discovery August 30, 2026 07:31
…to HEAD

# Conflicts:
#	frontend/src/routes/tasks/[id]/TaskView.svelte
@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

@codex review

This PR is now stacked on #173. The combined branch passed frontend type checking and the focused discovery, MCP, runner, and split-editor browser coverage.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a6a0071062

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

Addressed keyboard source-pane focus in 5806305 with both split-available and pane-limit regressions. npm run check and all six focused split/editor tests pass.

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58063058ab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie

wmeddie commented Aug 30, 2026

Copy link
Copy Markdown
Member

Addressed the pending-read tree-toggle race in 17572f8 with a deterministic delayed-read regression. npm run check and all six focused split/editor tests pass.

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: 17572f82e0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@wmeddie
wmeddie merged commit d7727b8 into agent/mcp-skills-discovery Aug 30, 2026
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