Story: Trace a process run and the trade groups it creates — the remaining work

Table of Contents

This page documents a story in Sprint 30, carried unfinished from Sprint 28 at close. It captures the goal, current status, acceptance criteria, and the tasks that compose it.

1. Goal

Record one run of a process over a set of trades: its identity, its state machine, the process it is a run of, and the trade groups that carry what the run read and what it wrote. The record is what lets a process be undone or repeated.

2. Status

Field Value
State BACKLOG
Parent sprint Sprint 30
Now Not yet started. Split from Trace a process run and the trade groups it creates, which closed in sprint 28 with its done tasks.
Waiting on One process with a real client, the funding roll or the spot sweep, to settle the run model against.
Next Triage into a sprint.
Last touched 2026-11-08

3. Acceptance

  • The process enumeration is seeded, so a run names which process ran.
  • A run has an identity and a state machine over its evolution.
  • A trade group carries a foreign key to its run, and its membership names each trade and the role it played.
  • One detail table per kind of run records what that kind of run records.
  • An ORE import is one run.

4. Tasks

Task State Start End Description
Add the process run record BACKLOG     Seed the process enumeration and add the run table with its identity, its process and its state machine.
Add the trade group and its membership BACKLOG     Add the trade group a run creates and the membership that names each trade it read or wrote and the role it played.
Add the run detail tables BACKLOG     Add one detail table per kind of run, keyed by the run, for the facts that kind records.
Record an ORE import as one run BACKLOG     Make an ORE import one run, with every imported trade in its group and an import detail row keyed by the run.

5. Decisions

6. Out of scope

Emacs 29.3 (Org mode 9.6.15)