flow-muse-commit-pilot-e2e.test.mjs
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf
mirror: GitHub Phase A durable MCP OAuth (#270)
Human
minor
⚠ breaking
10 days 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
2 commits
sha256:b5f647cb9c409f563d4671fe3fc05ddea01fabfed9b41fc11cb923588e1c1baf
mirror: GitHub Phase A durable MCP OAuth (#270)
Human
minor
⚠
10 days ago
sha256:d8c648b20a4d53b2673c5c082ee7edfa7b2fc9b11080832da1f38807b6bf940b
fix(7C-L1b): route hosted delegation proposals through cani…
Human
minor
⚠
30 days ago