✔ config directory and file path follow MOSAIC_CONFIG (1.553587ms)
✔ the fixture business validates and comes back frozen (6.315213ms)
✔ two instances may share a definition (2.077018ms)
✔ top-level refusals (6.265561ms)
✔ arbiters and projects (7.887733ms)
✔ role instances (3.085341ms)
✔ Vikunja bots (8.808245ms)
✔ a role without Vikunja takes no tracker block (2.60627ms)
✔ credential references match the definition's services (3.647953ms)
✔ launch (11.703973ms)
✔ loadBusiness: file checks (2.04872ms)
✔ loadBusiness: not a regular file (49.944343ms)
✔ loading writes nothing (1.251757ms)
✔ names that are Object.prototype properties don't count as declared (5.435482ms)
✔ the shipped example refuses as written and validates once filled in (0.601228ms)
✔ usage errors exit 4 (315.229357ms)
✔ validate: a good business exits 0 and prints instance digests (73.51181ms)
✔ validate: project files (351.75333ms)
✔ validate: missing files and a broken system config (253.645234ms)
✔ validate: credential reference problems exit 2 and name each one (64.627904ms)
✔ validate: a token file inside the repository is refused (67.852495ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (207.234442ms)
✔ resolve: prints one instance's record (222.046246ms)
✔ resolve: refusals (430.638885ms)
✔ parse: exactly one of file or env, plus the service's date (3.669091ms)
✔ check: a good file has no problems (1.129649ms)
✔ check never opens the file: a write-only token passes (0.483008ms)
✔ check: file problems (1.23747ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.274092ms)
✔ check: dates and environment references (0.577429ms)
✔ path and load (3.182412ms)
✔ refusals (1.88194ms)
✔ systemVars flattens the validated config (2.833551ms)
✔ precedence: system, business, project, project role, agent (7.176254ms)
✔ limits narrow the definition and never widen it (3.531924ms)
✔ role.launch stays within-role only for the instance the launch block names (6.071093ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.975976ms)
✔ limits.authority narrows cross-role actions too (1.058494ms)
✔ classify (1.218652ms)
✔ the record carries what the broker and launcher need (0.928912ms)
✔ digest: key order doesn't matter, any value change does (6.44603ms)
✔ refusals (2.922372ms)
✔ the four shipped version 2 roles load (4.591684ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.653387ms)
✔ shipped authority follows the note's table (0.810481ms)
✔ version 1 files keep loading with no authority (1.311308ms)
✔ the conductor policy isn't a role (0.295062ms)
✔ a missing role file is exit 4, a symbolic link too (0.539465ms)
✔ version 2 refusals (1.857376ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (3.343617ms)
✔ credentials: Gitea scopes (1.283982ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.767491ms)
✔ credentials: services (0.909478ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.29829ms)
✔ every key names known layers and a merge rule (1.03559ms)
✔ unknown keys and wrong layers refuse (0.899343ms)
✔ types (2.135088ms)
✔ merge: defaults, then the most specific layer wins (0.34324ms)
✔ merge: limits only narrow, and provenance lists each source (0.43299ms)
✔ merge doesn't change its inputs (0.16448ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2061.893204
