diff --git a/test/ship-driver.test.ts b/test/ship-driver.test.ts index 7732aec8f..9e0bc452c 100644 --- a/test/ship-driver.test.ts +++ b/test/ship-driver.test.ts @@ -158,6 +158,12 @@ describe('shape', () => { }); describe('generator inventory', () => { + test('the committed render names ship/DRIVER.md.tmpl as its source, and that template exists', () => { + const template = 'ship/DRIVER.md.tmpl'; + expect(fs.existsSync(path.join(ROOT, template))).toBe(true); + expect(doc.split('\n')[0]).toBe(``); + }); + test('a fresh render carries ship/DRIVER.md as a claude asset, byte-identical to the committed file', async () => { const written = await runGeneration({ host: 'claude', outputRoot: tmp, contentLinkRoot: null }); expect(written.artifacts).toContainEqual({ relativePath: SHIP_DRIVER_RELPATH, kind: 'asset', host: 'claude' });