✔ config directory and file path follow MOSAIC_CONFIG (1.885852ms)
✔ the fixture business validates and comes back frozen (5.658424ms)
✔ two instances may share a definition (1.339683ms)
✔ top-level refusals (3.506042ms)
✔ arbiters and projects (5.159999ms)
✔ role instances (3.489544ms)
✔ Vikunja bots (6.636274ms)
✔ a role without Vikunja takes no tracker block (3.122115ms)
✔ credential references match the definition's services (3.679316ms)
✔ launch (11.088925ms)
✔ loadBusiness: file checks (2.76976ms)
✔ loadBusiness: not a regular file (39.208263ms)
✔ loading writes nothing (1.965275ms)
✔ names that are Object.prototype properties don't count as declared (2.547254ms)
✔ the shipped example refuses as written and validates once filled in (0.504688ms)
✔ usage errors exit 4 (291.725474ms)
✔ validate: a good business exits 0 and prints instance digests (71.185766ms)
✔ validate: project files (320.543732ms)
✔ validate: missing files and a broken system config (230.119986ms)
✔ validate: credential reference problems exit 2 and name each one (64.013596ms)
✔ validate: a token file inside the repository is refused (64.848806ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (185.260127ms)
✔ resolve: prints one instance's record (194.639072ms)
✔ resolve: refusals (379.459948ms)
✔ parse: exactly one of file or env, plus the service's date (3.370475ms)
✔ check: a good file has no problems (0.962955ms)
✔ check never opens the file: a write-only token passes (0.425714ms)
✔ check: file problems (1.175521ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.182776ms)
✔ check: dates and environment references (0.537616ms)
✔ path and load (3.154659ms)
✔ refusals (1.625627ms)
✔ systemVars flattens the validated config (2.569268ms)
✔ precedence: system, business, project, project role, agent (6.532793ms)
✔ limits narrow the definition and never widen it (3.03896ms)
✔ role.launch stays within-role only for the instance the launch block names (6.526328ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (2.854804ms)
✔ limits.authority narrows cross-role actions too (1.628806ms)
✔ classify (1.759815ms)
✔ the record carries what the broker and launcher need (1.618335ms)
✔ digest: key order doesn't matter, any value change does (9.545966ms)
✔ refusals (2.287967ms)
✔ the four shipped version 2 roles load (3.980318ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.340415ms)
✔ shipped authority follows the note's table (0.727965ms)
✔ version 1 files keep loading with no authority (1.265329ms)
✔ the conductor policy isn't a role (0.308318ms)
✔ a missing role file is exit 4, a symbolic link too (0.53197ms)
✔ version 2 refusals (1.734995ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (3.184459ms)
✔ credentials: Gitea scopes (1.293834ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.699624ms)
✔ credentials: services (0.850815ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.165891ms)
✔ every key names known layers and a merge rule (1.208191ms)
✔ unknown keys and wrong layers refuse (0.984427ms)
✔ types (2.450103ms)
✔ merge: defaults, then the most specific layer wins (0.37003ms)
✔ merge: limits only narrow, and provenance lists each source (0.490281ms)
✔ merge doesn't change its inputs (0.19074ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1878.19385
