Repository navigation
feat(desktop): hand Plan mode's words to Luke as the task's brief - #3772
Merged
Merged
Conversation
New task's Plan mode sends the composer's words as `tasks.start`'s `brief` rather than naming the task by their first line. The task is named by its Linear issue where one was picked, and otherwise stands Untitled until Luke names it; the issue's link goes beside the brief. The words box is bounded by TASK_BOUNDS.MAX_BRIEF_CHARS in Plan mode and by an agent message's bound in Agent mode, which sends no brief. taskNameOfWords, the stopgap, is removed with its test. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 19, 2026
…rief Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
luke-agent
Bot
force-pushed
the
luke/feat-plan-mode-brief
branch
from
October 19, 2026 00:19
5f35f34 to
785ea21
Compare
…rief Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
This branch had an error being deployed
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.
Summary
PR 5 of the New task redesign. In New task's Plan mode, the composer's words now go to Luke as the task's
brief(tasks.start's field from #3699). Until now they were used as the task's name.new-task-composer.tsx): the words are sent asbriefthroughTasksControl.newTask.start/startTask(use-tasks-tab.ts, whoseNewTaskStartgainsbrief). No name is derived from them any more. The task takes the picked Linear issue's title (or the workspace issue it was opened on). Otherwise it stays Untitled until Luke names it. The issue'slinearIssueIdis still sent next to the brief.startTaskdoesn't send an empty or whitespace-only brief.TASK_BOUNDS.MAX_BRIEF_CHARSin Plan mode. In Agent mode it keeps the cap it had before,CODING_AGENT_BOUNDS.MAX_MESSAGE_CHARS.AgentComposertakes this as a new optionalmaxLengthprop, defaulting to the message bound. Both limits are 16,000 today.taskNameOfWords(@luke/ui/tasks-model) and its test are removed; nothing else used it.NewTaskStart,newTask.startandstartTask.Out of scope: Agent mode's one-call start (PR 7), Home (PR 8), and any service change.
Evidence
pnpm check:affected: typecheck, lint, repository checks and migrations passed.discarded-effectran out of memory inside the parallel run (sandbox limit), so I reran it alone with a bigger heap and it passed (No discarded Effect, Stream, or Layer in 2397 files.).knippassed on its own. The affected tests passed: ui 82 files, panel 25, web 67, desktop 197 files / 2124 tests.app-menu.test.tsfirst failed only because the Electron binary was missing in the sandbox; it passed after fetching it. The affected build passed.new-task-dialog.test.ts:briefand no name.linearIssueIdandbrief.use-tasks-tab.test.ts:startTaskputsbriefin theTASKS_STARTpayload next tolinearIssueId, and leaves out a blank one.Invariants
./scripts/check.shgreen. (CI)astype assertion outside the allowlisted files.Effect.runPromise/runSync/runForkoutside the runtime edges.setTimeout/setInterval/new Promise/AbortController/fs.watch.taskNameOfWords, two added (Plan mode with issue and words;startTask's brief payload). Net +1.CLAUDE.md/AGENTS.mdsentence names a changed part.PRIVACY.mdunchanged. The words already reached the service as the task's name.@luke/features/task-wire, a vocabulary door it already opens elsewhere.Notes
new-task-composer.tsx/use-tasks-tab.tstoo; whichever PR merges later mergesorigin/mainforward.Made with Luke