From b5ad6d4c0cb4e6469b864057cd25e78e0a63f7c1 Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Sun, 5 Apr 2026 11:02:32 -0700 Subject: [PATCH] test: regression guards for ship specialist dispatch + dedup + idempotency Co-Authored-By: Claude Opus 4.6 (1M context) --- test/gen-skill-docs.test.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/gen-skill-docs.test.ts b/test/gen-skill-docs.test.ts index 93c2dfc9..3cf2d043 100644 --- a/test/gen-skill-docs.test.ts +++ b/test/gen-skill-docs.test.ts @@ -749,6 +749,22 @@ describe('TEST_COVERAGE_AUDIT placeholders', () => { expect(shipSkill).toContain(phrase); } }); + + test('ship SKILL.md contains review army specialist dispatch', () => { + expect(shipSkill).toContain('Specialist Dispatch'); + expect(shipSkill).toContain('Step 3.55'); + expect(shipSkill).toContain('Step 3.56'); + }); + + test('ship SKILL.md contains cross-review finding dedup', () => { + expect(shipSkill).toContain('Cross-review finding dedup'); + expect(shipSkill).toContain('Step 3.57'); + }); + + test('ship SKILL.md contains re-run idempotency behavior', () => { + expect(shipSkill).toContain('Re-run behavior (idempotency)'); + expect(shipSkill).toContain('Never skip a verification step'); + }); }); // --- {{TEST_FAILURE_TRIAGE}} resolver tests ---