Skip to content

Dream passes count each other's output: ultimate.search has no time bound or exclude #487

Backlog

Description

@umar-ahmed1

What happens

A dream runs its six passes in parallel (extensions/dream/DREAM.md, step 1), and each pass counts failures with ultimate.search. Search covers every stored entry, including the other passes' tool calls and results, which quote the same error strings. So the counts grow while the dream runs, and every pass counts its siblings' output as evidence. The same happens to any agent that searches for a string it just printed: its own entries come back as hits.

Evidence

One dream: six passes started within one second (2026-12-01 17:58:35–36Z), and the dream took about 12 minutes (Ultimate 1f4a9c7a). For strings the passes counted:

Search string Hits before the dream Hits the passes added during it
timed out after 30s 4 (1 conversation) 8
unable to resolve revision 12 12
ENOTFOUND 14 7
not exposed by this gateway 15 18
No space left on device 24 21

One pass's interim result was timed out after 30s → {"3679":4,"<pass A>":2,"<pass B>":2}: half the hits came from two other passes. The dream's coordinator noticed and had to caveat every count in its report ("cross-pass quote-matching inflates any search-based count by ~10–25%"), and by the end of the dream the passes' own hits matched or exceeded the real ones.

Expected

Counts in a dream reflect the project's history, not the dream's own analysis.

Suggested fix

  1. Let ultimate.search take until (and since), as ultimate.trace already does, and an exclude list of conversation ids.
  2. In DREAM.md, have each pass brief carry the dream's start time and tell the passes to search with until: <dream start> (or exclude the dream branch and its passes).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions