Real backend responses, simulated IDE event source

`/testing` is now a hybrid demo shell: the editor JSON and event source remain synthetic, while snapshot ingestion, chat, decision archaeology, and resurrection preview call the real SecondCortex backend whenever auth allows it.

Open Sandbox README
Trust BannerReal backend responsesSimulated IDE events

Disclosure for judges: this page generates synthetic IDE events. Once captured, the backend processing path is real.

Session: No live sessionProject: Not set

Log in first to exercise the live backend path. The simulation shell still works without auth.

1. Simulated IDE Event Source

Simulation Summary

ID: TEST_HACKATHON_001

Description: Simulation: Backend Engineer debugging JWT auth fallback before a live demo.

Branch: auth-refactor

Editors: src/auth/jwt_handler.ts, src/auth/session.ts, .env

Mission: Capture a realistic auth regression snapshot and push it through the real backend.

Step 1: Planner frames the synthetic IDE event.

2. Snapshot Capture

The button below sends a real `/api/v1/snapshot` request using the synthetic IDE state from this page.

Capture a snapshot to see the request id, timestamp, backend status, and sanitized payload preview.

3. Sandbox Chat

Real backend chat with a sandbox preamble. Trust fields are surfaced when present.

Assistant3/25/2026, 11:23:07 AM
Ask about the simulated workspace. Responses use the real backend when available and disclose fallback output when they do not.

4. Decision Archaeology Preview

Preview on supplied metadata using the real `/api/v1/decision-archaeology` endpoint.

5. Resurrection Preview Only

This calls the real `/api/v1/resurrect` planner but never executes commands.

6. Semantic Firewall Sanity Check

Run the firewall redactor to inspect the sanitized snapshot fragment.