feat(LUKE-45): add shared session core

Merged
DA
2mo ago
+737-0

Summary

  • Add normalized provider-neutral session, attention, and capability models.
  • Use enum-style constant objects for fixed session and control values, with derived TypeScript unions.
  • Store provider-local session identities in nested maps and ignore stale overlapping refreshes, with coverage for normalization, refreshes, isolation, and malformed snapshots.

Evidence

  • Platform-independent checks: ./scripts/check.sh (passed)
  • macOS Electron verification (./scripts/verify.sh): not run (portable core only)

Automated visual evidence

Download the deterministic macOS evidence · workflow run

  • Commit: 32e7ceba2c28b917d97651cb0dcb53ba8b4dd4f8
  • Scenario: smoke
  • Physical-notch check: not performed by CI

Physical-device evidence

  • Screenshot or screen recording: not attached
  • Physical-notch check: not performed (no UI changes)
  • Device/display configuration: not recorded

Notes

  • Blockers or follow-up verification: None