vigiles API reference
    Preparing search index...

    Function compileAgent

    • Compile an AgentSpec into a subagent markdown file with YAML frontmatter. Verifies the tool contract and the body's references; the marks the body carries (vigiles:symbol, file/cmd refs) are the same ones lint re-checks.

      Parameters

      • spec: AgentSpec
      • options: { basePath?: string; dialect: HarnessDialect; specFile?: string }
        • OptionalbasePath?: string
        • dialect: HarnessDialect

          The harness dialect to verify the tool contract against (required — the core defines no default dialect; the adapter/composition root injects it).

        • OptionalspecFile?: string

      Returns CompileAgentResult