Commit a28e305
authored
fix(agent): route projectless build prompts (#121)
## 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.1 parent f2eefaa commit a28e305
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments