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]>
29 lines
2.1 KiB
Plaintext
29 lines
2.1 KiB
Plaintext
✔ REQ-PLUG-1 schema: plugins is optional, names known kinds and checked module names (7.357566ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the setter writes plugins through the organization writer and logs old and new names (146.435083ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 the writer checks the bytes it writes: a Date in plugins is refused there too (21.421444ms)
|
||
✔ REQ-PLUG-1 REQ-ROLE-3 a refused setter write throws a code, changes nothing and logs nothing (1.485988ms)
|
||
✔ REQ-PLUG-1 fixture modules of each kind switch on from a test organization file, no core file changed (7.287625ms)
|
||
✔ REQ-PLUG-1 a name not matching ^[a-z][a-z0-9-]*$ refuses and keeps the old setting (3.431513ms)
|
||
✔ REQ-PLUG-1 a missing module directory or index.mjs refuses and keeps the old setting (3.344207ms)
|
||
✔ REQ-PLUG-1 a symlinked module directory or index.mjs refuses and keeps the old setting (2.435744ms)
|
||
✔ REQ-PLUG-1 a symlinked kind directory refuses and keeps the old setting (2.067032ms)
|
||
✔ REQ-PLUG-1 a symlinked packages/plugins refuses (run with --preserve-symlinks so the path keeps it) (28.055842ms)
|
||
✔ REQ-PLUG-1 index.mjs swapped for a symlink after the lstat checks refuses at the realpath check (2.82659ms)
|
||
✔ REQ-PLUG-1 a path that can't be read refuses as unreadable, is logged and keeps the old setting (2.222447ms)
|
||
✔ REQ-PLUG-1 a path that becomes unreadable after the lstat checks refuses at either realpath (2.498076ms)
|
||
✔ REQ-PLUG-1 a module that fails to load refuses and keeps the old setting (6.073698ms)
|
||
✔ REQ-PLUG-1 a missing export refuses and keeps the old setting (3.30088ms)
|
||
✔ REQ-PLUG-1 a different interface version refuses and keeps the old setting (2.529776ms)
|
||
✔ REQ-PLUG-1 a kind refused on its first load has nothing switched on, and the log names kind and name (1.758871ms)
|
||
✔ REQ-PLUG-1 the setting's shape: unknown kinds refuse alone, a bad whole setting keeps everything (3.184964ms)
|
||
✔ REQ-PLUG-1 loads run one at a time, so the last requested setting wins (102.858976ms)
|
||
✔ REQ-PLUG-1 the loader needs a log callback (1.075237ms)
|
||
ℹ tests 20
|
||
ℹ suites 0
|
||
ℹ pass 20
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 228.619663
|