Skip to content

t1: concise worker and fork naming at creation #1343

Closed

Description

@currentbits

Worker task under #1342.

Fix fork/worker titles at the shared creation boundary:

  • Ordinary forks: one Fork: at most, no recursive prefixes; provenance stays handoffFrom.
  • Workers: optional short task title, else bounded first-line prompt fallback.
  • Reuse existing title normalization/limits.
  • Orchestration thread_fork accepts optional short title.
  • Runner pendingFork and browser/devCoder stay consistent without widening IPC.
  • Do not rewrite existing custom titles or call a model to generate names.

Files: electron/services.js, relevant inputs in electron/orchServer.js and electron/runner.js, src/devCoder.ts, existing tests for those paths.

Out of scope: Sidebar, waiting.ts, sidebarGroups, App, ThreadView, AgentsPanel.

Activity

  1. added
    plan:todo
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Sep 24, 2026
  2. currentbits commented on Sep 24, 2026

    @currentbits
    OwnerAuthor

    Done on worker branch coder/fork-this-is-a-persisetent-issue-when-us-2f12a9 at f2aa8c3e.

    Ordinary forks keep one Fork: prefix. Workers take an optional short title or the first non-empty prompt line (THREAD_TITLE_MAX). thread_fork accepts optional title. Runner pendingFork and /handoff pass prompt/task. Existing stored titles are not rewritten.

    Browser/devCoder has no worker-creation path (pendingFork is set on orchestrate create and ignored by runs.start). test/support/fakeCoder.ts still concatenates Fork: + source title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions