OCPEDGE-3276: edge-scrum weekly report readability, HTML report, no epic check for bugs, one not-started check-in reply #357
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #357"
general
weight: 0.35
Neilhamza
Why
Team feedback on the first weekly report and check-in from chai-bot (OCPEDGE-3276, "Follow-up PRs"):
query_jiracalls in parallel filed pages under the wrong requests: the script matched pages to requests by the order of their result_id numbers, which holds only when calls are made one at a time.What
bin/chai_report.py,weekly_post), as the team asked on 2026-12-02:- the top message, without names: status, biggest risk, "N people have items";
- one thread reply: a CC line mentioning everyone with items (split into more replies only if it would pass Slack's limit);
- the HTML report, attached after the CC line, carries each section's detail.
- The per-section Slack texts stay in
build_report(title, figures in a quote, team actions, the first 6 owners with their issues, every key a Jira link) and are bounded to Slack's 40,000-character message limit, but they are not posted.bin/weekly_report_html.py, new):- Built from the same data as the Slack report.
- Cards for the week's stage: sprint week 1, mid-sprint or final week; refinement or release in development; epic fields.
- The team actions.
- One table of every finding for everyone: person, linked issue, summary, type, section, problem, what to do.
- A person filter, a section filter and a search box; sortable columns.
- One self-contained file, light and dark.
-
step()returns it as"html". The skill stores it as its own result, and chai-bot attaches it withsend_html_to_thread(ship-help-bot PR).- The looks-done replies come first. Each is its own message with Close it / Keep open: a message holds at most 5 buttons, and a click replaces them all.
- Every other section is one message: a bold title with its count and what to do, then each owner's issues below their name. Summaries are cut at 70 characters, and every key is a Jira link.
- The not-started issues are one message without buttons, since no click already means carry over.
- Each reply is bounded to Slack's message limit.
bin/weekly_report_files.py, skill section 3): the round code passesPAGES, the result_id eachquery_jiracall returned, keyed by its request ID, so call order and timing no longer matter. Every request that found issues needs one result_id, all different and newer than every earlier round's (and than a failed attempt of the round); otherwise the round is asked for again, at most twice, then the report is not posted. Nothing is guessed. The skill also says to make one call per step.compact, thensandbox_exec, and how manyquery_jiraresult_idsPAGESneeds; or, for a round with no requests, onlysandbox_execwith the loads), and a redo says why. A live DM run had needed two redos:PAGESleft empty in round 1, and the calls of a round that also had 56 loads skipped.extra_fields). The sprint fetch also asks forproject(set on every issue, short: never stored, no loads, no new calls), and every issue of asprint = <id>page must carry it; a velocity page must carry its Sprint field, naming its sprint when shown whole. Otherwise the round is asked for again with the reason, at most twice, then the report is not posted. The adapter ignoresprojectas data.get_jira_issuecall after the rest of its round, which shifted nine answers. The key check caught them and the retry fixed them.resolve_identity,github_pr_checksand field reads had no such check, so a call made out of order could mention the wrong person, make an issue look done on another pull request's state, or swap two issues' field values. Each answer must now name its request (the identifier, the repo and number, the issue key, read from the response's own Requested fields area). One that does not is asked for once more and otherwise never used: the mention stays a plain name, and the issue is listed as not checked. No calls are added when calls are made in order.PAGESlist (the old form) is filed as before.weekly-reportskill, README, edge-scrum 1.8.0 → 1.9.0.How it was checked
- HTML rows, cards for each stage, actions, escaping;
- no "no epic" for bugs and CVE trackers;
- the single not-started reply;
- issue lines and their cap;
- pages filed by request ID when the calls finished out of order, and a missing, repeated or earlier-round result_id asks for the round again;
- a check-in reply cut at Slack's limit ends with the number of issues left out (owner lines not counted) and a board link;
- the printed next step and redo reason, and at most two redos per round;
- a sprint or velocity page without its fields asked for again (end to end: dropped once gives the same report, dropped every time is not posted with the reason);
- the old
PAGESlist form posting the same report;- calls made out of order (end to end, weekly and check-in): once gives the same output; every time never mentions the wrong person or makes an issue look done.
<and>.Merge with the ship-help-bot PR that attaches the HTML report and posts the not-started reply without buttons.
Assisted-by: Claude
🤖 Generated with Claude Code
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
New Features
Weekly sprint reports include a self-contained HTML attachment with sortable findings, filters, search, and Jira links.
Improvements
Slack reports organize sprint and release details into clearer sections, with linked issues and grouped owner, action, and CC replies. Overflow details point to the attachment.
Sprint-end check-ins group not-started issues into one reply without action buttons; omitted carryover items link to the board.
Reports retry incomplete or mismatched Jira results up to twice and are not posted if still invalid.
Sprint capacity checks no longer flag Bugs, Spikes, Vulnerabilities, or Weaknesses for missing Epics; Stories and Tasks still require one.
Documentation
* Updated weekly report, check-in, and issue hierarchy guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->