Compute jobs on non-public inputs through a job read grant

Open
#2,745 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend, cli, security

Research direction

Start by reading ADR 0121 on runner jobs and ADR 0124, decision 7; the issue says these decisions need amendments. Then trace the nemar compute submit|jobs entry points and the launcher flow for grant redemption and input staging. Done means non-public inputs use audited, job-scoped read grants, access is rechecked at redemption, and derivatives return to the dataset backend.

Written by the indexing model from the issue text.

Description

backend feature hpc

Goal

Compute jobs can read inputs that are not public, without the gateway ever holding a storage credential.

Scope

  • The CLI asks the dataset's backend for a job read grant: one dataset, one commit, read-only, bounded by the job's lifetime, audited by the backend.
  • The submission carries the backend's origin (on the gateway's allow-list) and the grant's opaque id; the launcher redeems the grant and stages inputs; the job has no network.
  • The backend rechecks the person's access at every redemption.
  • Derivatives return to the dataset's backend, never to the public derivative store.
  • First on NEMAR-controlled runner hosts; amends ADR 0121 (runner jobs) and ADR 0124 decision 7.
  • nemar compute submit|jobs work for any dataset id.

ADR

"A job reads non-public inputs through a grant its launcher redeems."

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.