
== run directory linked out of the data root: list
  base: exit 0
    out| r-20260101T000000Z-aaaaaa  succeeded  task=t-out              ws=-          session=-
  cand: exit 0
    out| r-20260101T000000Z-aaaaaa  unknown    task=-                  ws=-          session=-

== run directory linked out of the data root: show
  base: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| status:    succeeded
    out| task:      t-out
    out| adapter:   (see config) provider=p model=m
    out| request:   "r"
    out| response:  "s"
    out| timing:    a -> b (1 ms)
    out| exit:      0
    out| artifacts: result.json
  cand: exit 4
    err| mosaic-task: /home/jwoltje/darkwing-scratch/r56b/dc/run-link/data/runs/r-20260101T000000Z-aaaaaa resolves outside the data root (/home/jwoltje/darkwing-scratch/r56b/dc/run-link/data)

== result.json linked out of the data root: list
  base: exit 0
    out| r-20260101T000000Z-aaaaaa  succeeded  task=t-out              ws=-          session=-
  cand: exit 0
    out| r-20260101T000000Z-aaaaaa  unknown    task=-                  ws=-          session=-

== result.json linked out of the data root: show
  base: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| status:    succeeded
    out| task:      t-out
    out| adapter:   (see config) provider=p model=m
    out| request:   "r"
    out| response:  "s"
    out| timing:    a -> b (1 ms)
    out| exit:      0
    out| artifacts: result.json
  cand: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| result.json: (missing or unreadable)
    out| artifacts: result.json

== runs directory linked out of the data root: list
  base: exit 0
    out| r-20260101T000000Z-aaaaaa  succeeded  task=t-out              ws=-          session=-
  cand: exit 4
    err| mosaic-task: /home/jwoltje/darkwing-scratch/r56b/dc/runs-link/data/runs resolves outside the data root (/home/jwoltje/darkwing-scratch/r56b/dc/runs-link/data)

== runs directory linked out of the data root: show
  base: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| status:    succeeded
    out| task:      t-out
    out| adapter:   (see config) provider=p model=m
    out| request:   "r"
    out| response:  "s"
    out| timing:    a -> b (1 ms)
    out| exit:      0
    out| artifacts: result.json
  cand: exit 4
    err| mosaic-task: /home/jwoltje/darkwing-scratch/r56b/dc/runs-link/data/runs resolves outside the data root (/home/jwoltje/darkwing-scratch/r56b/dc/runs-link/data)

== result.json is 5 and task.json is []: list
  base: exit 1
    err| file:///home/jwoltje/darkwing-scratch/r56b/base/scripts/mosaic-task.mjs:483
  cand: exit 0
    out| r-20260101T000000Z-aaaaaa  unknown    task=-                  ws=-          session=-

== result.json is 5 and task.json is []: show
  base: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| status:    undefined
    out| task:      undefined
    out| adapter:   (see config) provider=undefined model=undefined
    out| request:   undefined
    out| response:  undefined
    out| timing:    undefined -> undefined (undefined ms)
    out| exit:      undefined
    out| task snapshot: task.json present
    out| artifacts: result.json, task.json
  cand: exit 0
    out| run:       r-20260101T000000Z-aaaaaa
    out| result.json: (missing or unreadable)
    out| artifacts: result.json, task.json

== run is a regular file: show
  base: exit 1
    out| run:       r-20260101T000000Z-aaaaaa
    out| result.json: (missing or unreadable)
    err| node:fs:1954
  cand: exit 4
    err| mosaic-task: run not found: r-20260101T000000Z-aaaaaa (under /home/jwoltje/darkwing-scratch/r56b/dc/run-file/data/runs)

== run is a link loop: show
  base: exit 4
    err| mosaic-task: run not found: r-20260101T000000Z-aaaaaa (under /home/jwoltje/darkwing-scratch/r56b/dc/loop/data/runs)
  cand: exit 4
    err| mosaic-task: cannot resolve /home/jwoltje/darkwing-scratch/r56b/dc/loop/data/runs/r-20260101T000000Z-aaaaaa: ELOOP

== runs directory unreadable: list
  base: exit 0
  cand: exit 4
    err| mosaic-task: cannot read /home/jwoltje/darkwing-scratch/r56b/dc/unreadable/data/runs: EACCES

== runs directory unreadable: show
  base: exit 4
    err| mosaic-task: run not found: r-20260101T000000Z-aaaaaa (under /home/jwoltje/darkwing-scratch/r56b/dc/unreadable/data/runs)
  cand: exit 4
    err| mosaic-task: cannot resolve /home/jwoltje/darkwing-scratch/r56b/dc/unreadable/data/runs/r-20260101T000000Z-aaaaaa: EACCES

== run directory unreadable: show
  base: exit 1
    out| run:       r-20260101T000000Z-aaaaaa
    out| result.json: (missing or unreadable)
    err| node:fs:1954
  cand: exit 4
    err| mosaic-task: cannot read /home/jwoltje/darkwing-scratch/r56b/dc/run-unreadable/data/runs/r-20260101T000000Z-aaaaaa: EACCES
