Skip to content

remove deprecated lex-cortex from agentic setup pack#3

Closed
Esity wants to merge 723 commits intoOptum:mainfrom
LegionIO:fix/remove-lex-cortex-from-agentic-pack
Closed

remove deprecated lex-cortex from agentic setup pack#3
Esity wants to merge 723 commits intoOptum:mainfrom
LegionIO:fix/remove-lex-cortex-from-agentic-pack

Conversation

@Esity
Copy link
Copy Markdown
Member

@Esity Esity commented Mar 30, 2026

Summary

  • Remove lex-cortex from the agentic pack gem list in setup_command.rb
  • lex-cortex is fully replaced by legion-gaia and emits a deprecation warning on every boot tick when GAIA is running
  • Bump version to 1.6.38

Test plan

  • bundle exec rspec — 4065 examples, 0 failures
  • bundle exec rubocop — 0 offenses

Esity added 30 commits March 23, 2026 08:42
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.
Esity added 29 commits March 29, 2026 22:08
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
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.
@Esity Esity closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant