Supervision is Infrastructure, not a Feature.

One engine. Every context. Parent and child. Teacher and student. Manager and employee. Doctor and patient. Mentor and mentee. All the same data pattern, all served by the same shared service.

The Supervision Engine is the platform-wide service that manages oversight relationships between users. It is not a Qammy feature. It is not a parental controls module bolted onto one app. It is a universal relationship pattern, one user holds oversight permissions over one or more other users, built once, surfaced everywhere. The same Firestore collection, the same API service, the same permissions model, the same consent architecture: deployed as a Manager Dashboard on Qaori App, a Supervisor Dashboard on Qammy, and a Mentor Dashboard on Qappy.

The Supervision Engine is Qaori’s shared platform infrastructure for managing oversight relationships between users, parent and child, teacher and student, manager and employee, doctor and patient. It is a universal data model and API service, not a feature of any single brand. The same collection, the same API, and the same consent architecture underpin the Manager Dashboard on Qaori App, the Supervisor Dashboard on Qammy, and the planned Mentor Dashboard on Qappy. Supervision is not assumed: every relationship has a lifecycle, every status change is audited, and supervised users are not silently monitored.

Why Oversight Relationships need Infrastructure, not Bolt-Ons.

Supervised AI interactions for children and vulnerable users have no governance layer

AI assistants deployed for children, students, patients, and vulnerable adults typically have no structured mechanism for a responsible adult to set appropriate boundaries, review what the interaction covered, or approve which programs the person can access. A parent cannot see what their child discussed with an AI. A teacher cannot confirm that a student completed a session. A care institution cannot review what a patient was advised. Governance is absent where it is most needed.

Enterprise AI usage happens without manager visibility or control

When employees use AI tools for work, managers have no structured visibility over what those tools are doing on behalf of their teams, which Alters are being accessed, whether onboarding programs are being completed, and what the usage patterns look like. The tools operate as individual utilities with no integration into the organizational oversight layer.

Each product team builds its own supervision logic, inconsistently

Without shared infrastructure, every product team that needs supervision functionality builds its own version. The result is inconsistent handling of consent, divergent data models, and no ability to extend a supervision relationship from one surface to another where it would be relevant. A parent relationship created on Qammy cannot be read by Academy. A manager relationship on the Qaori App cannot extend to Qappy without duplication.

Three Pre-Existing Contexts, One Architecture

Before the Supervision Engine was unified, three distinct supervisor roles existed across the platform: the Manager Premium tier on Qaori App, the Division HR Manager tier, and the Supervisor tier on Qammy. Each was built for a different surface and a different relationship. The Supervision Engine unifies all three under one data model and one API service without changing what any supervisor can do in their context.

Who this is for.

Parents on Qammy

A parent whose child uses Qammy for learning, cultural exploration, or heritage language practice. The parent sets session limits, approves the programs their child enrolls in, views session summaries, and sets content filters appropriate to their child's age and their family's values. The supervision relationship is visible to the child in age-appropriate terms. It is not secret monitoring.

Teachers and care institutions

A teacher managing a class of students enrolled in a Qammy or Academy program. The teacher uses Class Management to assign the cohort to the curriculum stage, view group-level usage reports, and monitor learners' progress. A care institution deploying patient supervision for a monitored clinical program has the consent framework embedded in the institutional agreement. Both call the same supervision-engine-api.

HR managers and enterprise deployments

An HR manager overseeing employee Alter usage across a division. The manager sees aggregated usage reports, manages the Alters available to their team, and tracks whether onboarding programs are being completed. The supervision relationship is declared in the employment contract and the company's AI usage policy. The Division HR Manager tier adds a second layer for managing multiple Manager-tier users within a division.

Platform operators evaluating supervision infrastructure

Technical partners and platform operators who need to evaluate whether the Supervision Engine can serve a new context, a new relationship type, a new brand surface, or a new deployment will find that the data model accommodates extension without schema migration. The brand_context field and relationship_type field are the extension points. Adding a new context does not require changing the enforcement code in every service that checks capabilities.

Very Technical Reading Part from here:
What the Supervision Engine delivers.

One relationship record serves every surface

A supervision relationship created on one brand context can be read by any surface that holds the appropriate service credentials. An HR manager on Qaori App who is also a mentor on Qappy does not generate duplicate relationship records. The brand_context field is a filter, not a barrier.

Consent is tracked, not assumed

Every supervision relationship begins in pending status. The consent step must be completed before the relationship moves to active. The consent record is stored with the relationship. Supervised users retain rights: they can request review, and in non-minor contexts the supervised user can initiate a suspension or revocation request.

