✔ config directory and file path follow MOSAIC_CONFIG (2.249977ms)
✔ the fixture business validates and comes back frozen (4.532959ms)
✔ two instances may share a definition (1.765642ms)
✔ top-level refusals (4.302103ms)
✔ arbiters and projects (7.247986ms)
✔ role instances (3.272868ms)
✔ Vikunja bots (10.504188ms)
✔ a role without Vikunja takes no tracker block (2.672516ms)
✔ credential references match the definition's services (3.118138ms)
✔ launch (11.412474ms)
✔ loadBusiness: file checks (2.813378ms)
✔ loadBusiness: not a regular file (44.568346ms)
✔ loading writes nothing (1.108792ms)
✔ names that are Object.prototype properties don't count as declared (2.75627ms)
✔ the shipped example refuses as written and validates once filled in (0.698687ms)
✔ usage errors exit 4 (309.603048ms)
✔ validate: a good business exits 0 and prints instance digests (66.400709ms)
✔ validate: project files (320.30546ms)
✔ validate: missing files and a broken system config (249.861145ms)
✔ validate: credential reference problems exit 2 and name each one (87.767791ms)
✔ validate: a token file inside the repository is refused (117.810768ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (243.797067ms)
✔ resolve: prints one instance's record (268.027885ms)
✔ resolve: refusals (504.503503ms)
✔ parse: exactly one of file or env, plus the service's date (3.825708ms)
✔ check: a good file has no problems (0.837736ms)
✔ check never opens the file: a write-only token passes (0.329552ms)
✔ check: file problems (0.839735ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.828104ms)
✔ check: dates and environment references (0.405191ms)
✔ path and load (3.281625ms)
✔ refusals (1.710463ms)
✔ systemVars flattens the validated config (2.908558ms)
✔ precedence: system, business, project, project role, agent (7.104187ms)
✔ limits narrow the definition and never widen it (2.116209ms)
✔ role.launch stays within-role only for the instance the launch block names (5.209865ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.785323ms)
✔ limits.authority narrows cross-role actions too (1.147422ms)
✔ classify (1.173259ms)
✔ the record carries what the broker and launcher need (0.983132ms)
✔ digest: key order doesn't matter, any value change does (6.76918ms)
✔ refusals (2.209809ms)
✔ the four shipped version 2 roles load (4.29083ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.426069ms)
✔ shipped authority follows the note's table (0.727498ms)
✔ version 1 files keep loading with no authority (1.343343ms)
✔ the conductor policy isn't a role (0.279846ms)
✔ a missing role file is exit 4, a symbolic link too (0.526959ms)
✔ version 2 refusals (1.714782ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.951528ms)
✔ credentials: Gitea scopes (1.137161ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.59683ms)
✔ credentials: services (0.90866ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.945123ms)
✔ every key names known layers and a merge rule (0.953922ms)
✔ unknown keys and wrong layers refuse (0.737586ms)
✔ types (1.882153ms)
✔ merge: defaults, then the most specific layer wins (0.298593ms)
✔ merge: limits only narrow, and provenance lists each source (0.390772ms)
✔ merge doesn't change its inputs (0.149627ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2240.424879
