Summary
Moirai execution is correctly exposed only through the global-admin surface, but its persisted output is not represented as an explicit RBAC security domain. Generated insight memories rely on being unscoped to become admin-only, while Clotho category bridges and Lachesis stitch edges can still influence ordinary graph reads. The generative layer needs an explicit graph-backed admin-only boundary.
Findings
1. Invocation is globally authorized
helixir/src/core/helixir_client/client.rs:203 gates HelixirAdmin through authorize_admin_surface, and the CLI routes Moirai commands through this facade.
2. Insight privacy is accidental
helixir/src/agents/atropos/mod.rs:248 and helixir/src/agents/atropos/verify.rs:288 persist generated memories with no RBAC scope or group edge. Non-admin denial is only a side effect of unscoped-memory fail-closed handling.
3. Generated graph structure remains in ordinary traversal
helixir/src/toolkit/mind_toolbox/search/smart_traversal/connect.rs:185 enables the global Clotho category bridge for every caller, and helixir/src/agents/lachesis/stitch.rs:160 writes hypothesis-grade BECAUSE edges directly between ordinary memories.
Proposed fix
- Add a protected reserved
moirai group as an explicit system memory domain in HelixDB.
- Allow global admins to read the domain without assigning ordinary group memberships.
- Scope new Atropos hypotheses and retirement notes to
moirai, with idempotent recovery if edge materialization is interrupted.
- Keep Moirai analysis global across all groups while preventing non-admin reads from consuming generative-only paths.
- Protect
moirai from membership grants, deletion, dedup federation, onboarding inference, and principal-registry semantics.
- Update bootstrap, installer/doctor, README, engineering docs, prompts, skill, and E2E tests.
Acceptance criteria
Summary
Moirai execution is correctly exposed only through the global-admin surface, but its persisted output is not represented as an explicit RBAC security domain. Generated insight memories rely on being unscoped to become admin-only, while Clotho category bridges and Lachesis stitch edges can still influence ordinary graph reads. The generative layer needs an explicit graph-backed admin-only boundary.
Findings
1. Invocation is globally authorized
helixir/src/core/helixir_client/client.rs:203gatesHelixirAdminthroughauthorize_admin_surface, and the CLI routes Moirai commands through this facade.2. Insight privacy is accidental
helixir/src/agents/atropos/mod.rs:248andhelixir/src/agents/atropos/verify.rs:288persist generated memories with no RBAC scope or group edge. Non-admin denial is only a side effect of unscoped-memory fail-closed handling.3. Generated graph structure remains in ordinary traversal
helixir/src/toolkit/mind_toolbox/search/smart_traversal/connect.rs:185enables the global Clotho category bridge for every caller, andhelixir/src/agents/lachesis/stitch.rs:160writes hypothesis-gradeBECAUSEedges directly between ordinary memories.Proposed fix
moiraigroup as an explicit system memory domain in HelixDB.moirai, with idempotent recovery if edge materialization is interrupted.moiraifrom membership grants, deletion, dedup federation, onboarding inference, and principal-registry semantics.Acceptance criteria
moiraigroup.moirai.MEMORY_IN_RBAC_GROUPedge tomoirai.