Commit Graph

2820 Commits

Author SHA1 Message Date
rcourtman 2ab0a60e99 Speed up Assistant stream startup 2026-06-05 22:54:44 +01:00
rcourtman 0d2f2a3cc8 Anchor Assistant stream and OpenRouter default 2026-06-05 22:02:47 +01:00
rcourtman 5ef50f712d Expose Assistant fallback model route 2026-06-05 21:29:41 +01:00
rcourtman 17c4c1c172 Scope Assistant fast inventory turns 2026-06-05 21:17:16 +01:00
rcourtman 206161b8ea Route Assistant sends around failed providers 2026-06-05 20:48:54 +01:00
rcourtman 5e4b720d5f Suppress duplicate Assistant thinking status 2026-06-05 20:40:59 +01:00
rcourtman 3d8a926acc Keep Assistant tool-call leaks out of chat output 2026-06-05 20:29:24 +01:00
rcourtman 7067a51680 Make Assistant provider fallback resilient 2026-06-05 20:15:55 +01:00
rcourtman 9c06cda3ea Bound Assistant stream provider startup 2026-06-05 18:14:14 +01:00
rcourtman 3b64c753c8 Show Assistant running tools inline 2026-06-05 18:04:35 +01:00
rcourtman ff5eb8ac84 Add Assistant fallback route recovery 2026-06-05 17:53:04 +01:00
rcourtman 5462cefa19 Show Assistant response model routes 2026-06-05 17:45:25 +01:00
rcourtman a54d643b7a Make Assistant route recovery retry failed turns 2026-06-05 17:32:15 +01:00
rcourtman 7a05826ecd Add direct Assistant provider-route recovery 2026-06-05 17:23:49 +01:00
rcourtman 67f896d93a Improve Assistant failed-turn recovery and tool output 2026-06-05 17:11:43 +01:00
rcourtman 5ea51b4b25 Harden Assistant stream output and OpenRouter token budget 2026-06-05 16:30:07 +01:00
rcourtman 1f1ab45b32 Allow Assistant sends during provider warnings 2026-06-05 15:51:26 +01:00
rcourtman 064cd4bc80 Hide Assistant reasoning from message history 2026-06-05 15:43:06 +01:00
rcourtman 75706f8a2c Harden Assistant output hygiene 2026-06-05 15:15:56 +01:00
rcourtman bbef81274c Show recent Assistant sessions in empty chat 2026-06-05 15:05:40 +01:00
rcourtman 5559075864 Hydrate Assistant loaded session tool events 2026-06-05 14:57:24 +01:00
rcourtman e977db434f Preserve Assistant retry request context 2026-06-05 14:50:53 +01:00
rcourtman 58769c3be9 Add Assistant prompt history recall 2026-06-05 14:41:41 +01:00
rcourtman 45f8757812 Add Assistant queued follow-up dock 2026-06-05 14:33:21 +01:00
rcourtman af103d8b09 Queue Assistant follow-up sends 2026-06-05 14:23:24 +01:00
rcourtman 05d00a65a6 Hide raw Assistant tool-call output 2026-06-05 14:05:38 +01:00
rcourtman df203b0ce6 Let Assistant send during provider checks 2026-06-05 13:38:00 +01:00
rcourtman 2b8ce06c03 metrics: drain freelist proportionally so metrics.db stops bloating
runRetention reclaimed only PRAGMA incremental_vacuum(5000) (~20MB) and
only when that hourly cycle deleted rows. On instances where an hourly
retention pass frees more than 5000 pages, the freelist grows net-positive
every cycle and the sqlite file bloats unboundedly (5GB+ of free pages over
~60MB of live data) even though row retention works. This is the documented
'50+ resources -> 5GB+' symptom the 5000-page batch was meant to fix.

