Architecture and security
Understand execution boundaries, data ownership and host responsibilities.
Preceptor exposes a pure planner, bounded session runner and pure summary projection. Only the package root is public. There is no built-in model provider, database, account, scheduler or curriculum.
Execution
Contracts define inert data. Validation checks shapes and resource limits. Policy is deterministic; the session layer owns per-run budgets and deadline. The dispatcher checks authorization before each call. Adapters belong to the consumer. Node's built-in crypto module computes summary digests.
Data ownership
Keep transcripts, narrative facts, academic records and review schedules separate. The host commits official decisions and owns persistence, consent, retention and deletion. The model receives bounded data and operation descriptors, never callable adapters or identity selectors.
Integration checklist
- Authenticate the learner and bind mode, scope and lesson revision outside model control.
- Enforce authorization and consent on each adapter call. Limit remote responses before materializing them.
- Filter protected content and disclose only minimal authorized feedback.
- Treat learner text, retrieved content, tool results and model output as untrusted. Delimiters do not establish authority.
- Cancel on scope changes, reconcile uncertain mutations and prevent deleted facts from resurfacing.
- Test isolation, deletion, remote costs and assessment separation in the actual host.
Structural validation is not authentication or an executable proxy sandbox. Use inert bounded data. The library cannot certify external provider behavior, physical erasure or academic credit.
Report vulnerabilities through the security policy.