Story: Compute grid implementation

Table of Contents

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

Goal

Implement the BOINC-inspired distributed compute grid end-to-end across the ORE Studio stack — the sprint's mission.

Status

Field Value
State DONE
Parent sprint Sprint 15
Now Completed 2026-03-21.
Waiting on None.
Next None.
Last touched 2026-03-21

Continued from: Compute grid analysis (BOINC-based) (sprint 10). That story produced the design sketch (Postgres central state machine, PGMQ hot dispatch, TimescaleDB telemetry); this sprint implements the grid end-to-end (with NATS JetStream replacing PGMQ).

Acceptance

  • ores.compute domain library + service executable + wrapper executable.
  • SQL schema for grid entities.
  • NATS JetStream lifecycle transitions; Postgres trigger eventing (no PGMQ + pg_cron).
  • Messaging protocol + HTTP endpoints + CLI commands + Qt list windows.
  • Documentation updated; legacy plan docs removed.

Tasks

Task State Start End Description
Add BOINC-inspired distributed compute grid DONE 2026-05-20 2026-03-21 ores.compute domain library + ores.compute.service + ores.compute.wrapper executables; SQL schema; NATS JetStream lifecycle transitions; PostgreSQL trigger eventing (replaces PGMQ + pg_cron); HTTP endpoints; CLI commands; Qt list windows; UML diagrams; legacy plan docs removed.

Decisions

NATS JetStream over PGMQ
the sprint-14 NATS migration ate the PGMQ assumption; JetStream provides the lifecycle messaging.
PostgreSQL triggers for eventing
consistent with how the rest of the system handles change notifications.

Out of scope

  • Distributed-trust validators (future).
  • GPU resource scheduling (future).

See also

Emacs 29.1 (Org mode 9.6.6)