Enforcement at conversation start, not post-hoc

The Supervision Engine coordinates with the live policy-engine-service to evaluate constraints before the Alter delivers its first word. Session limits, content filters, and Alter access approval are checked at conversation start. If a constraint blocks the session, the session does not start.

Extensible by configuration, not code change

Supervisor capabilities are declared in tier_config.json and evaluated at runtime by the requires_capability() decorator. Adding a new supervisor context, a new relationship_type, a new surface, a new capability, requires adding declarations to the configuration. No code changes are required in the services that enforce capabilities.

Full audit trail for every relationship change

Every status transition in the supervision relationship lifecycle is audited with a timestamp, the user or system action that triggered the change, and the prior and new status. The audit log is immutable. Supervisors cannot alter the audit record. Every governance decision is traceable.

Three Pre-Existing Contexts, One Architecture

Before the Supervision Engine was unified, three distinct supervisor roles existed across the platform: the Manager Premium tier on Qaori App, the Division HR Manager tier, and the Supervisor tier on Qammy. Each was built for a different surface and a different relationship. The Supervision Engine unifies all three under one data model and one API service without changing what any supervisor can do in their context.

Manager Premium (Qaori App)

The enterprise supervision context. A Manager Premium user supervises the Alters assigned to their team, monitoring usage, reviewing session summaries, managing the alter configurations available to their employees. The relationship type is manager. The brand context is qaori. The surface is the Manager Dashboard.

Division HR Manager (Qaori App)

The HR tier above Manager Premium. A Division HR Manager supervises multiple Manager-tier users within their division. The relationship type is hr_division. The brand context is qaori. The HR manager can see aggregated reporting across the managers they oversee and manage tier assignments within their division.

Supervisor (Qammy App)

The care and education context. A Supervisor user on Qammy oversees minors, students, patients, or mentees, anyone for whom a responsible adult or professional has a care or educational duty. The relationship type is encoded as parent, guardian, teacher, doctor, or mentor depending on the specific relationship. The brand context is qammy. The surface is the Supervisor Dashboard.

One engine beneath all three

The relationship field within the supervision relationships database collection delineates the context: parent, guardian, teacher, doctor, mentor, manager, HR division. The brand specifies the surface: Qammy, Qaori, or Qappy. The API service is unified across platforms. The user interface is tailored to each brand. Both the supervisor utilizing the Manager Dashboard on the Qaori App and the parent accessing the Supervisor Dashboard on Qammy are interfacing with the same supervision engine service.

The Consent Architecture

Supervision in the platform is not assumed. It is established through a relationship lifecycle that includes consent tracking at each stage. ConsentService within the Supervision Engine is responsible for recording and auditing the consent status of every relationship.

Consent is tracked, not assumed

A supervision relationship begins in pending status. The supervised user, or, where the supervised user is a minor or a person without legal capacity to consent independently, their legal guardian, must complete the consent step before the relationship moves to active. The consent record is stored with the relationship. The supervisor cannot activate oversight permissions before consent is confirmed.

Where consent is implicit

In some institutional contexts, a hospital deploying care supervision for patients enrolled in a monitored program, an employer deploying manager-tier oversight for employees under a workplace AI usage policy, the consent is embedded in the institutional agreement rather than collected per relationship. In these cases, ConsentService records the institutional consent framework that governs the relationship and links the relationship record to it. The consent is documented; it is not skipped.

Relationship changes are audited

Every status transition in the supervision relationship lifecycle, pending to active, active to suspended, suspended to revoked, is audited with a timestamp, the user or system action that triggered the change, and the prior and new status. The audit log is immutable. Supervisors cannot alter the audit record.

The supervised user's rights

A supervised user who has the legal capacity and platform standing to do so can request a review of the supervision relationship. Where the relationship_type permits it, mentor, manager, teacher in non-minor contexts, the supervised user can initiate a suspension or revocation request. The request goes to the appropriate administrative tier for review. Supervision in Qaori is not an unchecked power relationship; it is a documented, audited, and governance-bound arrangement.

Brand Surfaces: Same Engine, Different Interface

The Supervision Engine API is shared. The interfaces that supervisors use are brand-specific: designed for the context of their relationship, built with Chakra UI and the brand token set for the surface they are on.

Manager Dashboard (Qaori App)

