Skip to content

fix(agent): route projectless build prompts - #121

Merged
iamjr15 merged 1 commit into
mainfrom
fix/implicit-builder-routing
Aug 3, 2026
Merged

fix(agent): route projectless build prompts#121
iamjr15 merged 1 commit into
mainfrom
fix/implicit-builder-routing

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What changed

  • route high-confidence imperative website and mobile-app prompts into the managed builder whenever the chat has no project
  • stop treating isFirstRun as the first run of a chat; it represents the user account’s first-ever agent run
  • keep explicit project modes and existing-project follow-ups authoritative

Why

Production DeepSeek V4 QA after PR #120 exposed the semantic mismatch: workspace confinement worked, but a returning user’s new projectless build chat remained in general mode and could still omit the managed preview.

Verification

  • pnpm typecheck
  • pnpm turbo lint
  • pnpm turbo build --force
  • architecture checks: 847 modules / 1,753 dependencies, zero violations
  • dead-code check: exit 0 (four existing configuration hints only)

After merge and Cloudflare deployment, this will be re-tested through the production UI with DeepSeek V4.

Use project absence, not the account's first-ever run, to identify new build chats.
This keeps managed projects and previews deterministic for returning users and models.
@iamjr15
iamjr15 merged commit a28e305 into main Aug 3, 2026
4 checks passed
@iamjr15
iamjr15 deleted the fix/implicit-builder-routing branch August 3, 2026 10:59
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.

1 participant