✔ config directory and file path follow MOSAIC_CONFIG (1.288784ms)
✔ the fixture business validates and comes back frozen (3.843478ms)
✔ two instances may share a definition (1.311579ms)
✔ top-level refusals (3.921793ms)
✔ arbiters and projects (5.392636ms)
✔ role instances (2.746848ms)
✔ Vikunja bots (5.802152ms)
✔ a role without Vikunja takes no tracker block (2.084588ms)
✔ credential references match the definition's services (2.490105ms)
✔ launch (7.39285ms)
✔ loadBusiness: file checks (1.823287ms)
✔ loadBusiness: not a regular file (40.089512ms)
✔ loading writes nothing (1.597522ms)
✔ names that are Object.prototype properties don't count as declared (2.680279ms)
✔ the shipped example refuses as written and validates once filled in (0.565546ms)
✔ usage errors exit 4 (276.884025ms)
✔ validate: a good business exits 0 and prints instance digests (66.628426ms)
✔ validate: project files (319.917868ms)
✔ validate: missing files and a broken system config (239.090243ms)
✔ validate: credential reference problems exit 2 and name each one (68.819484ms)
✔ validate: a token file inside the repository is refused (67.972803ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (201.938073ms)
✔ resolve: prints one instance's record (207.019929ms)
✔ resolve: refusals (393.297475ms)
✔ parse: exactly one of file or env, plus the service's date (2.376694ms)
✔ check: a good file has no problems (0.805413ms)
✔ check never opens the file: a write-only token passes (0.386944ms)
✔ check: file problems (0.820838ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.798258ms)
✔ check: dates and environment references (0.360025ms)
✔ path and load (2.210416ms)
✔ refusals (1.397312ms)
✔ systemVars flattens the validated config (2.390461ms)
✔ precedence: system, business, project, project role, agent (5.838965ms)
✔ limits narrow the definition and never widen it (2.129322ms)
✔ role.launch stays within-role only for the instance the launch block names (4.008966ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.712887ms)
✔ limits.authority narrows cross-role actions too (0.965188ms)
✔ classify (1.013227ms)
✔ the record carries what the broker and launcher need (0.923596ms)
✔ digest: key order doesn't matter, any value change does (5.724959ms)
✔ refusals (2.138413ms)
✔ the four shipped version 2 roles load (2.771848ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (0.850429ms)
✔ shipped authority follows the note's table (0.431978ms)
✔ version 1 files keep loading with no authority (0.936277ms)
✔ the conductor policy isn't a role (0.206819ms)
✔ a missing role file is exit 4, a symbolic link too (0.347551ms)
✔ version 2 refusals (1.221265ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (1.937817ms)
✔ credentials: Gitea scopes (0.799515ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.032066ms)
✔ credentials: services (0.543365ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.745177ms)
✔ every key names known layers and a merge rule (0.779561ms)
✔ unknown keys and wrong layers refuse (0.649575ms)
✔ types (1.745899ms)
✔ merge: defaults, then the most specific layer wins (0.24119ms)
✔ merge: limits only narrow, and provenance lists each source (0.333722ms)
✔ merge doesn't change its inputs (0.12342ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1906.398934
