Instructional policy
Choose teaching strategies and authorize operations through host policy.
Use planInstruction(host, request) to select a strategy without a model. Identical validated inputs under the same policy revision produce the same plan.
Host policy
Supply POLICY_REVISION, a session ID, mode, grants, consent and installed capabilities. An optional lesson reference contains documentRef, revision, visibility (public or restricted) and kind (lesson or assessment_criteria). Bind these values after authenticating the learner.
The request contains assistance (plan or generate) and optional intent. Host signals describe difficulty (low, medium, high) or progress (starting, practicing, reviewing). Signals can affect fixed prompts, never permissions.
Modes and strategies
| Mode | Default | Other allowed strategies |
|---|---|---|
| guided_learning | explain | question, hint, practice, reflect |
| ungraded_practice | practice | question, hint, reflect |
| retrieval_coaching | retrieve | question, reflect, practice |
| defense_preparation | question | reflect, hint |
| assessment_locked | pause | None |
A recognized but unsupported intent falls back to the default; prepare and process are recognized intents, not strategies. Unknown intents are invalid. Locked assessments return fixed public process guidance without calling any port.
Capabilities
| Operation | Purpose |
|---|---|
| lesson.read | Read the exact host-bound revision |
| practice.suggest | Suggest ungraded exercises |
| memory.recall | Recall scoped active facts |
| memory.remember | Propose a new or updated narrative fact |
| memory.forget | Propose removal of an eligible model-owned fact |
Each operation must be permitted by the mode ceiling, grants, consent and installed capabilities. Empty lists grant nothing. The session engine checks actual adapter availability too.
Defense preparation denies memory writes and forget; lesson access requires public assessment criteria. Locked mode denies all operations. The first applicable denial reason is returned: mode_ceiling, not_granted, no_consent, not_installed, lesson_unavailable or public_criteria_required.
Interpret a plan
A completed result contains the policy revision, mode, strategy, selection reason, capabilities, denials and fixed next actions. Fixed prompts cannot inspect work or provide generated feedback. Invalid data returns invalid_input. A pure generation request returns unavailable with reason model_unavailable unless locked.
See contracts for validation and result limits.