Story: Add support for running ORE samples

Table of Contents

This page documents a story in Sprint 18. It captures the goal, current status, acceptance criteria, and the tasks that compose it.

Goal

Enable end-to-end execution of ORE sample input files from within ORE Studio: promote workspace to a full entity, complete the workspace UI, implement the data import session backend and UI, and surface ORE results in the UI.

Status

Field Value
State DONE
Parent sprint Sprint 18
Now Nothing.
Waiting on
Next
Last touched 2026-05-29

Acceptance

  • Workspace promoted to full standard entity (history, generated detail dialog).
  • Workspace Phase 4 UI completed (report definition list, clone action).
  • Data import session DB schema in place.
  • Trading API pending book implemented.
  • Data import handler wired end-to-end.
  • Workflow UI for import progress and results.
  • UI reorganised to surface workspace and import features.
  • ORE results visible from within the workspace context.
  • Portfolios and books visible when any workspace is active.

Tasks

Task State Start End Description
Task: Scaffold ORE samples support DONE 2026-05-25 2026-05-25 Review workspace-full-entity, workspace-design Phase 4 remaining, and data-import-session plans; create task stubs for each phase of work needed to support running ORE samples.
Task: Workspace full entity: model and API DONE 2026-05-25 2026-05-29 Promote workspace to a full standard entity at the model and API layer: history table, generated detail dialog metadata, and API surface.
Task: Workspace full entity: C++ core DONE 2026-05-25 2026-05-25 Add read_history to workspace repository and service; route get_workspace_history_request in the handler.
Task: Workspace full entity: Qt UI DONE 2026-05-25 2026-05-29 Wire the generated workspace detail dialog and history view into the Qt client.
Task: Complete workspace Phase 4: Data Workshop UI DONE 2026-05-25 2026-05-29 Finish workspace design Phase 4: report definition list and clone action in the Data Workshop UI.
Task: Data import: DB schema and FSM DONE 2026-05-25 2026-05-29 Add the data import session database schema and the finite state machine governing the import lifecycle.
Task: Data import: trading API and Pending Book DONE 2026-05-25 2026-05-29 Implement the trading API and Pending Book backing partial-success data import.
Task: Data import: ORE import handler DONE 2026-05-25 2026-05-29 Wire the ORE import handler end-to-end so sample input files are parsed and persisted.
Task: Data import: session window and workflow UI DONE 2026-05-25 2026-05-29 Build the import session window and workflow UI surfacing progress, partial success, and results.
Task: Fix: portfolios and books not visible in workspace context DONE 2026-05-25 2026-05-28 Investigate and fix the bug where portfolios and books are not shown when a workspace is active.

Decisions

Notes

Backfilled 2026-05-29: all implementation work was completed in a prior sprint. Task docs were not updated at the time. End dates are approximate; all seven BACKLOG tasks are confirmed done and have been marked accordingly.

Out of scope

  • Production live import (Track 2 from the blotter plan).
  • Implementing any domain concepts not already modelled.

Emacs 29.1 (Org mode 9.6.6)