/** * Pure-fs shape record for an external skill source — the verdict engine's * structural input. Every field is derived by reading the tree; nothing here * spawns, writes, or contacts a remote system. */ export interface SkillShape { /** Logical skill names for every directory holding a SKILL.md. */ skillDirs: string[]; /** Install lifecycle hooks in package.json, or shell/install scripts at root or root/scripts. */ installScripts: boolean; /** Exact source-relative files that made installScripts applicable, when known. */ installScriptFiles?: string[]; /** An incoming MCP config file is present in the tree. */ mcpConfig: boolean; /** Exact source-relative incoming MCP config files, when known. */ mcpConfigFiles?: string[]; /** Package manifests found at the tree root or inside skill directories. */ packageManifests: string[]; /** Skill docs advertise scanning/analyzing the whole repository. */ fullCodebaseAnalysis: boolean; } /** Compute the pure-fs skill shape of a trust source tree (no spawns, no writes). */ export declare function skillShape(root: string): SkillShape;