/** * Responsibilities Extraction * * Every project must have a human-authored `responsibilities.md` at its root * describing the FULL responsibilities of the module (what belongs in it and * what does not). The first paragraph of that file is embedded into * architecture/dependencies.json as the project's `shortDescription` so AI * gets a summary just by reading the graph file. */ /** * Maximum length of the shortDescription embedded in dependencies.json. * The summary must stay small — full detail belongs in responsibilities.md. */ export declare const MAX_SHORT_DESCRIPTION_LENGTH = 300; /** * Extract the shortDescription from responsibilities.md content: * the first non-empty paragraph after any leading markdown headings, * with newlines collapsed to single spaces. * * Returns '' when the file has no summary paragraph. */ export declare function extractShortDescription(markdown: string): string; /** * Validate an extracted shortDescription. Returns a problem description, * or null when the summary is valid. */ export declare function validateShortDescription(summary: string, sourceFile: string): string | null;