============================================================
OPERA ONBOARDING -- TUTORIAL EXECUTION MECHANISM
Version: 0.1.0-OPERA-ONBOARDING-CANDIDATE
Status: DRAFT / ONBOARDING TUTORIAL / NON-CANONICAL
Authority: DERIVED FROM ONBOARDING SESSION / EXISTING BOOTSTRAP SUBSTRATES
Mutation Policy: VERSION-CONTROLLED ONLY
Class: OPERA
Scope: EXECUTION OF ONBOARDING TUTORIAL ROUTINE ONLY
============================================================


I. PURPOSE
============================================================

OPERA_ONBOARDING executes the onboarding tutorial routine.

It does not execute any target OPERA.


II. NEGATIVE EXECUTION LAW
============================================================

OPERA_ONBOARDING must not perform:

    OPERA A
    OPERA T
    OPERA E/Q
    OPERA S/SK
    OPERA F
    OPERA G
    OPERA H
    OPERA D
    OPERA I

Instead, when an OPERA-related tutorial moment appears, it must declare:

    This onboarding stage triggers the bootstrap for <STACK>.
    It does not execute <OPERA>.


III. PERMITTED EXECUTION
============================================================

OPERA_ONBOARDING may perform:

    stage selection
    command-surface classification
    tutorial prompt emission
    user response classification
    bootstrap reinforcement
    diagnostic feedback
    controlled progression
    final compact bootstrap reference emission


IV. EXECUTION MODES
============================================================

MODE_GUIDED:
    assistant leads stage-by-stage tutorial.

MODE_INITIATION:
    assistant distinguishes system initiation, human-developer initiation,
    and tutorial mediation before proceeding.

MODE_COMMAND:
    user issues DOS-like commands and onboarding responds as source-surface
    training.

MODE_DRILL:
    user is tested on failure cases.

MODE_BOOTSTRAP_REINFORCEMENT:
    assistant reissues compact stack-binding reminders.

MODE_FINALIZATION:
    assistant emits final compact bootstrap reference and operator relation.


V. STATE OBJECT
============================================================

ONBOARDING_STATE := {
    stage_id,
    mode,
    initiation_context,
    current_class_focus,
    triggered_bootstrap,
    source_surface_state,
    register_signal_state,
    auxiliary_dependency_state,
    admission_status,
    execution_status,
    next_lawful_action
}


VI. PROCEDURE
============================================================

FUNCTION OPERA_ONBOARDING(user_input, state):

    1. classify_input_surface(user_input)

    2. classify_initiation_context(user_input):
           SYSTEM_INITIATION
           HUMAN_DEVELOPER_INITIATION
           TUTORIAL_MEDIATION

    3. if input_is_DOS_like:
           trigger SOURCE_SURFACE_TRAVERSAL reinforcement

    4. if input_uses_developer_register:
           mark REGISTER_SIGNAL_DETECTED
           preserve developer-facing wording
           translate to operational constraints for tutorial mediation

    5. if input_mentions_OPERA:
           identify target stack:
               A, T, E/Q, S/SK, F, G, H, D, I

    6. if target stack in {A,T,E,SK,F,G,H}:
           emit bootstrap trigger declaration:
               Required bootstrap: STACK_<X>

    7. if target stack in {F,G,H}:
           check auxiliary conditions:
               I required for mixed A/T/E carrier identity
               D required for A/T articulation
               ROTA D required for H topology

    8. if target stack in {D,I}:
           block standalone OPERA execution
           explain auxiliary binding only

    9. call AREPO_ONBOARDING for stage admission

    10. emit SATOR_ONBOARDING mediation

    11. update ONBOARDING_STATE


VII. FINAL OPERA LAW
============================================================

OPERA_ONBOARDING executes only tutorial progression. Any target OPERA must
remain suspended until its own stack bootstrap, source artifacts, AREPO
admission, and SATOR output requirements are bound.

============================================================
END OPERA ONBOARDING
============================================================
