Commit graph

4036 commits

Author SHA1 Message Date
4f43b9eefc ci: Fix pkill pattern to match running process
All checks were successful
BotServer CI / build (push) Successful in 8s
2026-03-20 22:57:10 -03:00
e5f3380469 perf: Fix USE TOOL thread contention by removing runtime creation
All checks were successful
BotServer CI / build (push) Successful in 2m31s
- Replace thread spawn + tokio runtime creation with block_in_place
- Eliminates 10+ runtime creations per start.bas execution
- Reduces USE TOOL execution from ~2min to milliseconds
- Fixes suggestions not appearing due to start.bas timeout
2026-03-20 22:54:19 -03:00
8c9a21d586 fix: Explicitly enable chat feature in CI build
All checks were successful
BotServer CI / build (push) Successful in 7s
2026-03-20 22:44:19 -03:00
90b097ea50 fix: Use gb Cargo.toml with members stripped instead of minimal fake
All checks were successful
BotServer CI / build (push) Successful in 19m40s
2026-03-20 21:45:17 -03:00
7f36f47339 fix: Replace heredoc with printf in workflow YAML
Some checks failed
BotServer CI / build (push) Failing after 8s
2026-03-20 21:43:01 -03:00
1fb1e06bdb ci: Fixed workspace path for incremental builds, no more full recompile 2026-03-20 21:39:58 -03:00
d0b527a4a8 ci: Trigger deploy with rm fix
All checks were successful
BotServer CI / build (push) Successful in 16m55s
2026-03-20 21:10:14 -03:00
9f6499b56a fix: rm binary before scp to bypass ownership restriction
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-20 20:59:20 -03:00
97e9e6626e ci: Fix deploy log capture and error handling
All checks were successful
BotServer CI / build (push) Successful in 11m12s
2026-03-20 20:33:14 -03:00
f2808be825 ci: Trigger deploy after container migration
Some checks failed
BotServer CI / build (push) Failing after 10m53s
2026-03-20 20:20:45 -03:00
ac6d41f2c9 ci: Add verbose scp logging to debug deploy failure
Some checks failed
BotServer CI / build (push) Failing after 11m25s
2026-03-20 19:51:08 -03:00
654147d43f ci: Trigger new run to debug deploy step
Some checks failed
BotServer CI / build (push) Failing after 11m54s
2026-03-20 19:35:10 -03:00
cac045d98a fix: Clone botserver to temp dir then replace submodule to avoid workspace conflict
Some checks failed
BotServer CI / build (push) Failing after 11m40s
2026-03-20 19:15:03 -03:00
6e54799973 fix: Kill botserver before scp deploy to prevent file lock
Some checks failed
BotServer CI / build (push) Failing after 11m22s
2026-03-20 18:59:14 -03:00
705d925947 fix: Allow anonymous access to /api/suggestions for bot chat
Some checks failed
BotServer CI / build (push) Failing after 11m15s
2026-03-20 18:44:08 -03:00
d19984fa07 feat: Improve KB keywords and package manager installer
All checks were successful
BotServer CI / build (push) Successful in 14m28s
2026-03-20 17:38:47 -03:00
57a8b7f8f0 Fix: use pgrep to check valkey/qdrant running state
- valkey check_cmd: replaced valkey-cli ping (network) with pgrep -x valkey-server
- qdrant check_cmd: replaced curl https check (TLS error 35) with pgrep -x qdrant
- Prevents duplicate instances on each botserver restart
2026-03-20 15:40:22 -03:00
3bb115266b feat: Add GUID prefix to Qdrant collection names for KB security isolation
Some checks failed
BotServer CI / build (push) Failing after 1s
2026-03-19 19:51:28 -03:00
3db53dfd42 chore: trigger CI build 2026-03-19 12:28:36 -03:00
a985dfc168 fix: use id instead of bot_id in SLA policy inserts 2026-03-19 11:59:52 -03:00
d6ebd0cf6e fix: send suggestions separately from TALK, clear Redis keys for refresh
- Remove suggestions fetching from TALK function
- WebSocket handler now fetches and sends suggestions after start.bas executes
- Clear suggestions and start_bas_executed keys to allow re-run on refresh
- Decouple TALK from suggestions handling
2026-03-19 09:53:39 -03:00
2fcfb05fd6 fix: USE_WEBSITE non-blocking - timeout 3s, never blocks start.bas 2026-03-18 19:41:23 -03:00
6e594d68dd Fix: Wait for send_task to be ready before executing start.bas 2026-03-18 14:38:46 -03:00
8f073a15fd Fix: Wait for send_task to be ready before executing start.bas so TALK messages work 2026-03-18 14:18:05 -03:00
1a9208b88e Fix: Use bot_id instead of user_id in TALK suggestions Redis key 2026-03-18 11:05:56 -03:00
ec4fcc094a Fix: Use bot_id instead of user_id in suggestion Redis keys
- Changed all suggestion key formats from suggestions:user_id:session_id to suggestions:bot_id:session_id
- Fixes bug where suggestions were stored under wrong key, preventing frontend from retrieving them
- Affects: CLEAR SUGGESTIONS, ADD SUGGESTION, ADD SUGGESTION TEXT, ADD_SUGGESTION_TOOL
- Impact: Suggestions now correctly associated with bot, not user
2026-03-18 10:39:27 -03:00
346c83871a Fix Vault TLS certificate to include Subject Alternative Name for modern client compatibility 2026-03-18 09:30:27 -03:00
ed2a1d83f0 fix: include server epoch in start_bas_executed key to invalidate after restart
All checks were successful
BotServer CI / build (push) Successful in 17m16s
2026-03-17 15:45:02 -03:00
492530ee77 Fix panic: Cannot start a runtime from within a runtime in secrets module
Removed tokio::runtime::Handle::block_on() calls that were causing panics
when called from within async contexts. Now uses direct fallback to
environment variables instead.
2026-03-17 15:04:40 -03:00
282f3487c0 ci: deploy via SSH instead of lxc device mounts
All checks were successful
BotServer CI / build (push) Successful in 18m20s
2026-03-17 13:12:41 -03:00
af7441ebcb fix: generate mcp.json for tools without PARAM declarations
Some checks failed
BotServer CI / build (push) Failing after 3m45s
Tools using only USE KB or other keywords without PARAM were not
getting .mcp.json generated, causing USE TOOL to silently skip them.
2026-03-17 12:20:47 -03:00
7906a9bf32 security: add CoreDNS ACL hardening and fail2ban proxy jail
Some checks failed
BotServer CI / build (push) Failing after 4m55s
- dns_hardener.rs: apply ACL (anti-amplification) + errors plugin to Corefile via lxc
- fail2ban.rs: add apply_proxy() for caddy-http-flood jail in pragmatismo-proxy container
- security_fix.rs: integrate dns and fail2ban_proxy steps into run_security_fix/status
- mod.rs: export dns_hardener module
2026-03-17 11:18:19 -03:00
c340f95da1 security: bind MinIO and Valkey to 127.0.0.1 only
Some checks failed
BotServer CI / build (push) Failing after 6m44s
2026-03-17 01:32:21 -03:00
9fc38b80d3 Fix clippy type complexity warnings 2026-03-17 01:12:05 -03:00
ab1f2df476 Read Drive config from Vault at runtime with fallback defaults
Some checks failed
BotServer CI / build (push) Failing after 7m26s
2026-03-17 00:00:36 -03:00
b57c53e2ff Remove WORKFLOW_PLAN.md (moved to gb/prompts)
Some checks failed
BotServer CI / build (push) Failing after 7m22s
2026-03-16 23:40:56 -03:00
7849031ffe Move WORKFLOW_PLAN.md to src/basic/
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 23:38:35 -03:00
91a79bbe82 WORKFLOW_PLAN: add keyword compatibility matrix and compilation without Rhai
Some checks failed
BotServer CI / build (push) Failing after 7m47s
2026-03-16 23:24:34 -03:00
a24347b0f8 WORKFLOW_PLAN: add open source alternatives comparison (Restate, Rhythm, Temporal)
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 23:22:48 -03:00
38e21431ed Add WORKFLOW_PLAN.md: durable BASIC execution via step engine
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 23:20:01 -03:00
ec1e203859 HEAR: add configurable timeout (hear-timeout-secs, default 1h)
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 23:12:45 -03:00
dae78479d2 Fix HEAR: block thread on channel instead of throw+re-run from top
Some checks failed
BotServer CI / build (push) Failing after 6m54s
- Add hear_channels: HashMap<Uuid, SyncSender<String>> to AppState
- HEAR now blocks the spawn_blocking thread via sync_channel recv()
- deliver_hear_input() called at top of stream_response() to unblock
- Script continues from exact HEAR position, no side-effect re-execution
- All three HEAR variants (basic, AS TYPE, AS MENU) use same mechanism
2026-03-16 23:00:17 -03:00
35b793d29c Add interactive vault put - prompt for secrets instead of CLI args
All checks were successful
BotServer CI / build (push) Successful in 10m50s
2026-03-16 22:27:06 -03:00
c0b619b58f Fix: add FromRequestParts impl for security AuthenticatedUser extractor
All checks were successful
BotServer CI / build (push) Successful in 11m32s
2026-03-16 22:04:59 -03:00
49e9f419f3 Fix: export observability module from llm/mod.rs
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 22:00:55 -03:00
5ca5e98f8b Fix: add missing async_trait on AuthenticatedUser extractor, type annotation on analytics router, import ObservabilityManager
Some checks failed
BotServer CI / build (push) Has been cancelled
2026-03-16 21:54:29 -03:00
7326413ea8 Add security audit script
Some checks failed
BotServer CI / build (push) Failing after 7m38s
2026-03-16 21:42:02 -03:00
16394aef01 Fix LXD IPv4: retry DHCP 30s, fallback to static IP for privileged containers
Some checks failed
BotServer CI / build (push) Failing after 6m46s
2026-03-16 21:34:59 -03:00
03fe5bc94d Fix LXD container install: PATH, socket proxy, DNS
Some checks failed
BotServer CI / build (push) Failing after 7m36s
2026-03-16 21:24:04 -03:00
6c139fdf63 fix: suggestion and talk keyword improvements
All checks were successful
BotServer CI / build (push) Successful in 13m59s
2026-03-16 13:29:14 -03:00