Files
truthmark/tests/cli/program.test.ts
T
e9cd67f0b5 refactor: remove semantic repository index (#17)
* docs: replace legacy truth path references

* feat: fold contextpack into workflow status

* refactor: remove semantic repository index

* fix: remove vulnerable frontmatter dependency

* feat: broaden truth sync write authorization

* test: restore workflow state regression coverage

---------

Co-authored-by: MerlinH <merlinh221@gmail.com>
2026-06-16 11:03:04 +10:00

15 lines
509 B
TypeScript

import { describe, expect, it } from "vitest";
import { buildProgram } from "../../src/cli/program.js";
describe("CLI program", () => {
it("describes index as workflow routing metadata instead of semantic code indexing", () => {
const program = buildProgram();
const indexCommand = program.commands.find((command) => command.name() === "index");
expect(indexCommand?.description()).toBe(
"Inspect derived Truthmark workflow routing metadata for the current checkout.",
);
});
});