include all core helpers in Helpers::Lex and Absorbers::Base#5
Closed
Esity wants to merge 727 commits intoOptum:mainfrom
Closed
include all core helpers in Helpers::Lex and Absorbers::Base#5Esity wants to merge 727 commits intoOptum:mainfrom
Esity wants to merge 727 commits intoOptum:mainfrom
Conversation
restrict settings search paths to canonical directories (#25)
apply copilot review followup fixes (#25)
…al modules
- api/llm.rb sync path: caller: { source: 'api', path: request.path }
- api/prompts.rb: caller: { source: 'api', endpoint: 'prompts' }
- cli/commit, pr, review: caller: { source: 'cli', command: '<cmd>' }
- cli/prompt, image: caller: { source: 'cli', command: '<cmd>' }
- notebook/generator: caller: { source: 'cli', command: 'notebook' }
- trace_search: caller: { source: 'cli', command: 'trace' }
- extensions llm runner: caller: { source: 'extension', command: 'llm_runner' }
- update specs: chat_direct -> chat stubs, hash_including for caller kwarg
- Replace private Legion::LLM.chat_single call with public Legion::LLM.chat - Add Guardrails::SYSTEM_CALLER constant using requested_by: nesting required by Pipeline::Profile.derive to resolve :system profile - :system profile skips rbac, classification, billing, gaia_advisory, rag_context, and context_load steps, breaking the recursion loop where guardrails (called from inside the pipeline) would re-enter the pipeline - Extend guardrails_spec with SYSTEM_CALLER structure tests and LLM call behavior specs using stub_const
Migrates the final unmigrated LLM call site in LegionIO.
`CLI::ChatCommand#create_chat` now passes `caller: { source: 'cli', command: 'chat' }`
completing Wave 5 of the caller identity migration.
- :lite ProcessRole: all subsystems enabled except crypt (no Vault) - --lite CLI flag sets LEGION_MODE=lite and LEGION_LOCAL=true env vars - Service#lite_mode? checks env var and settings[:mode] - setup_local_mode handles lite mode with Transport::Local + mock_vault - 3 new specs (1 lite role + 2 service lite_mode?)
Routes free-text intents to the best matching Capability Registry entry. Tries daemon HTTP API first, falls back to in-process Registry.find_by_intent + Ingress.run. Examples: legion do "check consul health" legion do "list running tasks"
when keyword matching returns no results, classifies intent via Legion::LLM.ask against the Capability Registry catalog. graceful degradation when LLM is not available.
do_command try_llm_classify, api/costs metering_available?, api/apollo apollo_data_connected? now log at debug level instead of silently returning nil/false.
…bs, rubocop excludes (#67)
enhance extension helpers with status, layered defaults, and consistency fixes
add workflow manifests for autofix, mind-growth, and factory pipelines
- fix version.rb downgrade: restore to 1.6.35 (was incorrectly set to 1.6.21 by swarm) - fix guardrail score nil check: use unless .nil? so score of 0/0.0 is recorded - add specs for retriever_span, reranker_span, and guardrail_span helpers
- take VERSION 1.6.36 from main - fix Routes::Events::BUFFER_SIZE unqualified constant reference in openapi.rb
- move top-level stub constants into before block using stub_const to avoid cross-spec pollution - change pending to skip in ownership transfer and queue drain examples so placeholder examples halt immediately instead of executing against missing production methods
fix: resolve #59 - swarm automated fix
fix: resolve #57 - swarm automated fix
fix: resolve #60 - swarm automated fix
lex-cortex has been fully replaced by legion-gaia. Having it in the agentic pack causes a deprecation warning on every boot when GAIA is running.
…ic-pack remove deprecated lex-cortex from agentic setup pack
…ap-clean add config reset command and bootstrap --clean flag
Helpers::Lex now automatically includes Cache, Transport, Task, and Data helpers so actors, runners, absorbers, and hooks get methods like cache_connected?, transport_connected?, and generate_task_id without explicit opt-in. Absorbers::Base now includes Helpers::Lex (previously included zero helper modules).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Helpers::Lexnow includes Cache, Transport, Task, and (guarded) Data helpers — any component that includesHelpers::Lexautomatically getscache_connected?,transport_connected?,data_connected?,generate_task_id, etc.Absorbers::Basenow includesHelpers::Lex(previously included zero helper modules)NoMethodErrorforcache_connected?on actors andlogon absorbers at runtimeTest plan