Skip to content

Capacity: sky replay's start reads all retained history #598

Done

Description

@lydakis

From section 6 of the second external performance review (11-01), which kept four items in the capacity backlog. Narrowed 11-20 against main e08a1cb; three of the four are settled:

What is left

4. Sky replay's start reads all history. To draw who had already told whom, the replay's prior state reads retained accepted/steered history before the requested window starts (Prior in sonny/src/sky.rs). The retained state is bounded, but the work to build it grows with history: at 1,010 agents and 80k turns it took 0.99 s on 11-08, linear in history.

Direction: keep pair state at checkpoints, or read it from an indexed summary, so a replay starts from the newest checkpoint before its window. Any memory comparison should replay a fixed persisted event trace, as the review noted.

Activity

  1. lydakis commented on Nov 2, 2026

    @lydakis
    OwnerAuthor

    Item 3 is measured in #658. A warm /status refresh takes 0.65 s per 1,000 agents in one project, and the first, cold one takes 3.2 s. The pane refreshes every 2 s inside Sonny's loop. That issue lists a client-only option alongside the daemon projection.


    Generated by Claude Code

  2. lydakis commented on Nov 14, 2026

    @lydakis
    OwnerAuthor

    11-14 reconciliation against main 9556455:


    Generated by Claude Code

  3. changed the title [-]Capacity backlog: what is left after the fleet perf review (sky feed, status reads, tool host bounds, sky replay start)[/-] [+]Capacity: sky replay's start reads all retained history[/+] on Nov 20, 2026
  4. lydakis commented on Nov 20, 2026

    @lydakis
    OwnerAuthor

    Narrowed against main e08a1cb. Item 1 is done: every served call now takes a place in the process budget, and #1036 removed the trusted-copy scan. Item 2 was left alone on purpose after the 11-08 measurement. Item 3 was done by #831 and the later window work (#1180, #1195, #1206, #1225). Only item 4, the sky replay's start, is left, so the title and body now cover just that.


    Generated by Claude Code

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