The supervision interface for the B2B and HR context. Available to Manager Premium and Division HR Manager users on Qaori App. The Manager Dashboard surfaces usage reports, team-level session summaries, alter access management, and attribute assignment. The design language is the Qaori App enterprise palette. The relationship types visible in this interface are manager and hr_division.

Supervisor Dashboard (Qammy)

The supervision interface for the care and education context. Available to Supervisor users on Qammy. The Supervisor Dashboard surfaces session summaries, content filter controls, session limits, usage reports, emergency contacts, and alter access approval. The design language is the Qammy brand palette. The relationship types visible in this interface are parent, guardian, teacher, and doctor.

Mentor Dashboard (Qappy, future)

The supervision interface for the coaching and professional mentorship context. Planned for Qappy. The Mentor Dashboard will surface session summaries and usage reports for the mentee, with access aligned to the mentor relationship type. The data model already accommodates this surface. No new backend work is required to activate it, only the brand-specific frontend and the configuration of the mentor relationship_type for Qappy.

Integration with the Policy Engine: Enforcement at Conversation Start

The Supervision Engine coordinates with the policy-engine-service, a separate, live platform service, to enforce supervision constraints at the moment a conversation begins. Enforcement is not post-hoc. The constraints set by a supervisor are evaluated before the Alter delivers its first word.

How the integration works

When a supervised user initiates a session, the policy-engine-service reads the supervision_relationships Firestore collection and evaluates any active supervision relationship that applies to the user. It checks content_filters, session_limits, and alter_access_approval permissions. If a constraint blocks the session, the user has hit their daily session limit, the topic they are requesting is filtered, the Alter they are requesting has not been approved, the session does not start. The user receives an appropriate message.

No duplication

The Supervision Engine does not replicate the enforcement logic of the policy-engine-service. It coordinates with it. The Supervision Engine manages the relationship records and the permissions data. The policy-engine-service evaluates those records at conversation start and enforces them. The two services have distinct responsibilities. Neither holds logic that belongs to the other.

Policy engine status

The policy-engine-service is live. The pmp18-supervisor-api is live, deployed April 14, 2026. The Supervision Engine (Epic 25/27) extends and unifies what is already running in production.

The Capability Framework: Extensible by Design

Supervisor capabilities in the platform are not hardcoded per service. They are declared in tier_config.json, one entry per membership tier, and evaluated at runtime by the requires_capability() decorator in the shared authentication library. This means that adding a new supervisor context, a new relationship_type, a new surface, a new capability, does not require changing the enforcement code in every service that checks capabilities.

How it works

The requires_capability() decorator in shared/jwt_auth.py reads the requesting user's tier from their JWT and checks it against the capability declarations in tier_config.json. If the tier includes the required capability, the request proceeds. If it does not, the request is rejected at the middleware layer with a clear error. Business logic never sees the unauthenticated call.

Platform admin bypass

Platform Admin bypasses capability checks entirely. This is the intended and audited exception: platform administration requires access across all capability boundaries. Any use of a platform admin token in production is logged and reviewable.

Declaring new capabilities

When a new supervisor context is activated, for example, the Mentor Dashboard on Qappy, the new capability declarations are added to tier_config.json for the relevant tier. No code changes are required in the services that enforce capabilities. The enforcement mechanism reads the configuration. The configuration is the contract.

Future Supervisor Contexts Built into the Data Model

The Supervision Engine data model was designed to accommodate contexts that do not yet have active surfaces. The relationship_type field and brand_context field are the extension points. No schema migration is needed to add a new context.

Mentor/mentee on Qappy

The mentor relationship_type is declared in the data model. The brand_context qappy is a valid value. The Mentor Dashboard frontend is the only remaining build required to activate this context. The backend is ready.

Institutional administrator

For institutional deployments, a university deploying a program on Qaori Academy, a hospital deploying care supervision at institution level, an institutional administrator context is accommodated in the data model. The institutional administrator would hold oversight permissions over a population of supervised users within the institution's deployment, with class_management and usage_reports as the primary capabilities. The relationship architecture supports this without structural change.

Cross-brand relationships

The brand_context field is a filter, not a barrier. A relationship record can be read by any surface that holds the appropriate service credentials. This means that a supervision relationship created in one brand context can be extended to a second surface where it is relevant, for example, an HR manager on Qaori App who is also a mentor on Qappy, without creating duplicate relationship records.

One Engine. Every Context. Every Surface.

The Supervision Engine is live in partial deployment. The supervisor API is deployed. The policy-engine-service is live. The full unification is approved and ready for implementation. Full Supervision Engine availability across all surfaces is part of the Q3 2026 platform roadmap.