skip to content
==> README.md <==
1# @ajax/pathtrace-job-scene
2
3A fleet job's scene: the default scene with the job's setup tasks applied in order (`OP_DEFAULT` loads
4the default again; `OP_SET` sets one settable word), exactly as every member's program applies them to its
5view. Returns the index of the first task that is neither.
6
7**Ported from** `crates/pathtrace-core/src/lib.rs` (`job_scene`). Freestanding.
8
9**Tested** with a golden digest of a job scene from the Rust and its error indices; the tests here also
10cover `@ajax/pathtrace-scene`'s validation (every rule) and the Rust's `default_scene_is_valid`.
11
12## Differences
13
14- Rust returns the scene by value or `Err(i)`; here the scene goes to a caller buffer and the result is
15  -1 or i.