✔ config directory and file path follow MOSAIC_CONFIG (2.060554ms)
✔ the fixture business validates and comes back frozen (8.891121ms)
✔ two instances may share a definition (1.615478ms)
✔ top-level refusals (10.211662ms)
✔ arbiters and projects (6.388944ms)
✔ role instances (6.610536ms)
✔ Vikunja bots (5.670745ms)
✔ a role without Vikunja takes no tracker block (1.943047ms)
✔ credential references match the definition's services (2.256351ms)
✔ launch (6.688948ms)
✔ loadBusiness: file checks (1.677377ms)
✔ loadBusiness: not a regular file (40.685368ms)
✔ loading writes nothing (1.331501ms)
✔ names that are Object.prototype properties don't count as declared (2.783854ms)
✔ the shipped example refuses as written and validates once filled in (0.624939ms)
✔ usage errors exit 4 (295.59984ms)
✔ validate: a good business exits 0 and prints instance digests (67.837139ms)
✔ validate: project files (318.727398ms)
✔ validate: missing files and a broken system config (233.964049ms)
✔ validate: credential reference problems exit 2 and name each one (69.456587ms)
✔ validate: a token file inside the repository is refused (72.059109ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (202.693628ms)
✔ resolve: prints one instance's record (193.75122ms)
✔ resolve: refusals (413.820251ms)
✔ parse: exactly one of file or env, plus the service's date (3.146733ms)
✔ check: a good file has no problems (5.026882ms)
✔ check never opens the file: a write-only token passes (0.429986ms)
✔ check: file problems (1.106131ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.067741ms)
✔ check: dates and environment references (0.512385ms)
✔ path and load (3.014255ms)
✔ refusals (1.475493ms)
✔ systemVars flattens the validated config (2.391181ms)
✔ precedence: system, business, project, project role, agent (11.420701ms)
✔ limits narrow the definition and never widen it (3.142722ms)
✔ role.launch stays within-role only for the instance the launch block names (8.557034ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.83253ms)
✔ limits.authority narrows cross-role actions too (0.973509ms)
✔ classify (1.081899ms)
✔ the record carries what the broker and launcher need (0.856808ms)
✔ digest: key order doesn't matter, any value change does (5.508374ms)
✔ refusals (2.123402ms)
✔ the four shipped version 2 roles load (2.591051ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (0.880223ms)
✔ shipped authority follows the note's table (0.41691ms)
✔ version 1 files keep loading with no authority (0.815806ms)
✔ the conductor policy isn't a role (0.203812ms)
✔ a missing role file is exit 4, a symbolic link too (0.343785ms)
✔ version 2 refusals (1.111426ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.487968ms)
✔ credentials: Gitea scopes (1.060952ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.140756ms)
✔ credentials: services (4.276744ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.628106ms)
✔ every key names known layers and a merge rule (0.751364ms)
✔ unknown keys and wrong layers refuse (0.685442ms)
✔ types (2.207498ms)
✔ merge: defaults, then the most specific layer wins (0.320241ms)
✔ merge: limits only narrow, and provenance lists each source (0.442349ms)
✔ merge doesn't change its inputs (0.191325ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1939.00582
