Skip to content

Add development handoff, make data refresh idempotent - #2

Merged
00xJS merged 1 commit into
masterfrom
chore/handoff-and-idempotent-refresh
Aug 2, 2026
Merged

Add development handoff, make data refresh idempotent#2
00xJS merged 1 commit into
masterfrom
chore/handoff-and-idempotent-refresh

Conversation

@00xJS

@00xJS 00xJS commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Follow-up to #1, from what the first real workflow run exposed.

The refresh workflow committed noise. Its manual run produced an identical snapshot (1420 entries, same data) but a new generated timestamp — so the files differed, and the workflow's "commit if anything changed" guard fired anyway. Left alone that's ~52 empty commits a year. The timestamp is now preserved when the underlying data hasn't moved, so a quiet week leaves the files byte-identical and there is genuinely nothing to commit.

Adds HANDOFF.md for future development: module boundaries and what each file must not do, the invariants worth preserving (one description renderer, specialFields drives output, no await before listener registration), the two PoGoAPI traps that cost real debugging time (base forms aren't listed first; form-qualified names have no entry of their own), testing conventions, deployment notes, and the backlog.

🤖 Generated with Claude Code

The refresh script stamped a fresh `generated` timestamp on every run, so the
snapshots differed even when upstream data was identical. The workflow's
"commit if anything changed" guard therefore fired every week regardless,
which would have added 52 empty commits a year. The timestamp is now carried
over when the data itself is unchanged, leaving the files byte-identical.

Adds HANDOFF.md covering module boundaries, the invariants worth preserving,
the PoGoAPI form-ordering and form-qualified-name traps, and the backlog.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploy Preview for sundance-dgen ready!

Name Link
🔨 Latest commit a31c6fc
🔍 Latest deploy log https://app.netlify.com/projects/sundance-dgen/deploys/6a6eb9d42c8dae0008bf2434
😎 Deploy Preview https://deploy-preview-2--sundance-dgen.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@00xJS
00xJS merged commit 83b2d2d into master Aug 2, 2026
5 checks passed
@00xJS
00xJS deleted the chore/handoff-and-idempotent-refresh branch August 2, 2026 03:31
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