Skip to content

Commit 3865f12

Browse files
committed
adjustments to the daily report
1 parent 7d55183 commit 3865f12

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

scripts/generate_briefing.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def claude(prompt, max_tokens=3000):
6565
print(f'Claude error ({model}): {e}')
6666
return None
6767

68-
ORGS = ['astrid-runtime', 'unicity-sphere', 'unicitynetwork']
69-
ORG_LABELS = {'astrid-runtime': 'Astrid', 'unicity-sphere': 'Sphere', 'unicitynetwork': 'Unicity Network'}
68+
ORGS = ['unicity-aos', 'unicity-sphere', 'unicitynetwork']
69+
ORG_LABELS = {'unicity-aos': 'Astrid', 'unicity-sphere': 'Sphere', 'unicitynetwork': 'Unicity Network'}
7070
MEMBERS = ['joshuajbouw','MastaP','igmahl','KruGoL','ristik','martti007','jvsteiner',
7171
'ahtotruu','b3y0urs3lf','jait91','lploom','vrogojin','0xt1mo']
7272
MEMBER_NAMES = {
@@ -371,7 +371,7 @@ def claude(prompt, max_tokens=3000):
371371
# ── 6b. Blocked items — simple list from board status column only
372372
BLOCKED_STATUSES = {'blocked', 'blocking'}
373373
BOARD_URLS = {
374-
'astrid-runtime': 'https://github.com/orgs/astrid-runtime/projects/1/views/1',
374+
'unicity-aos': 'https://github.com/orgs/unicity-aos/projects/1/views/1',
375375
'unicity-sphere': 'https://github.com/orgs/unicity-sphere/projects/1/views/1',
376376
'unicitynetwork': 'https://github.com/orgs/unicitynetwork/projects/1/views/17',
377377
}
@@ -425,8 +425,8 @@ def pr_lines(prs, limit=60):
425425
theme_prompt = f"""You are writing the daily engineering briefing for the Unicity project.
426426
Period: {window_label} | PRs merged: {total_merged} | Releases: {', '.join(releases) or 'none'}
427427
428-
=== astrid-runtime ({len(org_prs.get('astrid-runtime',[]))} PRs) ===
429-
{pr_lines(org_prs.get('astrid-runtime',[])) or 'No activity'}
428+
=== unicity-aos ({len(org_prs.get('unicity-aos',[]))} PRs) ===
429+
{pr_lines(org_prs.get('unicity-aos',[])) or 'No activity'}
430430
431431
=== unicity-sphere ({len(org_prs.get('unicity-sphere',[]))} PRs) ===
432432
{pr_lines(org_prs.get('unicity-sphere',[])) or 'No activity'}
@@ -655,12 +655,12 @@ def render_standup_card():
655655
STANDUP_TEST_L = {'test', 'testing', 'in test', 'qa'}
656656

657657
ORG_CFG = {
658-
'astrid-runtime': {
658+
'unicity-aos': {
659659
'label': 'Astrid',
660660
'dot': '#7F77DD',
661661
'bg': '#EEEDFE',
662662
'text': '#3C3489',
663-
'board': 'https://github.com/orgs/astrid-runtime/projects/1/views/1',
663+
'board': 'https://github.com/orgs/unicity-aos/projects/1/views/1',
664664
},
665665
'unicity-sphere': {
666666
'label': 'Sphere',
@@ -759,7 +759,7 @@ def render_col(key, item_list):
759759
return out
760760

761761
all_sources = {
762-
'astrid-runtime': boards.get('astrid-runtime', []),
762+
'unicity-aos': boards.get('unicity-aos', []),
763763
'unicity-sphere': boards.get('unicity-sphere', []),
764764
'unicitynetwork': boards.get('unicitynetwork', []),
765765
'_sif': sif_items,
@@ -777,7 +777,7 @@ def render_col(key, item_list):
777777
out += f'<span style="font-size:12px;color:rgba(255,255,255,.55)"><span style="color:#F0B429;font-weight:700">{total_test}</span> in test</span>'
778778
out += '</div></div>'
779779
out += '<div style="display:flex">'
780-
out += render_col('astrid-runtime', boards.get('astrid-runtime', []))
780+
out += render_col('unicity-aos', boards.get('unicity-aos', []))
781781
out += render_col('unicity-sphere', boards.get('unicity-sphere', []))
782782
out += render_col('unicitynetwork', boards.get('unicitynetwork', []))
783783
out += render_col('_sif', sif_items)
@@ -798,9 +798,9 @@ def render_board_section():
798798
by_org = {}
799799
for issue in board_issues[:40]:
800800
by_org.setdefault(issue['org'], []).append(issue)
801-
org_keys = {'Astrid': 'astrid-runtime', 'Sphere': 'unicity-sphere', 'Unicity Network': 'unicitynetwork'}
801+
org_keys = {'Astrid': 'unicity-aos', 'Sphere': 'unicity-sphere', 'Unicity Network': 'unicitynetwork'}
802802
board_urls = {
803-
'Astrid': 'https://github.com/orgs/astrid-runtime/projects/1/views/1',
803+
'Astrid': 'https://github.com/orgs/unicity-aos/projects/1/views/1',
804804
'Sphere': 'https://github.com/orgs/unicity-sphere/projects/1/views/1',
805805
'Unicity Network': 'https://github.com/orgs/unicitynetwork/projects/1/views/17',
806806
}
@@ -1005,7 +1005,7 @@ def long_pr_rows(prs):
10051005
return rows
10061006

10071007
# ── 11. Build HTML ────────────────────────────────────────────────────────────────────────────
1008-
n_astrid = len(org_prs.get('astrid-runtime', []))
1008+
n_astrid = len(org_prs.get('unicity-aos', []))
10091009
n_sphere = len(org_prs.get('unicity-sphere', []))
10101010
n_network = len(org_prs.get('unicitynetwork', []))
10111011
rel_str = ' &middot; '.join(f'<span class="badge badge-release">{esc(r)}</span>' for r in releases)
@@ -1116,7 +1116,7 @@ def long_pr_rows(prs):
11161116
<div class="metric"><div class="metric-label">Astrid / Sphere / Network</div><div class="metric-val hi" style="font-size:16px">{n_astrid} / {n_sphere} / {n_network}</div></div>
11171117
</div>
11181118
1119-
{org_card('astrid-runtime','badge-purple','#7F77DD','#7F77DD','astrid', n_astrid)}
1119+
{org_card('unicity-aos','badge-purple','#7F77DD','#7F77DD','astrid', n_astrid)}
11201120
{org_card('unicity-sphere','badge-teal', '#1D9E75','#1D9E75','sphere', n_sphere)}
11211121
{org_card('unicitynetwork','badge-blue', '#378ADD','#378ADD','network',n_network)}
11221122

0 commit comments

Comments
 (0)