Candidate on base 94ece491f: 5 files, manifest 1910eb5a; only
decision-close.test.mjs changed since round 1. Mutants m1-m4 killed
(m4 is Filbert's f4); gate passed with no flakes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
76 lines
4.1 KiB
Plaintext
76 lines
4.1 KiB
Plaintext
✔ config directory and file path follow MOSAIC_CONFIG (1.10898ms)
|
||
✔ the fixture business validates and comes back frozen (3.130475ms)
|
||
✔ two instances may share a definition (1.042164ms)
|
||
✔ top-level refusals (3.838592ms)
|
||
✔ arbiters and projects (5.710917ms)
|
||
✔ role instances (3.270966ms)
|
||
✔ Vikunja bots (4.871483ms)
|
||
✔ a role without Vikunja takes no tracker block (1.700733ms)
|
||
✔ credential references match the definition's services (2.046884ms)
|
||
✔ launch (6.108159ms)
|
||
✔ loadBusiness: file checks (1.685704ms)
|
||
✔ loadBusiness: not a regular file (34.445958ms)
|
||
✔ loading writes nothing (0.972845ms)
|
||
✔ names that are Object.prototype properties don't count as declared (2.527616ms)
|
||
✔ the shipped example refuses as written and validates once filled in (0.522838ms)
|
||
✔ the role file loads and resolves through loadBusiness (4.383764ms)
|
||
✔ the shipped file is exactly decision 104's list (0.562222ms)
|
||
✔ the resolved record matches decision 104, so a widened file fails (1.309836ms)
|
||
✔ message.send is within role and every other action is gated (1.051315ms)
|
||
✔ a business grant of a gated action through limits does not widen the role (1.163488ms)
|
||
✔ a launch block whose by is the chief-of-staff instance is refused (1.531542ms)
|
||
✔ the instance takes no credential references and no tracker (2.397808ms)
|
||
✔ usage errors exit 4 (256.8687ms)
|
||
✔ validate: a good business exits 0 and prints instance digests (64.47629ms)
|
||
✔ validate: project files (306.251612ms)
|
||
✔ validate: missing files and a broken system config (222.780557ms)
|
||
✔ validate: credential reference problems exit 2 and name each one (63.170742ms)
|
||
✔ validate: a token file inside the repository is refused (60.864785ms)
|
||
✔ validate: role definitions come from MOSAIC_ROLES_DIR (187.421008ms)
|
||
✔ resolve: prints one instance's record (184.957202ms)
|
||
✔ resolve: refusals (364.774864ms)
|
||
✔ parse: exactly one of file or env, plus the service's date (1.912689ms)
|
||
✔ check: a good file has no problems (0.620712ms)
|
||
✔ check never opens the file: a write-only token passes (0.281508ms)
|
||
✔ check: file problems (0.637931ms)
|
||
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.714025ms)
|
||
✔ check: dates and environment references (0.313828ms)
|
||
✔ path and load (1.691793ms)
|
||
✔ refusals (0.893547ms)
|
||
✔ systemVars flattens the validated config (1.526445ms)
|
||
✔ precedence: system, business, project, project role, agent (3.638393ms)
|
||
✔ limits narrow the definition and never widen it (1.618946ms)
|
||
✔ role.launch stays within-role only for the instance the launch block names (3.24916ms)
|
||
✔ limits.authority without role.launch leaves the launcher with no launch block (1.309275ms)
|
||
✔ limits.authority narrows cross-role actions too (0.761206ms)
|
||
✔ classify (0.856221ms)
|
||
✔ the record carries what the broker and launcher need (0.718915ms)
|
||
✔ digest: key order doesn't matter, any value change does (6.538351ms)
|
||
✔ refusals (1.783126ms)
|
||
✔ the four shipped version 2 roles load (2.169322ms)
|
||
✔ shipped role scopes match addendum B section 2 and the SR runbook (0.678807ms)
|
||
✔ shipped authority follows the note's table (0.386338ms)
|
||
✔ version 1 files keep loading with no authority (0.706235ms)
|
||
✔ the conductor policy isn't a role (0.165825ms)
|
||
✔ a missing role file is exit 4, a symbolic link too (0.299211ms)
|
||
✔ version 2 refusals (0.968934ms)
|
||
✔ authority: closed vocabulary, no gated-only action, no overlap (1.530087ms)
|
||
✔ credentials: Gitea scopes (0.62378ms)
|
||
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (0.960543ms)
|
||
✔ credentials: services (0.465873ms)
|
||
✔ contract: a non-empty regular Markdown file beside the role file (0.50672ms)
|
||
✔ every key names known layers and a merge rule (0.977935ms)
|
||
✔ unknown keys and wrong layers refuse (0.634292ms)
|
||
✔ types (1.553271ms)
|
||
✔ merge: defaults, then the most specific layer wins (0.244341ms)
|
||
✔ merge: limits only narrow, and provenance lists each source (0.289662ms)
|
||
✔ merge doesn't change its inputs (0.109043ms)
|
||
ℹ tests 67
|
||
ℹ suites 0
|
||
ℹ pass 67
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1770.198703
|