Skip to content

Submit immutable prediction missions through the existing ACK Job contract #242

Description

@proerror77

Parent

#240

What to build

Provide one minimal research-only dispatcher that validates an immutable prediction mission submission and creates or renders the repository's existing ACK Job contract. Each submission binds one exact image digest, mission object and SHA, snapshot object and SHA, unique immutable result object, bounded resource profile, and optional complete resume pair. Kubernetes remains the queue; no new scheduler service or database is introduced.

The dispatcher performs render and submission only. Read-only milestone status is split to #246 because it is an independently testable and revertible rollout unit. This issue does not build images, compile snapshots, interpret research results, deploy a collector, or promote a strategy.

Acceptance criteria

  • One command accepts a bounded mission submission and produces the existing prediction ACK Job shape with no source compilation.
  • Mutable image tags, missing image digests, incomplete mission/snapshot identity pairs, duplicate or mutable result identities, and incomplete resume pairs are rejected before Job creation.
  • Mission, snapshot, image, evaluator, resource, result, and attempt identities are visible in stable Job labels/annotations or the submitted execution contract.
  • The dispatcher supports render/dry-run mode that performs no Kubernetes mutation.
  • Submit mode requires explicit cluster/namespace context and creates only the requested research Job and short-lived input Secret needed by that Job.
  • Parallel submissions receive isolated work/result identities and never share a writable DuckDB or result directory.
  • Focused tests cover one valid render and rejection of a mutable image reference, mutable result identity, duplicate output identity, and incomplete resume pair.
  • No Kafka, Redis, Argo Workflow, custom operator, live-trading authority, or exchange credential is added.

Blocked by

None - can start immediately.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified and safe for an autonomous agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions