✔ config directory and file path follow MOSAIC_CONFIG (1.341014ms)
✔ the fixture business validates and comes back frozen (3.783753ms)
✔ two instances may share a definition (1.283933ms)
✔ top-level refusals (3.513758ms)
✔ arbiters and projects (6.980478ms)
✔ role instances (2.481886ms)
✔ Vikunja bots (5.977217ms)
✔ a role without Vikunja takes no tracker block (2.187817ms)
✔ credential references match the definition's services (2.491705ms)
✔ launch (7.223763ms)
✔ loadBusiness: file checks (1.762953ms)
✔ loadBusiness: not a regular file (41.927398ms)
✔ loading writes nothing (0.980735ms)
✔ names that are Object.prototype properties don't count as declared (2.715734ms)
✔ the shipped example refuses as written and validates once filled in (0.550139ms)
✔ usage errors exit 4 (284.740895ms)
✔ validate: a good business exits 0 and prints instance digests (63.480045ms)
✔ validate: project files (309.702262ms)
✔ validate: missing files and a broken system config (244.883943ms)
✔ validate: credential reference problems exit 2 and name each one (78.619778ms)
✔ validate: a token file inside the repository is refused (83.544263ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (347.298703ms)
✔ resolve: prints one instance's record (220.944754ms)
✔ resolve: refusals (568.395168ms)
✔ parse: exactly one of file or env, plus the service's date (2.488417ms)
✔ check: a good file has no problems (0.727746ms)
✔ check never opens the file: a write-only token passes (0.321555ms)
✔ check: file problems (0.837081ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.729554ms)
✔ check: dates and environment references (0.373624ms)
✔ path and load (2.09583ms)
✔ refusals (1.025402ms)
✔ systemVars flattens the validated config (1.734096ms)
✔ precedence: system, business, project, project role, agent (4.324111ms)
✔ limits narrow the definition and never widen it (2.066702ms)
✔ role.launch stays within-role only for the instance the launch block names (4.116684ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.570418ms)
✔ limits.authority narrows cross-role actions too (1.247099ms)
✔ classify (1.04595ms)
✔ the record carries what the broker and launcher need (0.868636ms)
✔ digest: key order doesn't matter, any value change does (5.570897ms)
✔ refusals (1.953933ms)
✔ the four shipped version 2 roles load (3.020071ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (0.911031ms)
✔ shipped authority follows the note's table (0.503269ms)
✔ version 1 files keep loading with no authority (0.976922ms)
✔ the conductor policy isn't a role (0.20077ms)
✔ a missing role file is exit 4, a symbolic link too (0.346796ms)
✔ version 2 refusals (1.510228ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (1.956643ms)
✔ credentials: Gitea scopes (0.842503ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (0.965281ms)
✔ credentials: services (0.507288ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.60658ms)
✔ every key names known layers and a merge rule (1.074622ms)
✔ unknown keys and wrong layers refuse (0.713932ms)
✔ types (1.651585ms)
✔ merge: defaults, then the most specific layer wins (0.235419ms)
✔ merge: limits only narrow, and provenance lists each source (0.392174ms)
✔ merge doesn't change its inputs (0.172929ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2270.726837
