Skip to content

Give every job an identity that survives a copy or a move, apart from its folder name #399

Description

@harenome

Priority

high by depth: the job reader (app/nullius/runs/parse.py) and the standard runner's job records (app/nullius/standard/runner/job.py, merge.py). Placeholder until #362 is scheduled; #362 needs it.

Components

  • app/nullius (backend)
  • app/web (routes)
  • templates and static files
  • docs and the site
  • catalogue (benchmarks, agents, capabilities)
  • the standard (ports, kits, relay, runs)
  • CI, workflows and skills

Today

Wanted

  • A new standard job declares a UUID, standard.uuid in its config.json, at creation. A run resumed into the same folder (same --name) as the same job keeps it, another job under that name gets a new one; a merge writes a new one.
  • The reader gives every job Job.uid and Job.uid_source: declared (the job's own id), else derived (a uuid5 over fixed facts of the files: format, folder name, benchmark or agents, model, launch, shard, start; no path), else pending for a job with no trial and no start.
  • Harbor jobs and imports use derived identity for now; a Harbor job's start comes from its result.json only. Two imports of sources with one base name share an identity until each source gets an id of its own (a separate issue). A trial is keyed by its name within the job (Trial.key); a try under retried/ by its attempt's name.
  • Old files are never rewritten to gain an id.

Acceptance

  • A new standard job's config.json has standard.uuid; writing the config again into the same folder for the same job keeps it, for another job replaces it (test).
  • A merged job has a standard.uuid none of its shards has (test).
  • A copy and a move of a Harbor job and of an older standard job keep Job.uid (test).
  • Two jobs of one folder name with different starts have different Job.uid (test).
  • A job with no trial and no start has uid_source pending (test).
  • A job from before standard.uuid, resumed as the same job, keeps the uid it was read under (test).
  • A Harbor job's uid does not change when a feed appears in its folder (test).
  • field_contract.json lists uid, uid_source and key.

Dependencies and related

Needed by #362 (judgements keyed by the job). Related: #358 (two jobs of one id), #336 (a different, configuration-level identity on the job; no shared name).

Activity

  1. added
    enhancement
    P1
    on Nov 24, 2026
  2. added theissue type on Nov 24, 2026
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

    P1enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions