✔ config directory and file path follow MOSAIC_CONFIG (2.121194ms)
✔ the fixture business validates and comes back frozen (6.452165ms)
✔ two instances may share a definition (2.134752ms)
✔ top-level refusals (5.199262ms)
✔ arbiters and projects (7.524685ms)
✔ role instances (3.757541ms)
✔ Vikunja bots (8.766374ms)
✔ a role without Vikunja takes no tracker block (2.142773ms)
✔ credential references match the definition's services (2.576937ms)
✔ launch (7.988747ms)
✔ loadBusiness: file checks (1.878581ms)
✔ loadBusiness: not a regular file (47.109419ms)
✔ loading writes nothing (1.228293ms)
✔ names that are Object.prototype properties don't count as declared (3.5501ms)
✔ the shipped example refuses as written and validates once filled in (0.969864ms)
✔ usage errors exit 4 (350.481125ms)
✔ validate: a good business exits 0 and prints instance digests (81.30678ms)
✔ validate: project files (502.453739ms)
✔ validate: missing files and a broken system config (314.663149ms)
✔ validate: credential reference problems exit 2 and name each one (105.671515ms)
✔ validate: a token file inside the repository is refused (91.773913ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (319.588051ms)
✔ resolve: prints one instance's record (271.287856ms)
✔ resolve: refusals (576.865688ms)
✔ parse: exactly one of file or env, plus the service's date (3.132765ms)
✔ check: a good file has no problems (0.906848ms)
✔ check never opens the file: a write-only token passes (0.453124ms)
✔ check: file problems (1.182827ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.153042ms)
✔ check: dates and environment references (0.567197ms)
✔ path and load (3.146583ms)
✔ refusals (1.775462ms)
✔ systemVars flattens the validated config (2.734069ms)
✔ precedence: system, business, project, project role, agent (6.835112ms)
✔ limits narrow the definition and never widen it (3.133181ms)
✔ role.launch stays within-role only for the instance the launch block names (5.873857ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (2.286532ms)
✔ limits.authority narrows cross-role actions too (1.172703ms)
✔ classify (1.436853ms)
✔ the record carries what the broker and launcher need (1.392019ms)
✔ digest: key order doesn't matter, any value change does (9.675767ms)
✔ refusals (2.094174ms)
✔ the four shipped version 2 roles load (4.860176ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.472529ms)
✔ shipped authority follows the note's table (0.794529ms)
✔ version 1 files keep loading with no authority (1.340498ms)
✔ the conductor policy isn't a role (0.308921ms)
✔ a missing role file is exit 4, a symbolic link too (0.480449ms)
✔ version 2 refusals (1.524426ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.786759ms)
✔ credentials: Gitea scopes (0.933318ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.156786ms)
✔ credentials: services (1.317671ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.001296ms)
✔ every key names known layers and a merge rule (1.355683ms)
✔ unknown keys and wrong layers refuse (1.060639ms)
✔ types (2.698005ms)
✔ merge: defaults, then the most specific layer wins (0.462315ms)
✔ merge: limits only narrow, and provenance lists each source (0.53096ms)
✔ merge doesn't change its inputs (0.222347ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2694.425501
