95 lines
5.9 KiB
Plaintext
95 lines
5.9 KiB
Plaintext
✔ the role file loads and resolves through loadBusiness (4.116629ms)
|
||
✔ the shipped file is exactly the approved list (0.496668ms)
|
||
✔ the assistant's authority is message.send within role and nothing else (1.197366ms)
|
||
✔ a business grant through limits does not widen the role (1.076217ms)
|
||
✔ a launch block whose by is the assistant is refused (1.109967ms)
|
||
✔ the instance takes no credential references and no tracker (1.759494ms)
|
||
✔ the contract passes work to the chief of staff and directs no one (0.370914ms)
|
||
✔ config directory and file path follow MOSAIC_CONFIG (1.035413ms)
|
||
✔ the fixture business validates and comes back frozen (3.334766ms)
|
||
✔ two instances may share a definition (1.036032ms)
|
||
✔ top-level refusals (2.800897ms)
|
||
✔ arbiters and projects (4.042024ms)
|
||
✔ role instances (2.07081ms)
|
||
✔ Vikunja bots (4.643027ms)
|
||
✔ a role without Vikunja takes no tracker block (1.723174ms)
|
||
✔ credential references match the definition's services (1.941622ms)
|
||
✔ launch (5.96233ms)
|
||
✔ loadBusiness: file checks (1.638834ms)
|
||
✔ loadBusiness: not a regular file (35.027047ms)
|
||
✔ loading writes nothing (0.988518ms)
|
||
✔ names that are Object.prototype properties don't count as declared (2.5937ms)
|
||
✔ the shipped example refuses as written and validates once filled in (0.627936ms)
|
||
✔ the role file loads and resolves through loadBusiness (4.622382ms)
|
||
✔ the shipped file is exactly the approved list (0.153475ms)
|
||
✔ the resolved record matches the approved list, so a widened file fails (1.137452ms)
|
||
✔ the chief of staff holds role.launch and message.send; every other action is gated (0.904108ms)
|
||
✔ the pm does not hold role.launch (1.045885ms)
|
||
✔ a business grant of a gated action through limits does not widen the role (1.026951ms)
|
||
✔ a limit that drops role.launch leaves the chief of staff with no launch block (0.959617ms)
|
||
✔ a launch block whose by is the pm instance is refused (1.028561ms)
|
||
✔ the contract names no duty to talk to the human and the pm contract no launch (0.237306ms)
|
||
✔ the instance takes no credential references and no tracker (1.443873ms)
|
||
✔ usage errors exit 4 (266.357127ms)
|
||
✔ validate: a good business exits 0 and prints instance digests (67.856084ms)
|
||
✔ validate: project files (307.208825ms)
|
||
✔ validate: missing files and a broken system config (239.05926ms)
|
||
✔ validate: credential reference problems exit 2 and name each one (60.051358ms)
|
||
✔ validate: a token file inside the repository is refused (66.181062ms)
|
||
✔ validate: role definitions come from MOSAIC_ROLES_DIR (186.738942ms)
|
||
✔ resolve: prints one instance's record (247.705106ms)
|
||
✔ resolve: refusals (351.026522ms)
|
||
✔ parse: exactly one of file or env, plus the service's date (1.69921ms)
|
||
✔ check: a good file has no problems (0.548426ms)
|
||
✔ check never opens the file: a write-only token passes (0.238733ms)
|
||
✔ check: file problems (0.606059ms)
|
||
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (0.548208ms)
|
||
✔ check: dates and environment references (0.264152ms)
|
||
✔ REQ-LIMIT-1 schema: every scope unset or zero, adjustable above four, bad values and unknown models refuse (8.648173ms)
|
||
✔ REQ-LIMIT-1 counts each exact scope at/over limit, unlimited and old tuple after model reassignment (0.537471ms)
|
||
✔ REQ-ROLE-3 writer: atomic validated revision, immutable previous bytes and authenticated actor/old/new receipt (17.662801ms)
|
||
✔ REQ-ROLE-3 writer: pre-rename fault leaves old file, post-rename recovery records commit, conflicting recovery refuses (12.98254ms)
|
||
✔ REQ-LIMIT-1 / decision145 migration prints only, preserves values, rejects ambiguity, and is idempotent (2.767865ms)
|
||
✔ REQ-LIMIT-1 shared settings validates the complete proposed selection and logs exact actor (16.518142ms)
|
||
✔ REQ-LIMIT-1 provider is table data: another provider routes separately and aliases share exact counts (1.643236ms)
|
||
✔ REQ-ROLE-3 refuses live writer locks, symlink targets and uncertain recovery without changing bytes (7.871674ms)
|
||
✔ path and load (1.615489ms)
|
||
✔ refusals (0.834332ms)
|
||
✔ systemVars flattens the validated config (1.277012ms)
|
||
✔ precedence: system, business, project, project role, agent (3.586447ms)
|
||
✔ limits narrow the definition and never widen it (1.511462ms)
|
||
✔ role.launch stays within-role only for the instance the launch block names (3.606427ms)
|
||
✔ limits.authority without role.launch leaves the launcher with no launch block (1.366905ms)
|
||
✔ limits.authority narrows cross-role actions too (0.75666ms)
|
||
✔ classify (0.821163ms)
|
||
✔ the record carries what the broker and launcher need (0.888479ms)
|
||
✔ digest: key order doesn't matter, any value change does (4.565032ms)
|
||
✔ refusals (1.618229ms)
|
||
✔ the four shipped version 2 roles load (2.081975ms)
|
||
✔ shipped role scopes match addendum B section 2 and the SR runbook (0.684376ms)
|
||
✔ shipped authority follows the note's table (0.422962ms)
|
||
✔ every role file in roles/ loads through the validator, and a v2 contract exists (0.442703ms)
|
||
✔ version 1 files keep loading with no authority (0.754792ms)
|
||
✔ the conductor policy isn't a role (0.134886ms)
|
||
✔ a missing role file is exit 4, a symbolic link too (0.316368ms)
|
||
✔ version 2 refusals (0.908752ms)
|
||
✔ authority: closed vocabulary, no gated-only action, no overlap (1.572068ms)
|
||
✔ credentials: Gitea scopes (0.664536ms)
|
||
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (0.746695ms)
|
||
✔ credentials: services (0.615553ms)
|
||
✔ contract: a non-empty regular Markdown file beside the role file (0.477351ms)
|
||
✔ every key names known layers and a merge rule (0.606628ms)
|
||
✔ unknown keys and wrong layers refuse (0.506669ms)
|
||
✔ types (1.306182ms)
|
||
✔ merge: defaults, then the most specific layer wins (0.189276ms)
|
||
✔ merge: limits only narrow, and provenance lists each source (0.234223ms)
|
||
✔ merge doesn't change its inputs (0.1023ms)
|
||
ℹ tests 86
|
||
ℹ suites 0
|
||
ℹ pass 86
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 2445.579364
|