- drop(stream_tx) after spawning LLM task so stream_rx.recv() loop ends
when LLM finishes. Without this, the streaming loop hung forever and
is_complete:true + suggestions were never sent to WebSocket clients.
- Add single-arg ADD_SUGGESTION "text" syntax (registered LAST for
highest Rhai priority so it matches before 2-arg form).
- convert_keywords_to_lowercase() now only lowercases Rhai built-in
keywords (IF, ELSE, WHILE, etc.), not custom syntax keywords (TALK,
HEAR, ADD_SUGGESTION) which are case-sensitive in Rhai.
- sync_bas_to_work() downloads changed .bas files from S3 to work dir
when etag changes, preventing stale local copies used by compiler.
- Only upsert drive_files when ETag actually changed (was re-processing all files every 60s cycle)
- Skip S3 directory entries (keys ending with '/') to avoid storing stale directory markers
- Add debug-level logging for unchanged file skips
- Fixes noisy 'Added/updated drive_files' spam on every scan cycle
- Replace docs/sheet/slides with kb-extraction in default features (~4-6min compile time savings, ~300MB less disk)
- Add kb-extraction feature using zip+quick-xml+calamine for lightweight KB extraction
- Split document_processor.rs (829 lines) into mod.rs+types.rs+ooxml_extract.rs+rtf.rs
- Move DOCX/PPTX ZIP-based extraction to document_processor::ooxml_extract (no ooxmlsdk needed)
- Remove dead code: save_docx_preserving(), save_pptx_preserving() (zero callers)
- Fix dep: prefix for optional dependencies in feature definitions
- DriveMonitor: full S3 sync, ETag change detection, KB incremental indexing, config.csv sync
- ConfigManager: real DB reads from bot_configuration table
- 0 warnings, 0 errors on both default and full feature builds
- Fixed hardcoded port 9000 to 8300 (Zitadel default)
- Added base_url default with fallback to Vault URL
- Allows external Zitadel server configuration via Vault
- facade.rs: Updated help message with correct port
- Install Rust via rustup as SUDO_USER (not root)
- Install mold linker via system packages (apt/dnf/pacman)
- Install sccache via cargo install as SUDO_USER
- Set default toolchain to stable on install
- Use run_as_user helper for all cargo/rustup commands
- Use /opt/gbo/work/gb/ as working directory
- Build botserver, botui, botlib
- Pull --rebase (no clone if exists)
- Verified: all 3 projects compile with 0 errors
- Se botserver/Cargo.toml não existir, refaz clone do gb
- Usa git reset --hard após pull para garantir sincronização
- Clona botserver e botlib diretamente se submodule falhar
- Remove Cargo.toml.bak do logging para simplificar
- Hash buster v9 força reavaliação completa
- Foco: garantir que Cargo.toml do workspace exista
- Se git submodule falhar, faz clone direto do repositório
- Verifica se botserver/Cargo.toml existe após tentativa de init
- Fallback: git clone --depth 1 se submodule falhar
- Prepara Cargo.toml do workspace removendo members desnecessários
- Adiciona logging extensivo para debug
- Hash buster v8 força reavaliação completa
- Clone APENAS botserver e botlib (não todos os submodules)
- Remove --recursive para evitar clone desnecessário
- Inicializa submodules individualmente com --depth 1
- Adiciona logging para verificar estrutura após clone
- Reduz tempo de CI de ~5min para ~1min
- Hash buster v7 força reavaliação
- Repositório raiz é 'gb' (não 'botserver')
- Usa 'git submodule update --init' para sincronizar submodules
- Build usa 'cargo build -p botserver' (workspace mode)
- Cargo.toml do workspace fica em /opt/gbo/work/botserver/
- Código do botserver fica em /opt/gbo/work/botserver/botserver/
- Adiciona logging para debug do Cargo.toml
- Hash buster v6 força reavaliação completa
- Adiciona verificação se repositório existe antes de pull
- Se não existir, inicializa com git init + fetch (clone alternativo)
- Adiciona verificação de Cargo.toml antes do build
- Mantém compatibilidade com estrutura existente no runner
- Hash buster para v5 força reavaliação do workflow
- Remove referência para /opt/gbo/work/botserver/src (não existe)
- Usa /opt/gbo/work/botserver como caminho base (onde está Cargo.toml)
- Remove dependência do botlib (não necessário para build)
- Incrementa hash-buster para v4 para forçar refresh do cache no CI