Skip to content

Instantly share code, notes, and snippets.

@vcarl
Created August 18, 2026 17:59
Show Gist options
  • Select an option

  • Save vcarl/33a1c76cb51104424cbf77574be783f3 to your computer and use it in GitHub Desktop.

Select an option

Save vcarl/33a1c76cb51104424cbf77574be783f3 to your computer and use it in GitHub Desktop.
This is the output of a `git session-commit` tool I've been iterating on, to produce a shared artifact that can be iterated on if necessary.
Refine rendering of commit annotation tool
--- metrics ------------------------------------------------------------
Tokens-Generated 977988
Tool-Calls 1248
Files-Read 115
Log-Lines-Added 8830
Log-Lines-Removed 585
Log-Unattributable-Ops 1
Git-Lines-Added 0
Git-Lines-Removed 0
Git-New-Files 0
Coverage-Unobserved-Files 0
Coverage-Shell-Mutations 248
Log-Churn 0.07
Log-Novel 0.93
Log-Deletion 0.00
Rewinds 0
Interrupts 0
Compactions 0
Redactions 0
Active 4h 09m 14s
Wall-Span 66h 52m 36s
--- timeline -----------------------------------------------------------
[2026-08-15T03:03:13.627Z]
This project is meant to help automatically annotate commits associated with a session as part of squashing them — does it look to do so effectively? What are the natural consequences of using this as described in a range of ~5-8 common engineering commit hygiene regimes?
[2026-08-15T03:17:33.962Z]
A struggle here is that there are so many legitimate reasons to rebase etc, …
[2026-08-15T03:25:30.543Z]
is doing a coarser "branch <> session" join workable? …
» subagent general-purpose (sonnet) :: Run trailer/patch-id survival gauntlet
tokens 35.6k · tool calls 13 · files read 1 · log lines +375 -0 · 6m 04s
[2026-08-15T16:45:03.410Z]
okay I think I'm converging on an understanding of what we need to build here, …
[2026-08-16T19:45:15.486Z]
If we can get strong coupling back to not just a session, …
[2026-08-16T20:00:19.224Z]
I love that! Let's have the project cap off with a revision to our rendering, …
[2026-08-16T20:07:07.672Z]
Show me more of the metadata you'd put in the commit description
[2026-08-16T20:09:30.837Z]
These fields of the trailer should be in the metrics, as human readable figures:…
» subagent Explore (sonnet) :: Map src module API surface
tokens 15.1k · tool calls 24 · files read 18 · 2m 02s
» subagent general-purpose (haiku) :: Check subagent session env var
tokens 375 · tool calls 1 · 6s
» subagent general-purpose (haiku) :: Implement Task 1: humanizer
tokens 4.7k · tool calls 16 · files read 1 · log lines +168 -1 · 2m 04s
• commit 870c193 Add count and duration humanizer [session]
src/humanize.ts (+23 -0) · src/humanize_test.ts (+39 -0)
» subagent general-purpose (sonnet) :: Review Task 1 (spec+quality)
tokens 5.1k · tool calls 3 · files read 3 · 54s
// …
» subagent general-purpose (fable) :: Final whole-branch review
tokens 24.9k · tool calls 24 · files read 5 · 6m 39s
» subagent general-purpose (sonnet) :: Final-review fix wave
tokens 20k · tool calls 50 · files read 5 · log lines +219 -3 · 5m 08s
• commit 6d4f9a8 Fix resolve.ts binary classification and note mixed-precision join comment
[session]
src/resolve.ts (+0 -0)
• commit c9a6bb8 Pluralize commit-count annotation, name all three hooks, record trace errata
[session]
docs/superpowers/specs/2026-08-16-ledger-and-timeline-design.md (+10 -0) · src/init.ts (+1 -1) · src/pick.ts (+3 -1) · src/pick_test.ts (+19 -0)
» subagent general-purpose (sonnet) :: Re-review final fix wave
tokens 3.6k · tool calls 17 · files read 3 · 1m 26s
[2026-08-17T21:53:48.235Z]
have we fully tested this on a real session?
Format: session-commit/3
Window: c359cbd8-0841-4792-87de-5ae8577b284f sessions=1 ids=c359cbd8-0841-4792-87de-5ae8577b284f agents=37 since=start range=2026-08-15T03:02:05.294Z..2026-08-17T21:54:41.799Z
Squashed: 22 commits a2b4513..HEAD
Commits-Attributed: 22/22
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment