enquire-mcp API reference - v4.0.0-rc.7
    Preparing search index...

    Interface OpenQuestionAdmissionLimits

    Closed resource envelope for one getOpenQuestions execution.

    Every limit is charged before the corresponding source text, line, candidate, worker batch, or result is retained. The optional execution override accepted by getOpenQuestions may only NARROW these defaults, which gives tests a small causal seam without letting programmatic callers weaken production admission.

    interface OpenQuestionAdmissionLimits {
        maxCandidates: number;
        maxCandidateUtf8Bytes: number;
        maxLines: number;
        maxLineUtf8Bytes: number;
        maxNotes: number;
        maxNoteUtf8Bytes: number;
        maxResultUtf8Bytes: number;
        maxSingleLineUtf8Bytes: number;
        maxTextUtf8Bytes: number;
        maxVisitedEntries: number;
        maxWorkerBatchCandidates: number;
        maxWorkerBatchUtf8Bytes: number;
        maxWorkerOverheadMs: number;
    }
    Index
    maxCandidates: number

    Maximum number of non-fenced, non-heading candidate lines.

    maxCandidateUtf8Bytes: number

    Maximum aggregate UTF-8 bytes retained/processed as candidate metadata.

    maxLines: number

    Maximum number of body lines inspected.

    maxLineUtf8Bytes: number

    Maximum aggregate UTF-8 bytes across inspected body lines.

    maxNotes: number

    Maximum markdown notes admitted by the incremental vault walker.

    maxNoteUtf8Bytes: number

    Maximum UTF-8 bytes in one decoded note.

    maxResultUtf8Bytes: number

    Maximum serialized UTF-8 bytes retained in the exact top-K result heap.

    maxSingleLineUtf8Bytes: number

    Maximum UTF-8 bytes in one line sent to either matcher.

    maxTextUtf8Bytes: number

    Maximum aggregate UTF-8 bytes across decoded notes.

    maxVisitedEntries: number

    Maximum directory entries inspected by the incremental vault walker.

    maxWorkerBatchCandidates: number

    Maximum candidate lines cloned into one regex worker.

    maxWorkerBatchUtf8Bytes: number

    Maximum aggregate line bytes cloned into one regex worker.

    maxWorkerOverheadMs: number

    Maximum aggregate wall time, across the whole request, spent on regex-worker overhead — thread startup and teardown — as opposed to matching.

    v4 AUD-1. Charging that overhead to the ReDoS budget was wrong (it rejected legitimate patterns on large vaults for a reason that had nothing to do with the pattern), but simply not charging it left the request with NO aggregate ceiling at all: the per-worker startup bound is per worker, and a vault with many batches multiplies it. This is the aggregate the matching budget stopped being.