Skip to content

starter-web: live Spec 001 presentation from subscribe - #298

Merged
enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-starter-web-live-presentation-subscribe-a1
Sep 6, 2026
Merged

starter-web: live Spec 001 presentation from subscribe#298
enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-starter-web-live-presentation-subscribe-a1

Conversation

@enricopiovesan

Copy link
Copy Markdown
Contributor

Summary

  • Wire traverse-starter web so Spec 001/002 session presentation updates from each subscribed embedder event during submit (onPresentation / observeSessionPresentation).
  • Prefer live presentation fields in the UI; keep terminal HostRunResult for output/errors.
  • Document that a visible loading flash is not guaranteed under sync submit (no forced yield — decision A1/S1).

Governing Spec

  • Specs 001 (UI event state conformance) and 002 (capability event UI subscription)
  • Public traverse-embedder-web subscribe + submit only; UI remains a rendering layer

Project Item

  • Ticket ID: starter-web-live-presentation-subscribe
  • Project item: PVTI_lADOEbiBt84BbzAzzg5tFlA

Definition of Done

  • Host exposes mapSessionPresentation / observeSessionPresentation (empty → idle)
  • submitNote notifies presentation after each event; App renders live Session presentation / capability steps
  • Unit tests assert mid-stream loading before terminal loaded
  • No forced yield; no business-field invention; no Traverse runtime changes
  • Starter web README notes sync-submit paint caveat
  • npm run test + typecheck for starter web green

Validation

npm run test -w apps/traverse-starter/web-react
npm run typecheck -w apps/traverse-starter/web-react

Test plan

  • Unit: submitNote presentation callback includes loading then loaded
  • Unit: observeSessionPresentation idle → loading → loaded across submit
  • App test: Session presentation shows loaded after submit
  • Optional manual: smoke bundle + submit note; confirm Session presentation / capability steps render

Made with Cursor

Session status and capability progress update via onPresentation during submit (A1), with tests for mid-stream loading and no forced yield.

Co-authored-by: Cursor <cursoragent@cursor.com>
@enricopiovesan
enricopiovesan merged commit cb38b66 into main Sep 6, 2026
8 checks passed
@enricopiovesan
enricopiovesan deleted the cursor/ticket-starter-web-live-presentation-subscribe-a1 branch September 6, 2026 23:50
enricopiovesan added a commit that referenced this pull request Sep 7, 2026
Locks the web kit proof bar as Done after #298#300 and defers visible flash, blocked/ended demo, and native parity.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant