mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 19:23:24 +00:00
* docs: refuse literal tool counts in living prose docs:check now refuses a count of ten or more tools in README, AGENTS, CONTRIBUTING, docs/ (except dated releases, specs, verification and ADR records), the authored skill and the public website. The catalog owns that number and every hand-written copy goes stale when a tool is added. The three current statements (240, 172 and 254 tools, all measured on earlier builds) now refer to the catalog of the measured build instead. * fix(docs): exclude generated pages from prose checks * fix(docs): rerun the tool-count check when any scanned prose changes The docs:check:built cache inputs and the CI docs lane did not cover AGENTS.md, CONTRIBUTING.md, every .agents/skills tree or website/public, so an edit there could reuse a cached pass or skip the docs job. The scanner now owns one isLivingProsePath predicate; the CI plan selects the docs lane with it, and a test binds the turbo inputs to the scanned roots.
26 lines
794 B
TypeScript
26 lines
794 B
TypeScript
import type { ProductCatalog } from "./product-catalog.mjs";
|
|
|
|
export function skillReferenceIssues(
|
|
skillRoot: string,
|
|
): Promise<readonly string[]>;
|
|
|
|
/** Repository-relative roots that the literal tool count check scans. */
|
|
export const LIVING_PROSE_ROOTS: readonly string[];
|
|
|
|
/** Whether the literal tool count check scans this repository-relative path. */
|
|
export function isLivingProsePath(path: string): boolean;
|
|
|
|
/** Literal tool counts in living prose, which the catalog owns. */
|
|
export function literalToolCountIssues(
|
|
root: string,
|
|
): Promise<readonly string[]>;
|
|
|
|
export function documentationFactIssues(
|
|
root: string,
|
|
catalog: ProductCatalog,
|
|
): Promise<readonly string[]>;
|
|
export function assertDocumentationFacts(
|
|
root: string,
|
|
catalog: ProductCatalog,
|
|
): Promise<void>;
|