✔ the file list names the spec and Markdown directly under docs, as committed at HEAD (51.582938ms)
✔ a save writes the typed text as one commit by the business human and touches nothing else (115.5796ms)
✔ a stale base refuses and writes nothing, whoever made the newer commit (121.095974ms)
✔ only the spec and existing docs files are writable (43.744603ms)
✔ content and base are checked before anything is written (61.150628ms)
✔ an unchanged save, a dirty tree and a busy writer refuse without a commit (44.182861ms)
✔ a failed commit restores the exact prior bytes, including a byte-order mark, and leaves history alone (60.58784ms)
✔ failed init cleans its layout and permits retry (pre-existing=false) (33.203561ms)
✔ failed init cleans its layout and permits retry (pre-existing=true) (26.376688ms)
✔ project check distinguishes a complete but uncommitted layout (16.166622ms)
✔ record repo refuses every declared code root including a sibling project (0.679734ms)
✔ agent record writer refuses a human definition without changing history or files (13.796992ms)
✔ failed init preserves an unrelated file created while its commit runs (11.851177ms)
✔ failed init preserves an unrelated file inside a newly created layout directory (11.146045ms)
✔ failed init refuses to delete a replacement of its owned metadata file (11.754196ms)
✔ init creates a checked versioned layout, valid templates and human-authored local history (28.499332ms)
✔ init honors repo, refuses a non-empty directory and an undeclared project without touching files (14.11561ms)
✔ check reports every bad record, filename mismatch and unknown top-level path (13.203945ms)
✔ one writer commits validated docs, requirements and decisions with the bound agent author (72.469054ms)
✔ writer refuses spec paths, bad schemas, mismatched IDs and invalid actor metadata before changing history (14.858205ms)
✔ writer refuses human pending edits and remotes instead of absorbing or contacting them (18.469291ms)
✔ links, repo/code overlap, identity mismatch and a busy writer refuse safely (17.704987ms)
✔ schemas remain package-owned and reject invalid nested data and dates (0.280978ms)
✔ git commit failure restores only the attempted record and leaves human history unchanged (35.888437ms)
✔ git hooks and ambient git identity cannot alter the record writer or execute outside actions (25.870406ms)
✔ project-local schemas cannot weaken checks; invalid UTF-8 and linked git directories refuse (15.35222ms)
✔ schema constraints and layout omissions are reported independently (13.353781ms)
✔ unsupported schema keywords, malformed contexts, ignored local config and nonempty markers refuse (18.418542ms)
✔ a linked git directory is refused before a writer lock can touch its target (29.509173ms)
✔ spec reads exact committed content and its path commit/log, not dirty bytes or a later docs commit (63.908721ms)
✔ latest agent spec edit is visible but never confirmed or replaced by an earlier human version (32.552774ms)
✔ shared file reader exposes committed docs and refuses path/revision injection or another history (55.37195ms)
✔ reader rejects missing paths, links, invalid UTF-8, NUL and oversized committed blobs (98.580086ms)
✔ reader refuses mismatched committed project identity, unsafe config and unknown argument keys (29.729386ms)
✔ path history is bounded at 100 and explicitly marks truncation (639.907004ms)
✔ committed UTF-8 BOM, Unicode and trailing newlines are returned without normalization (30.118731ms)
✔ D4: spec log refuses a commit subject larger than its 256 KiB read bound (33.446279ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1041.854853
