Skip to content

Commit b439112

Browse files
committed
Merge branch 'docs/add-todo-simplify-bot-table'
Add todo for simplifying bot activity table in monthly reports
2 parents e86b946 + 652cfb4 commit b439112

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

.planning/STATE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ See: .planning/MILESTONES.md (v1.0 shipped, v1.1 shipped)
9494
- Use /gsd-new-milestone to start planning cycle
9595
- Consider: Analytics integration, contributor insights, report enhancements, or new features
9696

97+
### Pending Todos
98+
99+
**Count:** 1 todo in `.planning/todos/pending/`
100+
101+
| Todo | Area | Created |
102+
| ----------------------------------------------------------------------------------------------------------------------------- | ------- | ---------- |
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 |
104+
97105
### Known Blockers
98106

99107
None currently. v1.1 operational and stable.
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)