Resolution

All pages

9 · The pipeline

Ten stages from a name to a scored record. Each stage consumes artefacts and produces artefacts; no stage calls the next; the scheduler composes them, so every chain of reasoning in the firm is a chain in the Record.

#StageProducesFails closed on
1Source and triagecandidates with reasons and horizon price pathsinvestable list unavailable; research budget exhausted
2Researchviews in schemacitation unresolvable; no calculator cited; missing pillar dates
3Challengebear twins (cold and warm), debates in both orderings, judge verdictsjudge vendor unavailable and no second vendor configured
4PriceIdea Book bids, price and ranktoo few bids for a price
5Constructproposal with post-trade landing and marginal riskrisk engine stale; book version unknown
6Reviewrisk memo, compliance linerisk model degraded; licence expired on a source a view used
7Enforcekernel verdict with frozen inputsany HARD input missing
8Decidesigned decision, rejection, or expirydigest expired; signature invalid; mode does not permit
9Executeintents, orders, fills, TCAgateway unreachable; reconciliation unconverged
10Scorescored views, settlements, attribution, calibrationresolution data missing (the view stays unresolved, never guessed)
  • R-PIPE-001 (MUST) A stage may only read artefacts its manifest names. A stage that needs something it was not given fails the wake with a reason; it does not fetch.
  • R-PIPE-002 (MUST) Every stage is idempotent on its inputs: re-running a wake on the same manifest produces the same artefact id and no duplicate side effects.
  • R-PIPE-003 (MAY) Conditional views. A view may be conditional on a dated event, carrying a pre-armed order that the kernel evaluates when the condition fires. The condition is a code predicate over market or event data; a condition a model must judge is not a condition.
  • R-PIPE-004 (MUST) Concurrency: one PM proposal per universe close, serialised on the book version. A proposal computed on a stale book version is rejected by the kernel, not reconciled.
  • R-PIPE-005 (MUST) Circuit breaker. Every wake class has hourly and per-run caps on cost and on call count; breaching a cap pauses that class and raises a budget halt for research. Risk monitoring, reconciliation and maintenance orders are never paused by a budget.
  • R-PIPE-006 (MUST) Retries are bounded, backed off, and recorded; a retried wake carries the attempt number; a wake that fails its retries becomes an operations exception.
  • R-PIPE-007 (MUST) Event coalescing: a burst of triggers for the same entity within a window produces one wake with all of them in the manifest, not many wakes.
  • R-PIPE-008 (MUST) Every stage writes a wake outcome, including "nothing to do".
  • R-PIPE-009 (MUST) Ordering guarantees are explicit per stage: research may run out of order; enforcement, decision and execution are strictly ordered per instrument and per book version.
  • R-PIPE-010 (MUST) Nothing in the pipeline may reach a broker except through the gateway, and the gateway acts only on a decision that carries a valid kernel verdict.
  • R-PIPE-011 (MUST) One clock. Cadences, market calendars, half-days, holidays, expiries and rolls come from the scheduler's calendar service; it is the only component that knows what time it is.
  • R-PIPE-012 (MUST) Backpressure is explicit: when a downstream stage is saturated, the upstream stage's wakes are deferred with their reason shown on the Ops view, never dropped.
  • R-PIPE-013 (MUST) Every stage's latency, failure rate, cost and queue depth are metrics on the Ops view, per variant.