Round 2 candidate 7a585aa9606863a0d44a26094b585160914e3d8fd5f13436b56470cd69e6d867,
packet manifest 4292da90162c801a9c56716a0539f8fa072e67e93e4f4d9a0f1e107b84b652ea,
base 02ee7f640. Filbert approved round 2 in comment 28707. Committed by Sage
for Rocko, who has no git access; secrets grep clean, no binaries (one empty file).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
63 lines
3.5 KiB
Plaintext
63 lines
3.5 KiB
Plaintext
✔ init creates a checked versioned layout, valid templates and human-authored local history (25.114885ms)
|
||
✔ init honors repo, refuses a non-empty directory and an undeclared project without touching files (14.00603ms)
|
||
✖ check reports every bad record, filename mismatch and unknown top-level path (12.880448ms)
|
||
✔ one writer commits validated docs, requirements and decisions with the bound agent author (64.086671ms)
|
||
✔ writer refuses spec paths, bad schemas, mismatched IDs and invalid actor metadata before changing history (14.562671ms)
|
||
✔ writer refuses human pending edits and remotes instead of absorbing or contacting them (18.173288ms)
|
||
✔ links, repo/code overlap, identity mismatch and a busy writer refuse safely (17.914224ms)
|
||
✔ schemas remain package-owned and reject invalid nested data and dates (0.253397ms)
|
||
✔ git commit failure restores only the attempted record and leaves human history unchanged (33.562467ms)
|
||
✔ git hooks and ambient git identity cannot alter the record writer or execute outside actions (24.0347ms)
|
||
✔ project-local schemas cannot weaken checks; invalid UTF-8 and linked git directories refuse (13.258293ms)
|
||
✖ schema constraints and layout omissions are reported independently (12.31985ms)
|
||
✔ unsupported schema keywords, malformed contexts, ignored local config and nonempty markers refuse (17.590875ms)
|
||
✔ a linked git directory is refused before a writer lock can touch its target (30.335823ms)
|
||
ℹ tests 14
|
||
ℹ suites 0
|
||
ℹ pass 12
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 345.53806
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/project/tests/project.test.mjs:55:1
|
||
✖ check reports every bad record, filename mismatch and unknown top-level path (12.880448ms)
|
||
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /requirements\/bad.json.*status/. Input:
|
||
|
||
'unexpected.txt: unknown top-level path\n' +
|
||
'requirements/bad.json: file name must match record id\n' +
|
||
'decisions/wrong.json: file name must match record id'
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-147-r1/packages/project/tests/project.test.mjs:62:10)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 'unexpected.txt: unknown top-level path\nrequirements/bad.json: file name must match record id\ndecisions/wrong.json: file name must match record id',
|
||
expected: /requirements\/bad.json.*status/,
|
||
operator: 'match',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/project/tests/project.test.mjs:177:1
|
||
✖ schema constraints and layout omissions are reported independently (12.31985ms)
|
||
AssertionError [ERR_ASSERTION]: The input did not match the regular expression /templates\/requirement.json.*status/. Input:
|
||
|
||
'docs/large.md: expected bounded regular file, not a link\n' +
|
||
'docs/nul.md: NUL is forbidden\n' +
|
||
'templates/document.md: missing'
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-147-r1/packages/project/tests/project.test.mjs:191:10)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 'docs/large.md: expected bounded regular file, not a link\ndocs/nul.md: NUL is forbidden\ntemplates/document.md: missing',
|
||
expected: /templates\/requirement.json.*status/,
|
||
operator: 'match',
|
||
diff: 'simple'
|
||
}
|