Overview
This module builds scene plans using only activities permitted by shared consent across selected participants, with clinical wording suitable for study contexts.
Consent Intersection
The engine retrieves each participant’s consent matrix via RFD_API.getConsents(name) and computes the intersection (allowed for everyone).
Trifecta
If you enable the Trifecta goal, the generator prioritizes including oral‑genital, vaginal, and anal completion opportunities within a 24‑hour window. Final scoring occurs when you log completion in the lower panel.
API Hooks
getProfile(name)→ basic profile (safeword, signals, etc.)getConsents(name)→ consent matrixlogScenePlan(plan)→ store planlogSceneCompletion(payload)→ store completion & awards
Masking
If public/js/mask.js is present, you’ll also see Pattern‑Masked and Clinical Mask views.