← Public packages
@kentcdodds/lineage
Interactive commit-level lines of kody, minus generated noise, as an offline-ready chart.
README.md
41 lines · 1.9 KB · Markdown@kentcdodds/lineage
Intent
Give Kent an interactive, commit-level look at countable lines in
kentcdodds/kody — not use-kody, which has no application source. The app
should ignore generated output even when that output is committed (Wrangler
types, lockfiles, generated/ trees, Linguist-generated paths, and
@generated / DO NOT EDIT headers), store the series in this package's
storage, and stay useful offline as an installable PWA. Success is a graph you
can slice by time, language, and type (source / tests / docs), with linked
commits and short labels that open a longer narrative.
What it does
- Hosted chart app with cumulative, added/removed, and net-per-commit modes
- Backfill and ingest helpers write commit buckets into
packageStorage() - GitHub push webhook fills new
maincommits as they land - Commentary helpers attach short labels and longer narratives to commits
- Status / series / inspect helpers for agents and the UI to share the same numbers
Prerequisites / setup
- Tracked repo defaults to
kentcdodds/kodyonmain(override via./settingswithout republishing). - User secret
githubLocWebhookSecret— HMAC for thegithub-pushwebhook (x-hub-signature-256). Do not paste the secret value in chat. - Depends on
@kentcdodds/githubfor GitHub API access used by ingest / backfill. - Prefer event-driven webhook ingest; the
backfill-missingcron (every 30m, America/Denver) is catch-up only — do not disable live webhooks or jobs. - Hosted app: https://kentcdodds.kody.run/packages/lineage
- Agents: see
AGENTS.mdfor import paths and smoke checks.
Done when
- Hosted app loads and shows a countable series for
kentcdodds/kody ./statusreports stored commits; webhook or backfill fills gaps- Generated files stay out of countable totals; commentaries open from chart labels