carlos / platform Public

changelog: generate docs/site/changelog.json from git, release notes and Amadan

internal/changelog joins every tag's first-parent commits (counted from
the previous published release), each merged branch's own commits
(Amadan tombstones, merge second parents, minus anything an earlier
change already landed), credit from authors and Co-Authored-By
trailers through docs/site/people.json, discussions referenced and
attached on Amadan, and docs sections each change added to.
cmd/changelog wires git, gh and amadan. Addresses in quoted records
are redacted; anything public-unsafe left fails the run.

docsite.Heading gains its line and docsite.Parse parses a page that
is not on disk.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 61eadd6a710034a0c4ac4870fbe98b9b29808c00 parent fb26eeb
14 files changed, +9804 −1
  • cmd/changelog/main.go +149 −0
  • docs/site/changelog.json +7482 −0
  • docs/site/people.json +13 −0
  • docs/superpowers/plans/2026-10-06-platform-changelog.md +82 −0
  • internal/changelog/build.go +654 −0
  • internal/changelog/build_test.go +374 −0
  • internal/changelog/credit.go +178 −0
  • internal/changelog/credit_test.go +104 −0
  • internal/changelog/files.go +87 −0
  • internal/changelog/gitexec.go +180 −0
  • internal/changelog/gitexec_test.go +149 −0
  • internal/changelog/parse.go +213 −0
  • internal/changelog/parse_test.go +128 −0
  • internal/docsite/docsite.go +11 −1

CI passed — run details

cmd/changelog/main.go

Loading diff…

docs/site/changelog.json

Loading diff…

docs/site/people.json

Loading diff…

docs/superpowers/plans/2026-10-06-platform-changelog.md

Loading diff…

internal/changelog/build.go

Loading diff…

internal/changelog/build_test.go

Loading diff…

internal/changelog/credit.go

Loading diff…

internal/changelog/credit_test.go

Loading diff…

internal/changelog/files.go

Loading diff…

internal/changelog/gitexec.go

Loading diff…

internal/changelog/gitexec_test.go

Loading diff…

internal/changelog/parse.go

Loading diff…

internal/changelog/parse_test.go

Loading diff…

internal/docsite/docsite.go

Loading diff…