Files
truthmark/tests/product-boundary.test.ts
Merlin's CatGitHubCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>MerlinHCopilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
9fa9ac25a4 feat: add workflow eval framework (#32)
* feat: add workflow eval framework

Add workflow evaluation scenarios, rubrics, schemas, and runner scripts for installed Truthmark workflows.

Move research notes under docs/research and migrate tests from Vitest to node:test.

* Potential fix for pull request finding 'CodeQL / Replacement of a substring with itself'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: MerlinH <merlinh221@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-06-30 20:57:55 +10:00

23 lines
774 B
TypeScript

import { readFileSync } from "node:fs";
import { join } from "node:path";
import { describe, it } from "node:test";
import { expect } from "expect";
describe("Truthmark product boundary", () => {
it("keeps spec/proposal lifecycle and workflow-engine drift out of scope", () => {
const productBoundary = readFileSync(
join(process.cwd(), "docs/architecture/product-boundary.md"),
"utf8",
);
expect(productBoundary).toContain(
"a requirements-management, PRD, proposal, or spec lifecycle platform",
);
expect(productBoundary).toContain("an arbitrary workflow DAG engine");
expect(productBoundary).toContain(
"missing packages, CLIs, daemons, services, or plugins must not block normal workflow execution",
);
});
});