Skip to content

Fix Knowledge Apollo model compatibility with legion-data schema cleanup#13

Merged
Esity merged 4 commits intomainfrom
fix/knowledge-apollo-model-compat
May 6, 2026
Merged

Fix Knowledge Apollo model compatibility with legion-data schema cleanup#13
Esity merged 4 commits intomainfrom
fix/knowledge-apollo-model-compat

Conversation

@Esity
Copy link
Copy Markdown
Contributor

@Esity Esity commented May 6, 2026

Summary

  • Add a Knowledge Apollo-model resolver that prefers Legion::Data::Model::Apollo::* classes from the legion-data schema cleanup.
  • Preserve fallback compatibility with legacy Apollo entry/access-log constants.
  • Rewire ingest and maintenance model access through the resolver.
  • Add neighbor retrieval expansion for query and retrieve flows.
  • Add optional ingest chunk filtering with prompt and threshold settings.
  • Uplift Knowledge defaults, logging, settings, exception handling, and JSON persistence to use Legion helper APIs end to end.
  • Bump version to 0.6.14 and update the changelog.

Validation

  • bundle exec rspec --format json --out tmp/rspec_results.json --format progress --out tmp/rspec_progress.txt
  • bundle exec rubocop -A
  • Static scans for direct ::JSON, raw JSON.*, direct settings lookup, direct logging calls, settings_ shims, def log, and unresolved conflict markers.

Related

@Esity Esity merged commit d03493a into main May 6, 2026
11 checks passed
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.

Neighbor chunk expansion on retrieval hits LLM-based ingest filter (filter_prompt) for noise reduction

1 participant