vigiles API reference
    Preparing search index...

    Type Alias StubOutcome

    StubOutcome:
        | { answer: number; kind: "answered"; rule: number }
        | { kind: "no-rule" }
        | { kind: "exhausted"; rule: number }
        | { kind: "unlogged" }

    What happened to one invocation. Three cases, because the two ways a call goes unanswered need different fixes: no rule matched (add a rule), or a rule matched but its inOrder answers ran out (add an answer).

    Type Declaration

    • { answer: number; kind: "answered"; rule: number }
      • Readonlyanswer: number

        0-based answer index (always 0 for an always reply).

      • Readonlykind: "answered"
      • Readonlyrule: number

        0-based rule index.

    • { kind: "no-rule" }
    • { kind: "exhausted"; rule: number }
    • { kind: "unlogged" }

      The stub printed its neutral miss line but left no log line (its directory was not writable from the agent's shell). Never read from a log: the eval derives it from the agent's tool results.