✔ config directory and file path follow MOSAIC_CONFIG (2.436728ms)
✔ the fixture business validates and comes back frozen (6.201817ms)
✔ two instances may share a definition (1.857395ms)
✔ top-level refusals (5.708503ms)
✔ arbiters and projects (7.767594ms)
✔ role instances (4.920971ms)
✔ Vikunja bots (10.749022ms)
✔ a role without Vikunja takes no tracker block (3.840473ms)
✔ credential references match the definition's services (4.737713ms)
✔ launch (36.354181ms)
✔ loadBusiness: file checks (2.063508ms)
✔ loadBusiness: not a regular file (48.13006ms)
✔ loading writes nothing (2.149806ms)
✔ names that are Object.prototype properties don't count as declared (3.460969ms)
✔ the shipped example refuses as written and validates once filled in (0.789241ms)
✔ usage errors exit 4 (356.250676ms)
✔ validate: a good business exits 0 and prints instance digests (90.351744ms)
✔ validate: project files (417.493057ms)
✔ validate: missing files and a broken system config (313.020378ms)
✔ validate: credential reference problems exit 2 and name each one (81.429118ms)
✔ validate: a token file inside the repository is refused (72.689626ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (238.489911ms)
✔ resolve: prints one instance's record (264.584218ms)
✔ resolve: refusals (439.125302ms)
✔ parse: exactly one of file or env, plus the service's date (4.038881ms)
✔ check: a good file has no problems (1.10644ms)
✔ check never opens the file: a write-only token passes (0.524742ms)
✔ check: file problems (1.263781ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.132029ms)
✔ check: dates and environment references (0.618031ms)
✔ path and load (3.889809ms)
✔ refusals (2.306381ms)
✔ systemVars flattens the validated config (2.869624ms)
✔ precedence: system, business, project, project role, agent (7.69108ms)
✔ limits narrow the definition and never widen it (3.508464ms)
✔ role.launch stays within-role only for the instance the launch block names (8.518617ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (3.504665ms)
✔ limits.authority narrows cross-role actions too (1.590315ms)
✔ classify (1.446605ms)
✔ the record carries what the broker and launcher need (1.564856ms)
✔ digest: key order doesn't matter, any value change does (8.566485ms)
✔ refusals (2.519541ms)
✔ the four shipped version 2 roles load (4.307522ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.569662ms)
✔ shipped authority follows the note's table (0.81245ms)
✔ version 1 files keep loading with no authority (1.46652ms)
✔ the conductor policy isn't a role (0.284116ms)
✔ a missing role file is exit 4, a symbolic link too (0.452278ms)
✔ version 2 refusals (1.746533ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (4.097353ms)
✔ credentials: Gitea scopes (1.370127ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.856877ms)
✔ credentials: services (0.859758ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.135142ms)
✔ every key names known layers and a merge rule (1.419722ms)
✔ unknown keys and wrong layers refuse (1.115598ms)
✔ types (2.832948ms)
✔ merge: defaults, then the most specific layer wins (0.443132ms)
✔ merge: limits only narrow, and provenance lists each source (0.565765ms)
✔ merge doesn't change its inputs (0.238685ms)
ℹ tests 60
ℹ suites 0
ℹ pass 60
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2372.564836
