CoAgent8
    Preparing search index...

    Function createRetryIdMapper

    • Creates a deterministic per-retry event identifier mapper that stays within the 256 UTF-8 byte contract and never collapses distinct long or multibyte identifiers (#20).

      Parameters

      • OptionalinitialIds: Iterable<string, any, any>

      Returns (id: string) => string

      The mapper renames every identifier it receives. The denial-recovery caller in execute passes it step message and tool identifiers only and keeps final unmapped on purpose (FEEDBACK-061i): the first turn ended without an answer, so the recovery turn's terminal answer takes the canonical final message instead of a separate retry-final.