✔ config directory and file path follow MOSAIC_CONFIG (2.352201ms)
✔ the fixture business validates and comes back frozen (8.568461ms)
✔ two instances may share a definition (2.632362ms)
✔ top-level refusals (7.609872ms)
✔ arbiters and projects (12.429577ms)
✔ role instances (5.105522ms)
✔ Vikunja bots (11.235329ms)
✔ a role without Vikunja takes no tracker block (4.365397ms)
✔ credential references match the definition's services (4.2588ms)
✔ launch (13.50755ms)
✔ loadBusiness: file checks (2.720776ms)
✔ loadBusiness: not a regular file (60.01129ms)
✔ loading writes nothing (1.715685ms)
✔ names that are Object.prototype properties don't count as declared (4.290824ms)
✔ the shipped example refuses as written and validates once filled in (1.675101ms)
✔ the role file holds exactly decision 104's list (3.718015ms)
✔ the instance loads and resolves through loadBusiness with that list (11.921414ms)
✔ classify: message.send is within role, every other action is gated (2.804795ms)
✔ a business can't grant the instance more than the role file (13.965875ms)
✔ a launch block naming this instance refuses (3.105187ms)
✔ usage errors exit 4 (423.885063ms)
✔ validate: a good business exits 0 and prints instance digests (96.982246ms)
✔ validate: project files (447.411459ms)
✔ validate: missing files and a broken system config (331.292701ms)
✔ validate: credential reference problems exit 2 and name each one (93.557045ms)
✔ validate: a token file inside the repository is refused (97.963326ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (371.931376ms)
✔ resolve: prints one instance's record (435.117715ms)
✔ resolve: refusals (637.954372ms)
✔ parse: exactly one of file or env, plus the service's date (4.613361ms)
✔ check: a good file has no problems (1.412852ms)
✔ check never opens the file: a write-only token passes (0.703486ms)
✔ check: file problems (2.1193ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.491204ms)
✔ check: dates and environment references (0.926829ms)
✔ path and load (3.397614ms)
✔ refusals (2.06203ms)
✔ systemVars flattens the validated config (4.439676ms)
✔ precedence: system, business, project, project role, agent (8.23549ms)
✔ limits narrow the definition and never widen it (3.367089ms)
✔ role.launch stays within-role only for the instance the launch block names (8.044729ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (2.526816ms)
✔ limits.authority narrows cross-role actions too (1.427598ms)
✔ classify (1.888634ms)
✔ the record carries what the broker and launcher need (1.549406ms)
✔ digest: key order doesn't matter, any value change does (9.569178ms)
✔ refusals (3.726938ms)
✔ the four shipped version 2 roles load (5.751577ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (2.098095ms)
✔ shipped authority follows the note's table (1.128668ms)
✔ version 1 files keep loading with no authority (1.405555ms)
✔ the conductor policy isn't a role (0.512321ms)
✔ a missing role file is exit 4, a symbolic link too (0.648254ms)
✔ version 2 refusals (1.863048ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (2.824708ms)
✔ credentials: Gitea scopes (1.515663ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.799389ms)
✔ credentials: services (0.851774ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.63813ms)
✔ every key names known layers and a merge rule (1.564903ms)
✔ unknown keys and wrong layers refuse (1.173498ms)
✔ types (3.186383ms)
✔ merge: defaults, then the most specific layer wins (0.514218ms)
✔ merge: limits only narrow, and provenance lists each source (0.385589ms)
✔ merge doesn't change its inputs (0.153102ms)
ℹ tests 65
ℹ suites 0
ℹ pass 65
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3052.528277
