Platform Architecture & Execution Protocol
System specification and architectural manual for enterprise computer science departments. Overview of zero-credential room PINs, client-side WebAssembly runtimes, and infinite seat grid topologies.
Architectural Overview & Key Directives
Edulas is an enterprise operating system for university software engineering laboratories. It scales infinitely from small 10-seat recitation rooms to 1,000+ seat lecture hall examination clusters without server compilation latency.
1. Executive Summary & Problem Space
Higher education computer science laboratories face three critical infrastructural friction points: 1) High authentication friction and account recovery bottlenecks on shared workstation hardware, 2) Data residual risks and session theft on public PCs, and 3) High manual grading latency for dynamic programming laboratories.
- Ephemeral Zero-Credential Provisioning: Students authenticate using transient 6-digit room PINs with zero persistent disk footprint.
- Infinite Concurrent Seat Scale: Real-time telemetry pipeline supports 10 to 1,000+ simultaneous seat desktops per lecture hall.
- Sandboxed Multi-Language Compilation: Executes C++, Python, Java, Rust, and SQL in isolated server sandboxes with secret test-case evaluation.
Edulas is fully compatible with Chromium, Gecko, and WebKit engines, requiring 0 software or driver installation on university lab hardware.
2. Segregated Dual-Layer Privacy & Middleware Security Boundary
The platform enforces a cryptographic segregation model. Public-facing documentation hubs and index routes are globally accessible, while all internal laboratory state machines, seat video grids, and gradebooks enforce strict server authorization and statutory FERPA anti-indexation response headers.
// Edulas Proxy Gateway Edge Middleware
export function middleware(request: NextRequest) {
const response = NextResponse.next();
const path = request.nextUrl.pathname;
if (path.startsWith('/prof') || path.startsWith('/student') || path.startsWith('/lab')) {
response.headers.set("X-Robots-Tag", "noindex, nofollow, noarchive");
response.headers.set("Cache-Control", "no-store, max-age=0, must-revalidate");
response.headers.set("X-Frame-Options", "DENY");
}
return response;
}3. Ephemeral Zero-Credential Handshake & Session Provisioning
Session creation follows an optimized 4-step orchestration workflow:
- 1. Authenticate to the Professor Command Studio at edulas.xyz/prof.
- 2. Select assignment runtime targets (C++20, Python 3.12, Java 21, Rust 1.78, SQL Postgres).
- 3. Configure evaluation test vectors (Visible sample cases + Hidden boundary condition vectors).
- 4. Invoke 'Generate Cryptographic Room PIN'. Broadcast the 6-digit PIN to the lecture hall.
Cortex AI can automatically synthesize complete assignment specifications, starter templates, and edge-case evaluation vectors from a single natural language prompt.
4. Sandboxed Multi-Language Execution & Hidden Test Protection
Student source code is compiled and evaluated in an isolated server sandbox. This guarantees that hidden test-case inputs and expected outputs remain 100% confidential on the server and cannot be inspected or bypassed by students via browser DevTools.
// Sandboxed Execution Runner Payload Request
const executionResponse = await fetch('/api/compile', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
code: studentPayload,
language: 'cpp',
labId: currentLabId,
timeoutMs: 3800
})
});
const { stdout, stderr, testResults, executionTimeMs } = await executionResponse.json();
renderCompilerOutput(stdout, stderr, testResults);5. Edge Diagnostics, Gateway Telemetry & RPC Health Ingress
Verify system readiness and active RPC gateway latency before conducting high-stakes examination sessions.
# Execute Gateway Health Diagnostics
curl -I -s https://edulas.xyz/api/health | grep -E "HTTP/|X-Edulas"
# Expected Response:
# HTTP/1.1 200 OK
# X-Edulas-Sandbox-Engine: Operational [Isolated Piston Runner]
# X-Edulas-[#10b981]-Cluster: Synced [14ms Ingress Latency]Was this technical specification clear?
Your feedback helps us refine Edulas platform architecture.