✔ config directory and file path follow MOSAIC_CONFIG (2.603152ms)
✔ the fixture business validates and comes back frozen (8.919721ms)
✔ two instances may share a definition (2.755414ms)
✔ top-level refusals (8.332584ms)
✔ arbiters and projects (14.015691ms)
✔ role instances (4.26136ms)
✔ Vikunja bots (11.440938ms)
✔ a role without Vikunja takes no tracker block (3.925823ms)
✔ credential references match the definition's services (5.904825ms)
✔ launch (11.195911ms)
✔ loadBusiness: file checks (2.899422ms)
✔ loadBusiness: not a regular file (49.479749ms)
✔ loading writes nothing (1.557864ms)
✔ names that are Object.prototype properties don't count as declared (3.309186ms)
✔ the shipped example refuses as written and validates once filled in (0.668125ms)
✔ the role file holds exactly decision 104's list (3.683201ms)
✔ the instance loads and resolves through loadBusiness with that list (10.521464ms)
✔ classify: message.send is within role, every other action is gated (2.649447ms)
✔ a business can't grant the instance more than the role file (17.357626ms)
✔ a launch block naming this instance refuses (4.00139ms)
✔ usage errors exit 4 (405.288434ms)
✔ validate: a good business exits 0 and prints instance digests (89.847811ms)
✔ validate: project files (450.243005ms)
✔ validate: missing files and a broken system config (277.737837ms)
✔ validate: credential reference problems exit 2 and name each one (75.828638ms)
✔ validate: a token file inside the repository is refused (88.902924ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (258.832775ms)
✔ resolve: prints one instance's record (238.149332ms)
✔ resolve: refusals (479.443746ms)
✔ parse: exactly one of file or env, plus the service's date (4.483326ms)
✔ check: a good file has no problems (1.2734ms)
✔ check never opens the file: a write-only token passes (0.577131ms)
✔ check: file problems (1.836707ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.677232ms)
✔ check: dates and environment references (0.676462ms)
✔ path and load (3.587659ms)
✔ refusals (2.113773ms)
✔ systemVars flattens the validated config (3.345545ms)
✔ precedence: system, business, project, project role, agent (8.755712ms)
✔ limits narrow the definition and never widen it (3.772433ms)
✔ role.launch stays within-role only for the instance the launch block names (9.114283ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (3.628658ms)
✔ limits.authority narrows cross-role actions too (1.993664ms)
✔ classify (2.068303ms)
✔ the record carries what the broker and launcher need (1.761038ms)
✔ digest: key order doesn't matter, any value change does (10.306441ms)
✔ refusals (3.724131ms)
✔ the four shipped version 2 roles load (4.771631ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (2.015081ms)
✔ shipped authority follows the note's table (0.877187ms)
✔ version 1 files keep loading with no authority (1.59504ms)
✔ the conductor policy isn't a role (0.363775ms)
✔ a missing role file is exit 4, a symbolic link too (0.614288ms)
✔ version 2 refusals (2.578913ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (3.237792ms)
✔ credentials: Gitea scopes (1.462376ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.992444ms)
✔ credentials: services (1.004601ms)
✔ contract: a non-empty regular Markdown file beside the role file (1.07418ms)
✔ every key names known layers and a merge rule (1.423438ms)
✔ unknown keys and wrong layers refuse (1.545924ms)
✔ types (3.328619ms)
✔ merge: defaults, then the most specific layer wins (0.469419ms)
✔ merge: limits only narrow, and provenance lists each source (0.734436ms)
✔ merge doesn't change its inputs (0.229784ms)
ℹ tests 65
ℹ suites 0
ℹ pass 65
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2471.73389
