You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(plugin-security): bind fallback set to everyone AFTER the anchor is seeded
The ADR-0090 D5 baseline auto-bind ran earlier in runBootstrap than
bootstrapBuiltinRoles, which creates the everyone position — so the everyone
lookup returned nothing and the app's isDefault set (resolved as
fallbackPermissionSet) was never bound. A fresh deploy booted with everyone
empty (personas silently degraded) plus a redundant sys_audience_binding_suggestion
for the same set. Move the auto-bind after bootstrapBuiltinRoles and before
syncAudienceBindingSuggestions so the documented app-level auto-bind actually
happens and the suggestion sync skips the already-bound set.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017bJWtKmZ2mFpRFAmmmoeqe
fix(plugin-security): bind the fallback permission set to the `everyone` anchor AFTER the anchor is seeded. The baseline auto-bind (ADR-0090 D5) ran earlier in `runBootstrap` than `bootstrapBuiltinRoles`, which creates the `everyone` position — so the `everyone` lookup returned nothing and the app's `isDefault` set was never bound, leaving a fresh deploy's `everyone` empty (personas silently degraded) and a redundant `sys_audience_binding_suggestion` filed for the same set. The auto-bind now runs after `bootstrapBuiltinRoles` and before `syncAudienceBindingSuggestions`, so the documented app-level auto-bind actually happens and the suggestion sync correctly skips the already-bound set.
0 commit comments