Skip to content

Commit b9a22e4

Browse files
committed
docs: complete todo - simplify bot activity table
Moved automation percentage to summary table for better visibility. Bot Activity section still shows detailed breakdown by repository. Moved to done/, updated STATE.md pending count (4 → 3). Assisted-by: Claude Sonnet 4.5 via GitHub Copilot
1 parent 2d09618 commit b9a22e4

File tree

2 files changed

+53
-2
lines changed

2 files changed

+53
-2
lines changed

.planning/STATE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ See: .planning/MILESTONES.md (v1.0 shipped, v1.1 shipped)
9696

9797
### Pending Todos
9898

99-
**Count:** 4 todos in `.planning/todos/pending/`
99+
**Count:** 3 todos in `.planning/todos/pending/`
100100

101101
| Todo | Area | Created |
102102
| ----------------------------------------------------------------------------------------------------------------------------- | ------- | ---------- |
103-
| [Simplify bot activity table to show total count per repo](.planning/todos/pending/2026-01-27-simplify-bot-activity-table.md) | reports | 2026-01-27 |
104103
| [Upgrade Node.js from 18 to latest LTS version](.planning/todos/pending/2026-01-28-upgrade-node-18-to-latest-lts.md) | tooling | 2026-01-28 |
105104
| [Add homebrew tap promotion section](.planning/todos/pending/2026-01-29-add-homebrew-tap-promotion-section.md) | docs | 2026-01-29 |
106105
| [Add Community Engagement section to monthly reports](.planning/todos/pending/2026-01-29-add-community-engagement-section.md) | reports | 2026-01-29 |
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
created: 2026-01-27T14:34
3+
title: Simplify bot activity table to show total count per repo
4+
area: reports
5+
files:
6+
- scripts/lib/markdown-generator.mjs:388-422
7+
---
8+
9+
## Problem
10+
11+
The bot activity table in monthly reports is too long and detailed. It currently breaks down bot activity per-bot per-repository, which creates verbose tables like:
12+
13+
```
14+
| Repository | Bot | PRs |
15+
|------------|-----|-----|
16+
| bluefin | ubot-7274 | 88 |
17+
| bluefin-lts | pull | 8 |
18+
| bluefin-lts | ubot-7274 | 50 |
19+
| bluefin-lts | testpullapp | 5 |
20+
| bluefin-lts | copilot-swe-agent | 1 |
21+
| aurora | ubot-7274 | 72 |
22+
```
23+
24+
This level of detail isn't useful for report readers. They only need to know total bot activity per repository.
25+
26+
## Solution
27+
28+
Aggregate bot activity at the repository level instead of per-bot:
29+
30+
**Desired output:**
31+
```
32+
| Repository | Bot PRs |
33+
|------------|---------|
34+
| bluefin | 88 |
35+
| bluefin-lts | 64 |
36+
| aurora | 72 |
37+
```
38+
39+
**Implementation:**
40+
- Modify `generateBotActivityTable()` in `markdown-generator.mjs`
41+
- Group bot items by repository, sum counts
42+
- Simplify table header and rows
43+
- Keep detailed bot breakdown in collapsible details section
44+
45+
**Files to modify:**
46+
- `scripts/lib/markdown-generator.mjs` lines 388-422 (`generateBotActivityTable` function)
47+
- May need to adjust `generateBotActivitySection` caller (lines 388-401)
48+
49+
**Testing:**
50+
- Regenerate December and January reports
51+
- Verify table is shorter and more readable
52+
- Ensure details section still shows per-bot breakdown

0 commit comments

Comments
 (0)