Skip to content

Web-mode auto-bootstrap creates a Squadron-less project thread at startup #287

Closed as not planned

Description

@Jacksondr5

Upstream's autoBootstrapProjectFromCwd (apps/server/src/serverRuntimeStartup.ts, resolveAutoBootstrapWelcomeTargets) runs whenever the server starts in web mode without headless mode. That includes vp run dev and j5 started interactively in a folder. It is the default whenever mode === "web", overridable with --auto-bootstrap-project-from-cwd / T3CODE_AUTO_BOOTSTRAP_PROJECT_FROM_CWD.

It bootstraps a project for the working directory and, if that project has no thread, launches a "New thread" (createdBy: "system", creationSource: "server", workspaceStrategy: root) with no Squadron home. J5's launch carrier and refusal rules don't stop it. The same code exists on j5/main, so this predates #262.

Observed in the #262 client pass: the dev server created thread:project:…:683072f1… in the pingdotgg/t3code project half a second after it began listening, before any client connected. Screenshot: j5/evidence → pr-262/4e02e690de/01-landing-sidebar-header.png.

Fix options:

  • Default auto-bootstrap off in J5 builds.
  • Keep the project bootstrap but skip the thread launch.
  • Launch into an explicit Squadron when exactly one references the folder, and otherwise create no thread.

Add it as a FORK.md case. Check the desktop app's startup path for the same behavior.

Activity

  1. added
    bug
    on Sep 24, 2026
  2. Jacksondr5 commented on Oct 8, 2026

    @Jacksondr5
    OwnerAuthor

    Closing: Squadrons are retired and their behaviour is folded into projects (#412; merged in #454, #455, #456, #457, #482, #483, #484 and #489). A thread's home is now its project, so the Squadron this issue is about no longer exists. If part of this still applies to projects, reopen it or file it in those terms.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions