✔ config directory and file path follow MOSAIC_CONFIG (1.341178ms)
✔ the fixture business validates and comes back frozen (4.26895ms)
✔ two instances may share a definition (1.580704ms)
✔ top-level refusals (4.501169ms)
✔ arbiters and projects (5.4681ms)
✔ role instances (3.487746ms)
✔ Vikunja bots (8.02749ms)
✔ a role without Vikunja takes no tracker block (10.757229ms)
✔ credential references match the definition's services (3.823637ms)
✔ launch (9.590847ms)
✔ loadBusiness: file checks (1.975951ms)
✔ loadBusiness: not a regular file (41.201527ms)
✔ loading writes nothing (1.314092ms)
✔ names that are Object.prototype properties don't count as declared (2.899494ms)
✔ the shipped example refuses as written and validates once filled in (0.575228ms)
✔ usage errors exit 4 (318.00225ms)
✔ validate: a good business exits 0 and prints instance digests (68.995958ms)
✔ validate: project files (349.686854ms)
✔ validate: missing files and a broken system config (326.343919ms)
✔ validate: credential reference problems exit 2 and name each one (99.678089ms)
✔ validate: a token file inside the repository is refused (78.247664ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (216.675669ms)
✔ resolve: prints one instance's record (248.880265ms)
✔ resolve: refusals (412.874057ms)
✔ parse: exactly one of file or env, plus the service's date (2.325764ms)
✔ check: a good file has no problems (0.75954ms)
✔ check never opens the file: a write-only token passes (0.311868ms)
✔ check: file problems (0.763239ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.798484ms)
✔ check: dates and environment references (0.361131ms)
✔ path and load (2.885491ms)
✔ refusals (1.515385ms)
✔ systemVars flattens the validated config (1.790585ms)
✔ precedence: system, business, project, project role, agent (4.547817ms)
✔ limits narrow the definition and never widen it (2.16752ms)
✔ role.launch stays within-role only for the instance the launch block names (4.55638ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.912786ms)
✔ limits.authority narrows cross-role actions too (1.129226ms)
✔ classify (1.062031ms)
✔ the record carries what the broker and launcher need (9.084401ms)
✔ digest: key order doesn't matter, any value change does (7.179908ms)
✔ refusals (2.455766ms)
✔ the four shipped version 2 roles load (3.959226ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.430244ms)
✔ shipped authority follows the note's table (0.81314ms)
✔ version 1 files keep loading with no authority (1.244032ms)
✔ the conductor policy isn't a role (0.262325ms)
✔ a missing role file is exit 4, a symbolic link too (0.547733ms)
✔ version 2 refusals (1.428674ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.035327ms)
✔ credentials: Gitea scopes (0.825672ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.075392ms)
✔ credentials: services (8.42904ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.830731ms)
✔ every key names known layers and a merge rule (0.926442ms)
✔ unknown keys and wrong layers refuse (0.796639ms)
✔ types (1.829487ms)
✔ merge: defaults, then the most specific layer wins (0.289155ms)
✔ merge: limits only narrow, and provenance lists each source (0.406369ms)
✔ merge doesn't change its inputs (0.149857ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2187.474485
