✔ config directory and file path follow MOSAIC_CONFIG (1.261412ms)
✔ the fixture business validates and comes back frozen (3.486499ms)
✔ two instances may share a definition (1.135312ms)
✔ top-level refusals (4.052468ms)
✔ arbiters and projects (5.50727ms)
✔ role instances (2.908438ms)
✔ Vikunja bots (5.357349ms)
✔ a role without Vikunja takes no tracker block (1.918244ms)
✔ credential references match the definition's services (2.41167ms)
✔ launch (7.652372ms)
✔ loadBusiness: file checks (1.760046ms)
✔ loadBusiness: not a regular file (43.811309ms)
✔ loading writes nothing (1.147463ms)
✔ names that are Object.prototype properties don't count as declared (3.088735ms)
✔ the shipped example refuses as written and validates once filled in (0.806055ms)
✔ usage errors exit 4 (281.842061ms)
✔ validate: a good business exits 0 and prints instance digests (65.70548ms)
✔ validate: project files (343.187247ms)
✔ validate: missing files and a broken system config (246.116384ms)
✔ validate: credential reference problems exit 2 and name each one (68.667591ms)
✔ validate: a token file inside the repository is refused (67.922015ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (214.225914ms)
✔ resolve: prints one instance's record (208.183465ms)
✔ resolve: refusals (390.711309ms)
✔ parse: exactly one of file or env, plus the service's date (2.300609ms)
✔ check: a good file has no problems (0.624398ms)
✔ check never opens the file: a write-only token passes (0.309092ms)
✔ check: file problems (0.677698ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.619586ms)
✔ check: dates and environment references (0.321745ms)
✔ path and load (1.70873ms)
✔ refusals (1.06147ms)
✔ systemVars flattens the validated config (1.602672ms)
✔ precedence: system, business, project, project role, agent (4.096363ms)
✔ limits narrow the definition and never widen it (1.855891ms)
✔ role.launch stays within-role only for the instance the launch block names (3.74717ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.445106ms)
✔ limits.authority narrows cross-role actions too (0.934994ms)
✔ classify (1.225729ms)
✔ the record carries what the broker and launcher need (0.879546ms)
✔ digest: key order doesn't matter, any value change does (5.684839ms)
✔ refusals (1.786089ms)
✔ the four shipped version 2 roles load (2.972336ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.142959ms)
✔ shipped authority follows the note's table (0.654999ms)
✔ version 1 files keep loading with no authority (0.911567ms)
✔ the conductor policy isn't a role (0.193819ms)
✔ a missing role file is exit 4, a symbolic link too (0.337323ms)
✔ version 2 refusals (1.328539ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.030509ms)
✔ credentials: Gitea scopes (0.828626ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.097888ms)
✔ credentials: services (0.512348ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.606346ms)
✔ every key names known layers and a merge rule (0.66841ms)
✔ unknown keys and wrong layers refuse (0.557532ms)
✔ types (1.552146ms)
✔ merge: defaults, then the most specific layer wins (0.269319ms)
✔ merge: limits only narrow, and provenance lists each source (0.340672ms)
✔ merge doesn't change its inputs (0.136302ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1946.375781