Reclaim every cycle (so a pre-existing backlog drains even in a no-delete
hour) and size each reclaim to the current freelist, capped at 50000 pages
(~200MB) so a large backlog drains over several cycles without holding the
write lock for minutes. Skip the checkpoint when the freelist is empty so
steady-state WAL cadence is unchanged.

Surfaced by the demo server (pulse-relay): metrics.db had grown to 5.9GB
(5GB freelist), filling its 25GB disk and breaking the nightly backup.

Adds TestStoreRetentionReclaimsFreePages to the perf-and-scalability proof
set and documents the reclaim invariant in the subsystem contract.
2026-06-05 13:29:48 +01:00
rcourtman 2199423821 Gate Assistant sends on provider readiness 2026-06-05 13:28:34 +01:00
rcourtman 890b1d35ec Clarify Assistant interruption state 2026-06-05 13:16:01 +01:00
rcourtman 3209a08cf0 Add Assistant provider route recovery 2026-06-05 12:58:56 +01:00
rcourtman c5bee4a785 Surface Assistant provider readiness 2026-06-05 12:50:02 +01:00
rcourtman 6ba21c7a2b Clean up Assistant provider error messages 2026-06-05 12:25:56 +01:00
rcourtman 1bf0ffde55 Surface Assistant workflow progress status 2026-06-05 12:17:35 +01:00
rcourtman 86de23cc78 Focus Assistant composer on chat entry 2026-06-05 12:08:47 +01:00
rcourtman cd24716f90 Make Assistant new chat a local reset 2026-06-05 11:57:58 +01:00
rcourtman 479ac6db2c Stream Assistant cold sessions directly 2026-06-05 11:54:01 +01:00
rcourtman 6bbbf185bb Make workload discovery repair known service results 2026-06-05 09:21:53 +01:00
rcourtman 91528f5a07 Fix Assistant resource context and model route labels 2026-06-04 23:45:15 +01:00
rcourtman 82bf3138dc Make discovery scan scope fully selectable
Turn the discovery settings scan-scope choices into full-row controls so Custom subnets can be selected reliably from the dialog.

Add regression coverage for custom scope selection and common subnet chips.
2026-06-04 23:37:47 +01:00
rcourtman e7c091b63f Surface discovery scan status in infrastructure settings
Make network discovery observable from Connected systems with status, scope, candidate review, and settings actions.

Update the continuous-discovery follow-up and subsystem contracts to capture the visibility requirement.
2026-06-04 23:19:55 +01:00
rcourtman a43f7cbe7f Add discovery readiness to Assistant context 2026-06-04 21:56:36 +01:00
rcourtman 29ac5945bc Fix resource-context Assistant tool targeting 2026-06-04 19:18:08 +01:00
rcourtman d305d602a6 Add resource-context Assistant eval 2026-06-04 18:44:47 +01:00
rcourtman 3f8525a7c2 Implement resource-aware Assistant context 2026-06-04 16:36:04 +01:00
rcourtman c9414e5be8 Record v6.0.0 GA rehearsal
Capture the passing Release Dry Run metadata, rollback command, GA date, v5 support window, and follow-up state for the v6.0.0 publication gate.
2026-06-04 14:47:18 +01:00
rcourtman bd6f77e093 Prepare v6.0.0 release candidate
Tighten v5-to-v6 upgrade safety, release installability, provider MSP mode handling, AI cost accounting, metrics flushing, and frontend guardrails for the v6.0.0 GA candidate.
2026-06-04 14:07:14 +01:00
rcourtman cf65853108 Fix guest metadata race in release backend
Copy guest metadata at the store boundary so asynchronous monitor persistence cannot race with caller-owned metadata during release backend race tests.
2026-06-03 19:40:57 +01:00
rcourtman d1969564b6 Record v6 GA rehearsal evidence 2026-06-03 18:55:33 +01:00
rcourtman 0d0eb4bf11 Stabilize v6 release dry-run backend gate 2026-06-03 18:12:42 +01:00