✔ the file list names the spec and Markdown directly under docs, as committed at HEAD (89.169538ms)
✔ a save writes the typed text as one commit by the business human and touches nothing else (120.735498ms)
✔ a stale base refuses and writes nothing, whoever made the newer commit (122.728483ms)
✔ only the spec and existing docs files are writable (43.519941ms)
✔ content and base are checked before anything is written (60.183187ms)
✔ an unchanged save, a dirty tree and a busy writer refuse without a commit (43.625848ms)
✔ a failed commit restores the exact prior bytes, including a byte-order mark, and leaves history alone (61.682256ms)
✔ failed init cleans its layout and permits retry (pre-existing=false) (55.294094ms)
✔ failed init cleans its layout and permits retry (pre-existing=true) (33.101816ms)
✔ project check distinguishes a complete but uncommitted layout (17.351275ms)
✔ record repo refuses every declared code root including a sibling project (0.691227ms)
✔ agent record writer refuses a human definition without changing history or files (15.126856ms)
✔ failed init preserves an unrelated file created while its commit runs (12.379841ms)
✔ failed init preserves an unrelated file inside a newly created layout directory (12.22901ms)
✔ failed init refuses to delete a replacement of its owned metadata file (12.286501ms)
✔ init creates a checked versioned layout, valid templates and human-authored local history (46.414641ms)
✔ init honors repo, refuses a non-empty directory and an undeclared project without touching files (18.103223ms)
✔ check reports every bad record, filename mismatch and unknown top-level path (20.303682ms)
✔ one writer commits validated docs, requirements and decisions with the bound agent author (76.166631ms)
✔ writer refuses spec paths, bad schemas, mismatched IDs and invalid actor metadata before changing history (15.592214ms)
✔ writer refuses human pending edits and remotes instead of absorbing or contacting them (19.135477ms)
✔ links, repo/code overlap, identity mismatch and a busy writer refuse safely (18.010465ms)
✔ schemas remain package-owned and reject invalid nested data and dates (0.354408ms)
✔ git commit failure restores only the attempted record and leaves human history unchanged (37.532144ms)
✔ git hooks and ambient git identity cannot alter the record writer or execute outside actions (26.742319ms)
✔ project-local schemas cannot weaken checks; invalid UTF-8 and linked git directories refuse (13.611674ms)
✔ schema constraints and layout omissions are reported independently (12.616931ms)
✔ unsupported schema keywords, malformed contexts, ignored local config and nonempty markers refuse (18.832991ms)
✔ a linked git directory is refused before a writer lock can touch its target (30.620016ms)
✔ spec reads exact committed content and its path commit/log, not dirty bytes or a later docs commit (93.559458ms)
✔ latest agent spec edit is visible but never confirmed or replaced by an earlier human version (34.323357ms)
✔ shared file reader exposes committed docs and refuses path/revision injection or another history (58.121682ms)
✔ reader rejects missing paths, links, invalid UTF-8, NUL and oversized committed blobs (100.624954ms)
✔ reader refuses mismatched committed project identity, unsafe config and unknown argument keys (27.671866ms)
✔ path history is bounded at 100 and explicitly marks truncation (638.156936ms)
✔ committed UTF-8 BOM, Unicode and trailing newlines are returned without normalization (29.500506ms)
✔ D4: spec log refuses a commit subject larger than its 256 KiB read bound (33.607528ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1095.982582
