✔ config directory and file path follow MOSAIC_CONFIG (1.94594ms)
✔ the fixture business validates and comes back frozen (5.707571ms)
✔ two instances may share a definition (1.972691ms)
✔ top-level refusals (5.720077ms)
✔ arbiters and projects (7.599597ms)
✔ role instances (3.911216ms)
✔ Vikunja bots (8.160669ms)
✔ a role without Vikunja takes no tracker block (3.078813ms)
✔ credential references match the definition's services (3.806947ms)
✔ launch (10.102968ms)
✔ loadBusiness: file checks (2.022471ms)
✔ loadBusiness: not a regular file (45.202904ms)
✔ loading writes nothing (1.253617ms)
✔ names that are Object.prototype properties don't count as declared (2.657347ms)
✔ the shipped example refuses as written and validates once filled in (0.542513ms)
✔ usage errors exit 4 (285.619026ms)
✔ validate: a good business exits 0 and prints instance digests (61.986118ms)
✔ validate: project files (315.802361ms)
✔ validate: missing files and a broken system config (235.381833ms)
✔ validate: credential reference problems exit 2 and name each one (62.229075ms)
✔ validate: a token file inside the repository is refused (64.115882ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (200.324478ms)
✔ resolve: prints one instance's record (193.814279ms)
✔ resolve: refusals (386.379682ms)
✔ parse: exactly one of file or env, plus the service's date (3.254409ms)
✔ check: a good file has no problems (1.798437ms)
✔ check never opens the file: a write-only token passes (0.467731ms)
✔ check: file problems (1.279571ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.400708ms)
✔ check: dates and environment references (0.575693ms)
✔ path and load (2.919347ms)
✔ refusals (1.710575ms)
✔ systemVars flattens the validated config (2.516987ms)
✔ precedence: system, business, project, project role, agent (6.390188ms)
✔ limits narrow the definition and never widen it (3.070619ms)
✔ role.launch stays within-role only for the instance the launch block names (6.400121ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.722667ms)
✔ limits.authority narrows cross-role actions too (1.035999ms)
✔ classify (1.279788ms)
✔ the record carries what the broker and launcher need (1.144397ms)
✔ digest: key order doesn't matter, any value change does (8.9708ms)
✔ refusals (3.013121ms)
✔ the four shipped version 2 roles load (5.279908ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.490848ms)
✔ shipped authority follows the note's table (0.764831ms)
✔ version 1 files keep loading with no authority (1.274805ms)
✔ the conductor policy isn't a role (0.306126ms)
✔ a missing role file is exit 4, a symbolic link too (0.509379ms)
✔ version 2 refusals (1.439143ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.33389ms)
✔ credentials: Gitea scopes (0.923002ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.222158ms)
✔ credentials: services (0.632125ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.111439ms)
✔ every key names known layers and a merge rule (1.289197ms)
✔ unknown keys and wrong layers refuse (0.896979ms)
✔ types (1.783348ms)
✔ merge: defaults, then the most specific layer wins (0.30552ms)
✔ merge: limits only narrow, and provenance lists each source (0.393139ms)
✔ merge doesn't change its inputs (0.177042ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1887.219031
