From fc3e2b1847e8a6823b1cca4f788807b5af694009 Mon Sep 17 00:00:00 2001 From: garrytan Date: Fri, 30 Oct 2026 14:34:03 +0000 Subject: [PATCH] test(ship-driver): name ship/DRIVER.md.tmpl so the pregate maps the template to its test lane (GSTA-167) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/ship-driver.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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' });