✔ config directory and file path follow MOSAIC_CONFIG (1.159274ms)
✔ the fixture business validates and comes back frozen (3.339428ms)
✔ two instances may share a definition (1.058082ms)
✔ top-level refusals (2.994306ms)
✔ arbiters and projects (5.124451ms)
✔ role instances (3.480786ms)
✔ Vikunja bots (8.028288ms)
✔ a role without Vikunja takes no tracker block (1.998001ms)
✔ credential references match the definition's services (2.317592ms)
✔ launch (7.029989ms)
✔ loadBusiness: file checks (1.711822ms)
✔ loadBusiness: not a regular file (37.72716ms)
✔ loading writes nothing (1.191323ms)
✔ names that are Object.prototype properties don't count as declared (2.472805ms)
✔ the shipped example refuses as written and validates once filled in (0.488457ms)
✔ the role file loads and resolves through loadBusiness (4.211384ms)
✔ the shipped file is exactly decision 104's list (0.556024ms)
✔ the resolved record matches decision 104, so a widened file fails (1.204988ms)
✔ message.send is within role and every other action is gated (1.134868ms)
✔ a business grant of a gated action through limits does not widen the role (1.189438ms)
✔ a launch block whose by is the chief-of-staff instance is refused (1.828303ms)
✔ the instance takes no credential references and no tracker (2.83952ms)
✔ usage errors exit 4 (256.675108ms)
✔ validate: a good business exits 0 and prints instance digests (64.675855ms)
✔ validate: project files (320.003168ms)
✔ validate: missing files and a broken system config (235.847774ms)
✔ validate: credential reference problems exit 2 and name each one (64.50687ms)
✔ validate: a token file inside the repository is refused (62.60852ms)
✔ validate: role definitions come from MOSAIC_ROLES_DIR (188.396505ms)
✔ resolve: prints one instance's record (191.256813ms)
✔ resolve: refusals (362.685667ms)
✔ parse: exactly one of file or env, plus the service's date (2.017132ms)
✔ check: a good file has no problems (0.69672ms)
✔ check never opens the file: a write-only token passes (0.274607ms)
✔ check: file problems (0.716301ms)
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.686065ms)
✔ check: dates and environment references (0.297449ms)
✔ path and load (2.708661ms)
✔ refusals (1.467745ms)
✔ systemVars flattens the validated config (2.068601ms)
✔ precedence: system, business, project, project role, agent (5.038453ms)
✔ limits narrow the definition and never widen it (2.544645ms)
✔ role.launch stays within-role only for the instance the launch block names (4.042548ms)
✔ limits.authority without role.launch leaves the launcher with no launch block (1.538435ms)
✔ limits.authority narrows cross-role actions too (0.887805ms)
✔ classify (1.072553ms)
✔ the record carries what the broker and launcher need (0.805691ms)
✔ digest: key order doesn't matter, any value change does (5.458949ms)
✔ refusals (2.079757ms)
✔ the four shipped version 2 roles load (3.712849ms)
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.258302ms)
✔ shipped authority follows the note's table (0.438278ms)
✔ version 1 files keep loading with no authority (0.812554ms)
✔ the conductor policy isn't a role (0.181271ms)
✔ a missing role file is exit 4, a symbolic link too (0.339775ms)
✔ version 2 refusals (1.263282ms)
✔ authority: closed vocabulary, no gated-only action, no overlap (1.88558ms)
✔ credentials: Gitea scopes (0.747729ms)
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (0.963308ms)
✔ credentials: services (0.531367ms)
✔ contract: a non-empty regular Markdown file beside the role file (0.591883ms)
✔ every key names known layers and a merge rule (0.958989ms)
✔ unknown keys and wrong layers refuse (0.833326ms)
✔ types (2.236828ms)
✔ merge: defaults, then the most specific layer wins (0.348845ms)
✔ merge: limits only narrow, and provenance lists each source (0.438081ms)
✔ merge doesn't change its inputs (0.176975ms)
ℹ tests 67
ℹ suites 0
ℹ pass 67
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1817.896087
