Skip to content

Add source_agent/source_channel to Apollo ingest for provenance#15

Merged
Esity merged 1 commit into
mainfrom
feature/identity-scope-enforcement
May 19, 2026
Merged

Add source_agent/source_channel to Apollo ingest for provenance#15
Esity merged 1 commit into
mainfrom
feature/identity-scope-enforcement

Conversation

@Esity

@Esity Esity commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add source_agent: 'lex-knowledge' and source_channel: 'corpus_ingest' to ingest_to_apollo calls
  • Identity columns now enforced at the lex-apollo layer via Legion::Identity::Process — no caller changes needed

Context

Part of cross-repo identity scoping effort. Identity enforcement happens in lex-apollo's handle_ingest; lex-knowledge just needs proper source attribution.

Related: LegionIO/lex-apollo PR #24, LegionIO/legion-apollo PR #35, LegionIO/legion-llm PR #127.

Test plan

  • 218 specs passing, 0 failures
  • 0 rubocop offenses

Identity is now enforced at the lex-apollo layer via
Legion::Identity::Process. Add source_agent and source_channel to
ingest_to_apollo payload for provenance tracking.
@Esity Esity merged commit 7e57334 into main May 19, 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.

1 participant