✔ config directory and file path follow MOSAIC_CONFIG (2.091087ms)
✔ the fixture business validates and comes back frozen (5.321521ms)
✔ two instances may share a definition (2.037789ms)
✔ top-level refusals (6.351726ms)
✔ arbiters and projects (8.005976ms)
✔ role instances (3.893541ms)
✔ Vikunja bots (8.360818ms)
✔ a role without Vikunja takes no tracker block (3.148697ms)
✔ credential references match the definition's services (3.774244ms)
✔ launch (9.004305ms)
✔ loadBusiness: file checks (1.763435ms)
✔ loadBusiness: not a regular file (39.742587ms)
✔ loading writes nothing (1.395759ms)
✔ names that are Object.prototype properties don't count as declared (2.537876ms)
✔ the shipped example refuses as written and validates once filled in (0.542455ms)
✔ usage errors exit 4 (305.032324ms)
✔ validate: a good business exits 0 and prints instance digests (67.820644ms)
✔ validate: project files (326.103036ms)
✔ validate: missing files and a broken system config (241.613221ms)
✔ validate: credential reference problems exit 2 and name each one (65.283695ms)
✔ validate: a token file inside the repository is refused (65.265828ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (200.706934ms)
✔ resolve: prints one instance's record (200.999245ms)
✔ resolve: refusals (402.197715ms)
✔ parse: exactly one of file or env, plus the service's date (3.793344ms)
✔ check: a good file has no problems (1.913368ms)
✔ check never opens the file: a write-only token passes (0.714324ms)
✔ check: file problems (1.363191ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.906015ms)
✔ check: dates and environment references (0.655015ms)
✔ path and load (3.164846ms)
✔ refusals (1.988671ms)
✔ systemVars flattens the validated config (2.92044ms)
✔ precedence: system, business, project, project role, agent (7.214308ms)
✔ limits narrow the definition and never widen it (3.430914ms)
✔ role.launch stays within-role only for the instance the launch block names (6.183548ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.860412ms)
✔ limits.authority narrows cross-role actions too (1.009894ms)
✔ classify (1.115549ms)
✔ the record carries what the broker and launcher need (0.857858ms)
✔ digest: key order doesn't matter, any value change does (6.307397ms)
✔ refusals (2.303527ms)
✔ the four shipped version 2 roles load (3.823656ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (2.018995ms)
✔ shipped authority follows the note's table (1.408237ms)
✔ version 1 files keep loading with no authority (1.257812ms)
✔ the conductor policy isn't a role (0.384142ms)
✔ a missing role file is exit 4, a symbolic link too (0.568308ms)
✔ version 2 refusals (1.861931ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (3.158576ms)
✔ credentials: Gitea scopes (1.219846ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.561772ms)
✔ credentials: services (0.559046ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.63259ms)
✔ every key names known layers and a merge rule (1.216219ms)
✔ unknown keys and wrong layers refuse (1.149061ms)
✔ types (2.600103ms)
✔ merge: defaults, then the most specific layer wins (0.416272ms)
✔ merge: limits only narrow, and provenance lists each source (0.478389ms)
✔ merge doesn't change its inputs (0.197768ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1954.930287
