qa: relax repo-contract artifact matcher

This commit is contained in:
pashpashpash
2026-04-12 22:26:22 -07:00
parent b13844732e
commit eede525970
2 changed files with 18 additions and 1 deletions

View File

@@ -149,6 +149,8 @@ describe("qa scenario catalog", () => {
workspaceFiles?: Record<string, string>;
prompt?: string;
expectedReplyAll?: string[];
expectedArtifactAll?: string[];
expectedArtifactAny?: string[];
}
| undefined;
@@ -159,6 +161,8 @@ describe("qa scenario catalog", () => {
);
expect(config?.prompt).toContain("Repo contract followthrough check.");
expect(config?.expectedReplyAll).toEqual(["read:", "wrote:", "status:"]);
expect(config?.expectedArtifactAll).toEqual(["repo contract"]);
expect(config?.expectedArtifactAny).toContain("evidence path");
expect(scenario.title).toBe("Instruction followthrough repo contract");
});