Skip to content

feat(doc-approval): Spec 001/002 event-UI parity across shells - #260

Merged
enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-event-ui-parity-doc-approval-apply
Aug 23, 2026
Merged

feat(doc-approval): Spec 001/002 event-UI parity across shells#260
enricopiovesan merged 1 commit into
mainfrom
cursor/ticket-event-ui-parity-doc-approval-apply

Conversation

@enricopiovesan

Copy link
Copy Markdown
Contributor

Summary

  • Apply Specs 001/002 event→presentation mapping across doc-approval shells (web, Rust CLI/GTK, Swift, Android, Windows).
  • Add PresentationMapper ports + HostRunResult presentation fields; surface state in HealthIndicator / native chrome.
  • Unit tests for web host, Rust core, and native mapper fixtures.

Governing Spec

  • docs/specs/001-ui-event-state-conformance/spec.md (Approved)
  • docs/specs/002-capability-event-ui-subscription/spec.md (Approved)
  • ADR docs/adr/0001-event-fixture-harness-first.md

Project Item

  • Ticket ID: event-ui-parity-doc-approval
  • Item: PVTI_lADOEbiBt84BbzAzzg2JmWc

Definition of Done

  • Shared mapper used (or language-equivalent) for presentation state on in-scope clients
  • Capability invoke/result progress available where hosts already surface events
  • Fixture/unit tests for web + Rust + native mappers
  • No business-field computation added in UI
  • Architecture boundary: public embedder subscribe only

Validation

  • npm run test -w apps/doc-approval/web-react (14 passed)
  • cargo test in apps/doc-approval/doc-approval-core-rs (ok)
  • CI: repository-checks, quality, coverage-gate, pr-hygiene, embedded-smoke/native-linux as applicable

Made with Cursor

Wire shared presentation/capability mappers into web, Rust core (CLI/GTK),
Swift, Android, and Windows hosts so UI chrome renders runtime-owned state
without inventing business fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
@enricopiovesan
enricopiovesan enabled auto-merge (squash) August 23, 2026 02:14
@enricopiovesan
enricopiovesan merged commit e6b55c5 into main Aug 23, 2026
8 checks passed
@enricopiovesan
enricopiovesan deleted the cursor/ticket-event-ui-parity-doc-approval-apply branch August 23, 2026 02:15
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