Skip to content

fix: enforce audience-scoped actor recall - #17

Merged
dajiaohuang merged 1 commit into
mainfrom
fix/event-audience-filter
Aug 29, 2026
Merged

fix: enforce audience-scoped actor recall#17
dajiaohuang merged 1 commit into
mainfrom
fix/event-audience-filter

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Actor-scoped memory retrieval previously indexed participant events without applying event audience, and ActorKnowledge list/search could only return all scopes before caller-side filtering. This adds optional, backwards-compatible disclosure and audience filters to ActorKnowledgeService and EventService. Player queries now exclude DM-only knowledge and events, while DM queries retain full authorized recall. Branch heads, participant roles, knowledge-source events, legacy calls, invalid scopes, and player/DM projections are covered by regression tests. Verification: full Core suite passed; focused 5 passed; Ruff and git diff --check passed.

@dajiaohuang
dajiaohuang merged commit 302ce2b into main Aug 29, 2026
4 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