add workflow manifests for autofix, mind-growth, and factory pipelines#2
Closed
Esity wants to merge 687 commits intoOptum:mainfrom
Closed
add workflow manifests for autofix, mind-growth, and factory pipelines#2Esity wants to merge 687 commits intoOptum:mainfrom
Esity wants to merge 687 commits intoOptum:mainfrom
Conversation
… ingress (v1.4.150)
… checks (v1.4.151)
…lo and memory (v1.4.159)
…on API (v1.4.160)
…checks (v1.4.161)
…e spike detection (v1.4.162)
- spec/integration/absorber_pipeline_spec.rb: 12-example end-to-end test covering PatternMatcher resolution, Dispatch routing, transport suppression in lite mode, absorber → Apollo.ingest, depth/cycle guards - bump VERSION 1.6.24 → 1.6.25
- Register absorbers with Router for API discovery (A1) - Remove Routes::Lex, Routes::Hooks, hook_registry, route_registry (A2-A4) - Add hook-aware dispatch to LexDispatch: verify/route/transform (A5) - Auto-generate transport message classes from runner definitions (C1) - Add broker purge-topology CLI for old AMQP exchange cleanup (C2) - Guard Gaia/Transport/RBAC routes for library self-registration (B1-B3) - Add v3.0 LexDispatch specs replacing old lex_spec.rb - Fix routes builder log message to v3.0 path format 3950 specs, 0 failures, 0 rubocop offenses
…:// URIs (closes #50)
…on (fixes #53) the 5 self-registering route guards in api.rb used defined?(Legion::Transport::Routes) to skip fallback registration, but defined? fires at require time while routes only mount during boot via register_library_routes. changed guards to check router.library_names.include? which tracks actual registration. also moved the router class method above the register calls so it is available at class load time.
NoMethodError: undefined method 'mount' for class Legion::Extensions::Hooks::Base raised on boot when any extension hook called mount (e.g. lex-microsoft_teams Hooks::Auth). The v3.0 hooks rewrite introduced new DSL methods (route_header, route_field, verify_hmac, verify_token) but omitted the mount/mount_path pair. Adds mount(path) class method and mount_path reader to Hooks::Base matching the stub defined in extension hook specs.
…actor classes Builders::Hooks#build_hook_list called hook_class.runner_class (a class-level call) which fell through to Helpers::Base#runner_class — an actor-specific helper that uses sub! to swap 'Actor' for 'Runners' in the class name. For hook classes (e.g. Hooks::Negotiate), the string has no 'Actor' segment so sub! returns nil, causing Kernel.const_get(nil) to raise TypeError. Two fixes: - hooks.rb: call runner_class on a hook instance (the correct method), then resolve the result — string names via const_defined?/const_get, Class objects directly, nil falls back to hook_class. Extracted to resolve_hook_runner private helper to keep build_hook_list within cyclomatic complexity limit. - helpers/base.rb: change sub! to sub (non-destructive) as a defensive guard so runner_class never passes nil to const_get if called on a non-actor class.
The hooks format changed to require a `hooks` array wrapper with `type: command` entries. Updated both detection (supports old + new format via hook_commands helper) and installation to emit the new format. Fixes the "hooks: Expected array" warning on session start.
Previously only accessible via `legionio ai knowledge`. Now also available directly as `legionio knowledge` for convenience and hook compatibility (knowledge capture hooks use the top-level path).
replace Dynamic message (requires function_id DB lookup) with direct Exchange::Logging publish in POST /api/logs — fixes NoMethodError undefined method 'values' for nil when function_id is absent also add Connection.ensure_knowledge lazy loader and wire it into all knowledge CLI require guards instead of raising a static error
swarm: fix #55 (auto-merged, 3/3 validators + Copilot clean)
swarm: fix #56 (auto-merged, 3/3 validators + Copilot clean)
swarm: fix #58 (auto-merged, 3/3 validators + Copilot clean)
Member
Author
|
opened against wrong org, recreating against LegionIO/LegionIO |
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
workflows/directory:autofix-pipeline.yml— log triage → GitHub diagnose → LLM fix → PR ship (3 relationships)mind-growth-build.yml— scaffold → implement → test → validate → register with retry on test failure (5 relationships)mind-growth-swarm-parallel-build.yml— swarm create → parallel build → complete (2 relationships)factory-develop-codegen.yml— factory develop stage delegates to lex-codegen (1 relationship)Test plan
Legion::Workflow::Manifest(14 total relationships)