Repository navigation
Build WALLET_DIRECTORY.md after merge instead of in each PR - #32
Merged
Merged
Conversation
Every PR used to commit its own regenerated WALLET_DIRECTORY.md, so two PRs opened on the same day always conflicted on it, and resolving that conflict the wrong way could silently drop an earlier wallet. - New workflow publish-wallet-directory.yml rebuilds the page on main after every merge and commits it (via an optional GitHub App on the branch-protection bypass list; otherwise it keeps one "Regenerate WALLET_DIRECTORY.md" PR up to date). - verify-wallet-directory.yml now builds the page from the PR merged into main, uploads it as a preview artifact, checks proof links, and fails if a PR edits WALLET_DIRECTORY.md. It runs on every PR, so it can be made a required check. - CONTRIBUTING.md, the PR template, README, TEMPLATE.yaml and the generator's docstring describe the new steps: commit only wallets/ and proofs/, preview with --out WALLET_DIRECTORY.preview.md (git-ignored). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
davidrichards-da
requested review from
hythloda,
isegall-da,
omaiko-intellecteu,
stas-sbi,
tkatrichenko and
waynecollier-da
November 18, 2026 08:01
hythloda
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Every PR currently commits its own regenerated
WALLET_DIRECTORY.md. When two PRs are open at once, they always conflict on that file. Resolving the conflict by keeping one side's copy silently drops the other PR's wallet, and because approvals are dismissed on new commits, every rebase sends the PR back for approval. That's why #24–#30 had to be combined into #31.What changes
For contributors: commit only
wallets/andproofs/files.WALLET_DIRECTORY.mdis no longer part of any PR.verify-wallet-directory.yml(PR check, jobverify)main, and fails if the generator errors.wallet-directory-previewartifact so contributors and reviewers can see the result.WALLET_DIRECTORY.md, and tells the author the one command that drops it.pathsfilter), so it can be made a required status check without blocking docs-only PRs.publish-wallet-directory.yml(new; runs after each merge tomain)WALLET_DIRECTORY.mdfrom everything onmainand commits it if it changed.main, so back-to-back merges can't publish an older page over a newer one.Docs: CONTRIBUTING.md (new-wallet, update, verifier steps; the "Regenerating" section becomes "Previewing the summary page"), the PR template checklist, README,
wallets/TEMPLATE.yamland the generator's docstring. Local preview:python3 scripts/generate_table.py --out WALLET_DIRECTORY.preview.md(git-ignored).Admin setup needed (one time)
mainrequires a reviewed PR, and the default Actions token can't bypass that. To let the publish workflow commit directly:DIRECTORY_BOT_APP_IDand the secretDIRECTORY_BOT_PRIVATE_KEY.Until then the workflow still works. It opens, and keeps updating, a single "Regenerate WALLET_DIRECTORY.md" PR from
bot/wallet-directory, and merging that publishes every change merged so far. PRs opened by the Actions token don't trigger CI, so ifverifyis made required, set up the App first.Recommended: make
verifya required status check onmainonce this merges.Tested locally
WALLET_DIRECTORY.md(11 wallets) and the current table onmainis already up to date, so the first publish run will be a no-op.--out WALLET_DIRECTORY.preview.mdis git-ignored.WALLET_DIRECTORY.mdfails.verify_proof_links.pyandverify_proof_anchors.pypass.verifyrun on this PR is the first real test, and the publish workflow first runs after a merge that toucheswallets/.🤖 Generated with Claude Code