vigiles API reference
    Preparing search index...

    Type Alias InstructionRole

    InstructionRole: "root" | "root-local" | "rule" | "fallback" | "import"

    What a file IS to the harness that loads it.

    Type Declaration

    • "root"

      The committed team file at a directory's root (CLAUDE.md, AGENTS.md).

    • "root-local"

      One machine's file beside it (CLAUDE.local.md). NOT Codex's AGENTS.override.md: the vendor documents that as the directory's first-priority instruction file, and only its global copy as temporary.

    • "rule"

      A file under PluginLayout.rulesDir.

    • "fallback"

      A repo-configured alternate name (Codex project_doc_fallback_filenames).

    • "import"

      Reached through an @path token in a loaded file, not by location.