flow-muse-commit-pilot-e2e.test.mjs
sha256:8915fe406161f95c1681f9469375e7bae5b28c884f00bedbdef65e4b0cd0738d
docs(flow): commit FLOW-V0-SPEC.md hygiene for 7A-INT merge
Human
11 hours ago
| 1 | /** |
| 2 | * E2E — Muse commit pilot transcript proves full loop (7A-14). |
| 3 | */ |
| 4 | |
| 5 | import { describe, it } from 'node:test'; |
| 6 | import assert from 'node:assert/strict'; |
| 7 | import { readFileSync } from 'node:fs'; |
| 8 | import { join } from 'node:path'; |
| 9 | import { fileURLToPath } from 'node:url'; |
| 10 | |
| 11 | const REPO_ROOT = join(fileURLToPath(new URL('.', import.meta.url)), '..'); |
| 12 | const TRANSCRIPT = join(REPO_ROOT, 'docs/evidence/7A-14/artifacts/transcript.txt'); |
| 13 | |
| 14 | describe('flow-muse-commit-pilot (e2e, 7A-14)', () => { |
| 15 | it('transcript documents generate → muse commit → regenerate → muse commit loop', () => { |
| 16 | const text = readFileSync(TRANSCRIPT, 'utf8'); |
| 17 | assert.ok(text.includes('Muse commit pilot (7A-14)')); |
| 18 | assert.ok(text.includes('muse commit v0.1.0 pilot baseline')); |
| 19 | assert.ok(text.includes('muse commit v0.2.0 pilot update')); |
| 20 | assert.ok(text.includes('IDENTICAL: regenerated artifact')); |
| 21 | assert.ok(text.includes('drift: true')); |
| 22 | assert.ok(text.includes('stale: true')); |
| 23 | }); |
| 24 | |
| 25 | it('transcript records both harness generations into pilot-workspace', () => { |
| 26 | const text = readFileSync(TRANSCRIPT, 'utf8'); |
| 27 | assert.ok(text.includes('pilot-workspace/overseer.AGENTS.md')); |
| 28 | assert.ok(text.includes('pilot-workspace/overseer.cursor.mdc')); |
| 29 | }); |
| 30 | }); |
File History
1 commit
sha256:8915fe406161f95c1681f9469375e7bae5b28c884f00bedbdef65e4b0cd0738d
docs(flow): commit FLOW-V0-SPEC.md hygiene for 7A-INT merge
Human
11 hours ago