Round 1 is a code and test review and won't land. land-work fails at BASE on the read.mjs 3b pin, which row 49 removes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
102 lines
6.7 KiB
Plaintext
102 lines
6.7 KiB
Plaintext
✔ the role file loads and resolves through loadBusiness (6.673029ms)
|
||
✔ the shipped file is exactly the approved list (0.688073ms)
|
||
✔ the assistant's authority is message.send within role and nothing else (2.031439ms)
|
||
✔ the assistant talks to the user and the chief of staff only, and no other shipped role is limited (0.688006ms)
|
||
✔ a business grant through limits does not widen the role (1.506233ms)
|
||
✔ a launch block whose by is the assistant is refused (1.819531ms)
|
||
✔ the instance takes no credential references and no tracker (3.011239ms)
|
||
✔ the contract passes work to the chief of staff and directs no one (0.724342ms)
|
||
✔ config directory and file path follow MOSAIC_CONFIG (1.274673ms)
|
||
✔ the fixture business validates and comes back frozen (5.245567ms)
|
||
✔ two instances may share a definition (2.043073ms)
|
||
✔ top-level refusals (6.670278ms)
|
||
✔ arbiters and projects (5.957781ms)
|
||
✔ role instances (2.903789ms)
|
||
✔ Vikunja bots (6.528239ms)
|
||
✔ a role without Vikunja takes no tracker block (2.222608ms)
|
||
✔ credential references match the definition's services (2.472293ms)
|
||
✔ launch (7.613731ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 launch.threadIdleSeconds: absent is the default, a positive integer is used, anything else refuses (3.624921ms)
|
||
✔ loadBusiness: file checks (1.662276ms)
|
||
✔ loadBusiness: not a regular file (36.523896ms)
|
||
✔ loading writes nothing (1.009122ms)
|
||
✔ names that are Object.prototype properties don't count as declared (2.54482ms)
|
||
✔ the shipped example refuses as written and validates once filled in (0.730821ms)
|
||
✔ the role file loads and resolves through loadBusiness (7.885377ms)
|
||
✔ the shipped file is exactly the approved list (0.219996ms)
|
||
✔ the resolved record matches the approved list, so a widened file fails (1.599447ms)
|
||
✔ the chief of staff holds role.launch and message.send; every other action is gated (1.224409ms)
|
||
✔ the pm does not hold role.launch (1.382469ms)
|
||
✔ a business grant of a gated action through limits does not widen the role (1.917161ms)
|
||
✔ a limit that drops role.launch leaves the chief of staff with no launch block (1.444097ms)
|
||
✔ a launch block whose by is the pm instance is refused (1.638991ms)
|
||
✔ the contract names no duty to talk to the human and the pm contract no launch (0.391063ms)
|
||
✔ the instance takes no credential references and no tracker (3.013584ms)
|
||
✔ usage errors exit 4 (270.409462ms)
|
||
✔ validate: a good business exits 0 and prints instance digests (63.802571ms)
|
||
✔ validate: project files (309.748502ms)
|
||
✔ validate: missing files and a broken system config (227.099012ms)
|
||
✔ validate: credential reference problems exit 2 and name each one (62.326815ms)
|
||
✔ validate: a token file inside the repository is refused (65.898812ms)
|
||
✔ validate: role definitions come from MOSAIC_ROLES_DIR (187.635669ms)
|
||
✔ resolve: prints one instance's record (251.868186ms)
|
||
✔ resolve: refusals (370.674644ms)
|
||
✔ parse: exactly one of file or env, plus the service's date (3.167577ms)
|
||
✔ check: a good file has no problems (0.989851ms)
|
||
✔ check never opens the file: a write-only token passes (0.435111ms)
|
||
✔ check: file problems (1.232498ms)
|
||
✔ check: token files can't live in the repository or dataRoot, even through a linked directory (1.144794ms)
|
||
✔ check: dates and environment references (0.51359ms)
|
||
✔ REQ-LIMIT-1 schema: every scope unset or zero, adjustable above four, bad values and unknown models refuse (12.451233ms)
|
||
✔ REQ-LIMIT-1 counts each exact scope at/over limit, unlimited and old tuple after model reassignment (0.959915ms)
|
||
✔ REQ-ROLE-3 writer: atomic validated revision, immutable previous bytes and authenticated actor/old/new receipt (186.963513ms)
|
||
✔ REQ-ROLE-3 writer: pre-rename fault leaves old file, post-rename recovery records commit, conflicting recovery refuses (160.38777ms)
|
||
✔ REQ-LIMIT-1 / decision145 migration prints only, preserves values, rejects ambiguity, and is idempotent (2.90625ms)
|
||
✔ REQ-LIMIT-1 shared settings validates the complete proposed selection and logs exact actor (97.624346ms)
|
||
✔ REQ-LIMIT-1 provider is table data: another provider routes separately and aliases share exact counts (1.716956ms)
|
||
✔ REQ-ROLE-3 refuses live writer locks, symlink targets and uncertain recovery without changing bytes (61.993291ms)
|
||
✔ REQ-PLUG-1 schema: plugins is optional, names known kinds and checked module names (11.991817ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the setter writes plugins through the organization writer and logs old and new names (239.384302ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the writer checks the bytes it writes: a Date in plugins is refused there too (38.730269ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 a refused setter write throws a code, changes nothing and logs nothing (1.259554ms)
|
||
✔ path and load (2.718913ms)
|
||
✔ refusals (1.4032ms)
|
||
✔ systemVars flattens the validated config (2.613091ms)
|
||
✔ precedence: system, business, project, project role, agent (6.636188ms)
|
||
✔ limits narrow the definition and never widen it (2.205217ms)
|
||
✔ role.launch stays within-role only for the instance the launch block names (5.129856ms)
|
||
✔ limits.authority without role.launch leaves the launcher with no launch block (1.789277ms)
|
||
✔ limits.authority narrows cross-role actions too (1.002774ms)
|
||
✔ classify (1.033514ms)
|
||
✔ the record carries what the broker and launcher need (0.990748ms)
|
||
✔ digest: key order doesn't matter, any value change does (5.382373ms)
|
||
✔ refusals (1.768506ms)
|
||
✔ the four shipped version 2 roles load (3.343741ms)
|
||
✔ shipped role scopes match addendum B section 2 and the SR runbook (1.070552ms)
|
||
✔ shipped authority follows the note's table (0.895586ms)
|
||
✔ every role file in roles/ loads through the validator, and a v2 contract exists (0.713023ms)
|
||
✔ version 1 files keep loading with no authority (1.004413ms)
|
||
✔ the conductor policy isn't a role (0.245265ms)
|
||
✔ a missing role file is exit 4, a symbolic link too (0.438429ms)
|
||
✔ version 2 refusals (1.772883ms)
|
||
✔ authority: closed vocabulary, no gated-only action, no overlap (2.286027ms)
|
||
✔ messaging: optional, role definitions and human, never the tester (1.636209ms)
|
||
✔ credentials: Gitea scopes (1.554171ms)
|
||
✔ credentials: Vikunja scopes are a group-to-verbs map from the grantable list (0.916954ms)
|
||
✔ credentials: services (0.477401ms)
|
||
✔ contract: a non-empty regular Markdown file beside the role file (0.618837ms)
|
||
✔ every key names known layers and a merge rule (1.083951ms)
|
||
✔ unknown keys and wrong layers refuse (0.953603ms)
|
||
✔ types (2.490186ms)
|
||
✔ merge: defaults, then the most specific layer wins (0.377813ms)
|
||
✔ merge: limits only narrow, and provenance lists each source (0.455691ms)
|
||
✔ merge doesn't change its inputs (0.195409ms)
|
||
ℹ tests 93
|
||
ℹ suites 0
|
||
ℹ pass 93
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1881.461029
|