Build packet for row 153, project init cleanup and the nested records repo refusal. Filbert approved round 1 (comment 28727). Committed by Sage for Rocko, who has no git authority; secrets scan clean, no binaries. Co-Authored-By: Claude Opus 5.5 <[email protected]>
33 lines
2.3 KiB
Plaintext
33 lines
2.3 KiB
Plaintext
npm notice run @mosaic/[email protected] test
|
||
npm notice run node --test tests/*.test.mjs
|
||
✔ failed init cleans its layout and permits retry (pre-existing=false) (31.763468ms)
|
||
✔ failed init cleans its layout and permits retry (pre-existing=true) (27.580722ms)
|
||
✔ project check distinguishes a complete but uncommitted layout (14.833769ms)
|
||
✔ record repo refuses every declared code root including a sibling project (0.635302ms)
|
||
✔ agent record writer refuses a human definition without changing history or files (13.418759ms)
|
||
✔ failed init preserves an unrelated file created while its commit runs (11.294713ms)
|
||
✔ failed init preserves an unrelated file inside a newly created layout directory (10.704085ms)
|
||
✔ failed init refuses to delete a replacement of its owned metadata file (11.3527ms)
|
||
✔ init creates a checked versioned layout, valid templates and human-authored local history (27.499766ms)
|
||
✔ init honors repo, refuses a non-empty directory and an undeclared project without touching files (15.106625ms)
|
||
✔ check reports every bad record, filename mismatch and unknown top-level path (13.973204ms)
|
||
✔ one writer commits validated docs, requirements and decisions with the bound agent author (69.407469ms)
|
||
✔ writer refuses spec paths, bad schemas, mismatched IDs and invalid actor metadata before changing history (15.613604ms)
|
||
✔ writer refuses human pending edits and remotes instead of absorbing or contacting them (18.796797ms)
|
||
✔ links, repo/code overlap, identity mismatch and a busy writer refuse safely (18.088174ms)
|
||
✔ schemas remain package-owned and reject invalid nested data and dates (0.26306ms)
|
||
✔ git commit failure restores only the attempted record and leaves human history unchanged (36.457613ms)
|
||
✔ git hooks and ambient git identity cannot alter the record writer or execute outside actions (25.538865ms)
|
||
✔ project-local schemas cannot weaken checks; invalid UTF-8 and linked git directories refuse (13.327761ms)
|
||
✔ schema constraints and layout omissions are reported independently (12.708628ms)
|
||
✔ unsupported schema keywords, malformed contexts, ignored local config and nonempty markers refuse (17.996572ms)
|
||
✔ a linked git directory is refused before a writer lock can touch its target (30.423739ms)
|
||
ℹ tests 22
|
||
ℹ suites 0
|
||
ℹ pass 22
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 368.607516
|