Gaunt Sloth Assistant - v1.5.6
    Preparing search index...
    interface PrDiscoveryConfig {
        allowedTools?: string[];
        builtInTools?: string[];
        customTools?: false | CustomToolsConfig;
        deterministicDiff?: boolean;
        enabled?: boolean;
        filesystem?: string[] | "all" | "read" | "none";
        tools?:
            | StructuredToolInterface<ToolInputSchemaBase, any, any>[]
            | BaseToolkit[]
            | ServerTool[];
    }
    Index

    Properties

    allowedTools?: string[]

    Restrict the discovery agent to this allow-list of tool names, applied after every tool source (filesystem, built-in, custom, MCP, A2A, and tools) is resolved. Unlike builtInTools/customTools/filesystem (which gate whole tool groups), this trims the final tool set by exact name, so it can pare down MCP server tools (e.g. "mcp__jira__getJiraIssue") and the discovery helper tools ("gh_pr"/"gh_diff"/"gh_issue"/"set_diff") to the minimum needed.

    set_requirements is always retained regardless, since it is how the discovery agent records the requirements it found. When omitted, all resolved tools remain available; an empty array keeps only set_requirements. The discovery agent never inherits the top-level GthConfig.allowedTools; this property is its only allow-list.

    builtInTools?: string[]
    customTools?: false | CustomToolsConfig
    deterministicDiff?: boolean

    Fetch the current-branch PR diff with gh pr diff before invoking the discovery agent. The discovery agent can still replace it with the set_diff tool if needed.

    true
    
    enabled?: boolean

    Enable change requirements discovery when neither PR id nor requirements id is provided.

    true
    
    filesystem?: string[] | "all" | "read" | "none"

    Optional tool overrides used only while the discovery agent runs. When omitted, the normal configured tools remain available.

    tools?:
        | StructuredToolInterface<ToolInputSchemaBase, any, any>[]
        | BaseToolkit[]
        | ServerTool[]