Round 2 for #1626 per sage-0314: F1a setter refuses a non-plain prototype, F1b organization writer validates and logs JSON.parse(bytes), F2 loader refuses unreadable paths, README top-level-code limit, control run. Gate 591/0, 0 skipped; controls pass; mutants 47/47 killed (slot sage-0316). Candidate manifest sha256 466c835f7dce79d20c7ab74c197a52b70e7fdeb0efae0456222dc6d0a633f219, 14 paths on base 0bdd573ff; no commit in base..1376caab9 touches them. Co-Authored-By: Claude Opus 5.5 <[email protected]>
101 lines
6.5 KiB
Plaintext
101 lines
6.5 KiB
Plaintext
✔ the role file loads and resolves through loadBusiness (7.617066ms)
|
||
✔ the shipped file is exactly the approved list (0.910397ms)
|
||
✔ the assistant's authority is message.send within role and nothing else (2.533906ms)
|
||
✔ the assistant talks to the user and the chief of staff only, and no other shipped role is limited (0.870664ms)
|
||
✔ a business grant through limits does not widen the role (1.954138ms)
|
||
✔ a launch block whose by is the assistant is refused (1.663232ms)
|
||
✔ the instance takes no credential references and no tracker (2.915018ms)
|
||
✔ the contract passes work to the chief of staff and directs no one (0.687642ms)
|
||
✔ config directory and file path follow MOSAIC_CONFIG (1.695799ms)
|
||
✔ the fixture business validates and comes back frozen (5.497001ms)
|
||
✔ two instances may share a definition (1.936393ms)
|
||
✔ top-level refusals (11.645505ms)
|
||
✔ arbiters and projects (4.635666ms)
|
||
✔ role instances (2.478348ms)
|
||
✔ Vikunja bots (5.069482ms)
|
||
✔ a role without Vikunja takes no tracker block (1.839627ms)
|
||
✔ credential references match the definition's services (2.142816ms)
|
||
✔ launch (7.272023ms)
|
||
✔ loadBusiness: file checks (1.605259ms)
|
||
✔ loadBusiness: not a regular file (37.763448ms)
|
||
✔ loading writes nothing (1.017299ms)
|
||
✔ names that are Object.prototype properties don't count as declared (2.637388ms)
|
||
✔ the shipped example refuses as written and validates once filled in (1.185492ms)
|
||
✔ the role file loads and resolves through loadBusiness (8.225501ms)
|
||
✔ the shipped file is exactly the approved list (0.303985ms)
|
||
✔ the resolved record matches the approved list, so a widened file fails (2.375744ms)
|
||
✔ the chief of staff holds role.launch and message.send; every other action is gated (1.754834ms)
|
||
✔ the pm does not hold role.launch (1.725377ms)
|
||
✔ a business grant of a gated action through limits does not widen the role (2.311423ms)
|
||
✔ a limit that drops role.launch leaves the chief of staff with no launch block (1.569789ms)
|
||
✔ a launch block whose by is the pm instance is refused (1.853649ms)
|
||
✔ the contract names no duty to talk to the human and the pm contract no launch (0.317957ms)
|
||
✔ the instance takes no credential references and no tracker (9.375289ms)
|
||
✔ usage errors exit 4 (262.489252ms)
|
||
✔ validate: a good business exits 0 and prints instance digests (62.22649ms)
|
||
✔ validate: project files (309.558305ms)
|
||
✔ validate: missing files and a broken system config (247.144215ms)
|
||
✔ validate: credential reference problems exit 2 and name each one (64.346125ms)
|
||
✔ validate: a token file inside the repository is refused (63.930099ms)
|
||
✔ validate: role definitions come from MOSAIC_ROLES_DIR (188.194923ms)
|
||
✔ resolve: prints one instance's record (248.440099ms)
|
||
✔ resolve: refusals (357.900853ms)
|
||
✔ parse: exactly one of file or env, plus the service's date (2.854173ms)
|
||
✔ check: a good file has no problems (0.990828ms)
|
||
✔ check never opens the file: a write-only token passes (0.39899ms)
|
||
✔ check: file problems (1.032209ms)
|
||
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.938368ms)
|
||
✔ check: dates and environment references (0.368081ms)
|
||
✔ REQ-LIMIT-1 schema: every scope unset or zero, adjustable above four, bad values and unknown models refuse (14.820777ms)
|
||
✔ REQ-LIMIT-1 counts each exact scope at/over limit, unlimited and old tuple after model reassignment (1.073927ms)
|
||
✔ REQ-ROLE-3 writer: atomic validated revision, immutable previous bytes and authenticated actor/old/new receipt (235.92167ms)
|
||
✔ REQ-ROLE-3 writer: pre-rename fault leaves old file, post-rename recovery records commit, conflicting recovery refuses (148.744189ms)
|
||
✔ REQ-LIMIT-1 / decision145 migration prints only, preserves values, rejects ambiguity, and is idempotent (2.885396ms)
|
||
✔ REQ-LIMIT-1 shared settings validates the complete proposed selection and logs exact actor (110.176329ms)
|
||
✔ REQ-LIMIT-1 provider is table data: another provider routes separately and aliases share exact counts (1.746015ms)
|
||
✔ REQ-ROLE-3 refuses live writer locks, symlink targets and uncertain recovery without changing bytes (82.471111ms)
|
||
✔ REQ-PLUG-1 schema: plugins is optional, names known kinds and checked module names (11.591901ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the setter writes plugins through the organization writer and logs old and new names (265.039627ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the writer checks the bytes it writes: a Date in plugins is refused there too (37.060593ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 a refused setter write throws a code, changes nothing and logs nothing (1.456269ms)
|
||
✔ path and load (2.780539ms)
|
||
✔ refusals (1.278067ms)
|
||
✔ systemVars flattens the validated config (1.921552ms)
|
||
✔ precedence: system, business, project, project role, agent (8.769238ms)
|
||
✔ limits narrow the definition and never widen it (1.896825ms)
|
||
✔ role.launch stays within-role only for the instance the launch block names (4.637215ms)
|
||
✔ limits.authority without role.launch leaves the launcher with no launch block (1.626019ms)
|
||
✔ limits.authority narrows cross-role actions too (0.907829ms)
|
||
✔ classify (1.00448ms)
|
||
✔ the record carries what the broker and launcher need (0.997607ms)
|
||
✔ digest: key order doesn't matter, any value change does (7.783023ms)
|
||
✔ refusals (1.800184ms)
|
||
✔ the four shipped version 2 roles load (3.722796ms)
|
||
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.277313ms)
|
||
✔ shipped authority follows the note's table (0.805041ms)
|
||
✔ every role file in roles/ loads through the validator, and a v2 contract exists (0.911638ms)
|
||
✔ version 1 files keep loading with no authority (2.698255ms)
|
||
✔ the conductor policy isn't a role (0.19722ms)
|
||
✔ a missing role file is exit 4, a symbolic link too (0.31163ms)
|
||
✔ version 2 refusals (1.201847ms)
|
||
✔ authority: closed vocabulary, no gated-only action, no overlap (2.095823ms)
|
||
✔ messaging: optional, role definitions and human, never the tester (1.713243ms)
|
||
✔ credentials: Gitea scopes (0.932951ms)
|
||
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (1.261786ms)
|
||
✔ credentials: services (0.420616ms)
|
||
✔ contract: a non-empty regular Markdown file beside the role file (0.563621ms)
|
||
✔ every key names known layers and a merge rule (1.224599ms)
|
||
✔ unknown keys and wrong layers refuse (1.087174ms)
|
||
✔ types (2.571371ms)
|
||
✔ merge: defaults, then the most specific layer wins (0.366522ms)
|
||
✔ merge: limits only narrow, and provenance lists each source (0.472818ms)
|
||
✔ merge doesn't change its inputs (0.194075ms)
|
||
ℹ tests 92
|
||
ℹ suites 0
|
||
ℹ pass 92
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1874.577995
|