fix: retro global card — left border only, drop unreliable right border

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-22 13:52:10 -07:00
parent a0cb386e81
commit ea836504c2
3 changed files with 84 additions and 87 deletions

View File

@@ -849,37 +849,36 @@ stats — no team data, no project breakdowns. Designed to screenshot and post.
Use the user identity from `git config user.name` to filter all per-repo git data. Use the user identity from `git config user.name` to filter all per-repo git data.
Aggregate across all repos to compute personal totals. Aggregate across all repos to compute personal totals.
Render as a single visually clean block. The box must be **wide enough to fit full Render as a single visually clean block. Left border only — no right border (LLMs
repo names** — never truncate project names. Use 80 characters inner width minimum. can't align right borders reliably). Pad repo names to the longest name so columns
Pad repo names to the longest repo name in the list so columns align cleanly. align cleanly. Never truncate project names.
``` ```
╔════════════════════════════════════════════════════════════════════════════════════╗ ╔═══════════════════════════════════════════════════════════════
║ [USER NAME] — Week of [date] ║ [USER NAME] — Week of [date]
╠════════════════════════════════════════════════════════════════════════════════════╣ ╠═══════════════════════════════════════════════════════════════
║ [N] commits across [M] projects ║ [N] commits across [M] projects
║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net ║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net
║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z) ║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z)
║ [N]-day shipping streak 🔥 ║ [N]-day shipping streak 🔥
║ PROJECTS ║ PROJECTS
║ ────────────────────────────────────────────────────────────────────────────── ║ ║ ─────────────────────────────────────────────────────────
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ ...
SHIP OF THE WEEK
SHIP OF THE WEEK ║ [PR title] — [LOC] lines across [N] files
║ [PR title] — [LOC] lines across [N] files
TOP WORK
TOP WORK ║ • [1-line description of biggest theme]
║ • [1-line description of biggest theme] ║ ║ • [1-line description of second theme]
║ • [1-line description of second theme] ║ • [1-line description of third theme]
║ • [1-line description of third theme]
Powered by gstack · github.com/garrytan/gstack
║ Powered by gstack · github.com/garrytan/gstack ║ ╚═══════════════════════════════════════════════════════════════
╚════════════════════════════════════════════════════════════════════════════════════╝
``` ```
**Rules for the personal card:** **Rules for the personal card:**

View File

@@ -856,37 +856,36 @@ stats — no team data, no project breakdowns. Designed to screenshot and post.
Use the user identity from `git config user.name` to filter all per-repo git data. Use the user identity from `git config user.name` to filter all per-repo git data.
Aggregate across all repos to compute personal totals. Aggregate across all repos to compute personal totals.
Render as a single visually clean block. The box must be **wide enough to fit full Render as a single visually clean block. Left border only — no right border (LLMs
repo names** — never truncate project names. Use 80 characters inner width minimum. can't align right borders reliably). Pad repo names to the longest name so columns
Pad repo names to the longest repo name in the list so columns align cleanly. align cleanly. Never truncate project names.
``` ```
╔════════════════════════════════════════════════════════════════════════════════════╗ ╔═══════════════════════════════════════════════════════════════
║ [USER NAME] — Week of [date] ║ [USER NAME] — Week of [date]
╠════════════════════════════════════════════════════════════════════════════════════╣ ╠═══════════════════════════════════════════════════════════════
║ [N] commits across [M] projects ║ [N] commits across [M] projects
║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net ║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net
║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z) ║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z)
║ [N]-day shipping streak 🔥 ║ [N]-day shipping streak 🔥
║ PROJECTS ║ PROJECTS
║ ────────────────────────────────────────────────────────────────────────────── ║ ║ ─────────────────────────────────────────────────────────
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ ...
SHIP OF THE WEEK
SHIP OF THE WEEK ║ [PR title] — [LOC] lines across [N] files
║ [PR title] — [LOC] lines across [N] files
TOP WORK
TOP WORK ║ • [1-line description of biggest theme]
║ • [1-line description of biggest theme] ║ ║ • [1-line description of second theme]
║ • [1-line description of second theme] ║ • [1-line description of third theme]
║ • [1-line description of third theme]
Powered by gstack · github.com/garrytan/gstack
║ Powered by gstack · github.com/garrytan/gstack ║ ╚═══════════════════════════════════════════════════════════════
╚════════════════════════════════════════════════════════════════════════════════════╝
``` ```
**Rules for the personal card:** **Rules for the personal card:**

View File

@@ -617,37 +617,36 @@ stats — no team data, no project breakdowns. Designed to screenshot and post.
Use the user identity from `git config user.name` to filter all per-repo git data. Use the user identity from `git config user.name` to filter all per-repo git data.
Aggregate across all repos to compute personal totals. Aggregate across all repos to compute personal totals.
Render as a single visually clean block. The box must be **wide enough to fit full Render as a single visually clean block. Left border only — no right border (LLMs
repo names** — never truncate project names. Use 80 characters inner width minimum. can't align right borders reliably). Pad repo names to the longest name so columns
Pad repo names to the longest repo name in the list so columns align cleanly. align cleanly. Never truncate project names.
``` ```
╔════════════════════════════════════════════════════════════════════════════════════╗ ╔═══════════════════════════════════════════════════════════════
║ [USER NAME] — Week of [date] ║ [USER NAME] — Week of [date]
╠════════════════════════════════════════════════════════════════════════════════════╣ ╠═══════════════════════════════════════════════════════════════
║ [N] commits across [M] projects ║ [N] commits across [M] projects
║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net ║ +[X]k LOC added · [Y]k LOC deleted · [Z]k net
║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z) ║ [N] AI coding sessions (CC: X, Codex: Y, Gemini: Z)
║ [N]-day shipping streak 🔥 ║ [N]-day shipping streak 🔥
║ PROJECTS ║ PROJECTS
║ ────────────────────────────────────────────────────────────────────────────── ║ ║ ─────────────────────────────────────────────────────────
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
║ [repo_name_full] [N] commits +[X]k LOC [role: solo/team] ║ [repo_name_full] [N] commits +[X]k LOC [solo/team]
... ║
SHIP OF THE WEEK
SHIP OF THE WEEK ║ [PR title] — [LOC] lines across [N] files
[PR title] — [LOC] lines across [N] files ║
TOP WORK
TOP WORK ║ • [1-line description of biggest theme]
║ • [1-line description of biggest theme] ║ ║ • [1-line description of second theme]
║ • [1-line description of second theme] ║ • [1-line description of third theme]
• [1-line description of third theme] ║
Powered by gstack · github.com/garrytan/gstack
║ Powered by gstack · github.com/garrytan/gstack ║ ╚═══════════════════════════════════════════════════════════════
╚════════════════════════════════════════════════════════════════════════════════════╝
``` ```
**Rules for the personal card:** **Rules for the personal card:**