bb4b4df987
fix(stop+stability): stop button interrupts live generation; classifier, prompt + preview pane improvements
...
Stop button fix:
- Plumb AbortSignal end-to-end: callVibnChat → Gemini SDK (config.abortSignal) / OpenAI fetch → executeMcpTool (/api/mcp fetch)
- Treat abort as clean user stop (not fatal error); partial reply persisted with '(stopped by user)'
Classifier fix:
- Add timeout/gateway/5xx/connection-error vocabulary to diagnose intent
- Prevents 'I get a gateway timeout' from falling through to feature_build (40 rounds) and looping
Prompt / agent behaviour:
- Render verification is now scope-aware: small edits stop at green healthCheck; no browser_console/curl audit on healthy server
- Sanitize stale '### Phase Checkpoint' walls from loaded history so old threads stop biasing new turns
- Next.js dev command updated to --no-turbopack for container stability (per-route lazy compile caused cold-start 503s)
- New public page prompt: agent checks middleware allowlist in the same turn
- Scope discipline and QA-tool gating carried forward from prior session
Code cleanup:
- Remove duplicate AgentPhase declaration (TS2440)
- Remove dead checkpoint emit branch and orphan 'checkpoint' phase value
- Remove unused MAX_TOOL_ROUNDS constant
Preview pane (build status):
- 4-state machine: initial-load / building (with elapsed timer) / build-failed / not-running
- pollMs 0 → 5 000ms so dev-server recovery and build completion auto-update without refresh
- anatomy route + use-anatomy type: inFlightBuild gains createdAt for elapsed timer
2026-06-10 21:40:48 -07:00
d4b679bca0
feat(verification): acceptance-check layer + executor fix-loop; hide phase-checkpoint walls; guaranteed turn-end summary. Verification gated behind VIBN_VERIFICATION_ENABLED.
2026-06-10 19:43:36 -07:00
1dcebe0fa7
fix(governor): classify multi-word greetings ('hey there!', 'good morning') and short verb-less messages as conversational so they don't trigger the agent loop
2026-06-10 17:50:31 -07:00
756fe7b092
ux(chat): clean tool-pill results (no raw JSON, Failed/exit verbs); structured build-health status instead of 'didn't reach a clean stopping point'; label active toolbar mode
2026-06-10 17:44:19 -07:00
beb0bebe8f
fix(governor): stop misclassifying 'okay <request>' and investigative questions as conversational; raise status_check/diagnose tool budgets (fixes round_cap cut-offs)
2026-06-10 17:26:41 -07:00
6d2ab7bd33
feat(telemetry): emit per-turn governor summary (stop_reason, rounds, tool_results) for orchestration diagnostics
2026-06-10 17:07:43 -07:00
9b6dfcab73
chore(telemetry): correct Path Confusion loop breaker implementation
2026-06-10 12:16:42 -07:00
62d78e088f
chore(telemetry): resolve loop crash caused by Temporal Dead Zone hoisting and fix conversational budget mapping
2026-06-10 12:04:13 -07:00
92ad20946c
feat(orchestration): implement state-based loop governor with forced checkpoints, phase events, and robust tool signatures
2026-06-10 11:55:17 -07:00
8eb941f1d9
chore(telemetry): implement robust path-confusion stall guard, persist verify signatures correctly, and redact secrets from telemetry logs
2026-06-10 11:38:49 -07:00
0e579be136
chore(telemetry): loosen error normalization to preserve status codes and line numbers for accurate verification signatures
2026-06-10 11:12:29 -07:00
6cbe7c2515
chore(telemetry): resolve universal path normalizer logic and path-confusion tracking
2026-06-10 11:08:42 -07:00
b1ad4fb363
feat(telemetry): implement phase-based execution loop and adaptive tool budgets
2026-06-09 18:58:12 -07:00
ee8109c927
chore(telemetry): add path-confusion loop breaker and strict blank-preview diagnostic protocol
2026-06-09 16:27:09 -07:00
eca23d2266
chore(telemetry): replace fragile regex path normalization with bulletproof path.posix.resolve
2026-06-09 16:25:51 -07:00
7917ad2b37
chore(telemetry): remove hardcoded legacy getacquired slug from universal path normalizer
2026-06-09 16:21:12 -07:00
0ae3748ec4
chore(telemetry): implement universal path normalizer and omni-reaper to prevent preview sprawl
2026-06-09 16:11:31 -07:00
69f7e79266
chore(telemetry): add path-confusion loop breaker and strict blank-preview diagnostic protocol
2026-06-09 16:10:45 -07:00
f1e1d1e753
chore(telemetry): verify signature comment and cleanup
2026-06-09 15:35:46 -07:00
5409d651b3
ux(chat): tune silent-loop status nudge threshold to 6 rounds and strip leaked tool trace payloads from UI
2026-06-09 15:02:34 -07:00
d5d5d6e8d4
chore(telemetry): align shell_exec and dev_server_start cwd to flattened workspace root
2026-06-09 14:59:42 -07:00
173eabd8bf
chore(telemetry): jack up MAX_TOOL_ROUNDS to 150 for ultimate custom app-building runway
2026-06-09 14:30:36 -07:00
65c8dcb6dc
chore(telemetry): jack up MAX_TOOL_ROUNDS to 150 for ultimate custom app-building runway
2026-06-09 14:18:44 -07:00
1301819501
chore(telemetry): raise MAX_TOOL_ROUNDS to 60 for complete engineering runway
2026-06-09 14:16:31 -07:00
341e40c8d5
chore(telemetry): align attached-file reader to flattened project root path
2026-06-09 13:38:32 -07:00
bb63755dcd
chore(telemetry): refactor stall detector to track real state progress and persist non-null verify signatures across edit rounds
2026-06-09 13:36:30 -07:00
5026cc64a3
chore(telemetry): flatten the project slug layer and remove cd path instructions from system prompt
2026-06-09 13:28:57 -07:00
649cf0279c
ux(mcp): resolve tool-pill red X contradiction inside Playwright browser crawler
2026-06-09 12:42:53 -07:00
9d32747e07
chore(telemetry): optimize state-based loop stall detector by tracking tool input signatures and clean up unused helper functions
2026-06-09 12:23:20 -07:00
4caf7755bf
chore(telemetry): implement state-based loop governor, 180s tool timeout, visual-qa path fix, and fs_write diff-guard
2026-06-09 12:05:15 -07:00
bf2b4f966a
chore(telemetry): add bulletproof mcp_token sanitization and read-only mode fallback in chat route
2026-06-09 10:47:32 -07:00
1f2fbd1115
chore(telemetry): fix agent loops, name mangling, dev server leaks, CWD alignment, and add daily session auditor
2026-06-08 16:09:58 -07:00
0dc549ff37
chore: deploy final layout and routing polish to live
2026-06-08 14:46:21 -07:00
267b14d09b
fix(auth): prevent flash of login screen by maintaining loading state while resolving post-auth dashboard routing
2026-06-08 14:42:26 -07:00
528f9d0658
feat(agency): append user profile identity badge and sign-out footer to the agency side navigation
2026-06-08 14:37:58 -07:00
9e00ba3d54
design: streamline agency growth nav items to focus strictly on lead pipeline and contracts
2026-06-08 14:24:53 -07:00
1629c88e93
design: flatten agency client menu structure, moving granular client controls to dedicated client pages
2026-06-08 14:23:16 -07:00
933673aa6d
feat(agency): redefine agency sidebar navigation to match Bonsai OS patterns with Client Management, nested Delivery Hubs, and Finance & Ops
2026-06-08 14:22:10 -07:00
7fa8375bac
feat(agency): refactor agency dashboard into a Next.js App Router layout with dynamic route-based views for individual clients
2026-06-08 14:17:10 -07:00
cea8c35174
feat(agency): refactor agency sidebar to make clients selectable top-level items that render a dedicated client-management view instead of using inline collapsible accordions
2026-06-08 14:13:17 -07:00
a141ad0b08
feat(agency): restore icons and dynamic nested client menus with expand/collapse states
2026-06-08 14:08:03 -07:00
392619699f
chore(agency): remove temporary routing console debug logs
2026-06-08 13:39:13 -07:00
1ea7d30366
fix(agency): permanently resolve double-sidebar race condition by cleanly redirecting agency workspaces from /projects to a dedicated /agency route
2026-06-08 13:31:11 -07:00
15fe506b9b
fix(agency): resolve unused imports and wire workspace slug dynamically into Agency Command Center sidebar
2026-06-08 13:25:45 -07:00
e74d8b07a8
fix(agency): bypass standard maker sidebar inside projects layout for agency workspaces
2026-06-08 13:24:11 -07:00
2e5a03f273
fix(agency): add force-dynamic to workspace api route to prevent aggressive next.js cache
2026-06-08 13:23:07 -07:00
653fb8524b
fix(agency): force no-store cache on workspace metadata fetch to prevent stale routing
2026-06-08 13:18:43 -07:00
6fbac60c3f
feat(agency): implement dynamic day-0 routing to seamlessly send agency users to the Command Center instead of the Maker projects grid
2026-06-08 13:13:51 -07:00
49fde12836
feat(agency): build high-fidelity Agency Command Center dashboard matching Cadence CRM aesthetics with Lead Generation Engine interface
2026-06-08 13:12:15 -07:00
3491dafcfc
design: remove trust bullet strip from signup, make 🇨🇦 Built in Canada single larger centered footer below card
2026-06-08 10:47:27 -07:00