You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web-mode auto-bootstrap creates a Squadron-less project thread at startup #287
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.
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.
Activity
Jacksondr5 commentedon Oct 8, 2026
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.