Skip to content

feat(live): connect verified simulators to sessions and prefetch - #243

Merged
PouyanJay merged 1 commit into
mainfrom
feat/live-p3-integration
Sep 12, 2026
Merged

PouyanJay merged 1 commit into
mainfrom
feat/live-p3-integration

Conversation

@PouyanJay

Copy link
Copy Markdown
Owner

Live sessions now load approved simulators, queue missing instruments after the turn commits, and prefetch the next concept without waiting for generation. A cold or rejected build keeps the text lesson available; a published asset is selected on the concept’s next turn. Tutor reactions use verified teaching cases and validated state without awarding mastery for gestures.

Private HTML is fetched with bearer authentication and mounted inside a trusted wrapper. A browser regression showed that child-only CSP allowed self-navigation; the wrapper now blocks external frame navigation while preserving keyboard interaction, tutor demonstrations, reload recovery and separate learner state. The durable queue caps generation per session and learner, safely refreshes unpaid stale requests, and never automatically retries potentially paid work.

Validation: 3,164 Python tests, 1,752 web tests, 153 real database/REST tests and 15 browser tests passed. TypeScript, Ruff, formatting and database lint passed. ESLint has no errors and retains one existing CopilotSession Fast Refresh warning. Python/style, test and security reviews approved. Committed documentation includes an inspected authenticated-browser artifact and the explicit custom-protocol deviation.

Closes #236. The factory flag remains off by default. Dedicated supervisor deployment, multi-domain paid evaluation and production acceptance are #237; #217 remains open through its production rollout verification.

@PouyanJay
PouyanJay merged commit b909185 into main Sep 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live P3.5: on-demand sims, prefetch and resilient session integration

1 participant