Tasks: YU01-lmax-sequencer
- T09B01 Define functional deltas in
requirements/functional-delta.md. - T09B02 Define non-functional deltas in
requirements/nonfunctional-delta.md. - T09B03 Define the no-GC conformance profile in
requirements/no-gc-conformance.md. - T09B04 Document research and constraints in
research.md. - T09B05 Define data model impacts in
data-model.md. - T09B06 Author run instructions in
quickstart.md. - T09B07 Define contract deltas in
contracts/contract-delta.md. - T09B08 Update
system/architecture.model.jsonand regenerate architecture docs. - T09B09 Author ADRs 014β017 (input disruptor, single-thread BLP, async read-model, no-GC gate).
- T09B09A Scaffold pipeline readiness: catalog entry (
status: draft), generation hook, render stub, lifecycle delegate scripts to009, and letter-suffix state-id support in pipeline validators/installers. (2026-06-10: added theYU01runtime-harness case, pubsub-inspector gate, ingress observability route injection in the YU01 render, and capture excludes for top-level-only installer outputs; overlay patchset captured and consumer-verified; seegeneration/implementation-status.md.) - T09B10 Establish the P0 latency harness (HdrHistogram/JLBH/jHiccup) against generated
009. - T09B11 Implement the input disruptor (ring, sequencer, journaler, replicator, sequence barrier)
inside
order-matcher; remove@Scheduledpoll andorderMutationLock. (Implemented ingeneration/runtime-overrides/order-matcher/.../lmax/; HdrHistogram latency telemetry included. SBE un-marshaller deferred; seegeneration/implementation-status.md.) - [~] T09B12
longfixed-point price/qty andint securityIdsymbol table implemented (Px,SymbolTable); SBE codec generation (generateSbe,sbe/*.xml) and Agrona structures deferred (generation/implementation-status.md). - T09B13 Implement the BLP (single-threaded in-memory order book, event-carried time, typed
output events, gateway request/response acks). Booking + position-keeping are fused into the BLP
(FR-09B08/B10/B15, 2026-06-15): fills and
TYPE_TRADE_NEWmarket trades update the in-memoryPositionBook(single writer) and emitTradeBooked+PositionUpdated; the projector writesTRADES/POSITIONS(deterministic trade ids) and the NATS bridge publishes/accounts/{id}/tradesand/accounts/{id}/positions. trade-service forwards market trades to the gateway; the oldTradeSubmitHandlerround-trip is removed andtrade-processoris idle on this path (still deployed for read endpoints + smoke parity). - [~] T09B14 Recovery: persisted read-model warm-start + input-event journal + periodic
snapshot.datcheckpoint + bounded journal-tail replay + journal-replay verify + DB-lessrecovery.source=journalcutover implemented (2026-06-30); JIT warm-up replay and a cron-scheduled nightly bounce deferred. - T09B15 Implement the output disruptor (Marshaller/read-model, NATS bridge preserving
009subjects/payloads, TradeBooked bridge, batched Read-model Projector). - [~] T09B16 Replication seam implemented as loopback stub gating the BLP (demo profile); real follower BLP + promotion failover deferred to the perf profile.
- [~] T09B17 Wait-strategy/ring-size/journal config keys implemented with demo-safe defaults
(
blocking);perf/noGcTestJVM launch profiles deferred. - [~] T09B18 No-GC gate implemented (2026-06-11):
pipeline/validate-no-gc-conformance.shruns the order-matcher GradlenoGcTesttask;AllocationGateTestunder Epsilon GC on a fixed pre-touched 256m heap (steady-state allocation exhausts the heap and fails), with the same test asserting byte-exact zeroThreadMXBeanallocation deltas for the producer, journaler, and BLP threads in the regulartesttask; banned-API constant-pool scan (HotPathBannedApiTest, SC-09B13/SC-NGC-04). JFR/async-profiler attribution tooling deferred. - [~] T09B19 Parity fixtures: penny parity (
PxTest) and functional-policy parity (LmaxHotPathParityTest) implemented and passing; determinism replay + NATS payload byte-parity smoke deferred. - T09B20 Add ring/BLP/egress/no-GC observability (metrics wiring, Prometheus targets, Grafana dashboards incl. allocation alert and GC-pause panel).
- T09B21 Implement smoke tests:
scripts/test-state-YU01-lmax-sequencer.sh. - T09B22 Validate docs/spec gates, flip the catalog entry from
drafttoimplemented, replace the009-delegating lifecycle scripts with state-native ones, and publish the generated snapshot branch. - [~] T09B23 CI slice landed (2026-06-12): the generated tree ships
.github/workflows/no-gc-gate.ymlrunning the Epsilon allocation gate (noGcTest) and the hot-path conformance tests onorder-matcher/**changes (NGC-02-in-CI per SC-09B14/SC-NGC-06). GHCR publish workflow extension, run bundle, andruntime/deploy/bundle remain.