Skip to content

feat(live): immutable simulator registry with scoped publication - #241

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

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

Conversation

@PouyanJay

Copy link
Copy Markdown
Owner

Approved simulators now persist as immutable, owner-scoped assets with behavioral/visual provenance. A preloaded registry reuses compatible code without network work in app_for, while each returned contract is independent. Private teaching context stays private; public reuse requires an explicit trusted source.

Build claims elect one paid builder per scope/key and fence publication atomically. Expired potentially billed work becomes indeterminate instead of being automatically retried. Revocation is permanent and checked on every authenticated HTML request, which carries the sandbox CSP and private, no-store.

Validation: 3,151 offline tests pass; 117 real database tests pass (4 existing gated skips), including independent-connection arbitration and a real Supabase REST publish/reload/revoke roundtrip. Ruff and database lint pass; Python/style, test and security reviewers approved. CI now starts the local REST gateway for the adapter test. See documentation/live-simulator-registry.md for scope and operations.

Authenticated browser mounting and two actual learner interaction histories are the integration ticket; this slice establishes their durable storage and serving boundary.

Closes #235.

@PouyanJay
PouyanJay merged commit 3280a15 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.4: durable approved-sim registry and safe cross-learner reuse

1 participant