# Summarise cloud folders on the server so their cards show maps, agents, and counts · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/c01b3cc3f1d97eb08d5682eb19d719e507d24c73)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: c01b3cc3f1d97eb08d5682eb19d719e507d24c73

Requested commit: c01b3cc3f1d97eb08d5682eb19d719e507d24c73

Commit: c01b3cc3f1d97eb08d5682eb19d719e507d24c73

Tree: d354a1a2582cc14ad4ad801a7812345650a0dc11

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Summarise cloud folders on the server so their cards show maps, agents, and counts

The client only streams the strategies of the folder it is looking at, so a
cloud folder card at the root had nothing to draw. The folder tree query now
returns, per folder and across its subtree, the strategy count, the two
most-used maps, and the agents in play. Counts and maps come from the
strategies table. Agents live inside elements, so ops.applyBatch keeps a
derived strategyAgentSummaries row current after any content op; the
strategy row itself stays untouched, as the record-scoped write contract
requires. A one-off internal backfill fills the summary for strategies
written before this landed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

```

## Parents

- [41440623eb5da48bfcb69a9894437122a1fda728](https://git.cafe/dara/icarus/commit/41440623eb5da48bfcb69a9894437122a1fda728?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/c01b3cc3f1d97eb08d5682eb19d719e507d24c73?format=markdown)
