Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Implement Demo Architecture v2: Probar-First #5

@noahgift

Description

@noahgift

Summary

Implement the demo architecture v2 spec from docs/specifications/demo-architecture-v2.md.

Root Cause (from Five-Whys Analysis)

TUI and WASM demos don't share exact same logic because:

  1. No probar-first testing enforcement
  2. YAML configs exist but demos don't load them
  3. No unified DemoEngine trait
  4. Separate TUI/WASM state wrappers

Tasks

  • Create src/demos/engine.rs with DemoEngine trait
  • Create tests/probar_demos.rs with parity test
  • Create examples/experiments/orbit_earth_sun.yaml
  • Implement OrbitalEngine: impl DemoEngine
  • Implement TspEngine: impl DemoEngine
  • Create generic renderers
  • Remove hardcoded KeplerConfig::earth_sun() calls
  • Verify probar parity tests pass

Acceptance Criteria

cargo test --test probar_demos

All tests must pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions