Skip to content

Sonny: an open helper of a closed task shows under the project's first lead #1209

Open

Description

@lydakis

From Codex's review of #1206.

#1206 leaves closed agents out of the window's project listing (bots with open: true). lineage() in sonny/src/main.rs gives an agent whose maker is not listed to the project's first lead (_ => break first). Until #1206 that only happened when the maker had been deleted.

Now it also happens when the maker is closed. In a project with more than one lead, take a second lead's task that started a helper. If the task is closed while the helper stays open, the helper shows in the first lead's /status, footer and margin instead of its own lead's. A project with one lead is unaffected, because the first lead is its lead.

Possible fix: read the rows of makers missing from the listing by name, closed or not, beside the count, and walk the line through them. This costs one read per missing maker, and only when a maker is missing.

Requested by George

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