✔ config directory and file path follow MOSAIC_CONFIG (1.462281ms)
✔ the fixture business validates and comes back frozen (5.475908ms)
✔ two instances may share a definition (2.129858ms)
✔ top-level refusals (6.639467ms)
✔ arbiters and projects (9.019451ms)
✔ role instances (3.858786ms)
✔ Vikunja bots (7.746733ms)
✔ a role without Vikunja takes no tracker block (2.324392ms)
✔ credential references match the definition's services (2.605395ms)
✔ launch (9.417556ms)
✔ loadBusiness: file checks (2.084041ms)
✔ loadBusiness: not a regular file (45.339895ms)
✔ loading writes nothing (1.300868ms)
✔ names that are Object.prototype properties don't count as declared (2.539134ms)
✔ the shipped example refuses as written and validates once filled in (1.056039ms)
✔ usage errors exit 4 (288.474146ms)
✔ validate: a good business exits 0 and prints instance digests (69.678969ms)
✔ validate: project files (320.074457ms)
✔ validate: missing files and a broken system config (240.87772ms)
✔ validate: credential reference problems exit 2 and name each one (62.786436ms)
✔ validate: a token file inside the repository is refused (64.295881ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (190.030585ms)
✔ resolve: prints one instance's record (205.027547ms)
✔ resolve: refusals (385.503524ms)
✔ parse: exactly one of file or env, plus the service's date (2.952072ms)
✔ check: a good file has no problems (0.824556ms)
✔ check never opens the file: a write-only token passes (0.353532ms)
✔ check: file problems (0.999572ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.322104ms)
✔ check: dates and environment references (0.514167ms)
✔ path and load (3.02212ms)
✔ refusals (1.710183ms)
✔ systemVars flattens the validated config (2.515066ms)
✔ precedence: system, business, project, project role, agent (6.259725ms)
✔ limits narrow the definition and never widen it (2.937512ms)
✔ role.launch stays within-role only for the instance the launch block names (5.533469ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.918708ms)
✔ limits.authority narrows cross-role actions too (1.299526ms)
✔ classify (1.144947ms)
✔ the record carries what the broker and launcher need (0.967031ms)
✔ digest: key order doesn't matter, any value change does (6.010252ms)
✔ refusals (2.707932ms)
✔ the four shipped version 2 roles load (3.835491ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.431581ms)
✔ shipped authority follows the note's table (0.847995ms)
✔ version 1 files keep loading with no authority (1.308957ms)
✔ the conductor policy isn't a role (0.294164ms)
✔ a missing role file is exit 4, a symbolic link too (0.542306ms)
✔ version 2 refusals (1.569867ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.152725ms)
✔ credentials: Gitea scopes (0.922485ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.10253ms)
✔ credentials: services (0.621578ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.721025ms)
✔ every key names known layers and a merge rule (1.324228ms)
✔ unknown keys and wrong layers refuse (1.159511ms)
✔ types (2.057378ms)
✔ merge: defaults, then the most specific layer wins (0.354038ms)
✔ merge: limits only narrow, and provenance lists each source (0.399206ms)
✔ merge doesn't change its inputs (0.169744ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1908.093348
