vigiles API reference
    Preparing search index...

    Interface SkillContract

    interface SkillContract {
        activation: Check<Trace>;
        declared: readonly string[];
        id: string;
        malformed: boolean;
        name: string;
        surface: readonly Check<Trace>[];
        undeclared: boolean;
    }
    Index

    Properties

    activation: Check<Trace>

    The skill activated at all.

    declared: readonly string[]

    allowed-tools: exactly as declared. Empty when undeclared or malformed.

    id: string

    What skill() matches — <plugin>:<name>, or bare name if unresolvable.

    malformed: boolean

    A frontmatter block exists but is not valid YAML, so nothing parsed.

    name: string

    The skill's name: (falls back to its directory name).

    surface: readonly Check<Trace>[]

    The run stayed inside the declared surface.

    undeclared: boolean

    No allowed-tools: line — nothing was claimed, so there is no declared surface a run can be held to. (Every skill inherits every tool the session grants either way; allowed-tools: pre-approves, it does not fence.)