Skip to content

docs(readme): generate the status block from package.json and web/SURFACES.tsv - #4

Merged
flashesofbrilliance merged 2 commits into
mainfrom
claude/readme-sync-mold
Nov 16, 2026
Merged

flashesofbrilliance merged 2 commits into
mainfrom
claude/readme-sync-mold

Conversation

@flashesofbrilliance

Copy link
Copy Markdown
Owner

Why

The README said v0.1.0 (draft) while package.json and npm were at 0.1.3, and the live voice page (rosetta-shell.arcs.care/voice) was not linked anywhere in the repo. A hand fix would drift again at the next release.

What

  • scripts/readme-sync.sh (POSIX sh) renders the README block between readme-sync markers from package.json's version and web/SURFACES.tsv. Running it twice changes nothing.
  • test.sh runs it with --check and fails on a stale block.
  • package.json gets a version script, so npm version <x> re-renders the README and stages it into the tag commit.
  • RELEASING.md says so.

Checked

  • --check exits 1 with package.json at 9.9.9, 0 when current.
  • Passes under /bin/bash (3.2), /bin/sh, zsh, dash and ksh; rosetta lint 0 findings on the script.
  • npm version minor in a throwaway copy: tag commit v0.2.0 carries README.md + package.json, status line reads v0.2.0.
  • sh test.sh: all smoke checks pass.

🤖 Generated with Claude Code

flashesofbrilliance and others added 2 commits November 16, 2026 10:38
…FACES.tsv

README said v0.1.0 (draft) while package.json and npm were at 0.1.3, and the
live voice page was not linked. scripts/readme-sync.sh renders the block
(idempotent), test.sh runs it with --check, and npm's version lifecycle
re-runs it so each tag commit carries current docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@flashesofbrilliance
flashesofbrilliance merged commit c41f8c8 into main Nov 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant