✔ config directory and file path follow MOSAIC_CONFIG (1.358293ms)
✔ the fixture business validates and comes back frozen (4.319109ms)
✔ two instances may share a definition (1.396227ms)
✔ top-level refusals (4.055262ms)
✔ arbiters and projects (7.498012ms)
✔ role instances (3.986412ms)
✔ Vikunja bots (8.432332ms)
✔ a role without Vikunja takes no tracker block (3.583648ms)
✔ credential references match the definition's services (3.569963ms)
✔ launch (9.358031ms)
✔ loadBusiness: file checks (1.91489ms)
✔ loadBusiness: not a regular file (41.934608ms)
✔ loading writes nothing (1.116741ms)
✔ names that are Object.prototype properties don't count as declared (2.823344ms)
✔ the shipped example refuses as written and validates once filled in (0.554849ms)
✔ usage errors exit 4 (280.926956ms)
✔ validate: a good business exits 0 and prints instance digests (60.874599ms)
✔ validate: project files (309.472006ms)
✔ validate: missing files and a broken system config (240.996764ms)
✔ validate: credential reference problems exit 2 and name each one (63.782088ms)
✔ validate: a token file inside the repository is refused (64.100441ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (199.841638ms)
✔ resolve: prints one instance's record (195.243118ms)
✔ resolve: refusals (391.947059ms)
✔ parse: exactly one of file or env, plus the service's date (2.48624ms)
✔ check: a good file has no problems (0.818496ms)
✔ check never opens the file: a write-only token passes (0.334117ms)
✔ check: file problems (0.873893ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.812928ms)
✔ check: dates and environment references (0.525454ms)
✔ path and load (2.561329ms)
✔ refusals (1.291396ms)
✔ systemVars flattens the validated config (1.952187ms)
✔ precedence: system, business, project, project role, agent (6.651473ms)
✔ limits narrow the definition and never widen it (2.836445ms)
✔ role.launch stays within-role only for the instance the launch block names (5.06657ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (2.441279ms)
✔ limits.authority narrows cross-role actions too (1.426583ms)
✔ classify (1.598098ms)
✔ the record carries what the broker and launcher need (1.419734ms)
✔ digest: key order doesn't matter, any value change does (18.247732ms)
✔ refusals (2.333964ms)
✔ the four shipped version 2 roles load (3.985346ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.378316ms)
✔ shipped authority follows the note's table (0.770182ms)
✔ version 1 files keep loading with no authority (1.288688ms)
✔ the conductor policy isn't a role (0.298652ms)
✔ a missing role file is exit 4, a symbolic link too (0.519974ms)
✔ version 2 refusals (2.025378ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.901348ms)
✔ credentials: Gitea scopes (1.426595ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.586912ms)
✔ credentials: services (0.786069ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.765377ms)
✔ every key names known layers and a merge rule (1.091141ms)
✔ unknown keys and wrong layers refuse (0.703586ms)
✔ types (1.723076ms)
✔ merge: defaults, then the most specific layer wins (0.270166ms)
✔ merge: limits only narrow, and provenance lists each source (0.323513ms)
✔ merge doesn't change its inputs (0.12932ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1880.166622
