✔ config directory and file path follow MOSAIC_CONFIG (1.24599ms)
✔ the fixture business validates and comes back frozen (3.477502ms)
✔ two instances may share a definition (1.074218ms)
✔ top-level refusals (3.353058ms)
✔ arbiters and projects (4.747791ms)
✔ role instances (2.45371ms)
✔ Vikunja bots (5.617531ms)
✔ a role without Vikunja takes no tracker block (1.915168ms)
✔ credential references match the definition's services (2.246049ms)
✔ launch (6.396058ms)
✔ loadBusiness: file checks (1.582897ms)
✔ loadBusiness: not a regular file (37.489832ms)
✔ loading writes nothing (1.21926ms)
✔ names that are Object.prototype properties don't count as declared (2.611388ms)
✔ the shipped example refuses as written and validates once filled in (0.527522ms)
✔ usage errors exit 4 (273.981222ms)
✔ validate: a good business exits 0 and prints instance digests (65.020757ms)
✔ validate: project files (317.996951ms)
✔ validate: missing files and a broken system config (238.31255ms)
✔ validate: credential reference problems exit 2 and name each one (64.603872ms)
✔ validate: a token file inside the repository is refused (63.835692ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (193.82671ms)
✔ resolve: prints one instance's record (189.018649ms)
✔ resolve: refusals (377.972892ms)
✔ parse: exactly one of file or env, plus the service's date (2.240667ms)
✔ check: a good file has no problems (0.652014ms)
✔ check never opens the file: a write-only token passes (0.291079ms)
✔ check: file problems (0.74892ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.687946ms)
✔ check: dates and environment references (0.338234ms)
✔ path and load (1.87955ms)
✔ refusals (1.021785ms)
✔ systemVars flattens the validated config (1.633904ms)
✔ precedence: system, business, project, project role, agent (4.522979ms)
✔ limits narrow the definition and never widen it (2.315791ms)
✔ role.launch stays within-role only for the instance the launch block names (4.27587ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.543593ms)
✔ limits.authority narrows cross-role actions too (0.920622ms)
✔ classify (0.948873ms)
✔ the record carries what the broker and launcher need (0.853528ms)
✔ digest: key order doesn't matter, any value change does (6.282612ms)
✔ refusals (2.103082ms)
✔ the four shipped version 2 roles load (3.778863ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.259827ms)
✔ shipped authority follows the note's table (0.696413ms)
✔ version 1 files keep loading with no authority (1.18105ms)
✔ the conductor policy isn't a role (0.30637ms)
✔ a missing role file is exit 4, a symbolic link too (0.520046ms)
✔ version 2 refusals (1.75435ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (3.02658ms)
✔ credentials: Gitea scopes (1.209818ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.62027ms)
✔ credentials: services (0.786607ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.253439ms)
✔ every key names known layers and a merge rule (0.716601ms)
✔ unknown keys and wrong layers refuse (0.606192ms)
✔ types (1.471881ms)
✔ merge: defaults, then the most specific layer wins (0.284825ms)
✔ merge: limits only narrow, and provenance lists each source (0.334036ms)
✔ merge doesn't change its inputs (0.116565ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1840.166773
