✔ config directory and file path follow MOSAIC_CONFIG (2.284009ms)
✔ the fixture business validates and comes back frozen (6.487939ms)
✔ two instances may share a definition (2.275159ms)
✔ top-level refusals (6.073799ms)
✔ arbiters and projects (9.991129ms)
✔ role instances (3.798752ms)
✔ Vikunja bots (8.303249ms)
✔ a role without Vikunja takes no tracker block (5.495114ms)
✔ credential references match the definition's services (3.63747ms)
✔ launch (8.543695ms)
✔ loadBusiness: file checks (2.248537ms)
✔ loadBusiness: not a regular file (55.746268ms)
✔ loading writes nothing (1.12094ms)
✔ names that are Object.prototype properties don't count as declared (3.05957ms)
✔ the shipped example refuses as written and validates once filled in (0.590772ms)
✔ usage errors exit 4 (363.427862ms)
✔ validate: a good business exits 0 and prints instance digests (85.361898ms)
✔ validate: project files (436.931166ms)
✔ validate: missing files and a broken system config (321.481183ms)
✔ validate: credential reference problems exit 2 and name each one (78.04229ms)
✔ validate: a token file inside the repository is refused (75.149693ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (223.179074ms)
✔ resolve: prints one instance's record (252.287269ms)
✔ resolve: refusals (482.205406ms)
✔ parse: exactly one of file or env, plus the service's date (3.241377ms)
✔ check: a good file has no problems (1.062324ms)
✔ check never opens the file: a write-only token passes (0.520883ms)
✔ check: file problems (1.250663ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.065013ms)
✔ check: dates and environment references (0.612212ms)
✔ path and load (3.24501ms)
✔ refusals (1.971353ms)
✔ systemVars flattens the validated config (2.380655ms)
✔ precedence: system, business, project, project role, agent (6.614577ms)
✔ limits narrow the definition and never widen it (3.222887ms)
✔ role.launch stays within-role only for the instance the launch block names (6.684685ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (2.69868ms)
✔ limits.authority narrows cross-role actions too (1.634008ms)
✔ classify (1.721356ms)
✔ the record carries what the broker and launcher need (1.541191ms)
✔ digest: key order doesn't matter, any value change does (14.70505ms)
✔ refusals (3.474474ms)
✔ the four shipped version 2 roles load (4.757051ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.42544ms)
✔ shipped authority follows the note's table (0.578519ms)
✔ version 1 files keep loading with no authority (1.213931ms)
✔ the conductor policy isn't a role (0.277292ms)
✔ a missing role file is exit 4, a symbolic link too (0.489879ms)
✔ version 2 refusals (1.712467ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.904921ms)
✔ credentials: Gitea scopes (0.959458ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.232639ms)
✔ credentials: services (0.60855ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.673426ms)
✔ every key names known layers and a merge rule (1.019171ms)
✔ unknown keys and wrong layers refuse (0.955361ms)
✔ types (2.561672ms)
✔ merge: defaults, then the most specific layer wins (0.358745ms)
✔ merge: limits only narrow, and provenance lists each source (0.490927ms)
✔ merge doesn't change its inputs (0.201055ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2404.316662
